java.lang.Object
org.apache.jena.dboe.index.RangeIndexWrapper
org.apache.jena.dboe.index.RangeIndexLogger
- All Implemented Interfaces:
Iterable<org.apache.jena.dboe.base.record.Record>,org.apache.jena.atlas.lib.Closeable,org.apache.jena.atlas.lib.Sync,Index,RangeIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandelete(org.apache.jena.dboe.base.record.Record record) Delete a record - Return true if a record was actually removedorg.apache.jena.dboe.base.record.Recordfind(org.apache.jena.dboe.base.record.Record record) Find one record - and return the record actually in the index (may have a value part)booleaninsert(org.apache.jena.dboe.base.record.Record record) Insert a record - return true if an insertion was actually neededIterator<org.apache.jena.dboe.base.record.Record>iterator()Iterate over the whole indexIterator<org.apache.jena.dboe.base.record.Record>iterator(org.apache.jena.dboe.base.record.Record minRec, org.apache.jena.dboe.base.record.Record maxRec) Return records between min (inclusive) and max (exclusive), based on the record keysMethods inherited from class org.apache.jena.dboe.index.RangeIndexWrapper
check, clear, close, contains, getRecordFactory, getWrapped, isEmpty, iterator, maxKey, minKey, size, syncMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
RangeIndexLogger
-
-
Method Details
-
insert
public boolean insert(org.apache.jena.dboe.base.record.Record record) Description copied from interface:IndexInsert a record - return true if an insertion was actually needed- Specified by:
insertin interfaceIndex- Overrides:
insertin classRangeIndexWrapper
-
delete
public boolean delete(org.apache.jena.dboe.base.record.Record record) Description copied from interface:IndexDelete a record - Return true if a record was actually removed- Specified by:
deletein interfaceIndex- Overrides:
deletein classRangeIndexWrapper
-
find
public org.apache.jena.dboe.base.record.Record find(org.apache.jena.dboe.base.record.Record record) Description copied from interface:IndexFind one record - and return the record actually in the index (may have a value part)- Specified by:
findin interfaceIndex- Overrides:
findin classRangeIndexWrapper
-
iterator
Description copied from interface:IndexIterate over the whole index -
iterator
public Iterator<org.apache.jena.dboe.base.record.Record> iterator(org.apache.jena.dboe.base.record.Record minRec, org.apache.jena.dboe.base.record.Record maxRec) Description copied from interface:RangeIndexReturn records between min (inclusive) and max (exclusive), based on the record keys- Specified by:
iteratorin interfaceRangeIndex- Overrides:
iteratorin classRangeIndexWrapper
-