public class ColumnFamilyHandle extends RocksObject
nativeHandle_owningHandle_| Modifier and Type | Method and Description |
|---|---|
protected void |
disposeInternal()
Deletes underlying C++ iterator pointer.
|
protected void |
disposeInternal(long handle) |
boolean |
equals(Object o) |
ColumnFamilyDescriptor |
getDescriptor()
Gets the up-to-date descriptor of the column family
associated with this handle.
|
int |
getID()
Gets the ID of the Column Family.
|
byte[] |
getName()
Gets the name of the Column Family.
|
int |
hashCode() |
protected boolean |
isDefaultColumnFamily() |
getNativeHandleclose, disOwnNativeHandle, isOwningHandledispose, finalizepublic byte[] getName()
throws RocksDBException
RocksDBException - if an error occurs whilst retrieving the name.public int getID()
public ColumnFamilyDescriptor getDescriptor() throws RocksDBException
RocksDBException - if an error occurs whilst retrieving the
descriptor.protected boolean isDefaultColumnFamily()
protected void disposeInternal()
Deletes underlying C++ iterator pointer.
Note: the underlying handle can only be safely deleted if the RocksDB
instance related to a certain ColumnFamilyHandle is still valid and
initialized. Therefore disposeInternal() checks if the RocksDB is
initialized before freeing the native handle.
disposeInternal in class RocksObjectprotected final void disposeInternal(long handle)
disposeInternal in class RocksObjectCopyright © 2021. All rights reserved.