Package com.gigaspaces.internal.query
Class ExactValueIndexScanner
java.lang.Object
com.gigaspaces.internal.query.AbstractQueryIndex
com.gigaspaces.internal.query.ExactValueIndexScanner
- All Implemented Interfaces:
IQueryIndexScanner,SmartExternalizable,Externalizable,Serializable
- Direct Known Subclasses:
ExacValueCompoundIndexScanner
Scans the index with the defined index name only for entries that match the exact index value
- Since:
- 7.1
- 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) 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 indexprotected voidsetIndexValue(Object indexValue) booleanequality matching preserves fifo orderbooleanReturns true if this index scanner supports template indexingvoidMethods inherited from class com.gigaspaces.internal.query.AbstractQueryIndex
getIndexedEntriesByType, getIndexName, isExtendsAbstractQueryIndex, isUidsScanner, requiresValueForIndexSearchMethods 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
-
ExactValueIndexScanner
public ExactValueIndexScanner() -
ExactValueIndexScanner
-
-
Method Details
-
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 . -
setIndexValue
-
supportsFifoOrder
public boolean supportsFifoOrder()equality matching preserves fifo order- Specified by:
supportsFifoOrderin interfaceIQueryIndexScanner- Overrides:
supportsFifoOrderin classAbstractQueryIndex
-
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
-