Class IndexData.EntryCursor

  • Enclosing class:
    IndexData

    public final class IndexData.EntryCursor
    extends Object
    Utility class to traverse the entries in the Index. Remains valid in the face of index entry modifications.
    • Method Detail

      • getIndexData

        public IndexData getIndexData()
      • getFirstEntry

        public IndexData.Entry getFirstEntry()
        Returns the first entry (exclusive) as defined by this cursor.
      • getLastEntry

        public IndexData.Entry getLastEntry()
        Returns the last entry (exclusive) as defined by this cursor.
      • isUpToDate

        public boolean isUpToDate()
        Returns true if this cursor is up-to-date with respect to its index.
      • reset

        public void reset()
      • beforeFirst

        public void beforeFirst()
      • afterLast

        public void afterLast()
      • beforeEntry

        public void beforeEntry​(Object[] row)
                         throws IOException
        Repositions the cursor so that the next row will be the first entry >= the given row.
        Throws:
        IOException
      • afterEntry

        public void afterEntry​(Object[] row)
                        throws IOException
        Repositions the cursor so that the previous row will be the first entry <= the given row.
        Throws:
        IOException