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

Packages that use ColumnDefinition
org.apache.cassandra.config
org.apache.cassandra.cql3
org.apache.cassandra.cql3.restrictions
org.apache.cassandra.cql3.selection
org.apache.cassandra.cql3.statements
org.apache.cassandra.db.composites
org.apache.cassandra.db.index
org.apache.cassandra.db.index.composites
org.apache.cassandra.db.marshal
org.apache.cassandra.thrift

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

Methods in org.apache.cassandra.config that return ColumnDefinition
`ColumnDefinition` ColumnDefinition.`apply(ColumnDefinition def)`
`static ColumnDefinition` ColumnDefinition.`clusteringKeyDef(CFMetaData cfm, java.nio.ByteBuffer name, AbstractType<?> validator, java.lang.Integer componentIndex)`
`ColumnDefinition` CFMetaData.`compactValueColumn()`
`static ColumnDefinition` ColumnDefinition.`compactValueDef(CFMetaData cfm, java.nio.ByteBuffer name, AbstractType<?> validator)`
`ColumnDefinition` ColumnDefinition.`copy()`
`ColumnDefinition` CFMetaData.`getColumnDefinition(java.nio.ByteBuffer name)`
`ColumnDefinition` CFMetaData.`getColumnDefinition(CellName cellName)` Returns a ColumnDefinition given a cell name.
`ColumnDefinition` CFMetaData.`getColumnDefinition(ColumnIdentifier name)` Returns the ColumnDefinition for `name`.
`ColumnDefinition` CFMetaData.`getColumnDefinitionForIndex(java.lang.String indexName)`
`static ColumnDefinition` ColumnDefinition.`partitionKeyDef(CFMetaData cfm, java.nio.ByteBuffer name, AbstractType<?> validator, java.lang.Integer componentIndex)`
`static ColumnDefinition` ColumnDefinition.`partitionKeyDef(java.lang.String ksName, java.lang.String cfName, java.nio.ByteBuffer name, AbstractType<?> validator, java.lang.Integer componentIndex)`
`static ColumnDefinition` ColumnDefinition.`regularDef(CFMetaData cfm, 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(CFMetaData cfm, java.nio.ByteBuffer name, AbstractType<?> validator, java.lang.Integer componentIndex)`
`ColumnDefinition` ColumnDefinition.`withNewName(ColumnIdentifier newName)`
`ColumnDefinition` ColumnDefinition.`withNewType(AbstractType<?> newType)`

Methods in org.apache.cassandra.config that return types with arguments of type ColumnDefinition
`java.util.Collection<ColumnDefinition>` CFMetaData.`allColumns()`
`java.util.Iterator<ColumnDefinition>` CFMetaData.`allColumnsInSelectOrder()`
`java.util.List<ColumnDefinition>` CFMetaData.`clusteringColumns()`
`java.util.Map<java.nio.ByteBuffer,ColumnDefinition>` CFMetaData.`getColumnMetadata()`
`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
`CFMetaData` CFMetaData.`addColumnDefinition(ColumnDefinition def)`
`CFMetaData` CFMetaData.`addOrReplaceColumnDefinition(ColumnDefinition def)`
`ColumnDefinition` ColumnDefinition.`apply(ColumnDefinition def)`
`AbstractType<?>` CFMetaData.`getColumnDefinitionComparator(ColumnDefinition def)`
`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, CellNameType indexComparator)` Creates CFMetaData for secondary index CF.
`void` CFMetaData.`recordColumnDrop(ColumnDefinition def)`
`boolean` CFMetaData.`removeColumnDefinition(ColumnDefinition def)`

Method parameters in org.apache.cassandra.config with type arguments of type ColumnDefinition
`CFMetaData` CFMetaData.`addAllColumnDefinitions(java.util.Collection<ColumnDefinition> defs)`
`static boolean` CFMetaData.`calculateIsDense(AbstractType<?> comparator, java.util.Collection<ColumnDefinition> defs)`
`static java.util.List<ColumnIdentifier>` ColumnDefinition.`toIdentifiers(java.util.List<ColumnDefinition> definitions)` Converts the specified column definitions into column identifiers.

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

Fields in org.apache.cassandra.cql3 declared as ColumnDefinition
`ColumnDefinition` ColumnCondition.`column`
`ColumnDefinition` ColumnCondition.Bound.`column`
`ColumnDefinition` Operation.`column`

Methods in org.apache.cassandra.cql3 that return ColumnDefinition
`protected ColumnDefinition` Relation.`toColumnDefinition(CFMetaData cfm, ColumnIdentifier.Raw entity)` Converts the specified entity into a column definition.

Methods in org.apache.cassandra.cql3 that return types with arguments of type ColumnDefinition
`protected java.util.List<ColumnDefinition>` MultiColumnRelation.`receivers(CFMetaData cfm)`

Methods in org.apache.cassandra.cql3 with parameters of type ColumnDefinition
`static ColumnCondition` ColumnCondition.`condition(ColumnDefinition column, Term value, Operator op)`
`static ColumnCondition` ColumnCondition.`condition(ColumnDefinition column, Term collectionElement, Term value, Operator op)`
`Term` Json.Prepared.`getPrimaryKeyValueForColumn(ColumnDefinition def)`
`protected abstract Term.Raw` Json.Prepared.`getRawTermForColumn(ColumnDefinition def)`
`Operation` Json.Prepared.`getSetOperationForColumn(ColumnDefinition def)`
`static ColumnCondition` ColumnCondition.`inCondition(ColumnDefinition column, java.util.List<Term> inValues)`
`static ColumnCondition` ColumnCondition.`inCondition(ColumnDefinition column, Term inMarker)`
`static ColumnCondition` ColumnCondition.`inCondition(ColumnDefinition column, Term collectionElement, java.util.List<Term> inValues)`
`static ColumnCondition` ColumnCondition.`inCondition(ColumnDefinition column, Term collectionElement, Term inMarker)`
`ColumnCondition` ColumnCondition.Raw.`prepare(java.lang.String keyspace, ColumnDefinition receiver)`
`Operation` Operation.RawUpdate.`prepare(java.lang.String keyspace, ColumnDefinition receiver)` This method validates the operation (i.e.
`Operation` Operation.RawDeletion.`prepare(java.lang.String keyspace, ColumnDefinition receiver)` This method validates the operation (i.e.
`Operation` Operation.SetValue.`prepare(java.lang.String keyspace, ColumnDefinition receiver)`
`Operation` Operation.SetElement.`prepare(java.lang.String keyspace, ColumnDefinition receiver)`
`Operation` Operation.Addition.`prepare(java.lang.String keyspace, ColumnDefinition receiver)`
`Operation` Operation.Substraction.`prepare(java.lang.String keyspace, ColumnDefinition receiver)`
`Operation` Operation.Prepend.`prepare(java.lang.String keyspace, ColumnDefinition receiver)`
`Operation` Operation.ColumnDeletion.`prepare(java.lang.String keyspace, ColumnDefinition receiver)`
`Operation` Operation.ElementDeletion.`prepare(java.lang.String keyspace, ColumnDefinition receiver)`

Method parameters in org.apache.cassandra.cql3 with type arguments of type ColumnDefinition
`Term` QueryOptions.`getJsonColumnValue(int bindIndex, ColumnIdentifier columnName, java.util.Collection<ColumnDefinition> expectedReceivers)` Returns the term corresponding to column `columnName` in the JSON value of bind index `bindIndex`.
`Selector.Factory` ColumnIdentifier.`newSelectorFactory(CFMetaData cfm, java.util.List<ColumnDefinition> defs)`
`static java.util.Map<ColumnIdentifier,Term>` Json.`parseJson(java.lang.String jsonString, java.util.Collection<ColumnDefinition> expectedReceivers)` Given a JSON string, return a map of columns to their values for the insert.
`Json.Prepared` Json.Raw.`prepareAndCollectMarkers(CFMetaData metadata, java.util.Collection<ColumnDefinition> receivers, VariableSpecifications boundNames)`
`Json.Prepared` Json.Literal.`prepareAndCollectMarkers(CFMetaData metadata, java.util.Collection<ColumnDefinition> receivers, VariableSpecifications boundNames)`
`Json.Prepared` Json.Marker.`prepareAndCollectMarkers(CFMetaData metadata, java.util.Collection<ColumnDefinition> receivers, VariableSpecifications boundNames)`

Constructors in org.apache.cassandra.cql3 with parameters of type ColumnDefinition
Constructor and Description
`Adder(ColumnDefinition column, Term t)`
`Adder(ColumnDefinition column, Term t)`
`Appender(ColumnDefinition column, Term t)`
`Bound(ColumnDefinition column, Operator operator)`
`Deleter(ColumnDefinition column)`
`Discarder(ColumnDefinition column, Term t)`
`Discarder(ColumnDefinition column, Term t)`
`DiscarderByIndex(ColumnDefinition column, Term idx)`
`DiscarderByKey(ColumnDefinition column, Term k)`
`ElementDiscarder(ColumnDefinition column, Term k)`
`Operation(ColumnDefinition column, Term t)`
`Prepender(ColumnDefinition column, Term t)`
`Putter(ColumnDefinition column, Term t)`
`Setter(ColumnDefinition column, Term t)`
`Setter(ColumnDefinition column, Term t)`
`Setter(ColumnDefinition column, Term t)`
`Setter(ColumnDefinition column, Term t)`
`SetterByIndex(ColumnDefinition column, Term idx, Term t)`
`SetterByKey(ColumnDefinition column, Term k, Term t)`
`Substracter(ColumnDefinition column, Term t)`

### Uses of ColumnDefinition in org.apache.cassandra.cql3.restrictions

Fields in org.apache.cassandra.cql3.restrictions declared as ColumnDefinition
`protected ColumnDefinition` SingleColumnRestriction.`columnDef` The definition of the column to which apply the restriction.

Fields in org.apache.cassandra.cql3.restrictions with type parameters of type ColumnDefinition
`protected java.util.List<ColumnDefinition>` MultiColumnRestriction.`columnDefs` The columns to which the restriction apply.
`protected java.util.List<ColumnDefinition>` TokenRestriction.`columnDefs` The definition of the columns to which apply the token restriction.

Methods in org.apache.cassandra.cql3.restrictions that return ColumnDefinition
`ColumnDefinition` MultiColumnRestriction.`getFirstColumn()`
`ColumnDefinition` Restriction.`getFirstColumn()` Returns the definition of the first column.
`ColumnDefinition` SingleColumnRestriction.`getFirstColumn()`
`ColumnDefinition` TokenRestriction.`getFirstColumn()`
`ColumnDefinition` MultiColumnRestriction.`getLastColumn()`
`ColumnDefinition` Restriction.`getLastColumn()` Returns the definition of the last column.
`ColumnDefinition` SingleColumnRestriction.`getLastColumn()`
`ColumnDefinition` TokenRestriction.`getLastColumn()`

Methods in org.apache.cassandra.cql3.restrictions that return types with arguments of type ColumnDefinition
`java.util.List<ColumnDefinition>` MultiColumnRestriction.`getColumnDefs()`
`java.util.List<ColumnDefinition>` Restriction.`getColumnDefs()` Returns the column definitions in position order.
`java.util.List<ColumnDefinition>` SingleColumnRestriction.`getColumnDefs()`
`java.util.List<ColumnDefinition>` TokenRestriction.`getColumnDefs()`

Constructors in org.apache.cassandra.cql3.restrictions with parameters of type ColumnDefinition
Constructor and Description
`Contains(ColumnDefinition columnDef, Term t, boolean isKey)`
`Contains(ColumnDefinition columnDef, Term mapKey, Term mapValue)`
`EQ(ColumnDefinition columnDef, Term value)`
`IN(ColumnDefinition columnDef)`
`InWithMarker(ColumnDefinition columnDef, AbstractMarker marker)`
`InWithValues(ColumnDefinition columnDef, java.util.List<Term> values)`
`SingleColumnRestriction(ColumnDefinition columnDef)`
`Slice(ColumnDefinition columnDef, Bound bound, boolean inclusive, Term term)`

Constructor parameters in org.apache.cassandra.cql3.restrictions with type arguments of type ColumnDefinition
Constructor and Description
`EQ(CType ctype, java.util.List<ColumnDefinition> columnDefs, Term value)`
`EQ(java.util.List<ColumnDefinition> columnDefs, Term value)`
`IN(java.util.List<ColumnDefinition> columnDefs)`
`InWithMarker(java.util.List<ColumnDefinition> columnDefs, AbstractMarker marker)`
`InWithValues(java.util.List<ColumnDefinition> columnDefs, java.util.List<Term> values)`
`MultiColumnRestriction(java.util.List<ColumnDefinition> columnDefs)`
`Slice(CType ctype, java.util.List<ColumnDefinition> columnDefs, Bound bound, boolean inclusive, Term term)`
`Slice(java.util.List<ColumnDefinition> columnDefs, Bound bound, boolean inclusive, Term term)`
`TokenRestriction(CType ctype, java.util.List<ColumnDefinition> columnDefs)` Creates a new `TokenRestriction` that apply to the specified columns.

### Uses of ColumnDefinition in org.apache.cassandra.cql3.selection

Methods in org.apache.cassandra.cql3.selection that return types with arguments of type ColumnDefinition
`java.util.List<ColumnDefinition>` Selection.`getColumns()`
`com.google.common.collect.Multimap<ColumnSpecification,ColumnDefinition>` SelectionColumnMapping.`getMappings()`
`com.google.common.collect.Multimap<ColumnSpecification,ColumnDefinition>` SelectionColumns.`getMappings()`

Methods in org.apache.cassandra.cql3.selection with parameters of type ColumnDefinition
`protected static int` Selectable.`addAndGetIndex(ColumnDefinition def, java.util.List<ColumnDefinition> l)`
`int` Selection.`addColumnForOrdering(ColumnDefinition c)`
`protected SelectionColumnMapping` SelectionColumnMapping.`addMapping(ColumnSpecification colSpec, ColumnDefinition column)`
`protected int` Selection.`getColumnIndex(ColumnDefinition c)` Returns the index of the specified column
`int` Selection.`getResultSetIndex(ColumnDefinition c)` Returns the index of the specified column within the resultset
`static Selector.Factory` SimpleSelector.`newFactory(ColumnDefinition def, int idx)`

Method parameters in org.apache.cassandra.cql3.selection with type arguments of type ColumnDefinition
`protected static int` Selectable.`addAndGetIndex(ColumnDefinition def, java.util.List<ColumnDefinition> l)`
`protected SelectionColumnMapping` SelectionColumnMapping.`addMapping(ColumnSpecification colSpec, java.lang.Iterable<ColumnDefinition> columns)`
`static Selection` Selection.`forColumns(CFMetaData cfm, java.util.List<ColumnDefinition> columns)`
`abstract Selector.Factory` Selectable.`newSelectorFactory(CFMetaData cfm, java.util.List<ColumnDefinition> defs)`
`Selector.Factory` Selectable.WritetimeOrTTL.`newSelectorFactory(CFMetaData cfm, java.util.List<ColumnDefinition> defs)`
`Selector.Factory` Selectable.WithFunction.`newSelectorFactory(CFMetaData cfm, java.util.List<ColumnDefinition> defs)`
`Selector.Factory` Selectable.WithFieldSelection.`newSelectorFactory(CFMetaData cfm, java.util.List<ColumnDefinition> defs)`
`protected static SelectionColumnMapping` SelectionColumnMapping.`simpleMapping(java.lang.Iterable<ColumnDefinition> columnDefinitions)`

Constructor parameters in org.apache.cassandra.cql3.selection with type arguments of type ColumnDefinition
Constructor and Description
`Selection(CFMetaData cfm, java.util.List<ColumnDefinition> columns, SelectionColumnMapping columnMapping, boolean collectTimestamps, boolean collectTTLs)`

### Uses of ColumnDefinition in org.apache.cassandra.cql3.statements

Methods in org.apache.cassandra.cql3.statements that return ColumnDefinition
`protected ColumnDefinition` ModificationStatement.`getFirstEmptyKey()`

Methods in org.apache.cassandra.cql3.statements that return types with arguments of type ColumnDefinition
`java.lang.Iterable<ColumnDefinition>` ModificationStatement.`getColumnsWithConditions()`

Methods in org.apache.cassandra.cql3.statements with parameters of type ColumnDefinition
`void` ModificationStatement.`addKeyValue(ColumnDefinition def, Term value)`
`static IndexTarget.TargetType` IndexTarget.TargetType.`fromColumnDefinition(ColumnDefinition cd)`

Method parameters in org.apache.cassandra.cql3.statements with type arguments of type ColumnDefinition
`static ResultSet` ModificationStatement.`buildCasResultSet(java.lang.String ksName, java.nio.ByteBuffer key, java.lang.String cfName, ColumnFamily cf, java.lang.Iterable<ColumnDefinition> columnsWithConditions, boolean isBatch, QueryOptions options)`

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

Methods in org.apache.cassandra.db.composites with parameters of type ColumnDefinition
`CellName` CellNameType.`create(Composite prefix, ColumnDefinition column)` Creates a new CellName given a clustering prefix and a CQL3 column.
`CellName` CompoundDenseCellNameType.`create(Composite prefix, ColumnDefinition column)`
`CellName` CompoundSparseCellNameType.`create(Composite prefix, ColumnDefinition column)`
`CellName` SimpleDenseCellNameType.`create(Composite prefix, ColumnDefinition column)`
`CellName` SimpleSparseCellNameType.`create(Composite prefix, ColumnDefinition column)`
`CellName` AbstractCellNameType.`create(Composite prefix, ColumnDefinition column, java.nio.ByteBuffer collectionElement)`
`CellName` CellNameType.`create(Composite prefix, ColumnDefinition column, java.nio.ByteBuffer collectionElement)` Creates a new collection CellName given a clustering prefix, a CQL3 column and the collection element.
`CellName` CompoundSparseCellNameType.WithCollection.`create(Composite prefix, ColumnDefinition column, java.nio.ByteBuffer collectionElement)`

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

Fields in org.apache.cassandra.db.index declared as ColumnDefinition
`protected ColumnDefinition` AbstractSimplePerColumnSecondaryIndex.`columnDef`

Fields in org.apache.cassandra.db.index with type parameters of type ColumnDefinition
`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
`java.util.Set<ColumnDefinition>` SecondaryIndex.`getColumnDefs()`

Methods in org.apache.cassandra.db.index with parameters of type ColumnDefinition
`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 CellNameType` SecondaryIndex.`getIndexComparator(CFMetaData baseMetadata, ColumnDefinition cdef)` Returns the index comparator for index backed by CFS, or null.
`boolean` SecondaryIndex.`indexes(ColumnDefinition cdef)` Returns true if the provided column definition is indexed by this secondary index.

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

Methods in org.apache.cassandra.db.index.composites with parameters of type ColumnDefinition
`static CellNameType` CompositesIndexIncludingCollectionKey.`buildIndexComparator(CFMetaData baseMetadata, ColumnDefinition columnDef)`
`static CellNameType` CompositesIndexOnClusteringKey.`buildIndexComparator(CFMetaData baseMetadata, ColumnDefinition columnDef)`
`static CellNameType` CompositesIndexOnCollectionValue.`buildIndexComparator(CFMetaData baseMetadata, ColumnDefinition columnDef)`
`static CellNameType` CompositesIndexOnPartitionKey.`buildIndexComparator(CFMetaData baseMetadata, ColumnDefinition columnDef)`
`static CellNameType` CompositesIndexOnRegular.`buildIndexComparator(CFMetaData baseMetadata, ColumnDefinition columnDef)`
`static CompositesIndex` CompositesIndex.`create(ColumnDefinition cfDef)`
`static CellNameType` CompositesIndex.`getIndexComparator(CFMetaData baseMetadata, ColumnDefinition cfDef)`

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

Methods in org.apache.cassandra.db.marshal with parameters of type ColumnDefinition
`java.util.List<Cell>` CollectionType.`enforceLimit(ColumnDefinition def, java.util.List<Cell> cells, int version)`
`java.nio.ByteBuffer` CollectionType.`serializeForNativeProtocol(ColumnDefinition def, java.util.List<Cell> cells, int version)`

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

Methods in org.apache.cassandra.thrift that return ColumnDefinition
`static ColumnDefinition` ThriftConversion.`fromThrift(java.lang.String ksName, java.lang.String cfName, AbstractType<?> thriftComparator, AbstractType<?> thriftSubcomparator, ColumnDef thriftColumnDef)`

Methods in org.apache.cassandra.thrift with parameters of type ColumnDefinition
`static ColumnDef` ThriftConversion.`toThrift(ColumnDefinition column)`