Package com.gigaspaces.internal.query
Interface IQueryIndexScanner
- All Superinterfaces:
Externalizable,Serializable,SmartExternalizable
- All Known Implementing Classes:
AbstractCompoundIndexScanner,AbstractQueryIndex,CompoundAndIndexScanner,CompoundOrIndexScanner,ExactValueIndexScanner,ExacValueCompoundIndexScanner,InValueIndexScanner,NotRegexIndexScanner,NullValueIndexScanner,RangeCompoundIndexScanner,RangeIndexScanner,RegexIndexScanner,RelationIndexScanner,UidsIndexScanner
Represents an index that can be provided in a
ICustomQuery and optimize the query run
time.- Since:
- 7.1
- Author:
- anna
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IQueryIndexScanner.ResultIndicatorstatic final IQueryIndexScanner.ResultIndicator -
Method Summary
Modifier and TypeMethodDescriptiongetIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider) The name of the index - index is stored in the space by this namedefault AtomicLonggetIndexUsageCounter(TypeData typeData) The value of the index - objects are indexed and stored according to specific index value.booleanbooleanbooleanReturns 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 interface java.io.Externalizable
readExternal, writeExternalMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
RESULT_NO_MATCH
-
RESULT_IGNORE_INDEX
-
-
Method Details
-
getIndexName
String getIndexName()The name of the index - index is stored in the space by this name -
getIndexValue
Object getIndexValue()The 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
boolean requiresOrderedIndex()Returns true if this index scanner requires an ordered index -
supportsFifoOrder
boolean supportsFifoOrder()returns true if this index scanner preserves the fifo order -
supportsTemplateIndex
boolean supportsTemplateIndex()Returns true if this index scanner supports template indexing -
isUidsScanner
boolean isUidsScanner() -
getIndexedEntriesByType
IObjectsList getIndexedEntriesByType(Context context, TypeData typeData, ITemplateHolder template, int latestIndexToConsider) -
isExtendsAbstractQueryIndex
boolean isExtendsAbstractQueryIndex() -
getIndexUsageCounter
-