## Uses of Class
org.apache.cassandra.config.ColumnDefinition

Packages that use ColumnDefinition
Package | Description
--- | ---
org.apache.cassandra.config |
org.apache.cassandra.db.index |
org.apache.cassandra.db.index.composites |

### Uses of ColumnDefinition in org.apache.cassandra.config

Methods in org.apache.cassandra.config that return ColumnDefinition
Modifier and Type | Method and Description
--- | ---
`ColumnDefinition` | ColumnDefinition.`clone()`
`ColumnDefinition` | ColumnDefinition.`cloneWithNewName(java.nio.ByteBuffer newName)`
`static ColumnDefinition` | ColumnDefinition.`clusteringKeyDef(java.nio.ByteBuffer name, AbstractType<?> validator, java.lang.Integer componentIndex)`
`ColumnDefinition` | CFMetaData.`compactValueColumn()`
`static ColumnDefinition` | ColumnDefinition.`compactValueDef(java.nio.ByteBuffer name, AbstractType<?> validator)`
`static ColumnDefinition` | ColumnDefinition.`fromThrift(ColumnDef thriftColumnDef, boolean isSuper)`
`ColumnDefinition` | CFMetaData.`getColumnDefinition(java.nio.ByteBuffer name)` Returns the ColumnDefinition for `name`.
`ColumnDefinition` | CFMetaData.`getColumnDefinitionForIndex(java.lang.String indexName)`
`ColumnDefinition` | CFMetaData.`getColumnDefinitionFromColumnName(java.nio.ByteBuffer columnName)` Returns a ColumnDefinition given a full (internal) column name.
`static ColumnDefinition` | ColumnDefinition.`partitionKeyDef(java.nio.ByteBuffer name, AbstractType<?> validator, java.lang.Integer componentIndex)`
`static ColumnDefinition` | ColumnDefinition.`regularDef(java.nio.ByteBuffer name, AbstractType<?> validator, java.lang.Integer componentIndex)`
`ColumnDefinition` | ColumnDefinition.`setIndex(java.lang.String indexName, IndexType indexType, java.util.Map<java.lang.String,java.lang.String> indexOptions)`
`ColumnDefinition` | ColumnDefinition.`setIndexName(java.lang.String indexName)`
`ColumnDefinition` | ColumnDefinition.`setIndexType(IndexType indexType, java.util.Map<java.lang.String,java.lang.String> indexOptions)`
`static ColumnDefinition` | ColumnDefinition.`staticDef(java.nio.ByteBuffer name, AbstractType<?> validator, java.lang.Integer componentIndex)`

Methods in org.apache.cassandra.config that return types with arguments of type ColumnDefinition
Modifier and Type | Method and Description
--- | ---
`java.util.Collection<ColumnDefinition>` | CFMetaData.`allColumns()`
`java.util.List<ColumnDefinition>` | CFMetaData.`clusteringKeyColumns()`
`static java.util.List<ColumnDefinition>` | ColumnDefinition.`fromSchema(Row serializedColumns, CFMetaData cfm)` Deserialize columns from storage-level representation
`static java.util.Map<java.nio.ByteBuffer,ColumnDefinition>` | ColumnDefinition.`fromThrift(java.util.List<ColumnDef> thriftDefs, boolean isSuper)`
`java.util.List<ColumnDefinition>` | CFMetaData.`partitionKeyColumns()`
`java.lang.Iterable<ColumnDefinition>` | CFMetaData.`regularAndStaticColumns()`
`java.util.Set<ColumnDefinition>` | CFMetaData.`regularColumns()`
`java.util.Set<ColumnDefinition>` | CFMetaData.`staticColumns()`

Methods in org.apache.cassandra.config with parameters of type ColumnDefinition
Modifier and Type | Method and Description
--- | ---
`void` | CFMetaData.`addColumnDefinition(ColumnDefinition def)`
`void` | CFMetaData.`addOrReplaceColumnDefinition(ColumnDefinition def)`
`void` | ColumnDefinition.`apply(ColumnDefinition def, AbstractType<?> comparator)`
`AbstractType<?>` | CFMetaData.`getColumnDefinitionComparator(ColumnDefinition def)`
`AbstractType<?>` | CFMetaData.`getValueValidator(ColumnDefinition columnDefinition)`
`java.lang.String` | CFMetaData.`indexColumnFamilyName(ColumnDefinition info)` generate a column family name for an index corresponding to the given column.
`static CFMetaData` | CFMetaData.`newIndexMetadata(CFMetaData parent, ColumnDefinition info, AbstractType<?> columnComparator)`
`void` | CFMetaData.`recordColumnDrop(ColumnDefinition def)`
`boolean` | CFMetaData.`removeColumnDefinition(ColumnDefinition def)`

Method parameters in org.apache.cassandra.config with type arguments of type ColumnDefinition
Modifier and Type | Method and Description
--- | ---
`CFMetaData` | CFMetaData.`columnMetadata(java.util.Map<java.nio.ByteBuffer,ColumnDefinition> prop)`
`static java.util.List<ColumnDef>` | ColumnDefinition.`toThrift(java.util.Map<java.nio.ByteBuffer,ColumnDefinition> columns)`

### Uses of ColumnDefinition in org.apache.cassandra.db.index

Fields in org.apache.cassandra.db.index declared as ColumnDefinition
Modifier and Type | Field and Description
--- | ---
`protected ColumnDefinition` | AbstractSimplePerColumnSecondaryIndex.`columnDef`

Fields in org.apache.cassandra.db.index with type parameters of type ColumnDefinition
Modifier and Type | Field and Description
--- | ---
`protected java.util.Set<ColumnDefinition>` | SecondaryIndex.`columnDefs` The column definitions which this index is responsible for

Methods in org.apache.cassandra.db.index that return types with arguments of type ColumnDefinition
Modifier and Type | Method and Description
--- | ---
`java.util.Set<ColumnDefinition>` | SecondaryIndex.`getColumnDefs()`

Methods in org.apache.cassandra.db.index with parameters of type ColumnDefinition
Modifier and Type | Method and Description
--- | ---
`java.util.concurrent.Future<?>` | SecondaryIndexManager.`addIndexedColumn(ColumnDefinition cdef)` Adds and builds a index for a column
`static SecondaryIndex` | SecondaryIndex.`createInstance(ColumnFamilyStore baseCfs, ColumnDefinition cdef)` This is the primary way to create a secondary index instance for a CF column.
`static AbstractType<?>` | SecondaryIndex.`getIndexComparator(CFMetaData baseMetadata, ColumnDefinition cdef)` Returns the index comparator for index backed by CFS, or null.

### Uses of ColumnDefinition in org.apache.cassandra.db.index.composites

Methods in org.apache.cassandra.db.index.composites with parameters of type ColumnDefinition
Modifier and Type | Method and Description
--- | ---
`static CompositeType` | CompositesIndexOnClusteringKey.`buildIndexComparator(CFMetaData baseMetadata, ColumnDefinition columnDef)`
`static CompositeType` | CompositesIndexOnPartitionKey.`buildIndexComparator(CFMetaData baseMetadata, ColumnDefinition columnDef)`
`static CompositeType` | CompositesIndexOnRegular.`buildIndexComparator(CFMetaData baseMetadata, ColumnDefinition columnDef)`
`static CompositesIndex` | CompositesIndex.`create(ColumnDefinition cfDef)`
`static CompositeType` | CompositesIndex.`getIndexComparator(CFMetaData baseMetadata, ColumnDefinition cfDef)`