InstantValueConverter
Provides access to ValueConverter types for various Instant representations
Types
Link copied to clipboard
Converts between Instant and DynamoDB N values containing the number of milliseconds since the Unix epoch
Link copied to clipboard
Converts between Instant and DynamoDB N values containing the number of seconds since the Unix epoch
Link copied to clipboard
Converts between Instant and DynamoDB S values containing a formatted ISO 8601 representation
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