T - The type of the modelled object.public interface MappedIndex<T>
DynamoDbMappedTable interface as all commands that can be made against a secondary index can also be made
 against the primary index.
 Typically an implementation for this interface can be obtained from a MappedTable which in turn can be
 obtained from a MappedDatabase:
 mappedIndex = mappedDatabase.table(tableSchema).index("gsi_1");| Modifier and Type | Method and Description | 
|---|---|
| <R> R | execute(IndexOperation<T,?,?,R> operationToPerform)Executes a command against the database with the context of the specific table and secondary index this object
 is linked to. | 
| String | getIndexName()Gets the physical secondary index name that operations performed by this object will be executed against. | 
| MapperExtension | getMapperExtension()Gets the  MapperExtensionassociated with this mapped resource. | 
| String | getTableName()Gets the physical table name that operations performed by this object will be executed against. | 
| TableSchema<T> | getTableSchema()Gets the  TableSchemaobject that this mapped table was built with. | 
| Key | keyFrom(T item)Creates a  Keyobject from a modelled item. | 
<R> R execute(IndexOperation<T,?,?,R> operationToPerform)
R - The expected return type from the operation. This is typically inferred by the compiler.operationToPerform - The operation to be performed in the context of the secondary index.MapperExtension getMapperExtension()
MapperExtension associated with this mapped resource.MapperExtension associated with this mapped resource.TableSchema<T> getTableSchema()
TableSchema object that this mapped table was built with.TableSchema object for this mapped table.String getTableName()
String getIndexName()
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 © 2019. All rights reserved.