public abstract class AbstractQueryIndex extends Object implements IQueryIndexScanner
IQueryIndexScanner.ResultIndicator
RESULT_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 |
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, wait
getIndexValue, requiresOrderedIndex, supportsTemplateIndex
public AbstractQueryIndex()
public AbstractQueryIndex(String indexName)
public String getIndexName()
IQueryIndexScanner
getIndexName
in interface IQueryIndexScanner
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public boolean supportsFifoOrder()
supportsFifoOrder
in interface IQueryIndexScanner
public IObjectsList getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider)
getIndexedEntriesByType
in interface IQueryIndexScanner
public 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 IQueryIndexScanner
Copyright © GigaSpaces.