|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColumnDefinition
Interface to get/set a single column definition. The column definition is only valid within the context of a ColumnFamilyDefinition
Method Summary | |
---|---|
String |
getIndexName()
Return the index name |
String |
getIndexType()
Return the index type. |
String |
getName()
Get the column name |
ByteBuffer |
getRawName()
Get the raw column name. |
String |
getValidationClass()
Return the value validation type. |
boolean |
hasIndex()
Returns true if there is an index on this column |
ColumnDefinition |
setIndex(String name,
String type)
Sets an index on this column. |
ColumnDefinition |
setKeysIndex(String name)
Sets a keys index on this column |
ColumnDefinition |
setName(String name)
Sets the column name |
ColumnDefinition |
setValidationClass(String value)
Sets the validation class for the column values. |
Method Detail |
---|
ColumnDefinition setName(String name)
name
-
ColumnDefinition setValidationClass(String value)
value
-
ColumnDefinition setIndex(String name, String type)
name
- Name of indextype
- "KEYS"
ColumnDefinition setKeysIndex(String name)
name
-
String getName()
ByteBuffer getRawName()
String getValidationClass()
String getIndexName()
String getIndexType()
boolean hasIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |