- All Superinterfaces:
org.apache.jena.atlas.lib.Closeable, Index, Iterable<org.apache.jena.dboe.base.record.Record>, org.apache.jena.atlas.lib.Sync
- All Known Implementing Classes:
RangeIndexLogger, RangeIndexWrapper
public interface RangeIndex
extends Index
-
Method Summary
Iterator<org.apache.jena.dboe.base.record.Record>
iterator(org.apache.jena.dboe.base.record.Record recordMin,
org.apache.jena.dboe.base.record.Record recordMax)
Return records between min (inclusive) and max (exclusive), based on the record keys
iterator(org.apache.jena.dboe.base.record.Record recordMin,
org.apache.jena.dboe.base.record.Record recordMax,
org.apache.jena.dboe.base.record.RecordMapper<X> mapper)
org.apache.jena.dboe.base.record.Record
Return the record containing the greatest key - may or may not have the associated value
org.apache.jena.dboe.base.record.Record
Return the record containing the least key - may or may not have the associated value
Methods inherited from interface org.apache.jena.dboe.index.Index
check, clear, close, contains, delete, find, getRecordFactory, insert, isEmpty, iterator, size
Methods inherited from interface org.apache.jena.atlas.lib.Sync
sync
-
Method Details
-
iterator
Iterator<org.apache.jena.dboe.base.record.Record> iterator(org.apache.jena.dboe.base.record.Record recordMin,
org.apache.jena.dboe.base.record.Record recordMax)
Return records between min (inclusive) and max (exclusive), based on the record keys
-
iterator
<X> Iterator<X> iterator(org.apache.jena.dboe.base.record.Record recordMin,
org.apache.jena.dboe.base.record.Record recordMax,
org.apache.jena.dboe.base.record.RecordMapper<X> mapper)
-
minKey
org.apache.jena.dboe.base.record.Record minKey()
Return the record containing the least key - may or may not have the associated value
-
maxKey
org.apache.jena.dboe.base.record.Record maxKey()
Return the record containing the greatest key - may or may not have the associated value