Class ExtendedIndexIterator<V>

java.lang.Object
com.j_spaces.core.cache.ExtendedIndexIterator<V>
All Implemented Interfaces:
IExtendedIndexIterator<V>, IObjectsList, IScanListIterator<V>

public class ExtendedIndexIterator<V> extends Object implements IExtendedIndexIterator<V>
Since:
5.0
Version:
1.0
Author:
Yechiel Fefer
  • Constructor Details

    • ExtendedIndexIterator

      public ExtendedIndexIterator(NavigableMap mapToScan, TypeDataIndex idx, Object originalStart, short originalStartCondition, Object originalEnd, short originalEndCondition)
    • ExtendedIndexIterator

      public ExtendedIndexIterator(NavigableMap mapToScan)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface IScanListIterator<V>
    • next

      public V next()
      Specified by:
      next in interface IScanListIterator<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.
      Overrides:
      finalize in class Object
      See Also:
    • releaseScan

      public void releaseScan()
      release SLHolder for this scan
      Specified by:
      releaseScan in interface IScanListIterator<V>
    • getAlreadyMatchedFixedPropertyIndexPos

      public int getAlreadyMatchedFixedPropertyIndexPos()
      If _rightColumnPosition != -1 then match should be executed after index scan
      Specified by:
      getAlreadyMatchedFixedPropertyIndexPos in interface IScanListIterator<V>
    • isMultiValueIterator

      public boolean isMultiValueIterator()
    • remove

      public void remove()
    • isAlreadyMatched

      public boolean isAlreadyMatched()
      Description copied from interface: IScanListIterator
      is the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIter
      Specified by:
      isAlreadyMatched in interface IScanListIterator<V>
    • isIterator

      public boolean isIterator()
      Description copied from interface: IObjectsList
      is the list an iterator or basic list ?
      Specified by:
      isIterator in interface IObjectsList
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getOriginalStart

      public Object getOriginalStart()
    • getOriginalStartCondition

      public short getOriginalStartCondition()
    • getOriginalEnd

      public Object getOriginalEnd()
    • getOriginalEndCondition

      public short getOriginalEndCondition()
    • getRightColumnPosition

      public int getRightColumnPosition()
    • setRightColumnPosition

      public void setRightColumnPosition(int rightColumnPosition)