Uses of Class
org.apache.cassandra.schema.ColumnMetadata
Packages that use ColumnMetadata
Package
Description
-
Uses of ColumnMetadata in org.apache.cassandra.cache
Methods in org.apache.cassandra.cache with parameters of type ColumnMetadataModifier and TypeMethodDescriptionstatic CounterCacheKeyCounterCacheKey.create(TableMetadata tableMetadata, ByteBuffer partitionKey, Clustering<?> clustering, ColumnMetadata c, CellPath path) -
Uses of ColumnMetadata in org.apache.cassandra.cql3
Fields in org.apache.cassandra.cql3 declared as ColumnMetadataModifier and TypeFieldDescriptionfinal ColumnMetadataOperation.columnprotected final ColumnMetadataOrdering.Expression.columnMetadataMethods in org.apache.cassandra.cql3 that return ColumnMetadataMethods in org.apache.cassandra.cql3 that return types with arguments of type ColumnMetadataModifier and TypeMethodDescriptionprotected List<ColumnMetadata>MultiColumnRelation.receivers(TableMetadata table) Methods in org.apache.cassandra.cql3 with parameters of type ColumnMetadataModifier and TypeMethodDescriptionCell<?>UpdateParameters.addCell(ColumnMetadata column, ByteBuffer value) Cell<?>UpdateParameters.addCell(ColumnMetadata column, CellPath path, ByteBuffer value) voidUpdateParameters.addCounter(ColumnMetadata column, long increment) voidUpdateParameters.addTombstone(ColumnMetadata column) voidUpdateParameters.addTombstone(ColumnMetadata column, CellPath path) abstract Term.RawJson.Prepared.getRawTermForColumn(ColumnMetadata def, boolean defaultUnset) Operation.Addition.prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState) Operation.ColumnDeletion.prepare(String keyspace, ColumnMetadata receiver, TableMetadata metadata) Operation.ElementDeletion.prepare(String keyspace, ColumnMetadata receiver, TableMetadata metadata) Operation.FieldDeletion.prepare(String keyspace, ColumnMetadata receiver, TableMetadata metadata) Operation.Prepend.prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState) Operation.RawDeletion.prepare(String keyspace, ColumnMetadata receiver, TableMetadata metadata) This method validates the operation (i.e.Operation.RawUpdate.prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState) This method validates the operation (i.e.Operation.SetElement.prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState) Operation.SetField.prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState) Operation.SetValue.prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState) Operation.Substraction.prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState) voidUpdateParameters.setComplexDeletionTime(ColumnMetadata column) voidUpdateParameters.setComplexDeletionTimeForOverwrite(ColumnMetadata column) Method parameters in org.apache.cassandra.cql3 with type arguments of type ColumnMetadataModifier and TypeMethodDescriptionQueryOptions.getJsonColumnValue(int bindIndex, ColumnIdentifier columnName, Collection<ColumnMetadata> expectedReceivers) Returns the term corresponding to columncolumnNamein the JSON value of bind indexbindIndex.Json.Literal.prepareAndCollectMarkers(TableMetadata metadata, Collection<ColumnMetadata> receivers, VariableSpecifications boundNames) Json.Marker.prepareAndCollectMarkers(TableMetadata metadata, Collection<ColumnMetadata> receivers, VariableSpecifications boundNames) Json.Raw.prepareAndCollectMarkers(TableMetadata metadata, Collection<ColumnMetadata> receivers, VariableSpecifications boundNames) Constructors in org.apache.cassandra.cql3 with parameters of type ColumnMetadataModifierConstructorDescriptionAdder(ColumnMetadata column, Term t) Adder(ColumnMetadata column, Term t) Ann(ColumnMetadata columnMetadata, Term vectorValue) Appender(ColumnMetadata column, Term t) Deleter(ColumnMetadata column) DeleterByField(ColumnMetadata column, FieldIdentifier field) Discarder(ColumnMetadata column, Term t) Discarder(ColumnMetadata column, Term t) DiscarderByIndex(ColumnMetadata column, Term idx) DiscarderByKey(ColumnMetadata column, Term k) ElementDiscarder(ColumnMetadata column, Term k) Expression(ColumnMetadata columnMetadata) protectedOperation(ColumnMetadata column, Term t) Prepender(ColumnMetadata column, Term t) Putter(ColumnMetadata column, Term t) Setter(ColumnMetadata column, Term t) Setter(ColumnMetadata column, Term t) Setter(ColumnMetadata column, Term t) Setter(ColumnMetadata column, Term t) Setter(ColumnMetadata column, Term t) SetterByField(ColumnMetadata column, FieldIdentifier field, Term t) SetterByIndex(ColumnMetadata column, Term idx, Term t) SetterByKey(ColumnMetadata column, Term k, Term t) SingleColumn(ColumnMetadata columnMetadata) Substracter(ColumnMetadata column, Term t) -
Uses of ColumnMetadata in org.apache.cassandra.cql3.conditions
Fields in org.apache.cassandra.cql3.conditions declared as ColumnMetadataModifier and TypeFieldDescriptionfinal ColumnMetadataColumnCondition.Bound.columnfinal ColumnMetadataColumnCondition.columnMethods in org.apache.cassandra.cql3.conditions that return types with arguments of type ColumnMetadataModifier and TypeMethodDescriptionColumnConditions.getColumns()Conditions.getColumns()Returns the column definitions to which apply the conditions.Methods in org.apache.cassandra.cql3.conditions with parameters of type ColumnMetadataModifier and TypeMethodDescriptionstatic ColumnConditionColumnCondition.condition(ColumnMetadata column, FieldIdentifier udtField, Operator op, Terms terms) A UDT column, simple condition.static ColumnConditionColumnCondition.condition(ColumnMetadata column, Operator op, Terms terms) A regular column, simple condition.static ColumnConditionColumnCondition.condition(ColumnMetadata column, Term collectionElement, Operator op, Terms terms) A collection column, simple condition.protected static final Cell<?>ColumnCondition.getCell(Row row, ColumnMetadata column) protected static final Cell<?>ColumnCondition.getCell(Row row, ColumnMetadata column, CellPath path) ColumnCondition.getCells(Row row, ColumnMetadata column) ColumnCondition.Raw.prepare(String keyspace, ColumnMetadata receiver, TableMetadata cfm) Constructors in org.apache.cassandra.cql3.conditions with parameters of type ColumnMetadata -
Uses of ColumnMetadata in org.apache.cassandra.cql3.restrictions
Fields in org.apache.cassandra.cql3.restrictions declared as ColumnMetadataModifier and TypeFieldDescriptionprotected final ColumnMetadataSingleColumnRestriction.columnDefThe definition of the column to which apply the restriction.Fields in org.apache.cassandra.cql3.restrictions with type parameters of type ColumnMetadataModifier and TypeFieldDescriptionprotected final List<ColumnMetadata>MultiColumnRestriction.columnDefsThe columns to which the restriction apply.protected final List<ColumnMetadata>TokenRestriction.columnDefsThe definition of the columns to which apply the token restriction.Methods in org.apache.cassandra.cql3.restrictions that return ColumnMetadataModifier and TypeMethodDescriptionMultiColumnRestriction.getFirstColumn()Restriction.getFirstColumn()Returns the definition of the first column.SingleColumnRestriction.getFirstColumn()TokenRestriction.getFirstColumn()MultiColumnRestriction.getLastColumn()Restriction.getLastColumn()Returns the definition of the last column.SingleColumnRestriction.getLastColumn()TokenRestriction.getLastColumn()Methods in org.apache.cassandra.cql3.restrictions that return types with arguments of type ColumnMetadataModifier and TypeMethodDescriptiondefault Collection<ColumnMetadata>Restrictions.getColumnDefinitions()This method exists in addition toRestriction.getColumnDefs()in case implementations want to provide columns definitions that are not strictly in position order.MultiColumnRestriction.getColumnDefs()Restriction.getColumnDefs()Returns the column definitions in position order.SingleColumnRestriction.getColumnDefs()TokenRestriction.getColumnDefs()StatementRestrictions.nonPKRestrictedColumns(boolean includeNotNullRestrictions) Returns the non-PK column that are restricted.StatementRestrictions.notNullColumns()Methods in org.apache.cassandra.cql3.restrictions with parameters of type ColumnMetadataModifier and TypeMethodDescriptionRestrictions.getRestrictions(ColumnMetadata columnDef) Returns the restrictions applied to the specified column.TokenRestriction.getRestrictions(ColumnMetadata columnDef) booleanStatementRestrictions.isColumnRestrictedByEq(ColumnMetadata columnDef) Checks if the specified column is restricted by an EQ restriction.booleanStatementRestrictions.isEqualityRestricted(ColumnMetadata column) This method determines whether a specified column is restricted on equality or something equivalent, like IN.booleanStatementRestrictions.isRestricted(ColumnMetadata column) protected booleanMultiColumnRestriction.EQRestriction.isSupportedBy(Index index, ColumnMetadata column) protected booleanMultiColumnRestriction.INRestriction.isSupportedBy(Index index, ColumnMetadata column) protected abstract booleanMultiColumnRestriction.isSupportedBy(Index index, ColumnMetadata def) protected booleanMultiColumnRestriction.NotNullRestriction.isSupportedBy(Index index, ColumnMetadata column) protected booleanMultiColumnRestriction.SliceRestriction.isSupportedBy(Index index, ColumnMetadata column) Constructors in org.apache.cassandra.cql3.restrictions with parameters of type ColumnMetadataModifierConstructorDescriptionAnnRestriction(ColumnMetadata columnDef, Term value) ContainsRestriction(ColumnMetadata columnDef, Term t, boolean isKey) ContainsRestriction(ColumnMetadata columnDef, Term mapKey, Term mapValue) EQRestriction(ColumnMetadata columnDef, Term value) INRestriction(ColumnMetadata columnDef) InRestrictionWithMarker(ColumnMetadata columnDef, AbstractMarker marker) InRestrictionWithValues(ColumnMetadata columnDef, List<Term> values) IsNotNullRestriction(ColumnMetadata columnDef) LikeRestriction(ColumnMetadata columnDef, Operator operator, Term value) SingleColumnRestriction(ColumnMetadata columnDef) SliceRestriction(ColumnMetadata columnDef, Bound bound, boolean inclusive, Term term) Constructor parameters in org.apache.cassandra.cql3.restrictions with type arguments of type ColumnMetadataModifierConstructorDescriptionEQRestriction(List<ColumnMetadata> columnDefs, Term value) EQRestriction(TableMetadata table, List<ColumnMetadata> columnDefs, Term value) INRestriction(List<ColumnMetadata> columnDefs) InRestrictionWithMarker(List<ColumnMetadata> columnDefs, AbstractMarker marker) InRestrictionWithValues(List<ColumnMetadata> columnDefs, List<Term> values) MultiColumnRestriction(List<ColumnMetadata> columnDefs) NotNullRestriction(List<ColumnMetadata> columnDefs) SliceRestriction(List<ColumnMetadata> columnDefs, Bound bound, boolean inclusive, Term term) SliceRestriction(TableMetadata table, List<ColumnMetadata> columnDefs, Bound bound, boolean inclusive, Term term) TokenRestriction(TableMetadata metadata, List<ColumnMetadata> columnDefs) Creates a newTokenRestrictionthat apply to the specified columns. -
Uses of ColumnMetadata in org.apache.cassandra.cql3.selection
Fields in org.apache.cassandra.cql3.selection declared as ColumnMetadataModifier and TypeFieldDescriptionfinal ColumnMetadataSelectable.WritetimeOrTTL.columnfinal ColumnMetadataSimpleSelector.columnFields in org.apache.cassandra.cql3.selection with type parameters of type ColumnMetadataMethods in org.apache.cassandra.cql3.selection that return ColumnMetadataModifier and TypeMethodDescriptionSelectable.RawIdentifier.columnMetadata(TableMetadata cfm) SimpleSelector.SimpleSelectorFactory.getColumn()Methods in org.apache.cassandra.cql3.selection that return types with arguments of type ColumnMetadataModifier and TypeMethodDescriptionSelection.getColumns()com.google.common.collect.Multimap<ColumnSpecification,ColumnMetadata> SelectionColumnMapping.getMappings()com.google.common.collect.Multimap<ColumnSpecification,ColumnMetadata> SelectionColumns.getMappings()Methods in org.apache.cassandra.cql3.selection with parameters of type ColumnMetadataModifier and TypeMethodDescriptiondefault intSelectable.addAndGetIndex(ColumnMetadata def, List<ColumnMetadata> l) protected SelectionColumnMappingSelectionColumnMapping.addMapping(ColumnSpecification colSpec, ColumnMetadata column) protected final intSelection.getColumnIndex(ColumnMetadata c) Returns the index of the specified columnSelection.getOrderingIndex(ColumnMetadata c) Returns the corresponding column index used for post query orderingintSelection.getResultSetIndex(ColumnMetadata c) Returns the index of the specified column within the resultsetstatic Selector.FactorySimpleSelector.newFactory(ColumnMetadata def, int idx, boolean useForPostOrdering) Method parameters in org.apache.cassandra.cql3.selection with type arguments of type ColumnMetadataModifier and TypeMethodDescriptiondefault intSelectable.addAndGetIndex(ColumnMetadata def, List<ColumnMetadata> l) protected SelectionColumnMappingSelectionColumnMapping.addMapping(ColumnSpecification colSpec, Iterable<ColumnMetadata> columns) static SelectionSelection.forColumns(TableMetadata table, List<ColumnMetadata> columns, boolean returnStaticContentOnPartitionWithNoRows) static SelectionSelection.fromSelectors(TableMetadata table, List<Selectable> selectables, VariableSpecifications boundNames, Set<ColumnMetadata> orderingColumns, Set<ColumnMetadata> nonPKRestrictedColumns, boolean hasGroupBy, boolean isJson, boolean returnStaticContentOnPartitionWithNoRows) voidResultSetBuilder.newRow(ProtocolVersion protocolVersion, DecoratedKey partitionKey, Clustering<?> clustering, List<ColumnMetadata> columns) Notifies thisBuilderthat a new row is being processed.Selectable.BetweenParenthesesOrWithTuple.newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithArrayLiteral.newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithCast.newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithElementSelection.newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithFieldSelection.newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithFunction.newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithList.newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithMapOrUdt.newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithSet.newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithSliceSelection.newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithTerm.newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithTypeHint.newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WithVector.newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) Selectable.WritetimeOrTTL.newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) booleanSelectable.BetweenParenthesesOrWithTuple.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.selectColumns(Predicate<ColumnMetadata> predicate) Checks if thisSelectableselect columns matching the specified predicate.static booleanSelectable.selectColumns(List<Selectable> selectables, Predicate<ColumnMetadata> predicate) Checks if the specified Selectables select columns matching the specified predicate.booleanSelectable.WithArrayLiteral.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithCast.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithElementSelection.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithFieldSelection.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithFunction.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithList.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithMapOrUdt.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithSet.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithSliceSelection.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithTerm.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithTypeHint.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WithVector.selectColumns(Predicate<ColumnMetadata> predicate) booleanSelectable.WritetimeOrTTL.selectColumns(Predicate<ColumnMetadata> predicate) protected static SelectionColumnMappingSelectionColumnMapping.simpleMapping(Iterable<ColumnMetadata> columnDefinitions) static SelectionSelection.wildcardWithGroupByOrMaskedColumns(TableMetadata table, VariableSpecifications boundNames, Set<ColumnMetadata> orderingColumns, boolean isJson, boolean returnStaticContentOnPartitionWithNoRows) Constructors in org.apache.cassandra.cql3.selection with parameters of type ColumnMetadataModifierConstructorDescriptionWritetimeOrTTL(ColumnMetadata column, Selectable selectable, Selectable.WritetimeOrTTL.Kind kind) Constructor parameters in org.apache.cassandra.cql3.selection with type arguments of type ColumnMetadataModifierConstructorDescriptionInputRow(ProtocolVersion protocolVersion, List<ColumnMetadata> columns, boolean unmask) InputRow(ProtocolVersion protocolVersion, List<ColumnMetadata> columns, boolean unmask, boolean collectWritetimes, boolean collectTTLs) protectedSelection(TableMetadata table, List<ColumnMetadata> selectedColumns, Set<ColumnMetadata> orderingColumns, SelectionColumnMapping columnMapping, org.apache.cassandra.cql3.selection.ColumnFilterFactory columnFilterFactory, boolean isJson) protectedSelection(TableMetadata table, List<ColumnMetadata> selectedColumns, Set<ColumnMetadata> orderingColumns, SelectionColumnMapping columnMapping, org.apache.cassandra.cql3.selection.ColumnFilterFactory columnFilterFactory, boolean isJson) -
Uses of ColumnMetadata in org.apache.cassandra.cql3.statements
Methods in org.apache.cassandra.cql3.statements that return types with arguments of type ColumnMetadataMethods in org.apache.cassandra.cql3.statements with parameters of type ColumnMetadataModifier and TypeMethodDescriptionBound.reverseIfNeeded(ColumnMetadata columnMetadata) Reverses the bound if the column type is a reversed one. -
Uses of ColumnMetadata in org.apache.cassandra.db
Fields in org.apache.cassandra.db declared as ColumnMetadataModifier and TypeFieldDescriptionstatic final ColumnMetadataColumns.FIRST_COMPLEX_REGULARstatic final ColumnMetadataColumns.FIRST_COMPLEX_STATICMethods in org.apache.cassandra.db that return ColumnMetadataModifier and TypeMethodDescriptionColumns.getComplex(int i) Returns the ith complex column of this object.Columns.getSimple(int i) Returns the ith simple column of this object.Methods in org.apache.cassandra.db that return types with arguments of type ColumnMetadataModifier and TypeMethodDescriptionColumns.complexColumns()Iterator over the complex columns of this object.Columns.inOrderInclusionTester()Returns a predicate to test whether columns are included in thisColumnsobject, assuming that tes tested columns are passed to the predicate in sorted order.Columns.iterator()Iterator over all the columns of this object.Columns.iterator()Iterator over all the columns of this object.RegularAndStaticColumns.iterator()Columns.selectOrderIterator()An iterator that returns the columns of this object in "select" order (that is in global alphabetical order, where the "normal" iterator returns simple columns first and the complex second).RegularAndStaticColumns.selectOrderIterator()Columns.simpleColumns()Iterator over the simple columns of this object.Methods in org.apache.cassandra.db with parameters of type ColumnMetadataModifier and TypeMethodDescriptionRegularAndStaticColumns.Builder.add(ColumnMetadata c) intColumns.complexIdx(ColumnMetadata c) The index of the provided complex column in this object (if it contains the provided column).booleanColumns.contains(ColumnMetadata c) Whether the provided column is contained by this object.booleanRegularAndStaticColumns.contains(ColumnMetadata column) ColumnFamilyStore.getCachedCounter(ByteBuffer partitionKey, Clustering<?> clustering, ColumnMetadata column, CellPath path) AbstractType<?>SerializationHeader.getType(ColumnMetadata column) static ColumnsColumns.of(ColumnMetadata c) Creates aColumnsholding only the one column provided.static RegularAndStaticColumnsRegularAndStaticColumns.of(ColumnMetadata column) voidColumnFamilyStore.putCachedCounter(ByteBuffer partitionKey, Clustering<?> clustering, ColumnMetadata column, CellPath path, ClockAndCount clockAndCount) intColumns.simpleIdx(ColumnMetadata c) The index of the provided simple column in this object (if it contains the provided column).Columns.without(ColumnMetadata column) Returns the equivalent of those columns but with the provided column removed.RegularAndStaticColumns.without(ColumnMetadata column) Method parameters in org.apache.cassandra.db with type arguments of type ColumnMetadataModifier and TypeMethodDescriptionRegularAndStaticColumns.Builder.addAll(Iterable<ColumnMetadata> columns) voidColumns.apply(Consumer<ColumnMetadata> function) Apply a function to each column definition in forwards or reversed order.abstract NavigableSet<ClusteringBound<?>>MultiCBuilder.buildBoundForSlice(boolean isStart, boolean isInclusive, boolean isOtherBoundInclusive, List<ColumnMetadata> columnDefs) Builds theClusteringBounds for slice restrictions.static ColumnsColumns.from(Collection<ColumnMetadata> s) Returns a newColumnsobject holding the same columns than the provided set.static ColumnsColumns.from(BTree.Builder<ColumnMetadata> builder) longColumns.Serializer.serializedSubsetSize(Collection<ColumnMetadata> columns, Columns superset) voidColumns.Serializer.serializeSubset(Collection<ColumnMetadata> columns, Columns superset, DataOutputPlus out) If both ends have a pre-shared superset of the columns we are serializing, we can send them much more efficiently. -
Uses of ColumnMetadata in org.apache.cassandra.db.aggregation
Method parameters in org.apache.cassandra.db.aggregation with type arguments of type ColumnMetadataModifier and TypeMethodDescriptionAggregationSpecification.aggregatePkPrefixFactoryWithSelector(ClusteringComparator comparator, int clusteringPrefixSize, Selector.Factory factory, List<ColumnMetadata> columns) static GroupMakerGroupMaker.newSelectorGroupMaker(ClusteringComparator comparator, int clusteringPrefixSize, Selector selector, List<ColumnMetadata> columns) static GroupMakerGroupMaker.newSelectorGroupMaker(ClusteringComparator comparator, int clusteringPrefixSize, Selector selector, List<ColumnMetadata> columns, GroupingState state) -
Uses of ColumnMetadata in org.apache.cassandra.db.filter
Fields in org.apache.cassandra.db.filter declared as ColumnMetadataModifier and TypeFieldDescriptionprotected final ColumnMetadataColumnSubselection.columnprotected final ColumnMetadataRowFilter.Expression.columnMethods in org.apache.cassandra.db.filter that return ColumnMetadataMethods in org.apache.cassandra.db.filter with parameters of type ColumnMetadataModifier and TypeMethodDescriptionColumnFilter.Builder.add(ColumnMetadata c) RowFilter.add(ColumnMetadata def, Operator op, ByteBuffer value) voidRowFilter.addMapEquality(ColumnMetadata def, ByteBuffer key, Operator op, ByteBuffer value) static ColumnSubselectionColumnSubselection.element(ColumnMetadata column, CellPath elt) abstract booleanColumnFilter.fetchedCellIsQueried(ColumnMetadata column, CellPath path) Whether the provided complex cell (identified by its column and path), which is assumed to be _fetched_ by this filter, is also _queried_ by the user.booleanColumnFilter.SelectionColumnFilter.fetchedCellIsQueried(ColumnMetadata column, CellPath path) booleanColumnFilter.WildCardColumnFilter.fetchedCellIsQueried(ColumnMetadata column, CellPath path) abstract booleanColumnFilter.fetchedColumnIsQueried(ColumnMetadata column) Whether the provided column, which is assumed to be _fetched_ by this filter (so the caller must guarantee thatfetches(column) == true, is also _queried_ by the user.booleanColumnFilter.SelectionColumnFilter.fetchedColumnIsQueried(ColumnMetadata column) Whether the provided complex cell (identified by its column and path), which is assumed to be _fetched_ by this filter, is also _queried_ by the user.booleanColumnFilter.WildCardColumnFilter.fetchedColumnIsQueried(ColumnMetadata column) abstract booleanColumnFilter.fetches(ColumnMetadata column) Whether the provided column is fetched by this filter.booleanColumnFilter.SelectionColumnFilter.fetches(ColumnMetadata column) booleanColumnFilter.WildCardColumnFilter.fetches(ColumnMetadata column) abstract ColumnFilter.TesterColumnFilter.newTester(ColumnMetadata column) Creates a newTesterto efficiently test the inclusion of cells of complex columncolumn.ColumnFilter.SelectionColumnFilter.newTester(ColumnMetadata column) ColumnFilter.WildCardColumnFilter.newTester(ColumnMetadata column) ColumnFilter.Builder.select(ColumnMetadata c, CellPath elt) ColumnFilter.Builder.slice(ColumnMetadata c, CellPath from, CellPath to) static ColumnSubselectionColumnSubselection.slice(ColumnMetadata column, CellPath from, CellPath to) RowFilter.without(ColumnMetadata column, Operator op, ByteBuffer value) Returns a copy of this filter but without the provided expression.Method parameters in org.apache.cassandra.db.filter with type arguments of type ColumnMetadataConstructors in org.apache.cassandra.db.filter with parameters of type ColumnMetadataModifierConstructorDescriptionprotectedColumnSubselection(ColumnMetadata column) protectedExpression(ColumnMetadata column, Operator operator, ByteBuffer value) protectedUserExpression(ColumnMetadata column, Operator operator, ByteBuffer value) -
Uses of ColumnMetadata in org.apache.cassandra.db.marshal
Methods in org.apache.cassandra.db.marshal with parameters of type ColumnMetadata -
Uses of ColumnMetadata in org.apache.cassandra.db.partitions
Methods in org.apache.cassandra.db.partitions that return ColumnMetadata -
Uses of ColumnMetadata in org.apache.cassandra.db.rows
Fields in org.apache.cassandra.db.rows declared as ColumnMetadataMethods in org.apache.cassandra.db.rows that return ColumnMetadataModifier and TypeMethodDescriptionfinal ColumnMetadataColumnData.column()The column this is data for.Methods in org.apache.cassandra.db.rows that return types with arguments of type ColumnMetadataModifier and TypeMethodDescriptionBTreeRow.columns()Row.columns()An in-natural-order collection of the columns for which data (incl.SerializationHelper.iterator(boolean isStatic) SerializationHelper.iterator(boolean isStatic) BTreeRow.searchIterator()Row.searchIterator()An iterator to efficiently search data for a given column.Methods in org.apache.cassandra.db.rows with parameters of type ColumnMetadataModifier and TypeMethodDescriptionvoidBTreeRow.Builder.addComplexDeletion(ColumnMetadata column, DeletionTime complexDeletion) voidRow.Builder.addComplexDeletion(ColumnMetadata column, DeletionTime complexDeletion) Adds a complex deletion.static voidCells.addNonShadowedComplex(ColumnMetadata column, Iterator<Cell<?>> existing, Iterator<Cell<?>> update, DeletionTime deletion, Row.Builder builder) Adds to the builder a representation of the given existing cell that, when merged/reconciled with the given update cell, produces the same result as merging the original with the update.booleanDeserializationHelper.canSkipValue(ColumnMetadata column) Cell.Factory.create(ColumnMetadata column, long timestamp, int ttl, long localDeletionTime, V value, CellPath path) static BufferCellBufferCell.expiring(ColumnMetadata column, long timestamp, int ttl, long nowInSec, ByteBuffer value) static BufferCellBufferCell.expiring(ColumnMetadata column, long timestamp, int ttl, long nowInSec, ByteBuffer value, CellPath path) Cell<?>BTreeRow.getCell(ColumnMetadata c) Cell<?>BTreeRow.getCell(ColumnMetadata c, CellPath path) Cell<?>Row.getCell(ColumnMetadata c) Returns a cell for a simple column.Cell<?>Row.getCell(ColumnMetadata c, CellPath path) Return a cell for a given complex column and cell path.BTreeRow.getColumnData(ColumnMetadata c) Row.getColumnData(ColumnMetadata c) Returns theColumnDatafor the specified column.BTreeRow.getComplexColumnData(ColumnMetadata c) The data for a complex column.booleanDeserializationHelper.includes(ColumnMetadata column) static BufferCellBufferCell.live(ColumnMetadata column, long timestamp, ByteBuffer value) static BufferCellBufferCell.live(ColumnMetadata column, long timestamp, ByteBuffer value, CellPath path) voidComplexColumnData.Builder.newColumn(ColumnMetadata column) voidRowDiffListener.onComplexDeletion(int i, Clustering<?> clustering, ColumnMetadata column, DeletionTime merged, DeletionTime original) Called for every (non-live) complex deletion of any complex column present in either the merged row of inputi.voidBTreeRow.setValue(ColumnMetadata column, CellPath path, ByteBuffer value) voidDeserializationHelper.startOfComplexColumn(ColumnMetadata column) static BufferCellBufferCell.tombstone(ColumnMetadata column, long timestamp, long nowInSec) static BufferCellBufferCell.tombstone(ColumnMetadata column, long timestamp, long nowInSec, CellPath path) static ComplexColumnDataComplexColumnData.unsafeConstruct(ColumnMetadata column, Object[] cells, DeletionTime complexDeletion) Cell<?>ArrayCell.withUpdatedColumn(ColumnMetadata newColumn) Cell<?>BufferCell.withUpdatedColumn(ColumnMetadata newColumn) abstract Cell<?>Cell.withUpdatedColumn(ColumnMetadata newColumn) Cell<?>NativeCell.withUpdatedColumn(ColumnMetadata column) Constructors in org.apache.cassandra.db.rows with parameters of type ColumnMetadataModifierConstructorDescriptionprotectedAbstractCell(ColumnMetadata column) ArrayCell(ColumnMetadata column, long timestamp, int ttl, int localDeletionTimeUnsignedInteger, byte[] value, CellPath path) ArrayCell(ColumnMetadata column, long timestamp, int ttl, long localDeletionTime, byte[] value, CellPath path) BufferCell(ColumnMetadata column, long timestamp, int ttl, int localDeletionTimeUnsignedInteger, ByteBuffer value, CellPath path) BufferCell(ColumnMetadata column, long timestamp, int ttl, long localDeletionTime, ByteBuffer value, CellPath path) protectedCell(ColumnMetadata column) protectedColumnData(ColumnMetadata column) NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, ColumnMetadata column, long timestamp, int ttl, int localDeletionTimeUnsignedInteger, ByteBuffer value, CellPath path) NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, ColumnMetadata column, long timestamp, int ttl, long localDeletionTime, ByteBuffer value, CellPath path) -
Uses of ColumnMetadata in org.apache.cassandra.db.view
Fields in org.apache.cassandra.db.view with type parameters of type ColumnMetadataMethods in org.apache.cassandra.db.view that return ColumnMetadataModifier and TypeMethodDescriptionView.getBaseColumn(ColumnMetadata viewColumn) The base column corresponding to the provided view column.View.getViewColumn(ColumnMetadata baseColumn) The view column corresponding to the provided base column.Methods in org.apache.cassandra.db.view with parameters of type ColumnMetadataModifier and TypeMethodDescriptionView.getBaseColumn(ColumnMetadata viewColumn) The base column corresponding to the provided view column.View.getViewColumn(ColumnMetadata baseColumn) The view column corresponding to the provided base column. -
Uses of ColumnMetadata in org.apache.cassandra.db.virtual
Constructors in org.apache.cassandra.db.virtual with parameters of type ColumnMetadataConstructor parameters in org.apache.cassandra.db.virtual with type arguments of type ColumnMetadataModifierConstructorDescriptionColumnValues(List<ColumnMetadata> metadata, Object... values) Create aColumnValuesfor the specified set of columns. -
Uses of ColumnMetadata in org.apache.cassandra.index
Methods in org.apache.cassandra.index that return types with arguments of type ColumnMetadataModifier and TypeMethodDescriptionstatic Pair<ColumnMetadata,IndexTarget.Type> TargetParser.parse(TableMetadata metadata, String target) static Pair<ColumnMetadata,IndexTarget.Type> TargetParser.parse(TableMetadata metadata, IndexMetadata indexDef) Methods in org.apache.cassandra.index with parameters of type ColumnMetadataModifier and TypeMethodDescriptionbooleanIndex.dependsOn(ColumnMetadata column) Called to determine whether this index targets a specific column.SecondaryIndexManager.getDependentIndexes(ColumnMetadata column) booleanIndex.supportsExpression(ColumnMetadata column, Operator operator) Called to determine whether this index can provide a searcher to execute a query on the supplied column using the specified operator. -
Uses of ColumnMetadata in org.apache.cassandra.index.internal
Fields in org.apache.cassandra.index.internal declared as ColumnMetadataMethods in org.apache.cassandra.index.internal that return ColumnMetadataMethods in org.apache.cassandra.index.internal with parameters of type ColumnMetadataModifier and TypeMethodDescriptiondefault TableMetadata.BuilderCassandraIndexFunctions.addIndexClusteringColumns(TableMetadata.Builder builder, TableMetadata baseMetadata, ColumnMetadata cfDef) Add the clustering columns for a specific type of index table to the a TableMetadata.Builder (which is being used to construct the index table's TableMetadata.booleanCassandraIndex.dependsOn(ColumnMetadata column) default AbstractType<?>CassandraIndexFunctions.getIndexedPartitionKeyType(ColumnMetadata indexedColumn) default AbstractType<?>CassandraIndexFunctions.getIndexedValueType(ColumnMetadata indexedColumn) Returns the type of the the values in the index.booleanCassandraIndex.supportsExpression(ColumnMetadata column, Operator operator) protected booleanCassandraIndex.supportsOperator(ColumnMetadata indexedColumn, Operator operator) Returns true if an index of this type can support search predicates of the form [column] OPERATOR [value] -
Uses of ColumnMetadata in org.apache.cassandra.index.internal.composites
Methods in org.apache.cassandra.index.internal.composites with parameters of type ColumnMetadataModifier and TypeMethodDescriptionbooleanCollectionKeyIndex.supportsOperator(ColumnMetadata indexedColumn, Operator operator) booleanCollectionValueIndex.supportsOperator(ColumnMetadata indexedColumn, Operator operator) -
Uses of ColumnMetadata in org.apache.cassandra.index.internal.keys
Methods in org.apache.cassandra.index.internal.keys with parameters of type ColumnMetadataModifier and TypeMethodDescriptionKeysIndex.addIndexClusteringColumns(TableMetadata.Builder builder, TableMetadataRef baseMetadata, ColumnMetadata cfDef) -
Uses of ColumnMetadata in org.apache.cassandra.index.sai
Methods in org.apache.cassandra.index.sai with parameters of type ColumnMetadataModifier and TypeMethodDescriptionbooleanStorageAttachedIndex.dependsOn(ColumnMetadata column) booleanStorageAttachedIndex.supportsExpression(ColumnMetadata column, Operator operator) -
Uses of ColumnMetadata in org.apache.cassandra.index.sai.disk.v1.vector
Fields in org.apache.cassandra.index.sai.disk.v1.vector declared as ColumnMetadataModifier and TypeFieldDescriptionprotected final ColumnMetadataPrimaryKeyWithScore.columnMetadataMethods in org.apache.cassandra.index.sai.disk.v1.vector with parameters of type ColumnMetadataModifier and TypeMethodDescriptionRowIdWithScore.toPrimaryKeyWithScore(ColumnMetadata columnMetadata, SSTableId sstableId, PrimaryKeyMap primaryKeyMap, long segmentRowIdOffset) Constructors in org.apache.cassandra.index.sai.disk.v1.vector with parameters of type ColumnMetadataModifierConstructorDescriptionPrimaryKeyWithScore(ColumnMetadata columnMetadata, CellSourceIdentifier sourceTable, PrimaryKey primaryKey, float indexScore) RowIdToPrimaryKeyWithScoreIterator(ColumnMetadata column, PrimaryKeyMap.Factory primaryKeyMapFactory, CloseableIterator<RowIdWithScore> scoredRowIdIterator, long segmentRowIdOffset) -
Uses of ColumnMetadata in org.apache.cassandra.index.sai.utils
Methods in org.apache.cassandra.index.sai.utils that return ColumnMetadataMethods in org.apache.cassandra.index.sai.utils that return types with arguments of type ColumnMetadataMethods in org.apache.cassandra.index.sai.utils with parameters of type ColumnMetadataModifier and TypeMethodDescriptionstatic IndexTermTypeIndexTermType.create(ColumnMetadata columnMetadata, List<ColumnMetadata> partitionColumns, IndexTarget.Type indexTargetType) booleanIndexTermType.dependsOn(ColumnMetadata columnMetadata) Cell<?>RowWithSource.getCell(ColumnMetadata c) Cell<?>RowWithSource.getCell(ColumnMetadata c, CellPath path) RowWithSource.getColumnData(ColumnMetadata c) RowWithSource.getComplexColumnData(ColumnMetadata c) Cell<?>CellWithSource.withUpdatedColumn(ColumnMetadata newColumn) Method parameters in org.apache.cassandra.index.sai.utils with type arguments of type ColumnMetadataModifier and TypeMethodDescriptionstatic IndexTermTypeIndexTermType.create(ColumnMetadata columnMetadata, List<ColumnMetadata> partitionColumns, IndexTarget.Type indexTargetType) -
Uses of ColumnMetadata in org.apache.cassandra.index.sasi
Methods in org.apache.cassandra.index.sasi with parameters of type ColumnMetadataModifier and TypeMethodDescriptionbooleanSASIIndex.dependsOn(ColumnMetadata column) booleanSASIIndex.supportsExpression(ColumnMetadata column, Operator operator) Method parameters in org.apache.cassandra.index.sasi with type arguments of type ColumnMetadataModifier and TypeMethodDescriptionprotected static PerSSTableIndexWriterSASIIndex.newWriter(AbstractType<?> keyValidator, Descriptor descriptor, Map<ColumnMetadata, ColumnIndex> indexes, OperationType opType) -
Uses of ColumnMetadata in org.apache.cassandra.index.sasi.analyzer
Methods in org.apache.cassandra.index.sasi.analyzer with parameters of type ColumnMetadataModifier and TypeMethodDescriptionvoidAbstractAnalyzer.validate(Map<String, String> options, ColumnMetadata cm) voidNonTokenizingAnalyzer.validate(Map<String, String> options, ColumnMetadata cm) -
Uses of ColumnMetadata in org.apache.cassandra.index.sasi.conf
Methods in org.apache.cassandra.index.sasi.conf that return ColumnMetadataMethods in org.apache.cassandra.index.sasi.conf with parameters of type ColumnMetadataModifier and TypeMethodDescriptionstatic IndexModeIndexMode.getMode(ColumnMetadata column, Map<String, String> indexOptions) static IndexModeIndexMode.getMode(ColumnMetadata column, Optional<IndexMetadata> config) static ByteBufferColumnIndex.getValueOf(ColumnMetadata column, Row row, long nowInSecs) static voidIndexMode.validateAnalyzer(Map<String, String> indexOptions, ColumnMetadata cd) Constructors in org.apache.cassandra.index.sasi.conf with parameters of type ColumnMetadataModifierConstructorDescriptionColumnIndex(AbstractType<?> keyValidator, ColumnMetadata column, IndexMetadata metadata) -
Uses of ColumnMetadata in org.apache.cassandra.index.sasi.disk
Fields in org.apache.cassandra.index.sasi.disk with type parameters of type ColumnMetadataModifier and TypeFieldDescriptionprotected final Map<ColumnMetadata,PerSSTableIndexWriter.Index> PerSSTableIndexWriter.indexesMethods in org.apache.cassandra.index.sasi.disk with parameters of type ColumnMetadataConstructor parameters in org.apache.cassandra.index.sasi.disk with type arguments of type ColumnMetadataModifierConstructorDescriptionPerSSTableIndexWriter(AbstractType<?> keyValidator, Descriptor descriptor, OperationType source, Map<ColumnMetadata, ColumnIndex> supportedIndexes) -
Uses of ColumnMetadata in org.apache.cassandra.index.sasi.memory
Fields in org.apache.cassandra.index.sasi.memory declared as ColumnMetadataModifier and TypeFieldDescriptionprotected final ColumnMetadataTrieMemIndex.ConcurrentTrie.definitionprotected final ColumnMetadataTrieMemIndex.ConcurrentTrie.definition -
Uses of ColumnMetadata in org.apache.cassandra.index.sasi.plan
Fields in org.apache.cassandra.index.sasi.plan with type parameters of type ColumnMetadataModifier and TypeFieldDescriptionprotected final com.google.common.collect.ListMultimap<ColumnMetadata,Expression> Operation.expressionsMethods in org.apache.cassandra.index.sasi.plan that return types with arguments of type ColumnMetadataModifier and TypeMethodDescriptionprotected static com.google.common.collect.ListMultimap<ColumnMetadata,Expression> Operation.analyzeGroup(QueryController controller, Operation.OperationType op, List<RowFilter.Expression> expressions) -
Uses of ColumnMetadata in org.apache.cassandra.schema
Fields in org.apache.cassandra.schema declared as ColumnMetadataModifier and TypeFieldDescriptionfinal ColumnMetadataDroppedColumn.columnfinal ColumnMetadataTableMetadata.CompactTableMetadata.compactValueColumnFields in org.apache.cassandra.schema with type parameters of type ColumnMetadataModifier and TypeFieldDescriptionprotected final com.google.common.collect.ImmutableList<ColumnMetadata>TableMetadata.clusteringColumnsprotected final com.google.common.collect.ImmutableList<ColumnMetadata>TableMetadata.partitionKeyColumnsMethods in org.apache.cassandra.schema that return ColumnMetadataModifier and TypeMethodDescriptionstatic ColumnMetadataColumnMetadata.clusteringColumn(String keyspace, String table, String name, AbstractType<?> type, int position) static ColumnMetadataColumnMetadata.clusteringColumn(TableMetadata table, ByteBuffer name, AbstractType<?> type, int position) ColumnMetadata.copy()static ColumnMetadataSchemaKeyspace.createColumnFromRow(UntypedResultSet.Row row, Types types, UserFunctions functions) TableMetadata.Builder.getColumn(ByteBuffer name) TableMetadata.Builder.getColumn(ColumnIdentifier identifier) TableMetadata.getColumn(ByteBuffer name) TableMetadata.getColumn(ColumnIdentifier name) Returns the ColumnMetadata forname.static ColumnMetadataTableMetadata.CompactTableMetadata.getCompactValueColumn(RegularAndStaticColumns columns) TableMetadata.getDroppedColumn(ByteBuffer name) TableMetadata.getDroppedColumn(ByteBuffer name, boolean isStatic) Returns a "fake" ColumnMetadata corresponding to the dropped columnnameofnullif there is no such dropped column.TableMetadata.CompactTableMetadata.getExistingColumn(ColumnIdentifier name) TableMetadata.getExistingColumn(ColumnIdentifier name) Returns the column of the provided name if it exists, but throws a user-visible exception if that column doesn't exist.static ColumnMetadataColumnMetadata.partitionKeyColumn(String keyspace, String table, String name, AbstractType<?> type, int position) static ColumnMetadataColumnMetadata.partitionKeyColumn(TableMetadata table, ByteBuffer name, AbstractType<?> type, int position) static ColumnMetadataColumnMetadata.regularColumn(String keyspace, String table, String name, AbstractType<?> type) static ColumnMetadataColumnMetadata.regularColumn(TableMetadata table, ByteBuffer name, AbstractType<?> type) static ColumnMetadataColumnMetadata.staticColumn(String keyspace, String table, String name, AbstractType<?> type) static ColumnMetadataColumnMetadata.staticColumn(TableMetadata table, ByteBuffer name, AbstractType<?> type) ColumnMetadata.withNewMask(ColumnMask newMask) ColumnMetadata.withNewName(ColumnIdentifier newName) ColumnMetadata.withNewType(AbstractType<?> newType) Methods in org.apache.cassandra.schema that return types with arguments of type ColumnMetadataModifier and TypeMethodDescriptionTableMetadata.allColumnsInCreateOrder()Returns an iterator over all column definitions that respect the order of the CREATE statement.TableMetadata.CompactTableMetadata.allColumnsInCreateOrder()TableMetadata.allColumnsInSelectOrder()TableMetadata.CompactTableMetadata.allColumnsInSelectOrder()com.google.common.collect.ImmutableList<ColumnMetadata>TableMetadata.clusteringColumns()TableMetadata.Builder.columns()com.google.common.collect.ImmutableCollection<ColumnMetadata>TableMetadata.columns()com.google.common.collect.ImmutableList<ColumnMetadata>TableMetadata.CompactTableMetadata.createStatementClusteringColumns()com.google.common.collect.ImmutableList<ColumnMetadata>TableMetadata.partitionKeyColumns()TableMetadata.primaryKeyColumns()Methods in org.apache.cassandra.schema with parameters of type ColumnMetadataModifier and TypeMethodDescriptionTableMetadata.Builder.addColumn(ColumnMetadata column) intColumnMetadata.compareTo(ColumnMetadata other) booleanTableMetadata.CompactTableMetadata.isHiddenColumn(ColumnMetadata def) TableMetadata.Builder.recordColumnDrop(ColumnMetadata column, long timeMicros) ViewMetadata.withAddedRegularColumn(ColumnMetadata column) Method parameters in org.apache.cassandra.schema with type arguments of type ColumnMetadataModifier and TypeMethodDescriptionTableMetadata.Builder.addColumns(Iterable<ColumnMetadata> columns) ColumnMetadata.newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, List<ColumnMetadata> defs, VariableSpecifications boundNames) booleanColumnMetadata.selectColumns(Predicate<ColumnMetadata> predicate) static StringColumnMetadata.toCQLString(Iterable<ColumnMetadata> defs) static StringColumnMetadata.toCQLString(Iterator<ColumnMetadata> defs) static Collection<ColumnIdentifier>ColumnMetadata.toIdentifiers(Collection<ColumnMetadata> definitions) Converts the specified column definitions into column identifiers.Constructors in org.apache.cassandra.schema with parameters of type ColumnMetadata -
Uses of ColumnMetadata in org.apache.cassandra.service.paxos.uncommitted
Methods in org.apache.cassandra.service.paxos.uncommitted with parameters of type ColumnMetadataModifier and TypeMethodDescriptionbooleanPaxosUncommittedIndex.dependsOn(ColumnMetadata column) booleanPaxosUncommittedIndex.supportsExpression(ColumnMetadata column, Operator operator)