Creates a new column family with the name columnFamilyName and allocates a ColumnFamilyHandle within an internal structure. The ColumnFamilyHandle is automatically disposed with DB disposal. @param columnFamilyDescriptor column family to be created. @return org.rocksdb.ColumnFamilyHandle in
(
final ColumnFamilyDescriptor columnFamilyDescriptor)
| 2343 | * native library. |
| 2344 | */ |
| 2345 | public ColumnFamilyHandle createColumnFamily( |
| 2346 | final ColumnFamilyDescriptor columnFamilyDescriptor) |
| 2347 | throws RocksDBException { |
| 2348 | return new ColumnFamilyHandle(this, createColumnFamily(nativeHandle_, |
| 2349 | columnFamilyDescriptor.columnFamilyName(), |
| 2350 | columnFamilyDescriptor.columnFamilyOptions().nativeHandle_)); |
| 2351 | } |
| 2352 | |
| 2353 | /** |
| 2354 | * Drops the column family identified by columnFamilyName. Internal |
no test coverage detected