public class RangeIndexScanner extends AbstractQueryIndex
IQueryIndexScanner.ResultIndicatorRESULT_IGNORE_INDEX, RESULT_NO_MATCH| Constructor and Description |
|---|
RangeIndexScanner() |
RangeIndexScanner(String indexName,
Comparable<?> min,
boolean includeMin,
Comparable<?> max,
boolean includeMax) |
| 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.
|
Comparable<?> |
getMax() |
Comparable<?> |
getMin() |
protected boolean |
hasIndexValue() |
boolean |
isIncludeMax() |
boolean |
isIncludeMin() |
void |
readExternal(ObjectInput in) |
boolean |
requiresOrderedIndex()
Returns true if this index scanner requires an ordered index
|
boolean |
supportsTemplateIndex()
Returns true if this index scanner supports template indexing
|
void |
writeExternal(ObjectOutput out) |
getIndexedEntriesByType, getIndexName, isExtendsAbstractQueryIndex, isUidsScanner, requiresValueForIndexSearch, supportsFifoOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIndexUsageCounterenabledSmartExternalizableWithReferencepublic RangeIndexScanner()
public RangeIndexScanner(String indexName, Comparable<?> min, boolean includeMin, Comparable<?> max, boolean includeMax)
protected IObjectsList getEntriesByIndex(Context context, TypeData typeData, TypeDataIndex<Object> index, boolean fifoGroupsScan)
getEntriesByIndex in class AbstractQueryIndexprotected boolean hasIndexValue()
hasIndexValue in class AbstractQueryIndexpublic Object getIndexValue()
IQueryIndexScannerpublic Comparable<?> getMin()
public Comparable<?> getMax()
public boolean isIncludeMin()
public boolean isIncludeMax()
public boolean requiresOrderedIndex()
IQueryIndexScannerpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AbstractQueryIndexIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class AbstractQueryIndexIOExceptionpublic boolean supportsTemplateIndex()
IQueryIndexScannerCopyright © GigaSpaces.