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
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()final longfinal longbooleanhasNext()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)next()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
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() -
close
public void close()- Specified by:
closein interfaceorg.apache.jena.atlas.lib.Closeable
-
next
-
getCountRecords
public final long getCountRecords() -
getCountBlocks
public final long getCountBlocks()
-