Auto
Converts between Number and DynamoDB N values. When converting attribute values into number values, the following concrete subclasses of Number will be returned:
kotlin.Double — If the number contains any fractional component
kotlin.Int — If the number is in the range of kotlin.Int.MIN_VALUE and kotlin.Int.MAX_VALUE (inclusive)
kotlin.Long — Anything else
Inherited functions
Link copied to clipboard
fun <V : Any> ValueConverter<V>.asNullable(nullValueConverter: ValueConverter<Nothing?> = NullValueConverter): ValueConverter<V?>
Link copied to clipboard
Link copied to clipboard
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