Class RecordRangeIterator<X>

java.lang.Object
org.apache.jena.dboe.base.recordbuffer.RecordRangeIterator<X>
All Implemented Interfaces:
Iterator<X>, org.apache.jena.atlas.lib.Closeable

public final class RecordRangeIterator<X> extends Object implements Iterator<X>, org.apache.jena.atlas.lib.Closeable
  • Method Details

    • iterator

      public static <X> Iterator<X> iterator(int pageId, Record fromRec, Record toRec, RecordBufferPageMgr pageMgr, RecordMapper<X> mapper)
      Iterate over a range of fromRec (inclusive) to toRec (exclusive)
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<X>
    • close

      public void close()
      Specified by:
      close in interface org.apache.jena.atlas.lib.Closeable
    • next

      public X next()
      Specified by:
      next in interface Iterator<X>
    • getCountRecords

      public final long getCountRecords()
    • getCountBlocks

      public final long getCountBlocks()