|
|
|
@ -11,19 +11,6 @@ package org.rocksdb; |
|
|
|
|
*/ |
|
|
|
|
public class ColumnFamilyDescriptor { |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* <p>Creates a new Column Family using a name and default |
|
|
|
|
* options,</p> |
|
|
|
|
* |
|
|
|
|
* @param columnFamilyName name of column family. |
|
|
|
|
* @deprecated will be removed in RocksDB 3.10.0. Use |
|
|
|
|
* {@link #ColumnFamilyDescriptor(byte[])} instead. |
|
|
|
|
*/ |
|
|
|
|
@Deprecated |
|
|
|
|
public ColumnFamilyDescriptor(final String columnFamilyName){ |
|
|
|
|
this(columnFamilyName.getBytes(), new ColumnFamilyOptions()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* <p>Creates a new Column Family using a name and default |
|
|
|
|
* options,</p> |
|
|
|
@ -35,22 +22,6 @@ public class ColumnFamilyDescriptor { |
|
|
|
|
this(columnFamilyName, new ColumnFamilyOptions()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* <p>Creates a new Column Family using a name and custom |
|
|
|
|
* options.</p> |
|
|
|
|
* |
|
|
|
|
* @param columnFamilyName name of column family. |
|
|
|
|
* @param columnFamilyOptions options to be used with |
|
|
|
|
* column family. |
|
|
|
|
* @deprecated will be removed in RocksDB 3.10.0. Use |
|
|
|
|
* {@link #ColumnFamilyDescriptor(byte[], ColumnFamilyOptions)} instead. |
|
|
|
|
*/ |
|
|
|
|
@Deprecated |
|
|
|
|
public ColumnFamilyDescriptor(final String columnFamilyName, |
|
|
|
|
final ColumnFamilyOptions columnFamilyOptions) { |
|
|
|
|
this(columnFamilyName.getBytes(), columnFamilyOptions); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* <p>Creates a new Column Family using a name and custom |
|
|
|
|
* options.</p> |
|
|
|
|