public static class WBWIRocksIterator.WriteEntry extends Object implements AutoCloseable
WBWIRocksIterator.entry()
It is worth noting that a WriteEntry with
the type WBWIRocksIterator.WriteType.DELETE
or WBWIRocksIterator.WriteType.LOG
will not have a value.| Constructor and Description |
|---|
WriteEntry(WBWIRocksIterator.WriteType type,
DirectSlice key,
DirectSlice value) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
equals(Object other) |
DirectSlice |
getKey()
Returns the key of the Write Entry
|
WBWIRocksIterator.WriteType |
getType()
Returns the type of the Write Entry
|
DirectSlice |
getValue()
Returns the value of the Write Entry
|
int |
hashCode()
Generates a hash code for the Write Entry.
|
public WriteEntry(WBWIRocksIterator.WriteType type, DirectSlice key, DirectSlice value)
public WBWIRocksIterator.WriteType getType()
public DirectSlice getKey()
public DirectSlice getValue()
public int hashCode()
public void close()
close in interface AutoCloseableCopyright © 2021. All rights reserved.