Package-level declarations
Types
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
class Attribute<FINAL>(val dataType: DynamoDataType, meta: Meta, get: (Item) -> FINAL, lensSet: (FINAL, Item) -> Item, ignoreNull: Boolean = false) : Lens<Item, FINAL> , LensInjector<FINAL, Item>
Constructs typesafe Lenses for the various Item/Key attributes. The lenses can be used to inject values with Item(attr of "123") or extract with attr(item).
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
Represents the on-the-wire format of an Attribute Value with it's requisite type. Only one of these fields is ever populated at once in an entry. So you can get { "S": "hello" } or { "BOOL": true } or { "NS": "123" }
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
@JsonSerializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Used for creating tables
Link copied to clipboard
Link copied to clipboard
fun <VALUE : Value<BigDecimal>> Attribute.Companion.bigDecimals(vf: ValueFactory<VALUE, BigDecimal>): Attribute.AttrLensSpec<Set<VALUE>>
Link copied to clipboard
fun <VALUE : Value<BigInteger>> Attribute.Companion.bigIntegers(vf: ValueFactory<VALUE, BigInteger>): Attribute.AttrLensSpec<Set<VALUE>>
Link copied to clipboard
fun KeySchema.Companion.compound(hash: AttributeName, range: AttributeName? = null): List<KeySchema>
Link copied to clipboard
fun <T : Any, VALUE : Value<T>> Attribute.Companion.list(vf: ValueFactory<VALUE, T>): Attribute.AttrLensSpec<List<VALUE>>
Map a list of value types to an attribute
fun <VALUE : Value<BigDecimal>> Attribute.Companion.list(vf: ValueFactory<VALUE, BigDecimal>): Attribute.AttrLensSpec<List<VALUE>>
fun <VALUE : Value<BigInteger>> Attribute.Companion.list(vf: ValueFactory<VALUE, BigInteger>): Attribute.AttrLensSpec<List<VALUE>>
fun <VALUE : Value<Boolean>> Attribute.Companion.list(vf: ValueFactory<VALUE, Boolean>): Attribute.AttrLensSpec<List<VALUE>>
fun <VALUE : Value<Double>> Attribute.Companion.list(vf: ValueFactory<VALUE, Double>): Attribute.AttrLensSpec<List<VALUE>>
fun <VALUE : Value<Float>> Attribute.Companion.list(vf: ValueFactory<VALUE, Float>): Attribute.AttrLensSpec<List<VALUE>>
fun <VALUE : Value<Int>> Attribute.Companion.list(vf: ValueFactory<VALUE, Int>): Attribute.AttrLensSpec<List<VALUE>>
fun <VALUE : Value<Long>> Attribute.Companion.list(vf: ValueFactory<VALUE, Long>): Attribute.AttrLensSpec<List<VALUE>>
Map items out of a collection
Link copied to clipboard
fun <T> Attribute.AttrLensSpec<List<AttributeValue>>.map(next: BiDiMapping<Item, T>): Attribute.AttrLensSpec<List<T>>
Map items out of a collection
Link copied to clipboard
fun <VALUE : Value<String>> Attribute.Companion.strings(vf: ValueFactory<VALUE, String>): Attribute.AttrLensSpec<Set<VALUE>>
Link copied to clipboard
Link copied to clipboard
fun <P : Any, VALUE : Value<P>> Attribute.AttrLensSpec<P>.value(vf: ValueFactory<VALUE, P>): Attribute.AttrLensSpec<VALUE>
Map a single value type to an attribute
fun <VALUE : Value<BigDecimal>> Attribute.Companion.value(vf: ValueFactory<VALUE, BigDecimal>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<BigInteger>> Attribute.Companion.value(vf: ValueFactory<VALUE, BigInteger>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<Duration>> Attribute.Companion.value(vf: ValueFactory<VALUE, Duration>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<Instant>> Attribute.Companion.value(vf: ValueFactory<VALUE, Instant>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<LocalDateTime>> Attribute.Companion.value(vf: ValueFactory<VALUE, LocalDateTime>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<LocalDate>> Attribute.Companion.value(vf: ValueFactory<VALUE, LocalDate>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<LocalTime>> Attribute.Companion.value(vf: ValueFactory<VALUE, LocalTime>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<OffsetDateTime>> Attribute.Companion.value(vf: ValueFactory<VALUE, OffsetDateTime>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<OffsetTime>> Attribute.Companion.value(vf: ValueFactory<VALUE, OffsetTime>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<ZonedDateTime>> Attribute.Companion.value(vf: ValueFactory<VALUE, ZonedDateTime>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<UUID>> Attribute.Companion.value(vf: ValueFactory<VALUE, UUID>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<Boolean>> Attribute.Companion.value(vf: ValueFactory<VALUE, Boolean>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<Double>> Attribute.Companion.value(vf: ValueFactory<VALUE, Double>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<Float>> Attribute.Companion.value(vf: ValueFactory<VALUE, Float>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<Int>> Attribute.Companion.value(vf: ValueFactory<VALUE, Int>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<Long>> Attribute.Companion.value(vf: ValueFactory<VALUE, Long>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<String>> Attribute.Companion.value(vf: ValueFactory<VALUE, String>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<Timestamp>> Attribute.Companion.value(vf: ValueFactory<VALUE, Timestamp>): Attribute.AttrLensSpec<VALUE>
fun <VALUE : Value<Uri>> Attribute.Companion.value(vf: ValueFactory<VALUE, Uri>): Attribute.AttrLensSpec<VALUE>