Package com.j_spaces.core.cache
Class QueryExtensionIndexEntryIteratorWrapper
java.lang.Object
com.j_spaces.core.cache.QueryExtensionIndexEntryIteratorWrapper
- All Implemented Interfaces:
IObjectsList,IScanListIterator<IEntryCacheInfo>
public class QueryExtensionIndexEntryIteratorWrapper
extends Object
implements IScanListIterator<IEntryCacheInfo>
- Since:
- 11.0
- Author:
- yechielf
-
Constructor Summary
ConstructorsConstructorDescriptionQueryExtensionIndexEntryIteratorWrapper(QueryExtensionIndexManagerWrapper manager, QueryExtensionEntryIterator iterator) -
Method Summary
Modifier and TypeMethodDescriptionintif the scan is on a property index, currently supported for extended indexbooleanhasNext()booleanhasSize()booleanis the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIterbooleanbooleanis the list an iterator or basic list ?next()booleanvoidrelease SLHolder for this scanvoidsetAlreadyMatchedIndexPath(String alreadyMatchedIndexPath) intsize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.j_spaces.kernel.list.IScanListIterator
createCopyForAlternatingThread, isMultiListsIterator
-
Constructor Details
-
QueryExtensionIndexEntryIteratorWrapper
public QueryExtensionIndexEntryIteratorWrapper(QueryExtensionIndexManagerWrapper manager, QueryExtensionEntryIterator iterator)
-
-
Method Details
-
hasNext
- Specified by:
hasNextin interfaceIScanListIterator<IEntryCacheInfo>- Throws:
SAException
-
next
- Specified by:
nextin interfaceIScanListIterator<IEntryCacheInfo>- Throws:
SAException
-
releaseScan
release SLHolder for this scan- Specified by:
releaseScanin interfaceIScanListIterator<IEntryCacheInfo>- Throws:
SAException
-
getAlreadyMatchedFixedPropertyIndexPos
public int getAlreadyMatchedFixedPropertyIndexPos()if the scan is on a property index, currently supported for extended index- Specified by:
getAlreadyMatchedFixedPropertyIndexPosin interfaceIScanListIterator<IEntryCacheInfo>
-
getAlreadyMatchedIndexPath
- Specified by:
getAlreadyMatchedIndexPathin interfaceIScanListIterator<IEntryCacheInfo>
-
setAlreadyMatchedIndexPath
-
isAlreadyMatched
public boolean isAlreadyMatched()is the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIter- Specified by:
isAlreadyMatchedin interfaceIScanListIterator<IEntryCacheInfo>
-
isExtensionIndex
public boolean isExtensionIndex()- Specified by:
isExtensionIndexin interfaceIScanListIterator<IEntryCacheInfo>- Returns:
- true if this iterator is QueryExtensionIndexEntryIteratorWrapper
-
isIterator
public boolean isIterator()Description copied from interface:IObjectsListis the list an iterator or basic list ?- Specified by:
isIteratorin interfaceIObjectsList
-
hasSize
public boolean hasSize()- Specified by:
hasSizein interfaceIScanListIterator<IEntryCacheInfo>- Returns:
- true if the iterator knows its size, and size() can be called.
-
size
public int size()- Specified by:
sizein interfaceIScanListIterator<IEntryCacheInfo>
-
noRematchNeeded
public boolean noRematchNeeded()- Specified by:
noRematchNeededin interfaceIScanListIterator<IEntryCacheInfo>
-