Package com.j_spaces.core.cache
Class ExtendedIndexIterator<V>
java.lang.Object
com.j_spaces.core.cache.ExtendedIndexIterator<V>
- All Implemented Interfaces:
IExtendedIndexIterator<V>,IObjectsList,IScanListIterator<V>
- Since:
- 5.0
- Version:
- 1.0
- Author:
- Yechiel Fefer
-
Constructor Summary
ConstructorsConstructorDescriptionExtendedIndexIterator(NavigableMap mapToScan) ExtendedIndexIterator(NavigableMap mapToScan, TypeDataIndex idx, Object originalStart, short originalStartCondition, Object originalEnd, short originalEndCondition) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidfinalize()called by GC to free all acquired resources; For protection only - we shouldn't rely on the JVM.intIf _rightColumnPosition != -1 then match should be executed after index scanshortshortintinthashCode()booleanhasNext()booleanis the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIterbooleanis the list an iterator or basic list ?booleannext()voidrelease()Release of this SLHolder resourcevoidrelease SLHolder for this scanvoidremove()voidsetRightColumnPosition(int rightColumnPosition) Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.j_spaces.kernel.list.IScanListIterator
createCopyForAlternatingThread, getAlreadyMatchedIndexPath, hasSize, isExtensionIndex, isMultiListsIterator, noRematchNeeded, size
-
Constructor Details
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIScanListIterator<V>
-
next
- Specified by:
nextin interfaceIScanListIterator<V>
-
release
public void release()Release of this SLHolder resource- See Also:
-
finalize
protected void finalize()called by GC to free all acquired resources; For protection only - we shouldn't rely on the JVM. -
releaseScan
public void releaseScan()release SLHolder for this scan- Specified by:
releaseScanin interfaceIScanListIterator<V>
-
getAlreadyMatchedFixedPropertyIndexPos
public int getAlreadyMatchedFixedPropertyIndexPos()If _rightColumnPosition != -1 then match should be executed after index scan- Specified by:
getAlreadyMatchedFixedPropertyIndexPosin interfaceIScanListIterator<V>
-
isMultiValueIterator
public boolean isMultiValueIterator() -
remove
public void remove() -
isAlreadyMatched
public boolean isAlreadyMatched()Description copied from interface:IScanListIteratoris the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIter- Specified by:
isAlreadyMatchedin interfaceIScanListIterator<V>
-
isIterator
public boolean isIterator()Description copied from interface:IObjectsListis the list an iterator or basic list ?- Specified by:
isIteratorin interfaceIObjectsList
-
hashCode
public int hashCode() -
equals
-
getOriginalStart
-
getOriginalStartCondition
public short getOriginalStartCondition() -
getOriginalEnd
-
getOriginalEndCondition
public short getOriginalEndCondition() -
getRightColumnPosition
public int getRightColumnPosition() -
setRightColumnPosition
public void setRightColumnPosition(int rightColumnPosition)
-