Package com.gigaspaces.internal.query
Class InValueIndexScanner
java.lang.Object
com.gigaspaces.internal.query.AbstractQueryIndex
com.gigaspaces.internal.query.InValueIndexScanner
- All Implemented Interfaces:
IQueryIndexScanner,SmartExternalizable,Externalizable,Serializable
Scans the index with the defined index name only for entries that match one of the values in the
index value set.
- Since:
- 8.0
- Author:
- anna
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.internal.query.IQueryIndexScanner
IQueryIndexScanner.ResultIndicator -
Field Summary
Fields inherited from interface com.gigaspaces.internal.query.IQueryIndexScanner
RESULT_IGNORE_INDEX, RESULT_NO_MATCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IObjectsListgetEntriesByIndex(Context context, TypeData typeData, TypeDataIndex<Object> index, boolean fifoGroupsScan) getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider) The value of the index - objects are indexed and stored according to specific index value.protected booleanvoidbooleanReturns true if this index scanner requires an ordered indexbooleanReturns true if this index scanner supports template indexingvoidMethods inherited from class com.gigaspaces.internal.query.AbstractQueryIndex
getIndexName, isExtendsAbstractQueryIndex, isUidsScanner, requiresValueForIndexSearch, supportsFifoOrderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.internal.query.IQueryIndexScanner
getIndexUsageCounterMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
InValueIndexScanner
public InValueIndexScanner() -
InValueIndexScanner
-
-
Method Details
-
getIndexedEntriesByType
public IObjectsList getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider) - Specified by:
getIndexedEntriesByTypein interfaceIQueryIndexScanner- Overrides:
getIndexedEntriesByTypein classAbstractQueryIndex
-
getEntriesByIndex
protected IObjectsList getEntriesByIndex(Context context, TypeData typeData, TypeDataIndex<Object> index, boolean fifoGroupsScan) - Specified by:
getEntriesByIndexin classAbstractQueryIndex
-
requiresOrderedIndex
public boolean requiresOrderedIndex()Description copied from interface:IQueryIndexScannerReturns true if this index scanner requires an ordered index -
hasIndexValue
protected boolean hasIndexValue()- Specified by:
hasIndexValuein classAbstractQueryIndex
-
getIndexValue
Description copied from interface:IQueryIndexScannerThe value of the index - objects are indexed and stored according to specific index value. This value will be used to search the index structure for entries that match this value . -
get_indexInValueSet
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classAbstractQueryIndex- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classAbstractQueryIndex- Throws:
IOException
-
supportsTemplateIndex
public boolean supportsTemplateIndex()Description copied from interface:IQueryIndexScannerReturns true if this index scanner supports template indexing
-