public class WBWIRocksIterator extends AbstractRocksIterator<WriteBatchWithIndex>
| Modifier and Type | Class and Description |
|---|---|
static class |
WBWIRocksIterator.WriteEntry
Represents an entry returned by
entry()
It is worth noting that a WriteEntry with
the type WBWIRocksIterator.WriteType.DELETE
or WBWIRocksIterator.WriteType.LOG
will not have a value. |
static class |
WBWIRocksIterator.WriteType
Enumeration of the Write operation
that created the record in the Write Batch
|
nativeHandle_owningHandle_| Modifier | Constructor and Description |
|---|---|
protected |
WBWIRocksIterator(WriteBatchWithIndex wbwi,
long nativeHandle) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Frees the underlying C++ object
It is strong recommended that the developer calls this after they
have finished using the object.
|
protected void |
disposeInternal(long handle) |
WBWIRocksIterator.WriteEntry |
entry()
Get the current entry
The WriteEntry is only valid
until the iterator is repositioned.
|
disposeInternal, isValid, next, prev, refresh, seek, seek, seekForPrev, seekForPrev, seekToFirst, seekToLast, statusgetNativeHandledisOwnNativeHandle, isOwningHandleprotected WBWIRocksIterator(WriteBatchWithIndex wbwi, long nativeHandle)
public WBWIRocksIterator.WriteEntry entry()
protected final void disposeInternal(long handle)
disposeInternal in class RocksObjectpublic void close()
AbstractNativeReferenceIt is strong recommended that the developer calls this after they have finished using the object.
Note, that once an instance of AbstractNativeReference has been
closed, calling any of its functions will lead to undefined
behavior.
close in interface AutoCloseableclose in class AbstractImmutableNativeReferenceCopyright © 2022. All rights reserved.