public class RangeCompoundIndexScanner extends AbstractQueryIndex
IQueryIndexScanner.ResultIndicatorRESULT_IGNORE_INDEX, RESULT_NO_MATCH| Constructor and Description |
|---|
RangeCompoundIndexScanner() |
RangeCompoundIndexScanner(String indexName,
Comparable<?>[] min,
boolean includeMin,
boolean includeMinFirstSegment,
Comparable<?>[] max,
boolean includeMax,
boolean includeMaxFirstSegment) |
| Modifier and Type | Method and Description |
|---|---|
static RangeCompoundIndexScanner |
build(String name,
List<Range> possibleSegments,
boolean isFirstSegmentIndexed) |
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
|
boolean |
supportsTemplateIndex()
Returns true if this index scanner supports template indexing
|
void |
writeExternal(ObjectOutput out) |
getIndexedEntriesByType, getIndexName, isExtendsAbstractQueryIndex, isUidsScanner, requiresValueForIndexSearch, supportsFifoOrderpublic RangeCompoundIndexScanner()
public RangeCompoundIndexScanner(String indexName, Comparable<?>[] min, boolean includeMin, boolean includeMinFirstSegment, Comparable<?>[] max, boolean includeMax, boolean includeMaxFirstSegment)
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 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()
IQueryIndexScannerpublic static RangeCompoundIndexScanner build(String name, List<Range> possibleSegments, boolean isFirstSegmentIndexed)
Copyright © GigaSpaces.