Uses of Class org.apache.cassandra.config.ColumnDefinition (apache-cassandra API)
Date: 2014-10-21

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

- Packages that use ColumnDefinition
  Package | Description
  --- | ---
  org.apache.cassandra.config |
  org.apache.cassandra.cql3 |
  org.apache.cassandra.cql3.statements |
  org.apache.cassandra.db.composites |
  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.`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()`
    `static ColumnDefinition` | ColumnDefinition.`fromThrift(java.lang.String ksName, java.lang.String cfName, AbstractType<?> thriftComparator, AbstractType<?> thriftSubcomparator, ColumnDef thriftColumnDef)`
    `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
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Collection<ColumnDefinition>` | CFMetaData.`allColumns()`
    `java.util.Iterator<ColumnDefinition>` | CFMetaData.`allColumnsInSelectOrder()`
    `java.util.List<ColumnDefinition>` | CFMetaData.`clusteringColumns()`
    `static java.util.List<ColumnDefinition>` | ColumnDefinition.`fromSchema(UntypedResultSet serializedColumns, java.lang.String ksName, java.lang.String cfName, AbstractType<?> rawComparator, boolean isSuper)` Deserialize columns from storage-level representation
    `static java.util.List<ColumnDefinition>` | ColumnDefinition.`fromThrift(java.lang.String ksName, java.lang.String cfName, AbstractType<?> thriftComparator, AbstractType<?> thriftSubcomparator, java.util.List<ColumnDef> thriftDefs)`
    `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
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `CFMetaData` | CFMetaData.`addAllColumnDefinitions(java.util.Collection<ColumnDefinition> defs)`
    `static java.util.List<ColumnDef>` | ColumnDefinition.`toThrift(java.util.Map<java.nio.ByteBuffer,ColumnDefinition> columns)`

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

    Fields in org.apache.cassandra.cql3 declared as ColumnDefinition
    Modifier and Type | Field and Description
    --- | ---
    `ColumnDefinition` | ColumnCondition.`column`
    `ColumnDefinition` | ColumnCondition.Bound.`column`
    `ColumnDefinition` | Operation.`column`

    Methods in org.apache.cassandra.cql3 with parameters of type ColumnDefinition
    Modifier and Type | Method and Description
    --- | ---
    `static ColumnCondition` | ColumnCondition.`condition(ColumnDefinition column, Term value, Relation.Type op)`
    `static ColumnCondition` | ColumnCondition.`condition(ColumnDefinition column, Term collectionElement, Term value, Relation.Type op)`
    `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)`

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

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

    Methods in org.apache.cassandra.cql3.statements that return ColumnDefinition
    Modifier and Type | Method and Description
    --- | ---
    `protected ColumnDefinition` | ModificationStatement.`getFirstEmptyKey()`

    Methods in org.apache.cassandra.cql3.statements that return types with arguments of type ColumnDefinition
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Collection<ColumnDefinition>` | Selection.`getColumns()`
    `java.lang.Iterable<ColumnDefinition>` | ModificationStatement.`getColumnsWithConditions()`

    Methods in org.apache.cassandra.cql3.statements with parameters of type ColumnDefinition
    Modifier and Type | Method and Description
    --- | ---
    `int` | Selection.`addColumnForOrdering(ColumnDefinition c)`
    `void` | ModificationStatement.`addKeyValue(ColumnDefinition def, Term value)`

    Method parameters in org.apache.cassandra.cql3.statements with type arguments of type ColumnDefinition
    Modifier and Type | Method and Description
    --- | ---
    `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)`
    `static Selection` | Selection.`forColumns(java.util.Collection<ColumnDefinition> columns)`

    Constructor parameters in org.apache.cassandra.cql3.statements with type arguments of type ColumnDefinition
    Constructor and Description
    `Selection(java.util.Collection<ColumnDefinition> columns, java.util.List<ColumnSpecification> metadata, boolean collectTimestamps, boolean collectTTLs)`

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

    Methods in org.apache.cassandra.db.composites with parameters of type ColumnDefinition
    Modifier and Type | Method and Description
    --- | ---
    `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
    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 CellNameType` | 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 CellNameType` | CompositesIndexOnClusteringKey.`buildIndexComparator(CFMetaData baseMetadata, ColumnDefinition columnDef)`
    `static CellNameType` | CompositesIndexOnCollectionKey.`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)`

Copyright © 2014 The Apache Software Foundation