Package com.j_spaces.kernel.list
Interface IScanListIterator<T>
- All Superinterfaces:
IObjectsList
- All Known Subinterfaces:
IEntryCacheInfo,IExtendedIndexIterator<V>,IFifoGroupIterator<T>
- All Known Implementing Classes:
BlobStorePreFetchIteratorBasedHandler,BlobStoreRefEntryCacheInfo,EvictableEntryCacheInfo,ExtendedCompoundIndexFifoGroupsIterator,ExtendedIndexFifoGroupsIterator,ExtendedIndexIterator,FifoGroupsMultiList,FifoGroupsScanAllValuesByCompoundIndexIterator,FifoGroupsScanAllValuesIterator,FifoGroupsScanByFGIndexIterator,FifoGroupsScanByGeneralIndexIterator,MemoryBasedEntryCacheInfo,MultiIntersectedStoredList,MultiStoredList,MVCCEntryCacheInfo,MVCCShellEntryCacheInfo,QueryExtensionIndexEntryIteratorWrapper,RecentExtendedIndexUpdates.RecentExtendedUpdatesIter,ScanListSAIterator,ScanSingleListIterator,ScanUidsIterator
IScanListIterator defines the interface for the result of stored-lists/extended indexes matching
-
Method Summary
Modifier and TypeMethodDescriptiondefault IScanListIteratorcreate a shallow copy ready for alternating thread usageintif the scan is on a property index, currently supported for extended indexdefault StringbooleanhasNext()default booleanhasSize()booleanis the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIterdefault booleandefault booleandoes this iter contain multiple listsnext()default booleanvoidrelease SLHolder for this scandefault intsize()Methods inherited from interface com.j_spaces.kernel.list.IObjectsList
isIterator
-
Method Details
-
hasNext
- Throws:
SAException
-
next
- Throws:
SAException
-
releaseScan
release SLHolder for this scan- Throws:
SAException
-
getAlreadyMatchedFixedPropertyIndexPos
int getAlreadyMatchedFixedPropertyIndexPos()if the scan is on a property index, currently supported for extended index -
getAlreadyMatchedIndexPath
-
isAlreadyMatched
boolean isAlreadyMatched()is the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIter -
isExtensionIndex
default boolean isExtensionIndex()- Returns:
- true if this iterator is QueryExtensionIndexEntryIteratorWrapper
-
isMultiListsIterator
default boolean isMultiListsIterator()does this iter contain multiple lists -
noRematchNeeded
default boolean noRematchNeeded() -
createCopyForAlternatingThread
create a shallow copy ready for alternating thread usage- Returns:
- a new shallow copyed IScanListIterator ready for alternating thread usage NOTE!! should be called before first hasNext() call
-
hasSize
default boolean hasSize()- Returns:
- true if the iterator knows its size, and size() can be called.
-
size
default int size()
-