Package | Description |
---|---|
software.amazon.awssdk.enhanced.dynamodb.mapper |
Modifier and Type | Method and Description |
---|---|
StaticTableSchema.Builder<T> |
StaticTableSchema.Builder.attributes(Attribute.AttributeSupplier<T>... mappedAttributes)
A list of attributes that can be mapped between the data item object and the database record.
|
StaticTableSchema.Builder<T> |
StaticTableSchema.Builder.attributes(Collection<Attribute.AttributeSupplier<T>> mappedAttributes)
A list of attributes that can be mapped between the data item object and the database record.
|
static <T> StaticTableSchema.Builder<T> |
StaticTableSchema.builder(Class<? extends T> itemClass)
Creates a builder for a
StaticTableSchema typed to specific data item class. |
StaticTableSchema.Builder<T> |
StaticTableSchema.Builder.extend(StaticTableSchema<? super T> superTableSchema)
Extends the
StaticTableSchema of a super-class, effectively rolling all the attributes modelled by
the super-class into the StaticTableSchema of the sub-class. |
<R> StaticTableSchema.Builder<T> |
StaticTableSchema.Builder.flatten(StaticTableSchema<R> otherTableSchema,
Function<T,R> otherItemGetter,
BiConsumer<T,R> otherItemSetter)
Flattens all the attributes defined in another
StaticTableSchema into the database record this schema
maps to. |
StaticTableSchema.Builder<T> |
StaticTableSchema.Builder.newItemSupplier(Supplier<T> newItemSupplier)
A function that can be used to create new instances of the data item class.
|
StaticTableSchema.Builder<T> |
StaticTableSchema.Builder.tagWith(TableTag... tableTags)
Associate one or more
TableTag with this schema. |
Copyright © 2020. All rights reserved.