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.| 构造器和说明 |
|---|
WriteEntry(WBWIRocksIterator.WriteType type,
DirectSlice key,
DirectSlice value) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 java.lang.Objectpublic boolean equals(java.lang.Object other)
equals 在类中 java.lang.Objectpublic void close()
close 在接口中 java.lang.AutoCloseable