BigIntegerValueConverter

Converts between java.math.BigInteger and DynamoDB N values. Because N values are stored as decimal strings, this converter preserves the full range of whole numbers that DynamoDB supports.

This converter is only available on the JVM. Multiplatform code should use the aws.smithy.kotlin.runtime.content.BigInteger converter instead.

Inherited functions

Link copied to clipboard
fun <V : Any> ValueConverter<V>.asNullable(nullValueConverter: ValueConverter<Nothing?> = NullValueConverter): ValueConverter<V?>
Link copied to clipboard
open override fun convertLeft(from: AttributeValue): BigInteger
Link copied to clipboard
open override fun convertRight(from: BigInteger): AttributeValue
Link copied to clipboard
fun <T, PK : KeyType> ItemConverter<T>.withKeySpec(partitionKey: KeySpec<PK>, attributes: Attributes = emptyAttributes()): ItemSchema.PartitionKey<T, PK>

Associate this ItemConverter with a KeySpec for a partition key to form a complete ItemSchema

fun <T, PK : KeyType, SK : KeyType> ItemConverter<T>.withKeySpec(partitionKey: KeySpec<PK>, sortKey: KeySpec<SK>, attributes: Attributes = emptyAttributes()): ItemSchema.CompositeKey<T, PK, SK>

Associate this ItemConverter with KeySpec instances for a composite key to form a complete ItemSchema