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 |
|---|---|
boolean |
equals(java.lang.Object o) |
byte[] |
getName()
Retrieve name of column family.
|
ColumnFamilyOptions |
getOptions()
Retrieve assigned options instance.
|
int |
hashCode() |
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[] getName()
public ColumnFamilyOptions getOptions()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object