[RocksJava] Removed deprecated ColumnFamilyDescriptor methods
As announced previously removed methods are obsolete and will be replaced by its byte array pendants.
This commit is contained in:
parent
6997aa0b6b
commit
566f652716
@ -11,19 +11,6 @@ package org.rocksdb;
|
|||||||
*/
|
*/
|
||||||
public class ColumnFamilyDescriptor {
|
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
|
* <p>Creates a new Column Family using a name and default
|
||||||
* options,</p>
|
* options,</p>
|
||||||
@ -35,22 +22,6 @@ public class ColumnFamilyDescriptor {
|
|||||||
this(columnFamilyName, new ColumnFamilyOptions());
|
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
|
* <p>Creates a new Column Family using a name and custom
|
||||||
* options.</p>
|
* options.</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user