public class ThriftColumnDef extends Object implements ColumnDefinition
| Constructor and Description |
|---|
ThriftColumnDef(org.apache.cassandra.thrift.ColumnDef cd) |
ThriftColumnDef(ColumnDefinition columnDefinition) |
| Modifier and Type | Method and Description |
|---|---|
static List<ColumnDefinition> |
fromThriftList(List<org.apache.cassandra.thrift.ColumnDef> columnDefs) |
String |
getIndexName() |
ColumnIndexType |
getIndexType() |
ByteBuffer |
getName() |
String |
getValidationClass() |
String |
toString() |
static List<org.apache.cassandra.thrift.ColumnDef> |
toThriftList(List<ColumnDefinition> columnDefs) |
public ThriftColumnDef(org.apache.cassandra.thrift.ColumnDef cd)
public ThriftColumnDef(ColumnDefinition columnDefinition)
public static List<ColumnDefinition> fromThriftList(List<org.apache.cassandra.thrift.ColumnDef> columnDefs)
public ByteBuffer getName()
getName in interface ColumnDefinitionpublic String getValidationClass()
getValidationClass in interface ColumnDefinitionpublic ColumnIndexType getIndexType()
getIndexType in interface ColumnDefinitionpublic String getIndexName()
getIndexName in interface ColumnDefinitionpublic static List<org.apache.cassandra.thrift.ColumnDef> toThriftList(List<ColumnDefinition> columnDefs)
Copyright © 2014. All Rights Reserved.