public class RelationIndexScanner extends AbstractQueryIndex
IQueryIndexScanner.ResultIndicatorRESULT_IGNORE_INDEX, RESULT_NO_MATCH| Constructor and Description |
|---|
RelationIndexScanner() |
RelationIndexScanner(String typeName,
String path,
String namespace,
String relation,
Object subject) |
| Modifier and Type | Method and Description |
|---|---|
protected IObjectsList |
getEntriesByIndex(Context context,
TypeData typeData,
TypeDataIndex<Object> index,
boolean fifoGroupsScan) |
IObjectsList |
getIndexedEntriesByType(Context context,
TypeData typeData,
ITemplateHolder template,
int latestIndexToConsider) |
LongCounter |
getIndexUsageCounter(TypeData typeData) |
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) |
getIndexName, isExtendsAbstractQueryIndex, isUidsScanner, requiresValueForIndexSearch, supportsFifoOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenabledSmartExternalizableWithReferencepublic IObjectsList getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider)
getIndexedEntriesByType in interface IQueryIndexScannergetIndexedEntriesByType in class AbstractQueryIndexprotected IObjectsList getEntriesByIndex(Context context, TypeData typeData, TypeDataIndex<Object> index, boolean fifoGroupsScan)
getEntriesByIndex in class AbstractQueryIndexpublic boolean requiresOrderedIndex()
IQueryIndexScannerprotected boolean hasIndexValue()
hasIndexValue in class AbstractQueryIndexpublic Object getIndexValue()
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 LongCounter getIndexUsageCounter(TypeData typeData)
Copyright © GigaSpaces.