public class ColumnFamilyDescriptor extends 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(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()
Copyright © 2022. All rights reserved.