public class ExactValueIndexScanner extends AbstractQueryIndex
IQueryIndexScanner.ResultIndicator
RESULT_IGNORE_INDEX, RESULT_NO_MATCH
Constructor and Description |
---|
ExactValueIndexScanner() |
ExactValueIndexScanner(String indexName,
Object indexValue) |
Modifier and Type | Method and Description |
---|---|
protected IObjectsList |
getEntriesByIndex(Context context,
TypeData typeData,
TypeDataIndex<Object> index,
boolean fifoGroupsScan) |
Object |
getIndexValue()
The value of the index - objects are indexed and stored according to specific index value.
|
protected boolean |
hasIndexValue() |
void |
readExternal(ObjectInput in) |
boolean |
requiresOrderedIndex()
Returns true if this index scanner requires an ordered index
|
protected void |
setIndexValue(Object indexValue) |
boolean |
supportsFifoOrder()
equality matching preserves fifo order
|
boolean |
supportsTemplateIndex()
Returns true if this index scanner supports template indexing
|
void |
writeExternal(ObjectOutput out) |
getIndexedEntriesByType, getIndexName, isExtendsAbstractQueryIndex, isUidsScanner, requiresValueForIndexSearch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIndexUsageCounter
enabledSmartExternalizableWithReference
protected IObjectsList getEntriesByIndex(Context context, TypeData typeData, TypeDataIndex<Object> index, boolean fifoGroupsScan)
getEntriesByIndex
in class AbstractQueryIndex
public boolean requiresOrderedIndex()
IQueryIndexScanner
protected boolean hasIndexValue()
hasIndexValue
in class AbstractQueryIndex
public Object getIndexValue()
IQueryIndexScanner
protected void setIndexValue(Object indexValue)
public boolean supportsFifoOrder()
supportsFifoOrder
in interface IQueryIndexScanner
supportsFifoOrder
in class AbstractQueryIndex
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractQueryIndex
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractQueryIndex
IOException
public boolean supportsTemplateIndex()
IQueryIndexScanner
Copyright © GigaSpaces.