Class RecordRangeIterator<X>
- java.lang.Object
-
- org.apache.jena.dboe.base.recordbuffer.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()longgetCountBlocks()longgetCountRecords()booleanhasNext()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)Xnext()
-
-
-
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:
hasNextin interfacejava.util.Iterator<X>
-
close
public void close()
- Specified by:
closein interfaceorg.apache.jena.atlas.lib.Closeable
-
getCountRecords
public final long getCountRecords()
-
getCountBlocks
public final long getCountBlocks()
-
-