public static class WBWIRocksIterator.WriteEntry
extends java.lang.Object
implements java.lang.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(java.lang.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()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic void close()
close in interface java.lang.AutoCloseable