[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:
fyrz 2015-04-15 23:31:59 +02:00
parent 6997aa0b6b
commit 566f652716

View File

@ -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>