Package com.gigaspaces.internal.query
Class AbstractQueryIndex
java.lang.Object
com.gigaspaces.internal.query.AbstractQueryIndex
- All Implemented Interfaces:
IQueryIndexScanner,SmartExternalizable,Externalizable,Serializable
- Direct Known Subclasses:
ExactValueIndexScanner,InValueIndexScanner,NotRegexIndexScanner,NullValueIndexScanner,RangeCompoundIndexScanner,RangeIndexScanner,RegexIndexScanner,RelationIndexScanner,UidsIndexScanner
- 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 abstract IObjectsListgetEntriesByIndex(Context context, TypeData typeData, TypeDataIndex<Object> index, boolean fifoGroupsScan) getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider) The name of the index - index is stored in the space by this nameprotected abstract booleanbooleanbooleanvoidbooleanbooleanby default fifo order is not preservedvoidMethods 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
getIndexUsageCounter, getIndexValue, requiresOrderedIndex, supportsTemplateIndexMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
AbstractQueryIndex
public AbstractQueryIndex() -
AbstractQueryIndex
-
-
Method Details
-
getIndexName
Description copied from interface:IQueryIndexScannerThe name of the index - index is stored in the space by this name- Specified by:
getIndexNamein interfaceIQueryIndexScanner
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
supportsFifoOrder
public boolean supportsFifoOrder()by default fifo order is not preserved- Specified by:
supportsFifoOrderin interfaceIQueryIndexScanner
-
getIndexedEntriesByType
public IObjectsList getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider) - Specified by:
getIndexedEntriesByTypein interfaceIQueryIndexScanner
-
requiresValueForIndexSearch
public boolean requiresValueForIndexSearch() -
hasIndexValue
protected abstract boolean hasIndexValue() -
getEntriesByIndex
protected abstract IObjectsList getEntriesByIndex(Context context, TypeData typeData, TypeDataIndex<Object> index, boolean fifoGroupsScan) -
isUidsScanner
public boolean isUidsScanner()- Specified by:
isUidsScannerin interfaceIQueryIndexScanner
-
isExtendsAbstractQueryIndex
public boolean isExtendsAbstractQueryIndex()- Specified by:
isExtendsAbstractQueryIndexin interfaceIQueryIndexScanner
-