Package org.apache.jena.dboe.index
Interface RangeIndex
-
- All Superinterfaces:
org.apache.jena.atlas.lib.Closeable,Index,java.lang.Iterable<Record>,org.apache.jena.atlas.lib.Sync
- All Known Implementing Classes:
RangeIndexLogger,RangeIndexWrapper
public interface RangeIndex extends Index
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Iterator<Record>iterator(Record recordMin, Record recordMax)Return records between min (inclusive) and max (exclusive), based on the record keys<X> java.util.Iterator<X>iterator(Record recordMin, Record recordMax, RecordMapper<X> mapper)RecordmaxKey()Return the record containing the greatest key - may or may not have the associated valueRecordminKey()Return the record containing the least key - may or may not have the associated value
-
-
-
Method Detail
-
iterator
java.util.Iterator<Record> iterator(Record recordMin, Record recordMax)
Return records between min (inclusive) and max (exclusive), based on the record keys
-
iterator
<X> java.util.Iterator<X> iterator(Record recordMin, Record recordMax, RecordMapper<X> mapper)
-
minKey
Record minKey()
Return the record containing the least key - may or may not have the associated value
-
maxKey
Record maxKey()
Return the record containing the greatest key - may or may not have the associated value
-
-