T
- The type of the modelled object.public interface DynamoDbAsyncIndex<T>
Modifier and Type | Method and Description |
---|---|
String |
indexName()
Gets the physical secondary index name that operations performed by this object will be executed against.
|
Key |
keyFrom(T item)
Creates a
Key object from a modelled item. |
DynamoDbEnhancedClientExtension |
mapperExtension()
Gets the
DynamoDbEnhancedClientExtension associated with this mapped resource. |
default SdkPublisher<Page<T>> |
query(Consumer<QueryEnhancedRequest.Builder> requestConsumer) |
default SdkPublisher<Page<T>> |
query(QueryEnhancedRequest request) |
default SdkPublisher<Page<T>> |
scan() |
default SdkPublisher<Page<T>> |
scan(Consumer<ScanEnhancedRequest.Builder> requestConsumer) |
default SdkPublisher<Page<T>> |
scan(ScanEnhancedRequest request) |
String |
tableName()
Gets the physical table name that operations performed by this object will be executed against.
|
TableSchema<T> |
tableSchema()
Gets the
TableSchema object that this mapped table was built with. |
default SdkPublisher<Page<T>> query(QueryEnhancedRequest request)
default SdkPublisher<Page<T>> query(Consumer<QueryEnhancedRequest.Builder> requestConsumer)
default SdkPublisher<Page<T>> scan(ScanEnhancedRequest request)
default SdkPublisher<Page<T>> scan(Consumer<ScanEnhancedRequest.Builder> requestConsumer)
default SdkPublisher<Page<T>> scan()
DynamoDbEnhancedClientExtension mapperExtension()
DynamoDbEnhancedClientExtension
associated with this mapped resource.DynamoDbEnhancedClientExtension
associated with this mapped resource.TableSchema<T> tableSchema()
TableSchema
object that this mapped table was built with.TableSchema
object for this mapped table.String tableName()
String indexName()
Key keyFrom(T item)
Key
object from a modelled item. This key can be used in query conditionals and get
operations to locate a specific record.item
- The item to extract the key fields from.Copyright © 2020. All rights reserved.