Package com.gigaspaces.internal.query
Class CompoundOrIndexScanner
java.lang.Object
com.gigaspaces.internal.query.AbstractCompoundIndexScanner
com.gigaspaces.internal.query.CompoundOrIndexScanner
- All Implemented Interfaces:
IQueryIndexScanner,SmartExternalizable,Externalizable,Serializable
Scans the indexes and gets the union of all indexed entries. This will be used as the potential
matching list by the CacheManager. Note: Currently the unified list will contain duplicates in
case of overlapping ranges. This should be optimized in the future.
- 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 class com.gigaspaces.internal.query.AbstractCompoundIndexScanner
indexScannersFields inherited from interface com.gigaspaces.internal.query.IQueryIndexScanner
RESULT_IGNORE_INDEX, RESULT_NO_MATCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(IQueryIndexScanner customIndex) getEntriesByIndex(TypeDataIndex<Object> index) getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider) The name of the index - index is stored in the space by this nameThe value of the index - objects are indexed and stored according to specific index value.booleanReturns true if this index scanner requires an ordered indexbooleanreturns true if this index scanner preserves the fifo orderbooleanReturns true if this index scanner supports template indexingMethods inherited from class com.gigaspaces.internal.query.AbstractCompoundIndexScanner
getIndexScanners, isExtendsAbstractQueryIndex, isUidsScanner, readExternal, writeExternalMethods 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
-
CompoundOrIndexScanner
public CompoundOrIndexScanner()
-
-
Method Details
-
getIndexName
Description copied from interface:IQueryIndexScannerThe name of the index - index is stored in the space by this name -
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 . -
requiresOrderedIndex
public boolean requiresOrderedIndex()Description copied from interface:IQueryIndexScannerReturns true if this index scanner requires an ordered index -
supportsFifoOrder
public boolean supportsFifoOrder()Description copied from interface:IQueryIndexScannerreturns true if this index scanner preserves the fifo order -
supportsTemplateIndex
public boolean supportsTemplateIndex()Description copied from interface:IQueryIndexScannerReturns true if this index scanner supports template indexing -
getIndexedEntriesByType
public IObjectsList getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider) -
add
-
getEntriesByIndex
-