Class RecordRangeIterator<X>

  • All Implemented Interfaces:
    java.util.Iterator<X>, org.apache.jena.atlas.lib.Closeable

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

      • iterator

        public static <X> java.util.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 java.util.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 java.util.Iterator<X>
      • getCountRecords

        public final long getCountRecords()
      • getCountBlocks

        public final long getCountBlocks()