Class AbstractSSTableIterator.IndexState

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Enclosing class:
    AbstractSSTableIterator

    public static class AbstractSSTableIterator.IndexState
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Method Detail

      • isDone

        public boolean isDone()
      • setToBlock

        public void setToBlock​(int blockIdx)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • blocksCount

        public int blocksCount()
      • updateBlock

        public void updateBlock()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • isPastCurrentBlock

        public boolean isPastCurrentBlock()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • currentBlockIdx

        public int currentBlockIdx()
      • currentIndex

        public IndexInfo currentIndex()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • index

        public IndexInfo index​(int i)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • findBlockIndex

        public int findBlockIndex​(ClusteringBound<?> bound,
                                  int fromIdx)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • indexFor

        public int indexFor​(ClusteringPrefix<?> name,
                            int lastIndex)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.io.IOException