public interface StorageAccess<S extends Storable> extends FullScanQueryExecutor.Support<S>, KeyQueryExecutor.Support<S>, IndexedQueryExecutor.Support<S>, SortedQueryExecutor.Support<S>
Storage
, necessary for query
execution.Modifier and Type | Method and Description |
---|---|
java.util.Collection<StorableIndex<S>> |
getAllIndexes()
Returns all the available indexes.
|
QueryExecutorFactory<S> |
getQueryExecutorFactory()
Returns a QueryExecutorFactory instance for storage.
|
java.lang.Class<S> |
getStorableType()
Returns the specific type of Storable managed by this object.
|
Storage<S> |
storageDelegate(StorableIndex<S> index)
If the given index is not directly supported by storage, queries should
be delegated.
|
countAll, countAll, fetchAll, fetchAll
fetchOne, fetchOne
fetchFromIndexEntryQuery, fetchFromIndexEntryQuery, fetchSubset, fetchSubset, indexEntryQuery
createSortBuffer, createSortBuffer
java.lang.Class<S> getStorableType()
getStorableType
in interface FullScanQueryExecutor.Support<S extends Storable>
QueryExecutorFactory<S> getQueryExecutorFactory()
java.util.Collection<StorableIndex<S>> getAllIndexes()
Storage<S> storageDelegate(StorableIndex<S> index)
java.lang.IllegalArgumentException
- if index is unknownCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.