public class ColumnFamilyDescriptor
extends java.lang.Object
Describes a column family with a name and respective Options.
Constructor and Description |
---|
ColumnFamilyDescriptor(byte[] columnFamilyName)
Creates a new Column Family using a name and default
options,
|
ColumnFamilyDescriptor(byte[] columnFamilyName,
ColumnFamilyOptions columnFamilyOptions)
Creates a new Column Family using a name and custom
options.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
columnFamilyName()
Retrieve name of column family.
|
ColumnFamilyOptions |
columnFamilyOptions()
Retrieve assigned options instance.
|
public ColumnFamilyDescriptor(byte[] columnFamilyName)
Creates a new Column Family using a name and default options,
columnFamilyName
- name of column family.public ColumnFamilyDescriptor(byte[] columnFamilyName, ColumnFamilyOptions columnFamilyOptions)
Creates a new Column Family using a name and custom options.
columnFamilyName
- name of column family.columnFamilyOptions
- options to be used with
column family.public byte[] columnFamilyName()
public ColumnFamilyOptions columnFamilyOptions()