Uses of Interface
software.amazon.awssdk.enhanced.dynamodb.TableSchema
-
-
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb
Methods in software.amazon.awssdk.enhanced.dynamodb that return TableSchema Modifier and Type Method Description static <T> TableSchema<T>
TableSchema. fromClass(Class<T> annotatedClass)
Scans a class that has been annotated with DynamoDb enhanced client annotations and then returns an appropriateTableSchema
implementation that can map records to and from items of that class.TableSchema<T>
DynamoDbAsyncIndex. tableSchema()
Gets theTableSchema
object that this mapped table was built with.default TableSchema<?>
DynamoDbExtensionContext.Context. tableSchema()
TableSchema<T>
DynamoDbIndex. tableSchema()
Gets theTableSchema
object that this mapped table was built with.TableSchema<T>
MappedTableResource. tableSchema()
Gets theTableSchema
object that this mapped table was built with.Methods in software.amazon.awssdk.enhanced.dynamodb that return types with arguments of type TableSchema Modifier and Type Method Description Optional<TableSchema<T>>
EnhancedType. tableSchema()
Retrieve theTableSchema
for a modeled document.Methods in software.amazon.awssdk.enhanced.dynamodb with parameters of type TableSchema Modifier and Type Method Description static <T> EnhancedType<T>
EnhancedType. documentOf(Class<T> documentClass, TableSchema<T> documentTableSchema)
Create a type token that represents a document that is specified by the providedTableSchema
.static <T> EnhancedType<T>
EnhancedType. documentOf(Class<T> documentClass, TableSchema<T> documentTableSchema, Consumer<EnhancedTypeDocumentConfiguration.Builder> enhancedTypeConfiguration)
Create a type token that represents a document that is specified by the providedTableSchema
.Map<String,AttributeValue>
Key. keyMap(TableSchema<?> tableSchema, String index)
Return a map of the key elements that can be passed directly to DynamoDb.Map<String,AttributeValue>
Key. primaryKeyMap(TableSchema<?> tableSchema)
Return a map of the key elements that form the primary key of a table that can be passed directly to DynamoDb.<T> DynamoDbAsyncTable<T>
DynamoDbEnhancedAsyncClient. table(String tableName, TableSchema<T> tableSchema)
Returns a mapped table that can be used to execute commands that work with mapped items against that table.<T> DynamoDbTable<T>
DynamoDbEnhancedClient. table(String tableName, TableSchema<T> tableSchema)
Returns a mapped table that can be used to execute commands that work with mapped items against that table. -
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.document
Classes in software.amazon.awssdk.enhanced.dynamodb.document that implement TableSchema Modifier and Type Class Description class
DocumentTableSchema
Implementation ofTableSchema
that builds a table schema based on DynamoDB Items. -
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.internal
Methods in software.amazon.awssdk.enhanced.dynamodb.internal with parameters of type TableSchema Modifier and Type Method Description static <T> Key
EnhancedClientUtils. createKeyFromItem(T item, TableSchema<T> tableSchema, String indexName)
static Key
EnhancedClientUtils. createKeyFromMap(Map<String,AttributeValue> itemMap, TableSchema<?> tableSchema, String indexName)
static <ResponseT,ItemT>
Page<ItemT>EnhancedClientUtils. readAndTransformPaginatedItems(ResponseT response, TableSchema<ItemT> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension, Function<ResponseT,List<Map<String,AttributeValue>>> getItems, Function<ResponseT,Map<String,AttributeValue>> getLastEvaluatedKey, Function<ResponseT,Integer> count, Function<ResponseT,Integer> scannedCount, Function<ResponseT,ConsumedCapacity> consumedCapacity)
static <T> T
EnhancedClientUtils. readAndTransformSingleItem(Map<String,AttributeValue> itemMap, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
-
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.internal.client
Methods in software.amazon.awssdk.enhanced.dynamodb.internal.client that return TableSchema Modifier and Type Method Description TableSchema<T>
DefaultDynamoDbAsyncIndex. tableSchema()
TableSchema<T>
DefaultDynamoDbAsyncTable. tableSchema()
TableSchema<T>
DefaultDynamoDbIndex. tableSchema()
TableSchema<T>
DefaultDynamoDbTable. tableSchema()
Methods in software.amazon.awssdk.enhanced.dynamodb.internal.client with parameters of type TableSchema Modifier and Type Method Description <T> DefaultDynamoDbAsyncTable<T>
DefaultDynamoDbEnhancedAsyncClient. table(String tableName, TableSchema<T> tableSchema)
<T> DefaultDynamoDbTable<T>
DefaultDynamoDbEnhancedClient. table(String tableName, TableSchema<T> tableSchema)
-
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.internal.conditional
Methods in software.amazon.awssdk.enhanced.dynamodb.internal.conditional with parameters of type TableSchema Modifier and Type Method Description Expression
BeginsWithConditional. expression(TableSchema<?> tableSchema, String indexName)
Expression
BetweenConditional. expression(TableSchema<?> tableSchema, String indexName)
Expression
EqualToConditional. expression(TableSchema<?> tableSchema, String indexName)
Expression
SingleKeyItemConditional. expression(TableSchema<?> tableSchema, String indexName)
-
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.internal.converter.attribute
Methods in software.amazon.awssdk.enhanced.dynamodb.internal.converter.attribute with parameters of type TableSchema Modifier and Type Method Description static <T> DocumentAttributeConverter<T>
DocumentAttributeConverter. create(TableSchema<T> tableSchema, EnhancedType<T> enhancedType)
-
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.internal.extensions
Methods in software.amazon.awssdk.enhanced.dynamodb.internal.extensions that return TableSchema Modifier and Type Method Description TableSchema<?>
DefaultDynamoDbExtensionContext. tableSchema()
Methods in software.amazon.awssdk.enhanced.dynamodb.internal.extensions with parameters of type TableSchema Modifier and Type Method Description DefaultDynamoDbExtensionContext.Builder
DefaultDynamoDbExtensionContext.Builder. tableSchema(TableSchema<?> tableSchema)
-
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.internal.mapper
Classes in software.amazon.awssdk.enhanced.dynamodb.internal.mapper that implement TableSchema Modifier and Type Class Description class
MetaTableSchema<T>
An implementation ofTableSchema
that can be instantiated as an uninitialized reference and then lazily initialized later with a concreteTableSchema
at which point it will behave as the real object.Methods in software.amazon.awssdk.enhanced.dynamodb.internal.mapper that return TableSchema Modifier and Type Method Description TableSchema<T>
MetaTableSchema. concreteTableSchema()
Methods in software.amazon.awssdk.enhanced.dynamodb.internal.mapper with parameters of type TableSchema Modifier and Type Method Description void
MetaTableSchema. initialize(TableSchema<T> realTableSchema)
-
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.internal.operations
Methods in software.amazon.awssdk.enhanced.dynamodb.internal.operations with parameters of type TableSchema Modifier and Type Method Description default ResultT
CommonOperation. execute(TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension, DynamoDbClient dynamoDbClient)
Default implementation of a complete synchronous execution of this operation against either the primary or a secondary index.default PageIterable<ItemT>
PaginatedOperation. execute(TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension, DynamoDbClient dynamoDbClient)
Default implementation of a complete synchronous execution of this operation against either the primary or a secondary index.default CompletableFuture<ResultT>
CommonOperation. executeAsync(TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension, DynamoDbAsyncClient dynamoDbAsyncClient)
Default implementation of a complete non-blocking asynchronous execution of this operation against either the primary or a secondary index.default PagePublisher<ItemT>
PaginatedOperation. executeAsync(TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension, DynamoDbAsyncClient dynamoDbAsyncClient)
Default implementation of a complete non-blocking asynchronous execution of this operation against either the primary or a secondary index.default PageIterable<ItemT>
PaginatedTableOperation. executeOnPrimaryIndex(TableSchema<ItemT> tableSchema, String tableName, DynamoDbEnhancedClientExtension extension, DynamoDbClient dynamoDbClient)
Default implementation of a complete synchronous execution of this operation against the primary index.default ResultT
TableOperation. executeOnPrimaryIndex(TableSchema<ItemT> tableSchema, String tableName, DynamoDbEnhancedClientExtension extension, DynamoDbClient dynamoDbClient)
Default implementation of a complete synchronous execution of this operation against the primary index.default PagePublisher<ItemT>
PaginatedTableOperation. executeOnPrimaryIndexAsync(TableSchema<ItemT> tableSchema, String tableName, DynamoDbEnhancedClientExtension extension, DynamoDbAsyncClient dynamoDbAsyncClient)
Default implementation of a complete non-blocking asynchronous execution of this operation against the primary index.default CompletableFuture<ResultT>
TableOperation. executeOnPrimaryIndexAsync(TableSchema<ItemT> tableSchema, String tableName, DynamoDbEnhancedClientExtension extension, DynamoDbAsyncClient dynamoDbAsyncClient)
Default implementation of a complete non-blocking asynchronous execution of this operation against the primary index.default ResultT
IndexOperation. executeOnSecondaryIndex(TableSchema<ItemT> tableSchema, String tableName, String indexName, DynamoDbEnhancedClientExtension extension, DynamoDbClient dynamoDbClient)
Default implementation of a complete synchronous execution of this operation against a secondary index.default PageIterable<ItemT>
PaginatedIndexOperation. executeOnSecondaryIndex(TableSchema<ItemT> tableSchema, String tableName, String indexName, DynamoDbEnhancedClientExtension extension, DynamoDbClient dynamoDbClient)
Default implementation of a complete synchronous execution of this operation against a secondary index.default CompletableFuture<ResultT>
IndexOperation. executeOnSecondaryIndexAsync(TableSchema<ItemT> tableSchema, String tableName, String indexName, DynamoDbEnhancedClientExtension extension, DynamoDbAsyncClient dynamoDbAsyncClient)
Default implementation of a complete non-blocking asynchronous execution of this operation against a secondary index.default SdkPublisher<Page<ItemT>>
PaginatedIndexOperation. executeOnSecondaryIndexAsync(TableSchema<ItemT> tableSchema, String tableName, String indexName, DynamoDbEnhancedClientExtension extension, DynamoDbAsyncClient dynamoDbAsyncClient)
Default implementation of a complete non-blocking asynchronous execution of this operation against a secondary index.RequestT
CommonOperation. generateRequest(TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension)
This method generates the request that needs to be sent to a low levelDynamoDbClient
.CreateTableRequest
CreateTableOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
DeleteItemRequest
DeleteItemOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
DeleteTableRequest
DeleteTableOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
DescribeTableRequest
DescribeTableOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
GetItemRequest
GetItemOperation. generateRequest(TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension)
RequestT
PaginatedOperation. generateRequest(TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension)
This method generates the request that needs to be sent to a low levelDynamoDbClient
.PutItemRequest
PutItemOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
QueryRequest
QueryOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
ScanRequest
ScanOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
UpdateItemRequest
UpdateItemOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
TransactGetItem
GetItemOperation. generateTransactGetItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
TransactGetItem
TransactableReadOperation. generateTransactGetItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
TransactWriteItem
DeleteItemOperation. generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
TransactWriteItem
PutItemOperation. generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
TransactWriteItem
TransactableWriteOperation. generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
TransactWriteItem
UpdateItemOperation. generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
WriteRequest
BatchableWriteOperation. generateWriteRequest(TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension)
WriteRequest
DeleteItemOperation. generateWriteRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
WriteRequest
PutItemOperation. generateWriteRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
ResultT
CommonOperation. transformResponse(ResponseT response, TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension)
Takes the response object returned by the actual DynamoDb call and maps it into a higher level abstracted result object.Void
CreateTableOperation. transformResponse(CreateTableResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
DeleteItemEnhancedResponse<T>
DeleteItemOperation. transformResponse(DeleteItemResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
Void
DeleteTableOperation. transformResponse(DeleteTableResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
DescribeTableEnhancedResponse
DescribeTableOperation. transformResponse(DescribeTableResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
GetItemEnhancedResponse<T>
GetItemOperation. transformResponse(GetItemResponse response, TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension)
Page<ItemT>
PaginatedOperation. transformResponse(ResponseT response, TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
Takes the response object returned by the actual DynamoDb call and maps it into a higher level abstracted result object.PutItemEnhancedResponse<T>
PutItemOperation. transformResponse(PutItemResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
Page<T>
QueryOperation. transformResponse(QueryResponse response, TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
Page<T>
ScanOperation. transformResponse(ScanResponse response, TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
UpdateItemEnhancedResponse<T>
UpdateItemOperation. transformResponse(UpdateItemResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)
-
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.mapper
Classes in software.amazon.awssdk.enhanced.dynamodb.mapper with type parameters of type TableSchema Modifier and Type Class Description class
WrappedTableSchema<T,R extends TableSchema<T>>
Base class for anyTableSchema
implementation that wraps and acts as a differentTableSchema
implementation.Classes in software.amazon.awssdk.enhanced.dynamodb.mapper that implement TableSchema Modifier and Type Class Description class
BeanTableSchema<T>
Implementation ofTableSchema
that builds a table schema based on properties and annotations of a bean class.class
ImmutableTableSchema<T>
Implementation ofTableSchema
that builds a table schema based on properties and annotations of an immutable class with an associated builder class.class
StaticImmutableTableSchema<T,B>
Implementation ofTableSchema
that builds a schema for immutable data objects based on directly declared attributes.class
StaticTableSchema<T>
Implementation ofTableSchema
that builds a schema based on directly declared attributes and methods to get and set those attributes.class
WrappedTableSchema<T,R extends TableSchema<T>>
Base class for anyTableSchema
implementation that wraps and acts as a differentTableSchema
implementation.Methods in software.amazon.awssdk.enhanced.dynamodb.mapper with parameters of type TableSchema Modifier and Type Method Description <T1> StaticImmutableTableSchema.Builder<T,B>
StaticImmutableTableSchema.Builder. flatten(TableSchema<T1> otherTableSchema, Function<T,T1> otherItemGetter, BiConsumer<B,T1> otherItemSetter)
Flattens all the attributes defined in anotherTableSchema
into the database record this schema maps to.<R> StaticTableSchema.Builder<T>
StaticTableSchema.Builder. flatten(TableSchema<R> otherTableSchema, Function<T,R> otherItemGetter, BiConsumer<T,R> otherItemSetter)
Flattens all the attributes defined in anotherStaticTableSchema
into the database record this schema maps to. -
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.model
Methods in software.amazon.awssdk.enhanced.dynamodb.model with parameters of type TableSchema Modifier and Type Method Description Expression
QueryConditional. expression(TableSchema<?> tableSchema, String indexName)
Generates a conditionalExpression
based on specific context that is supplied as arguments.TransactWriteItem
ConditionCheck. generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
-