public static class WBWIRocksIterator.WriteEntry
extends java.lang.Object
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 |
---|
WBWIRocksIterator.WriteEntry(WBWIRocksIterator.WriteType type,
DirectSlice key,
DirectSlice value) |
Modifier and Type | Method and Description |
---|---|
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 WBWIRocksIterator.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.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object