| Package | Description |
|---|---|
| org.iq80.leveldb.impl | |
| org.iq80.leveldb.iterator |
| Modifier and Type | Method and Description |
|---|---|
InternalKey |
LookupKey.getInternalKey() |
InternalKey |
InternalEntry.getKey() |
InternalKey |
FileMetaData.getLargest() |
InternalKey |
FileMetaData.getSmallest() |
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,InternalKey> |
VersionEdit.getCompactPointers() |
| Modifier and Type | Method and Description |
|---|---|
void |
VersionEdit.addFile(int level,
long fileNumber,
long fileSize,
InternalKey smallest,
InternalKey largest) |
Compaction |
VersionSet.compactRange(int level,
InternalKey begin,
InternalKey end) |
int |
InternalKeyComparator.compare(InternalKey left,
InternalKey right) |
long |
Version.getApproximateOffsetOf(InternalKey key) |
List<FileMetaData> |
Level.getFilesForKey(Slice userKey,
InternalKey internalKey) |
boolean |
InternalKeyComparator.isOrdered(InternalKey... keys)
Returns
true if each element in iterable after the first is
greater than or equal to the element that preceded it, according to this
ordering. |
void |
DbImpl.RecordBytesListener.record(InternalKey internalKey,
int bytes) |
boolean |
Version.recordReadSample(InternalKey internalKey) |
void |
VersionEdit.setCompactPointer(int level,
InternalKey key) |
boolean |
Compaction.shouldStopBefore(InternalKey internalKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
InternalKeyComparator.isOrdered(Iterable<InternalKey> keys)
Returns
true if each element in iterable after the first is
greater than or equal to the element that preceded it, according to this
ordering. |
void |
VersionEdit.setCompactPointers(Map<Integer,InternalKey> compactPointers) |
| Constructor and Description |
|---|
FileMetaData(long number,
long fileSize,
InternalKey smallest,
InternalKey largest) |
InternalEntry(InternalKey key,
Slice value) |
| Modifier and Type | Method and Description |
|---|---|
protected InternalKey |
MergingIterator.internalKey() |
protected InternalKey |
MemTableIterator.internalKey() |
InternalKey |
DbIterator.key() |
InternalKey |
InternalTableIterator.key() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
MergingIterator.internalSeek(InternalKey targetKey) |
protected boolean |
MemTableIterator.internalSeek(InternalKey targetKey) |
void |
SnapshotSeekingIterator.IRecordBytesListener.record(InternalKey internalKey,
int bytes) |
boolean |
DbIterator.seek(InternalKey targetKey) |
boolean |
InternalTableIterator.seek(InternalKey targetKey) |
| Modifier and Type | Method and Description |
|---|---|
static <T> InternalIterator |
SeekingIterators.twoLevelInternalIterator(SeekingIterator<InternalKey,T> indexIterator,
Function<T,SeekingIterator<InternalKey,Slice>> blockFunction,
Closeable closeableResources) |
static <T> InternalIterator |
SeekingIterators.twoLevelInternalIterator(SeekingIterator<InternalKey,T> indexIterator,
Function<T,SeekingIterator<InternalKey,Slice>> blockFunction,
Closeable closeableResources) |
| Constructor and Description |
|---|
MemTableIterator(ConcurrentNavigableMap<InternalKey,Slice> table) |
MergingIterator(List<InternalIterator> iterators,
Comparator<InternalKey> comparator) |
Copyright © 2011–2020. All rights reserved.