public final class RangeIndexLogger extends RangeIndexWrapper
| Constructor and Description |
|---|
RangeIndexLogger(RangeIndex rIdx,
org.slf4j.Logger log) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(Record record)
Delete a record - Return true if a record was actually removed
|
Record |
find(Record record)
Find one record - and return the record actually in the index (may have a value part)
|
boolean |
insert(Record record)
Insert a record - return true if an insertion was actually needed
|
Iterator<Record> |
iterator()
Iterate over the whole index
|
Iterator<Record> |
iterator(Record minRec,
Record maxRec)
Return records between min (inclusive) and max (exclusive), based on the record keys
|
check, clear, close, contains, getRecordFactory, getWrapped, isEmpty, iterator, maxKey, minKey, size, syncequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbulkChangesforEach, spliteratorpublic RangeIndexLogger(RangeIndex rIdx, org.slf4j.Logger log)
public boolean insert(Record record)
Indexinsert in interface Indexinsert in class RangeIndexWrapperpublic boolean delete(Record record)
Indexdelete in interface Indexdelete in class RangeIndexWrapperpublic Record find(Record record)
Indexfind in interface Indexfind in class RangeIndexWrapperpublic Iterator<Record> iterator()
Indexpublic Iterator<Record> iterator(Record minRec, Record maxRec)
RangeIndexiterator in interface RangeIndexiterator in class RangeIndexWrapperLicensed under the Apache License, Version 2.0