public final class DefaultDynamoDbAsyncIndex<T> extends Object implements DynamoDbAsyncIndex<T>
| Modifier and Type | Method and Description |
|---|---|
DynamoDbAsyncClient |
dynamoDbClient() |
boolean |
equals(Object o) |
int |
hashCode() |
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. |
SdkPublisher<Page<T>> |
query(Consumer<QueryEnhancedRequest.Builder> requestConsumer) |
SdkPublisher<Page<T>> |
query(QueryEnhancedRequest request) |
SdkPublisher<Page<T>> |
scan() |
SdkPublisher<Page<T>> |
scan(Consumer<ScanEnhancedRequest.Builder> requestConsumer) |
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. |
public SdkPublisher<Page<T>> query(QueryEnhancedRequest request)
query in interface DynamoDbAsyncIndex<T>public SdkPublisher<Page<T>> query(Consumer<QueryEnhancedRequest.Builder> requestConsumer)
query in interface DynamoDbAsyncIndex<T>public SdkPublisher<Page<T>> scan(ScanEnhancedRequest request)
scan in interface DynamoDbAsyncIndex<T>public SdkPublisher<Page<T>> scan(Consumer<ScanEnhancedRequest.Builder> requestConsumer)
scan in interface DynamoDbAsyncIndex<T>public SdkPublisher<Page<T>> scan()
scan in interface DynamoDbAsyncIndex<T>public DynamoDbEnhancedClientExtension mapperExtension()
DynamoDbAsyncIndexDynamoDbEnhancedClientExtension associated with this mapped resource.mapperExtension in interface DynamoDbAsyncIndex<T>DynamoDbEnhancedClientExtension associated with this mapped resource.public TableSchema<T> tableSchema()
DynamoDbAsyncIndexTableSchema object that this mapped table was built with.tableSchema in interface DynamoDbAsyncIndex<T>TableSchema object for this mapped table.public DynamoDbAsyncClient dynamoDbClient()
public String tableName()
DynamoDbAsyncIndextableName in interface DynamoDbAsyncIndex<T>public String indexName()
DynamoDbAsyncIndexindexName in interface DynamoDbAsyncIndex<T>public Key keyFrom(T item)
DynamoDbAsyncIndexKey object from a modelled item. This key can be used in query conditionals and get
operations to locate a specific record.keyFrom in interface DynamoDbAsyncIndex<T>item - The item to extract the key fields from.Copyright © 2020. All rights reserved.