ItemT
- The modelled object that this table maps records to.RequestT
- The type of the request object for the DynamoDb call in the low level DynamoDbClient
.ResponseT
- The type of the response object for the DynamoDb call in the low level DynamoDbClient
.public interface PaginatedIndexOperation<ItemT,RequestT,ResponseT> extends PaginatedOperation<ItemT,RequestT,ResponseT>
PaginatedTableOperation
with the same
types if the operation supports being executed against both the primary index and secondary indices.Modifier and Type | Method and Description |
---|---|
default PageIterable<ItemT> |
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 SdkPublisher<Page<ItemT>> |
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.
|
asyncServiceCall, execute, executeAsync, generateRequest, serviceCall, transformResponse
default PageIterable<ItemT> executeOnSecondaryIndex(TableSchema<ItemT> tableSchema, String tableName, String indexName, DynamoDbEnhancedClientExtension extension, DynamoDbClient dynamoDbClient)
PaginatedOperation
interface to perform the operation.tableSchema
- A TableSchema
that maps the table to a modelled object.tableName
- The physical name of the table that contains the secondary index to execute the operation
against.indexName
- The physical name of the secondary index to execute the operation against.dynamoDbClient
- A DynamoDbClient
to make the call against.extension
- A DynamoDbEnhancedClientExtension
that may modify the request or result of this
operation. A null value here will result in no modifications.default SdkPublisher<Page<ItemT>> executeOnSecondaryIndexAsync(TableSchema<ItemT> tableSchema, String tableName, String indexName, DynamoDbEnhancedClientExtension extension, DynamoDbAsyncClient dynamoDbAsyncClient)
PaginatedOperation
interface to perform the operation.tableSchema
- A TableSchema
that maps the table to a modelled object.tableName
- The physical name of the table that contains the secondary index to execute the operation
against.indexName
- The physical name of the secondary index to execute the operation against.dynamoDbAsyncClient
- A DynamoDbAsyncClient
to make the call against.extension
- A DynamoDbEnhancedClientExtension
that may modify the request or result of this
operation. A null value here will result in no modifications.Copyright © 2021. All rights reserved.