Drops the column family identified by columnFamilyName. Internal handles to this column family will be disposed. If the column family is not known removal will fail. @param columnFamilyHandle org.rocksdb.ColumnFamilyHandle instance @throws RocksDBException thrown if error happens in un
(final ColumnFamilyHandle columnFamilyHandle)
| 2362 | * native library. |
| 2363 | */ |
| 2364 | public void dropColumnFamily(final ColumnFamilyHandle columnFamilyHandle) |
| 2365 | throws RocksDBException, IllegalArgumentException { |
| 2366 | // throws RocksDBException if something goes wrong |
| 2367 | dropColumnFamily(nativeHandle_, columnFamilyHandle.nativeHandle_); |
| 2368 | // After the drop the native handle is not valid anymore |
| 2369 | columnFamilyHandle.disOwnNativeHandle(); |
| 2370 | } |
| 2371 | |
| 2372 | /** |
| 2373 | * <p>Flush all memory table data.</p> |