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 appropriateTableSchemaimplementation that can map records to and from items of that class.TableSchema<T>DynamoDbAsyncIndex. tableSchema()Gets theTableSchemaobject that this mapped table was built with.default TableSchema<?>DynamoDbExtensionContext.Context. tableSchema()TableSchema<T>DynamoDbIndex. tableSchema()Gets theTableSchemaobject that this mapped table was built with.TableSchema<T>MappedTableResource. tableSchema()Gets theTableSchemaobject 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 theTableSchemafor 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 classDocumentTableSchemaImplementation ofTableSchemathat 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> KeyEnhancedClientUtils. createKeyFromItem(T item, TableSchema<T> tableSchema, String indexName)static KeyEnhancedClientUtils. 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> TEnhancedClientUtils. 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 ExpressionBeginsWithConditional. expression(TableSchema<?> tableSchema, String indexName)ExpressionBetweenConditional. expression(TableSchema<?> tableSchema, String indexName)ExpressionEqualToConditional. expression(TableSchema<?> tableSchema, String indexName)ExpressionSingleKeyItemConditional. 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.BuilderDefaultDynamoDbExtensionContext.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 classMetaTableSchema<T>An implementation ofTableSchemathat can be instantiated as an uninitialized reference and then lazily initialized later with a concreteTableSchemaat 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 voidMetaTableSchema. 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 ResultTCommonOperation. 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 ResultTTableOperation. 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 ResultTIndexOperation. 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.RequestTCommonOperation. generateRequest(TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension)This method generates the request that needs to be sent to a low levelDynamoDbClient.CreateTableRequestCreateTableOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)DeleteItemRequestDeleteItemOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)DeleteTableRequestDeleteTableOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)DescribeTableRequestDescribeTableOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)GetItemRequestGetItemOperation. generateRequest(TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension)RequestTPaginatedOperation. generateRequest(TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension)This method generates the request that needs to be sent to a low levelDynamoDbClient.PutItemRequestPutItemOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)QueryRequestQueryOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)ScanRequestScanOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)UpdateItemRequestUpdateItemOperation. generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)TransactGetItemGetItemOperation. generateTransactGetItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)TransactGetItemTransactableReadOperation. generateTransactGetItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)TransactWriteItemDeleteItemOperation. generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)TransactWriteItemPutItemOperation. generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)TransactWriteItemTransactableWriteOperation. generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)TransactWriteItemUpdateItemOperation. generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)WriteRequestBatchableWriteOperation. generateWriteRequest(TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension)WriteRequestDeleteItemOperation. generateWriteRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)WriteRequestPutItemOperation. generateWriteRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)ResultTCommonOperation. 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.VoidCreateTableOperation. transformResponse(CreateTableResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)DeleteItemEnhancedResponse<T>DeleteItemOperation. transformResponse(DeleteItemResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)VoidDeleteTableOperation. transformResponse(DeleteTableResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension)DescribeTableEnhancedResponseDescribeTableOperation. 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 classWrappedTableSchema<T,R extends TableSchema<T>>Base class for anyTableSchemaimplementation that wraps and acts as a differentTableSchemaimplementation.Classes in software.amazon.awssdk.enhanced.dynamodb.mapper that implement TableSchema Modifier and Type Class Description classBeanTableSchema<T>Implementation ofTableSchemathat builds a table schema based on properties and annotations of a bean class.classImmutableTableSchema<T>Implementation ofTableSchemathat builds a table schema based on properties and annotations of an immutable class with an associated builder class.classStaticImmutableTableSchema<T,B>Implementation ofTableSchemathat builds a schema for immutable data objects based on directly declared attributes.classStaticTableSchema<T>Implementation ofTableSchemathat builds a schema based on directly declared attributes and methods to get and set those attributes.classWrappedTableSchema<T,R extends TableSchema<T>>Base class for anyTableSchemaimplementation that wraps and acts as a differentTableSchemaimplementation.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 anotherTableSchemainto 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 anotherStaticTableSchemainto 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 ExpressionQueryConditional. expression(TableSchema<?> tableSchema, String indexName)Generates a conditionalExpressionbased on specific context that is supplied as arguments.TransactWriteItemConditionCheck. generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)
-