| Modifier and Type | Method and Description |
|---|---|
ColumnDefinition |
ColumnDefinition.setColumnLength(long columnLength)
Set the defined column length (i.e., the maximum length permitted for any submitted value for
this column when
ColumnDefinitionsEnforced is set to true for the column's Column Family);
setting the value to 0 (the default) will result in NO length validation of column values being
performed. |
ColumnDefinition |
ColumnDefinition.setColumnValidationRegex(String regexString)
Set the column's validation regex (i.e., the regular expression that any submitted value for
this column must match when
ColumnDefinitionsEnforced is set to true for the column's Column Family);
setting the value to blank (the default) will result in NO regular expression validation of
column values being performed. |
| Modifier and Type | Method and Description |
|---|---|
Collection<ColumnDefinition> |
RepositoryAdmin.getColumnDefinitions(HTableDescriptor htd,
HColumnDescriptor hcd)
Get
ColumnDefinitions belonging to the submitted Table and
Column Family. |
Collection<ColumnDefinition> |
RepositoryAdmin.getColumnDefinitions(TableName tableName,
byte[] colFamily)
Get
ColumnDefinitions belonging to the submitted Table and
Column Family. |
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryAdmin.addColumnDefinition(HTableDescriptor htd,
HColumnDescriptor hcd,
ColumnDefinition colDefinition)
Add (or modify, if already existing) the submitted
ColumnDefinition to the submitted
Table and Column Family. |
void |
RepositoryAdmin.addColumnDefinition(TableName tableName,
byte[] colFamily,
ColumnDefinition colDefinition)
Add (or modify, if already existing) the submitted
ColumnDefinition to the submitted
Table and Column Family. |
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryAdmin.addColumnDefinitions(HTableDescriptor htd,
HColumnDescriptor hcd,
List<ColumnDefinition> colDefinitions)
Add (or modify, if already existing) the submitted
ColumnDefinitions to the submitted
Table and Column Family. |
void |
RepositoryAdmin.addColumnDefinitions(TableName tableName,
byte[] colFamily,
List<ColumnDefinition> colDefinitions)
Add (or modify, if already existing) the submitted
ColumnDefinitions to the submitted
Table and Column Family. |
Copyright © 2016. All rights reserved.