Uses of Interface org.apache.cassandra.db.composites.CellNameType (apache-cassandra API)
Date: 2018-02-12

## Uses of Interface
org.apache.cassandra.db.composites.CellNameType

- Packages that use CellNameType
  Package | Description
  --- | ---
  org.apache.cassandra.config |
  org.apache.cassandra.cql3 |
  org.apache.cassandra.cql3.statements |
  org.apache.cassandra.db |
  org.apache.cassandra.db.composites |
  org.apache.cassandra.db.filter |
  org.apache.cassandra.db.index |
  org.apache.cassandra.db.index.composites |
  org.apache.cassandra.io.sstable |
  org.apache.cassandra.io.sstable.metadata |

- - ### Uses of CellNameType in org.apache.cassandra.config

    Fields in org.apache.cassandra.config declared as CellNameType
    Modifier and Type | Field and Description
    --- | ---
    `CellNameType` | CFMetaData.`comparator`

    Methods in org.apache.cassandra.config with parameters of type CellNameType
    Modifier and Type | Method and Description
    --- | ---
    `static CFMetaData` | CFMetaData.`newIndexMetadata(CFMetaData parent, ColumnDefinition info, CellNameType indexComparator)` Creates CFMetaData for secondary index CF.

    Constructors in org.apache.cassandra.config with parameters of type CellNameType
    Constructor and Description
    `CFMetaData(java.lang.String keyspace, java.lang.String name, ColumnFamilyType type, CellNameType comp)` Create new ColumnFamily metadata with generated random ID.
    `CFMetaData(java.lang.String keyspace, java.lang.String name, ColumnFamilyType type, CellNameType comp, java.util.UUID id)`

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

    Methods in org.apache.cassandra.cql3 with parameters of type CellNameType
    Modifier and Type | Method and Description
    --- | ---
    `static void` | QueryProcessor.`validateCellName(CellName name, CellNameType type)`
    `static void` | QueryProcessor.`validateCellNames(java.lang.Iterable<CellName> cellNames, CellNameType type)`

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

    Fields in org.apache.cassandra.cql3.statements declared as CellNameType
    Modifier and Type | Field and Description
    --- | ---
    `CellNameType` | CreateTableStatement.`comparator`

  - ### Uses of CellNameType in org.apache.cassandra.db

    Fields in org.apache.cassandra.db declared as CellNameType
    Modifier and Type | Field and Description
    --- | ---
    `CellNameType` | Memtable.`initialComparator`

    Methods in org.apache.cassandra.db that return CellNameType
    Modifier and Type | Method and Description
    --- | ---
    `CellNameType` | ColumnFamily.`getComparator()`
    `CellNameType` | ColumnFamilyStore.`getComparator()`
    `static CellNameType` | SuperColumns.`scNameType(CellNameType type)`

    Methods in org.apache.cassandra.db with parameters of type CellNameType
    Modifier and Type | Method and Description
    --- | ---
    `static IDiskAtomFilter` | SuperColumns.`fromSCFilter(CellNameType type, java.nio.ByteBuffer scName, IDiskAtomFilter filter)`
    `static IDiskAtomFilter` | SuperColumns.`fromSCNamesFilter(CellNameType type, java.nio.ByteBuffer scName, NamesQueryFilter filter)`
    `static SliceQueryFilter` | SuperColumns.`fromSCSliceFilter(CellNameType type, java.nio.ByteBuffer scName, SliceQueryFilter filter)`
    `java.lang.String` | AbstractCell.`getString(CellNameType comparator)`
    `java.lang.String` | BufferCounterCell.`getString(CellNameType comparator)`
    `java.lang.String` | BufferCounterUpdateCell.`getString(CellNameType comparator)`
    `java.lang.String` | BufferExpiringCell.`getString(CellNameType comparator)`
    `java.lang.String` | Cell.`getString(CellNameType comparator)`
    `java.lang.String` | NativeCounterCell.`getString(CellNameType comparator)`
    `java.lang.String` | NativeExpiringCell.`getString(CellNameType comparator)`
    `boolean` | AbstractNativeCell.`isSameCQL3RowAs(CellNameType type, CellName other)`
    `static java.util.Iterator<OnDiskAtom>` | AbstractCell.`onDiskIterator(java.io.DataInput in, ColumnSerializer.Flag flag, int expireBefore, Version version, CellNameType type)`
    `static java.util.Iterator<OnDiskAtom>` | SuperColumns.`onDiskIterator(java.io.DataInput in, int superColumnCount, ColumnSerializer.Flag flag, int expireBefore, CellNameType type)`
    `static CellNameType` | SuperColumns.`scNameType(CellNameType type)`
    `int` | AbstractCell.`serializedSize(CellNameType type, TypeSizes typeSizes)`
    `int` | BufferCounterCell.`serializedSize(CellNameType type, TypeSizes typeSizes)`
    `int` | BufferExpiringCell.`serializedSize(CellNameType type, TypeSizes typeSizes)`
    `int` | Cell.`serializedSize(CellNameType type, TypeSizes typeSizes)`
    `int` | NativeCounterCell.`serializedSize(CellNameType type, TypeSizes typeSizes)`
    `int` | NativeExpiringCell.`serializedSize(CellNameType type, TypeSizes typeSizes)`

    Constructors in org.apache.cassandra.db with parameters of type CellNameType
    Constructor and Description
    `AtomDeserializer(CellNameType type, java.io.DataInput in, ColumnSerializer.Flag flag, int expireBefore, Version version)`
    `ColumnSerializer(CellNameType type)`
    `Serializer(CellNameType type)`

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

    Classes in org.apache.cassandra.db.composites that implement CellNameType
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractCellNameType`
    `class` | `AbstractCompoundCellNameType`
    `class` | `AbstractSimpleCellNameType`
    `class` | `CompoundDenseCellNameType`
    `class` | `CompoundSparseCellNameType`
    `static class` | `CompoundSparseCellNameType.WithCollection`
    `class` | `SimpleDenseCellNameType`
    `class` | `SimpleSparseCellNameType`

    Methods in org.apache.cassandra.db.composites that return CellNameType
    Modifier and Type | Method and Description
    --- | ---
    `CellNameType` | AbstractCellNameType.`addOrUpdateCollection(ColumnIdentifier columnName, CollectionType newCollection)`
    `CellNameType` | CellNameType.`addOrUpdateCollection(ColumnIdentifier columnName, CollectionType newCollection)` Return the new type obtained by adding/updating to the new collection type for the provided column name to this type.
    `CellNameType` | CompoundSparseCellNameType.`addOrUpdateCollection(ColumnIdentifier columnName, CollectionType newCollection)`
    `CellNameType` | CompoundSparseCellNameType.WithCollection.`addOrUpdateCollection(ColumnIdentifier columnName, CollectionType newCollection)`
    `static CellNameType` | CellNames.`fromAbstractType(AbstractType<?> type, boolean isDense)`
    `CellNameType` | CellNameType.`setSubtype(int position, AbstractType<?> newType)` Returns a new CellNameType that is equivalent to this one but with one of the subtype replaced by the provided new type.
    `CellNameType` | CompoundDenseCellNameType.`setSubtype(int position, AbstractType<?> newType)`
    `CellNameType` | CompoundSparseCellNameType.`setSubtype(int position, AbstractType<?> newType)`
    `CellNameType` | CompoundSparseCellNameType.WithCollection.`setSubtype(int position, AbstractType<?> newType)`
    `CellNameType` | SimpleDenseCellNameType.`setSubtype(int position, AbstractType<?> newType)`
    `CellNameType` | SimpleSparseCellNameType.`setSubtype(int position, AbstractType<?> newType)`

    Methods in org.apache.cassandra.db.composites with parameters of type CellNameType
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | CellNames.`getColumnsString(CellNameType type, java.lang.Iterable<Cell> columns)`
    `boolean` | CellName.`isSameCQL3RowAs(CellNameType type, CellName other)` Whether this cell is part of the same CQL3 row as the other cell.
    `boolean` | CompoundDenseCellName.`isSameCQL3RowAs(CellNameType type, CellName other)`
    `boolean` | CompoundSparseCellName.`isSameCQL3RowAs(CellNameType type, CellName other)`
    `boolean` | SimpleDenseCellName.`isSameCQL3RowAs(CellNameType type, CellName other)`
    `boolean` | SimpleSparseCellName.`isSameCQL3RowAs(CellNameType type, CellName other)`
    `protected static CQL3Row.Builder` | AbstractCellNameType.`makeSparseCQL3RowBuilder(CFMetaData cfMetaData, CellNameType type, long now)`

  - ### Uses of CellNameType in org.apache.cassandra.db.filter

    Fields in org.apache.cassandra.db.filter declared as CellNameType
    Modifier and Type | Field and Description
    --- | ---
    `protected CellNameType` | ColumnCounter.GroupByPrefix.`type`

    Methods in org.apache.cassandra.db.filter with parameters of type CellNameType
    Modifier and Type | Method and Description
    --- | ---
    `ColumnCounter` | IDiskAtomFilter.`columnCounter(CellNameType comparator, long now)`
    `ColumnCounter` | NamesQueryFilter.`columnCounter(CellNameType comparator, long now)`
    `ColumnCounter` | SliceQueryFilter.`columnCounter(CellNameType comparator, long now)`
    `boolean` | IDiskAtomFilter.`countCQL3Rows(CellNameType comparator)`
    `boolean` | NamesQueryFilter.`countCQL3Rows(CellNameType comparator)`
    `boolean` | SliceQueryFilter.`countCQL3Rows(CellNameType comparator)`
    `java.util.Comparator<Cell>` | IDiskAtomFilter.`getColumnComparator(CellNameType comparator)`
    `java.util.Comparator<Cell>` | NamesQueryFilter.`getColumnComparator(CellNameType comparator)`
    `java.util.Comparator<Cell>` | SliceQueryFilter.`getColumnComparator(CellNameType comparator)`
    `boolean` | ColumnSlice.`intersects(java.util.List<java.nio.ByteBuffer> minCellNames, java.util.List<java.nio.ByteBuffer> maxCellNames, CellNameType comparator, boolean reversed)`
    `boolean` | ColumnSlice.`isAlwaysEmpty(CellNameType comparator, boolean reversed)`
    `static boolean` | ColumnSlice.`validateSlices(ColumnSlice[] slices, CellNameType type, boolean reversed)` Validates that the provided slice array contains only non-overlapped slices valid for a query `reversed` or not on a table using `comparator`.

    Constructors in org.apache.cassandra.db.filter with parameters of type CellNameType
    Constructor and Description
    `GroupByPrefix(long timestamp, CellNameType type, int toGroup, boolean countPartitionsWithOnlyStaticData)` A column counter that count only 1 for all the columns sharing a given prefix of the key.
    `GroupByPrefixReversed(long timestamp, CellNameType type, int toGroup, boolean countPartitionsWithOnlyStaticData)`
    `Serializer(CellNameType type)`
    `Serializer(CellNameType type)`

  - ### Uses of CellNameType in org.apache.cassandra.db.index

    Methods in org.apache.cassandra.db.index that return CellNameType
    Modifier and Type | Method and Description
    --- | ---
    `static CellNameType` | SecondaryIndex.`getIndexComparator(CFMetaData baseMetadata, ColumnDefinition cdef)` Returns the index comparator for index backed by CFS, or null.

  - ### Uses of CellNameType in org.apache.cassandra.db.index.composites

    Methods in org.apache.cassandra.db.index.composites that return CellNameType
    Modifier and Type | Method and Description
    --- | ---
    `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)`
    `protected CellNameType` | CompositesIndex.`getIndexComparator()`
    `static CellNameType` | CompositesIndex.`getIndexComparator(CFMetaData baseMetadata, ColumnDefinition cfDef)`

  - ### Uses of CellNameType in org.apache.cassandra.io.sstable

    Methods in org.apache.cassandra.io.sstable with parameters of type CellNameType
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.List<java.nio.ByteBuffer>` | ColumnNameHelper.`maxComponents(java.util.List<java.nio.ByteBuffer> maxSeen, Composite candidate, CellNameType comparator)` finds the max cell name component(s) Note that this method *can modify maxSeen*.
    `static java.util.List<java.nio.ByteBuffer>` | ColumnNameHelper.`mergeMax(java.util.List<java.nio.ByteBuffer> maxColumnNames, java.util.List<java.nio.ByteBuffer> candidates, CellNameType comparator)` Merge 2 lists of max cell name components.
    `static java.util.List<java.nio.ByteBuffer>` | ColumnNameHelper.`mergeMin(java.util.List<java.nio.ByteBuffer> minColumnNames, java.util.List<java.nio.ByteBuffer> candidates, CellNameType comparator)` Merge 2 lists of min cell name components.
    `static java.util.List<java.nio.ByteBuffer>` | ColumnNameHelper.`minComponents(java.util.List<java.nio.ByteBuffer> minSeen, Composite candidate, CellNameType comparator)` finds the min cell name component(s) Note that this method *can modify maxSeen*.
    `static boolean` | ColumnNameHelper.`overlaps(java.util.List<java.nio.ByteBuffer> minColumnNames1, java.util.List<java.nio.ByteBuffer> maxColumnNames1, java.util.List<java.nio.ByteBuffer> minColumnNames2, java.util.List<java.nio.ByteBuffer> maxColumnNames2, CellNameType comparator)` Checks if the given min/max column names could overlap (i.e they could share some column names based on the max/min column names in the sstables)

  - ### Uses of CellNameType in org.apache.cassandra.io.sstable.metadata

    Constructors in org.apache.cassandra.io.sstable.metadata with parameters of type CellNameType
    Constructor and Description
    `MetadataCollector(CellNameType columnNameComparator)`
    `MetadataCollector(java.lang.Iterable<SSTableReader> sstables, CellNameType columnNameComparator, int level)`
    `MetadataCollector(java.lang.Iterable<SSTableReader> sstables, CellNameType columnNameComparator, int level, boolean skipAncestors)`

Copyright © 2018 The Apache Software Foundation