Uses of Interface
software.amazon.awssdk.enhanced.dynamodb.TableSchema
Packages that use TableSchema
Package
Description
-
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb
Methods in software.amazon.awssdk.enhanced.dynamodb that return TableSchemaModifier and TypeMethodDescriptionstatic <T> TableSchema<T>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.DynamoDbAsyncIndex.tableSchema()Gets theTableSchemaobject that this mapped table was built with.default TableSchema<?>DynamoDbExtensionContext.Context.tableSchema()DynamoDbIndex.tableSchema()Gets theTableSchemaobject that this mapped table was built with.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 TableSchemaModifier and TypeMethodDescriptionEnhancedType.tableSchema()Retrieve theTableSchemafor a modeled document.Methods in software.amazon.awssdk.enhanced.dynamodb with parameters of type TableSchemaModifier and TypeMethodDescriptionstatic <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.Key.keyMap(TableSchema<?> tableSchema, String index) Return a map of the key elements that can be passed directly to DynamoDb.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 TableSchemaModifier and TypeClassDescriptionfinal classImplementation 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 that return types with arguments of type TableSchemaModifier and TypeMethodDescriptionstatic Optional<TableSchema<?>>EnhancedClientUtils.getNestedSchema(TableSchema<?> parentSchema, String attributeName) Retrieves the nestedTableSchemafor an attribute from the parent schema.Methods in software.amazon.awssdk.enhanced.dynamodb.internal with parameters of type TableSchemaModifier and TypeMethodDescriptionstatic <T> KeyEnhancedClientUtils.createKeyFromItem(T item, TableSchema<T> tableSchema, String indexName) static KeyEnhancedClientUtils.createKeyFromMap(Map<String, AttributeValue> itemMap, TableSchema<?> tableSchema, String indexName) static Optional<TableSchema<?>>EnhancedClientUtils.getNestedSchema(TableSchema<?> parentSchema, String attributeName) Retrieves the nestedTableSchemafor an attribute from the parent schema.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 TableSchemaModifier and TypeMethodDescriptionDefaultDynamoDbAsyncIndex.tableSchema()DefaultDynamoDbAsyncTable.tableSchema()DefaultDynamoDbIndex.tableSchema()DefaultDynamoDbTable.tableSchema()Methods in software.amazon.awssdk.enhanced.dynamodb.internal.client with parameters of type TableSchemaModifier and TypeMethodDescription<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 TableSchemaModifier and TypeMethodDescriptionBeginsWithConditional.expression(TableSchema<?> tableSchema, String indexName) BetweenConditional.expression(TableSchema<?> tableSchema, String indexName) EqualToConditional.expression(TableSchema<?> tableSchema, String indexName) SingleKeyItemConditional.expression(TableSchema<?> tableSchema, String indexName) QueryConditionalUtils.resolveKeys(Key key, 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 TableSchemaModifier and TypeMethodDescriptionstatic <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 TableSchemaMethods in software.amazon.awssdk.enhanced.dynamodb.internal.extensions with parameters of type TableSchemaModifier and TypeMethodDescriptionDefaultDynamoDbExtensionContext.Builder.tableSchema(TableSchema<?> tableSchema) -
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.internal.extensions.utility
Methods in software.amazon.awssdk.enhanced.dynamodb.internal.extensions.utility that return TableSchemaModifier and TypeMethodDescriptionstatic TableSchema<?>NestedRecordUtils.getListElementSchemaCached(Map<NestedRecordUtils.SchemaLookupKey, TableSchema<?>> cache, TableSchema<?> parentSchema, String attributeName, Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> nestedSchemaCache) Cached wrapper for resolving list element schema, storing results (including null) in the provided cache.static TableSchema<?>NestedRecordUtils.getTableSchemaForListElement(TableSchema<?> rootSchema, String key) Resolves and returns theTableSchemafor the element type of list attribute from the provided root schema.static TableSchema<?>NestedRecordUtils.getTableSchemaForListElement(TableSchema<?> rootSchema, String key, Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> nestedSchemaCache) Same asNestedRecordUtils.getTableSchemaForListElement(TableSchema, String)but allows callers to provide a shared per-operation cache for nested schema lookups.Methods in software.amazon.awssdk.enhanced.dynamodb.internal.extensions.utility that return types with arguments of type TableSchemaModifier and TypeMethodDescriptionstatic Optional<TableSchema<?>>NestedRecordUtils.getNestedSchemaCached(Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> cache, TableSchema<?> parentSchema, String attributeName) static Map<String,TableSchema<?>> NestedRecordUtils.resolveSchemasPerPath(Map<String, AttributeValue> attributesToSet, TableSchema<?> rootSchema) Traverses the attribute keys representing flattened nested structures and resolves the correspondingTableSchemafor each nested path.static Map<String,TableSchema<?>> NestedRecordUtils.resolveSchemasPerPath(Map<String, AttributeValue> attributesToSet, TableSchema<?> rootSchema, Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> nestedSchemaCache) Same asNestedRecordUtils.resolveSchemasPerPath(Map, TableSchema)but allows callers to provide a shared per-operation cache for nested schema lookups.Methods in software.amazon.awssdk.enhanced.dynamodb.internal.extensions.utility with parameters of type TableSchemaModifier and TypeMethodDescriptionstatic TableSchema<?>NestedRecordUtils.getListElementSchemaCached(Map<NestedRecordUtils.SchemaLookupKey, TableSchema<?>> cache, TableSchema<?> parentSchema, String attributeName, Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> nestedSchemaCache) Cached wrapper for resolving list element schema, storing results (including null) in the provided cache.static Optional<TableSchema<?>>NestedRecordUtils.getNestedSchemaCached(Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> cache, TableSchema<?> parentSchema, String attributeName) static TableSchema<?>NestedRecordUtils.getTableSchemaForListElement(TableSchema<?> rootSchema, String key) Resolves and returns theTableSchemafor the element type of list attribute from the provided root schema.static TableSchema<?>NestedRecordUtils.getTableSchemaForListElement(TableSchema<?> rootSchema, String key, Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> nestedSchemaCache) Same asNestedRecordUtils.getTableSchemaForListElement(TableSchema, String)but allows callers to provide a shared per-operation cache for nested schema lookups.static Map<String,TableSchema<?>> NestedRecordUtils.resolveSchemasPerPath(Map<String, AttributeValue> attributesToSet, TableSchema<?> rootSchema) Traverses the attribute keys representing flattened nested structures and resolves the correspondingTableSchemafor each nested path.static Map<String,TableSchema<?>> NestedRecordUtils.resolveSchemasPerPath(Map<String, AttributeValue> attributesToSet, TableSchema<?> rootSchema, Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> nestedSchemaCache) Same asNestedRecordUtils.resolveSchemasPerPath(Map, TableSchema)but allows callers to provide a shared per-operation cache for nested schema lookups.Method parameters in software.amazon.awssdk.enhanced.dynamodb.internal.extensions.utility with type arguments of type TableSchemaModifier and TypeMethodDescriptionstatic TableSchema<?>NestedRecordUtils.getListElementSchemaCached(Map<NestedRecordUtils.SchemaLookupKey, TableSchema<?>> cache, TableSchema<?> parentSchema, String attributeName, Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> nestedSchemaCache) Cached wrapper for resolving list element schema, storing results (including null) in the provided cache.static Optional<TableSchema<?>>NestedRecordUtils.getNestedSchemaCached(Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> cache, TableSchema<?> parentSchema, String attributeName) static TableSchema<?>NestedRecordUtils.getTableSchemaForListElement(TableSchema<?> rootSchema, String key, Map<NestedRecordUtils.SchemaLookupKey, Optional<TableSchema<?>>> nestedSchemaCache) Same asNestedRecordUtils.getTableSchemaForListElement(TableSchema, String)but allows callers to provide a shared per-operation cache for nested schema lookups.Constructors in software.amazon.awssdk.enhanced.dynamodb.internal.extensions.utility with parameters of type TableSchema -
Uses of TableSchema in software.amazon.awssdk.enhanced.dynamodb.internal.mapper
Classes in software.amazon.awssdk.enhanced.dynamodb.internal.mapper that implement TableSchemaModifier and TypeClassDescriptionclassAn 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 TableSchemaMethods in software.amazon.awssdk.enhanced.dynamodb.internal.mapper with parameters of type TableSchemaModifier and TypeMethodDescriptionvoidMetaTableSchema.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 TableSchemaModifier and TypeMethodDescriptiondefault 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.CommonOperation.generateRequest(TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension) This method generates the request that needs to be sent to a low levelDynamoDbClient.CreateTableOperation.generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) DeleteItemOperation.generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) DeleteTableOperation.generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) DescribeTableOperation.generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) GetItemOperation.generateRequest(TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension) PaginatedOperation.generateRequest(TableSchema<ItemT> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension) This method generates the request that needs to be sent to a low levelDynamoDbClient.PutItemOperation.generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) QueryOperation.generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) ScanOperation.generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) UpdateItemOperation.generateRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) GetItemOperation.generateTransactGetItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension) TransactableReadOperation.generateTransactGetItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension) DeleteItemOperation.generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension) PutItemOperation.generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension) TransactableWriteOperation.generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension) UpdateItemOperation.generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension) BatchableWriteOperation.generateWriteRequest(TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension) DeleteItemOperation.generateWriteRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) PutItemOperation.generateWriteRequest(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) 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.CreateTableOperation.transformResponse(CreateTableResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) DeleteItemOperation.transformResponse(DeleteItemResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) DeleteTableOperation.transformResponse(DeleteTableResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) DescribeTableOperation.transformResponse(DescribeTableResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) GetItemOperation.transformResponse(GetItemResponse response, TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension extension) 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.PutItemOperation.transformResponse(PutItemResponse response, TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension extension) QueryOperation.transformResponse(QueryResponse response, TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension) ScanOperation.transformResponse(ScanResponse response, TableSchema<T> tableSchema, OperationContext context, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension) 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 TableSchemaModifier and TypeClassDescriptionclassWrappedTableSchema<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 TableSchemaModifier and TypeClassDescriptionfinal classImplementation ofTableSchemathat builds a table schema based on properties and annotations of a bean class.final classImplementation ofTableSchemathat builds a table schema based on properties and annotations of an immutable class with an associated builder class.final classImplementation ofTableSchemathat builds a schema for immutable data objects based on directly declared attributes.final classImplementation 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 that return TableSchemaModifier and TypeMethodDescriptionstatic <T> TableSchema<T>TableSchemaFactory.fromClass(Class<T> annotatedClass, ExecutionContext context) Methods in software.amazon.awssdk.enhanced.dynamodb.mapper with parameters of type TableSchemaModifier and TypeMethodDescriptionStaticImmutableTableSchema.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.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 TableSchemaModifier and TypeMethodDescriptionQueryConditional.expression(TableSchema<?> tableSchema, String indexName) Generates a conditionalExpressionbased on specific context that is supplied as arguments.ConditionCheck.generateTransactWriteItem(TableSchema<T> tableSchema, OperationContext operationContext, DynamoDbEnhancedClientExtension dynamoDbEnhancedClientExtension)