public abstract class AbstractQueryIndex extends Object implements IQueryIndexScanner
IQueryIndexScanner.ResultIndicatorRESULT_IGNORE_INDEX, RESULT_NO_MATCH| Constructor and Description |
|---|
AbstractQueryIndex() |
AbstractQueryIndex(String indexName) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract IObjectsList |
getEntriesByIndex(Context context,
TypeData typeData,
TypeDataIndex<Object> index,
boolean fifoGroupsScan) |
IObjectsList |
getIndexedEntriesByType(Context context,
TypeData typeData,
ITemplateHolder template,
int latestIndexToConsider) |
String |
getIndexName()
The name of the index - index is stored in the space by this name
|
protected abstract boolean |
hasIndexValue() |
boolean |
isExtendsAbstractQueryIndex() |
boolean |
isUidsScanner() |
void |
readExternal(ObjectInput in) |
boolean |
requiresValueForIndexSearch() |
boolean |
supportsFifoOrder()
by default fifo order is not preserved
|
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIndexUsageCounter, getIndexValue, requiresOrderedIndex, supportsTemplateIndexenabledSmartExternalizableWithReferencepublic AbstractQueryIndex()
public AbstractQueryIndex(String indexName)
public String getIndexName()
IQueryIndexScannergetIndexName in interface IQueryIndexScannerpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic boolean supportsFifoOrder()
supportsFifoOrder in interface IQueryIndexScannerpublic IObjectsList getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider)
getIndexedEntriesByType in interface IQueryIndexScannerpublic boolean requiresValueForIndexSearch()
protected abstract boolean hasIndexValue()
protected abstract IObjectsList getEntriesByIndex(Context context, TypeData typeData, TypeDataIndex<Object> index, boolean fifoGroupsScan)
public boolean isUidsScanner()
isUidsScanner in interface IQueryIndexScannerpublic boolean isExtendsAbstractQueryIndex()
isExtendsAbstractQueryIndex in interface IQueryIndexScannerCopyright © GigaSpaces.