Uses of Class
org.apache.cassandra.schema.ColumnMetadata
-
-
Uses of ColumnMetadata in org.apache.cassandra.cache
Methods in org.apache.cassandra.cache with parameters of type ColumnMetadata Modifier and Type Method Description static CounterCacheKeyCounterCacheKey. create(TableMetadata tableMetadata, java.nio.ByteBuffer partitionKey, Clustering<?> clustering, ColumnMetadata c, CellPath path) -
Uses of ColumnMetadata in org.apache.cassandra.cql3
Fields in org.apache.cassandra.cql3 declared as ColumnMetadata Modifier and Type Field Description ColumnMetadataOperation. columnMethods in org.apache.cassandra.cql3 that return types with arguments of type ColumnMetadata Modifier and Type Method Description protected java.util.List<ColumnMetadata>MultiColumnRelation. receivers(TableMetadata table)Methods in org.apache.cassandra.cql3 with parameters of type ColumnMetadata Modifier and Type Method Description Cell<?>UpdateParameters. addCell(ColumnMetadata column, java.nio.ByteBuffer value)Cell<?>UpdateParameters. addCell(ColumnMetadata column, CellPath path, java.nio.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)OperationOperation.Addition. prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState)OperationOperation.ColumnDeletion. prepare(java.lang.String keyspace, ColumnMetadata receiver, TableMetadata metadata)OperationOperation.ElementDeletion. prepare(java.lang.String keyspace, ColumnMetadata receiver, TableMetadata metadata)OperationOperation.FieldDeletion. prepare(java.lang.String keyspace, ColumnMetadata receiver, TableMetadata metadata)OperationOperation.Prepend. prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState)OperationOperation.RawDeletion. prepare(java.lang.String keyspace, ColumnMetadata receiver, TableMetadata metadata)This method validates the operation (i.e.OperationOperation.RawUpdate. prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState)This method validates the operation (i.e.OperationOperation.SetElement. prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState)OperationOperation.SetField. prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState)OperationOperation.SetValue. prepare(TableMetadata metadata, ColumnMetadata receiver, boolean canReadExistingState)OperationOperation.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 ColumnMetadata Modifier and Type Method Description TermQueryOptions. getJsonColumnValue(int bindIndex, ColumnIdentifier columnName, java.util.Collection<ColumnMetadata> expectedReceivers)Returns the term corresponding to columncolumnNamein the JSON value of bind indexbindIndex.static java.util.Map<ColumnIdentifier,Term>Json. parseJson(java.lang.String jsonString, java.util.Collection<ColumnMetadata> expectedReceivers)Given a JSON string, return a map of columns to their values for the insert.Json.PreparedJson.Literal. prepareAndCollectMarkers(TableMetadata metadata, java.util.Collection<ColumnMetadata> receivers, VariableSpecifications boundNames)Json.PreparedJson.Marker. prepareAndCollectMarkers(TableMetadata metadata, java.util.Collection<ColumnMetadata> receivers, VariableSpecifications boundNames)Json.PreparedJson.Raw. prepareAndCollectMarkers(TableMetadata metadata, java.util.Collection<ColumnMetadata> receivers, VariableSpecifications boundNames) -
Uses of ColumnMetadata in org.apache.cassandra.cql3.conditions
Fields in org.apache.cassandra.cql3.conditions declared as ColumnMetadata Modifier and Type Field Description ColumnMetadataColumnCondition.Bound. columnColumnMetadataColumnCondition. columnMethods in org.apache.cassandra.cql3.conditions that return types with arguments of type ColumnMetadata Modifier and Type Method Description java.util.Collection<ColumnMetadata>ColumnConditions. getColumns()java.lang.Iterable<ColumnMetadata>Conditions. getColumns()Returns the column definitions to which apply the conditions.Methods in org.apache.cassandra.cql3.conditions with parameters of type ColumnMetadata Modifier and Type Method Description static 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 Cell<?>ColumnCondition. getCell(Row row, ColumnMetadata column)protected static Cell<?>ColumnCondition. getCell(Row row, ColumnMetadata column, CellPath path)protected static java.util.Iterator<Cell<?>>ColumnCondition. getCells(Row row, ColumnMetadata column)ColumnConditionColumnCondition.Raw. prepare(java.lang.String keyspace, ColumnMetadata receiver, TableMetadata cfm)Constructors in org.apache.cassandra.cql3.conditions with parameters of type ColumnMetadata Constructor Description Bound(ColumnMetadata column, Operator operator) -
Uses of ColumnMetadata in org.apache.cassandra.cql3.restrictions
Fields in org.apache.cassandra.cql3.restrictions declared as ColumnMetadata Modifier and Type Field Description protected ColumnMetadataSingleColumnRestriction. columnDefThe definition of the column to which apply the restriction.Fields in org.apache.cassandra.cql3.restrictions with type parameters of type ColumnMetadata Modifier and Type Field Description protected java.util.List<ColumnMetadata>MultiColumnRestriction. columnDefsThe columns to which the restriction apply.protected java.util.List<ColumnMetadata>TokenRestriction. columnDefsThe definition of the columns to which apply the token restriction.Methods in org.apache.cassandra.cql3.restrictions that return ColumnMetadata Modifier and Type Method Description ColumnMetadataMultiColumnRestriction. getFirstColumn()ColumnMetadataRestriction. getFirstColumn()Returns the definition of the first column.ColumnMetadataSingleColumnRestriction. getFirstColumn()ColumnMetadataTokenRestriction. getFirstColumn()ColumnMetadataMultiColumnRestriction. getLastColumn()ColumnMetadataRestriction. getLastColumn()Returns the definition of the last column.ColumnMetadataSingleColumnRestriction. getLastColumn()ColumnMetadataTokenRestriction. getLastColumn()Methods in org.apache.cassandra.cql3.restrictions that return types with arguments of type ColumnMetadata Modifier and Type Method Description java.util.List<ColumnMetadata>MultiColumnRestriction. getColumnDefs()java.util.List<ColumnMetadata>Restriction. getColumnDefs()Returns the column definitions in position order.java.util.List<ColumnMetadata>SingleColumnRestriction. getColumnDefs()java.util.List<ColumnMetadata>TokenRestriction. getColumnDefs()java.util.Set<ColumnMetadata>StatementRestrictions. nonPKRestrictedColumns(boolean includeNotNullRestrictions)Returns the non-PK column that are restricted.java.util.Set<ColumnMetadata>StatementRestrictions. notNullColumns()Methods in org.apache.cassandra.cql3.restrictions with parameters of type ColumnMetadata Modifier and Type Method Description java.util.Set<Restriction>Restrictions. getRestrictions(ColumnMetadata columnDef)Returns the restrictions applied to the specified column.java.util.Set<Restriction>TokenRestriction. getRestrictions(ColumnMetadata columnDef)booleanStatementRestrictions. isColumnRestrictedByEq(ColumnMetadata columnDef)Checks if the specified column is restricted by an EQ restriction.booleanStatementRestrictions. isRestricted(ColumnMetadata column)Constructors in org.apache.cassandra.cql3.restrictions with parameters of type ColumnMetadata Constructor Description 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, java.util.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 ColumnMetadata Constructor Description EQRestriction(java.util.List<ColumnMetadata> columnDefs, Term value)EQRestriction(TableMetadata table, java.util.List<ColumnMetadata> columnDefs, Term value)INRestriction(java.util.List<ColumnMetadata> columnDefs)InRestrictionWithMarker(java.util.List<ColumnMetadata> columnDefs, AbstractMarker marker)InRestrictionWithValues(java.util.List<ColumnMetadata> columnDefs, java.util.List<Term> values)MultiColumnRestriction(java.util.List<ColumnMetadata> columnDefs)NotNullRestriction(java.util.List<ColumnMetadata> columnDefs)SliceRestriction(java.util.List<ColumnMetadata> columnDefs, Bound bound, boolean inclusive, Term term)SliceRestriction(TableMetadata table, java.util.List<ColumnMetadata> columnDefs, Bound bound, boolean inclusive, Term term)TokenRestriction(TableMetadata metadata, java.util.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 ColumnMetadata Modifier and Type Field Description ColumnMetadataSelectable.WritetimeOrTTL. columnColumnMetadataSimpleSelector. columnFields in org.apache.cassandra.cql3.selection with type parameters of type ColumnMetadata Modifier and Type Field Description protected java.util.List<ColumnMetadata>Selection. orderingColumnsMethods in org.apache.cassandra.cql3.selection that return ColumnMetadata Modifier and Type Method Description ColumnMetadataSimpleSelector.SimpleSelectorFactory. getColumn()ColumnMetadataSelectable.RawIdentifier. prepare(TableMetadata cfm)Methods in org.apache.cassandra.cql3.selection that return types with arguments of type ColumnMetadata Modifier and Type Method Description java.util.List<ColumnMetadata>Selection. 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 ColumnMetadata Modifier and Type Method Description default intSelectable. addAndGetIndex(ColumnMetadata def, java.util.List<ColumnMetadata> l)protected SelectionColumnMappingSelectionColumnMapping. addMapping(ColumnSpecification colSpec, ColumnMetadata column)protected intSelection. getColumnIndex(ColumnMetadata c)Returns the index of the specified columnjava.lang.IntegerSelection. 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)Method parameters in org.apache.cassandra.cql3.selection with type arguments of type ColumnMetadata Modifier and Type Method Description default intSelectable. addAndGetIndex(ColumnMetadata def, java.util.List<ColumnMetadata> l)protected SelectionColumnMappingSelectionColumnMapping. addMapping(ColumnSpecification colSpec, java.lang.Iterable<ColumnMetadata> columns)static SelectionSelection. forColumns(TableMetadata table, java.util.List<ColumnMetadata> columns, boolean returnStaticContentOnPartitionWithNoRows)static SelectionSelection. fromSelectors(TableMetadata table, java.util.List<Selectable> selectables, VariableSpecifications boundNames, java.util.Set<ColumnMetadata> orderingColumns, java.util.Set<ColumnMetadata> nonPKRestrictedColumns, boolean hasGroupBy, boolean isJson, boolean returnStaticContentOnPartitionWithNoRows)Selector.FactorySelectable.BetweenParenthesesOrWithTuple. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithCast. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithElementSelection. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithFieldSelection. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithFunction. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithList. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithMapOrUdt. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithSet. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithSliceSelection. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithTerm. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithToJSonFunction. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WithTypeHint. newSelectorFactory(TableMetadata cfm, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)Selector.FactorySelectable.WritetimeOrTTL. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)booleanSelectable.BetweenParenthesesOrWithTuple. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)Checks if thisSelectableselect columns matching the specified predicate.static booleanSelectable. selectColumns(java.util.List<Selectable> selectables, java.util.function.Predicate<ColumnMetadata> predicate)Checks if the specified Selectables select columns matching the specified predicate.booleanSelectable.WithCast. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WithElementSelection. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WithFieldSelection. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WithFunction. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WithList. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WithMapOrUdt. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WithSet. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WithSliceSelection. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WithTerm. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WithToJSonFunction. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WithTypeHint. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)booleanSelectable.WritetimeOrTTL. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)protected static SelectionColumnMappingSelectionColumnMapping. simpleMapping(java.lang.Iterable<ColumnMetadata> columnDefinitions)Constructors in org.apache.cassandra.cql3.selection with parameters of type ColumnMetadata Constructor Description WritetimeOrTTL(ColumnMetadata column, boolean isWritetime)Constructor parameters in org.apache.cassandra.cql3.selection with type arguments of type ColumnMetadata Constructor Description Selection(TableMetadata table, java.util.List<ColumnMetadata> selectedColumns, java.util.Set<ColumnMetadata> orderingColumns, SelectionColumnMapping columnMapping, org.apache.cassandra.cql3.selection.ColumnFilterFactory columnFilterFactory, boolean isJson)Selection(TableMetadata table, java.util.List<ColumnMetadata> selectedColumns, java.util.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 ColumnMetadata Modifier and Type Method Description java.lang.Iterable<ColumnMetadata>ModificationStatement. getColumnsWithConditions()Methods in org.apache.cassandra.cql3.statements with parameters of type ColumnMetadata Modifier and Type Method Description BoundBound. 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 ColumnMetadata Modifier and Type Field Description static ColumnMetadataColumns. FIRST_COMPLEX_REGULARstatic ColumnMetadataColumns. FIRST_COMPLEX_STATICMethods in org.apache.cassandra.db that return ColumnMetadata Modifier and Type Method Description ColumnMetadataColumns. getComplex(int i)Returns the ith complex column of this object.ColumnMetadataColumns. getSimple(int i)Returns the ith simple column of this object.Methods in org.apache.cassandra.db that return types with arguments of type ColumnMetadata Modifier and Type Method Description java.util.Iterator<ColumnMetadata>Columns. complexColumns()Iterator over the complex columns of this object.java.util.function.Predicate<ColumnMetadata>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.BTreeSearchIterator<ColumnMetadata,ColumnMetadata>Columns. iterator()Iterator over all the columns of this object.BTreeSearchIterator<ColumnMetadata,ColumnMetadata>Columns. iterator()Iterator over all the columns of this object.java.util.Iterator<ColumnMetadata>RegularAndStaticColumns. iterator()java.util.Iterator<ColumnMetadata>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).java.util.Iterator<ColumnMetadata>RegularAndStaticColumns. selectOrderIterator()java.util.Iterator<ColumnMetadata>Columns. simpleColumns()Iterator over the simple columns of this object.Methods in org.apache.cassandra.db with parameters of type ColumnMetadata Modifier and Type Method Description RegularAndStaticColumns.BuilderRegularAndStaticColumns.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)ClockAndCountColumnFamilyStore. getCachedCounter(java.nio.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(java.nio.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).ColumnsColumns. without(ColumnMetadata column)Returns the equivalent of those columns but with the provided column removed.RegularAndStaticColumnsRegularAndStaticColumns. without(ColumnMetadata column)Method parameters in org.apache.cassandra.db with type arguments of type ColumnMetadata Modifier and Type Method Description RegularAndStaticColumns.BuilderRegularAndStaticColumns.Builder. addAll(java.lang.Iterable<ColumnMetadata> columns)voidColumns. apply(java.util.function.Consumer<ColumnMetadata> function)Apply a function to each column definition in forwards or reversed order.abstract java.util.NavigableSet<ClusteringBound<?>>MultiCBuilder. buildBoundForSlice(boolean isStart, boolean isInclusive, boolean isOtherBoundInclusive, java.util.List<ColumnMetadata> columnDefs)Builds theClusteringBounds for slice restrictions.static ColumnsColumns. from(java.util.Collection<ColumnMetadata> s)Returns a newColumnsobject holding the same columns than the provided set.static ColumnsColumns. from(BTree.Builder<ColumnMetadata> builder)longColumns.Serializer. serializedSubsetSize(java.util.Collection<ColumnMetadata> columns, Columns superset)voidColumns.Serializer. serializeSubset(java.util.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.filter
Fields in org.apache.cassandra.db.filter declared as ColumnMetadata Modifier and Type Field Description protected ColumnMetadataColumnSubselection. columnprotected ColumnMetadataRowFilter.Expression. columnMethods in org.apache.cassandra.db.filter that return ColumnMetadata Modifier and Type Method Description ColumnMetadataColumnSubselection. column()ColumnMetadataRowFilter.Expression. column()Methods in org.apache.cassandra.db.filter with parameters of type ColumnMetadata Modifier and Type Method Description ColumnFilter.BuilderColumnFilter.Builder. add(ColumnMetadata c)RowFilter.SimpleExpressionRowFilter. add(ColumnMetadata def, Operator op, java.nio.ByteBuffer value)voidRowFilter. addMapEquality(ColumnMetadata def, java.nio.ByteBuffer key, Operator op, java.nio.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.TesterColumnFilter.SelectionColumnFilter. newTester(ColumnMetadata column)ColumnFilter.TesterColumnFilter.WildCardColumnFilter. newTester(ColumnMetadata column)ColumnFilter.BuilderColumnFilter.Builder. select(ColumnMetadata c, CellPath elt)ColumnFilter.BuilderColumnFilter.Builder. slice(ColumnMetadata c, CellPath from, CellPath to)static ColumnSubselectionColumnSubselection. slice(ColumnMetadata column, CellPath from, CellPath to)RowFilterRowFilter. without(ColumnMetadata column, Operator op, java.nio.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 ColumnMetadata Modifier and Type Method Description ColumnFilter.BuilderColumnFilter.Builder. addAll(java.lang.Iterable<ColumnMetadata> columns)Constructors in org.apache.cassandra.db.filter with parameters of type ColumnMetadata Constructor Description ColumnSubselection(ColumnMetadata column)Expression(ColumnMetadata column, Operator operator, java.nio.ByteBuffer value)UserExpression(ColumnMetadata column, Operator operator, java.nio.ByteBuffer value) -
Uses of ColumnMetadata in org.apache.cassandra.db.marshal
Methods in org.apache.cassandra.db.marshal with parameters of type ColumnMetadata Modifier and Type Method Description Cell<V>ValueAccessor.ObjectFactory. cell(ColumnMetadata column, long timestamp, int ttl, int localDeletionTime, V value, CellPath path) -
Uses of ColumnMetadata in org.apache.cassandra.db.partitions
Methods in org.apache.cassandra.db.partitions that return ColumnMetadata Modifier and Type Method Description ColumnMetadataPartitionUpdate.CounterMark. column() -
Uses of ColumnMetadata in org.apache.cassandra.db.rows
Fields in org.apache.cassandra.db.rows declared as ColumnMetadata Modifier and Type Field Description protected ColumnMetadataColumnData. columnMethods in org.apache.cassandra.db.rows that return ColumnMetadata Modifier and Type Method Description ColumnMetadataColumnData. column()The column this is data for.Methods in org.apache.cassandra.db.rows that return types with arguments of type ColumnMetadata Modifier and Type Method Description java.util.Collection<ColumnMetadata>BTreeRow. columns()java.util.Collection<ColumnMetadata>Row. columns()An in-natural-order collection of the columns for which data (incl.SearchIterator<ColumnMetadata,ColumnMetadata>SerializationHelper. iterator(boolean isStatic)SearchIterator<ColumnMetadata,ColumnMetadata>SerializationHelper. iterator(boolean isStatic)BTreeSearchIterator<ColumnMetadata,ColumnData>BTreeRow. searchIterator()SearchIterator<ColumnMetadata,ColumnData>Row. searchIterator()An iterator to efficiently search data for a given column.Methods in org.apache.cassandra.db.rows with parameters of type ColumnMetadata Modifier and Type Method Description voidBTreeRow.Builder. addComplexDeletion(ColumnMetadata column, DeletionTime complexDeletion)voidRow.Builder. addComplexDeletion(ColumnMetadata column, DeletionTime complexDeletion)Adds a complex deletion.static voidCells. addNonShadowedComplex(ColumnMetadata column, java.util.Iterator<Cell<?>> existing, java.util.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<V>Cell.Factory. create(ColumnMetadata column, long timestamp, int ttl, int localDeletionTime, V value, CellPath path)static BufferCellBufferCell. expiring(ColumnMetadata column, long timestamp, int ttl, int nowInSec, java.nio.ByteBuffer value)static BufferCellBufferCell. expiring(ColumnMetadata column, long timestamp, int ttl, int nowInSec, java.nio.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.ColumnDataBTreeRow. getColumnData(ColumnMetadata c)ColumnDataRow. getColumnData(ColumnMetadata c)The data for a regular or complex column.ComplexColumnDataBTreeRow. getComplexColumnData(ColumnMetadata c)ComplexColumnDataRow. getComplexColumnData(ColumnMetadata c)The data for a complex column.booleanDeserializationHelper. includes(ColumnMetadata column)static BufferCellBufferCell. live(ColumnMetadata column, long timestamp, java.nio.ByteBuffer value)static BufferCellBufferCell. live(ColumnMetadata column, long timestamp, java.nio.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, java.nio.ByteBuffer value)voidDeserializationHelper. startOfComplexColumn(ColumnMetadata column)static BufferCellBufferCell. tombstone(ColumnMetadata column, long timestamp, int nowInSec)static BufferCellBufferCell. tombstone(ColumnMetadata column, long timestamp, int nowInSec, CellPath path)static ComplexColumnDataComplexColumnData. unsafeConstruct(ColumnMetadata column, java.lang.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 ColumnMetadata Constructor Description AbstractCell(ColumnMetadata column)ArrayCell(ColumnMetadata column, long timestamp, int ttl, int localDeletionTime, byte[] value, CellPath path)BufferCell(ColumnMetadata column, long timestamp, int ttl, int localDeletionTime, java.nio.ByteBuffer value, CellPath path)Cell(ColumnMetadata column)ColumnData(ColumnMetadata column)NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, ColumnMetadata column, long timestamp, int ttl, int localDeletionTime, java.nio.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 ColumnMetadata Modifier and Type Field Description java.util.List<ColumnMetadata>View. baseNonPKColumnsInViewPKMethods in org.apache.cassandra.db.view that return ColumnMetadata Modifier and Type Method Description ColumnMetadataView. getBaseColumn(ColumnMetadata viewColumn)The base column corresponding to the provided view column.ColumnMetadataView. getViewColumn(ColumnMetadata baseColumn)The view column corresponding to the provided base column.Methods in org.apache.cassandra.db.view with parameters of type ColumnMetadata Modifier and Type Method Description ColumnMetadataView. getBaseColumn(ColumnMetadata viewColumn)The base column corresponding to the provided view column.ColumnMetadataView. 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 ColumnMetadata Constructor Description SerializationException(ColumnMetadata c, java.lang.Throwable t)Constructor parameters in org.apache.cassandra.db.virtual with type arguments of type ColumnMetadata Constructor Description ColumnValues(java.util.List<ColumnMetadata> metadata, java.lang.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 ColumnMetadata Modifier and Type Method Description static Pair<ColumnMetadata,IndexTarget.Type>TargetParser. parse(TableMetadata metadata, java.lang.String target)static Pair<ColumnMetadata,IndexTarget.Type>TargetParser. parse(TableMetadata metadata, IndexMetadata indexDef)Methods in org.apache.cassandra.index with parameters of type ColumnMetadata Modifier and Type Method Description booleanIndex. dependsOn(ColumnMetadata column)Called to determine whether this index targets a specific column.java.util.Set<IndexMetadata>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 ColumnMetadata Modifier and Type Field Description protected ColumnMetadataCassandraIndex. indexedColumnMethods in org.apache.cassandra.index.internal that return ColumnMetadata Modifier and Type Method Description ColumnMetadataCassandraIndex. getIndexedColumn()Methods in org.apache.cassandra.index.internal with parameters of type ColumnMetadata Modifier and Type Method Description default 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. 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 ColumnMetadata Modifier and Type Method Description booleanCollectionKeyIndex. 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 ColumnMetadata Modifier and Type Method Description TableMetadata.BuilderKeysIndex. addIndexClusteringColumns(TableMetadata.Builder builder, TableMetadataRef baseMetadata, ColumnMetadata cfDef) -
Uses of ColumnMetadata in org.apache.cassandra.index.sasi
Methods in org.apache.cassandra.index.sasi with parameters of type ColumnMetadata Modifier and Type Method Description booleanSASIIndex. dependsOn(ColumnMetadata column)booleanSASIIndex. supportsExpression(ColumnMetadata column, Operator operator)Method parameters in org.apache.cassandra.index.sasi with type arguments of type ColumnMetadata Modifier and Type Method Description protected static PerSSTableIndexWriterSASIIndex. newWriter(AbstractType<?> keyValidator, Descriptor descriptor, java.util.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 ColumnMetadata Modifier and Type Method Description voidAbstractAnalyzer. validate(java.util.Map<java.lang.String,java.lang.String> options, ColumnMetadata cm)voidNonTokenizingAnalyzer. validate(java.util.Map<java.lang.String,java.lang.String> options, ColumnMetadata cm) -
Uses of ColumnMetadata in org.apache.cassandra.index.sasi.conf
Methods in org.apache.cassandra.index.sasi.conf that return ColumnMetadata Modifier and Type Method Description ColumnMetadataColumnIndex. getDefinition()Methods in org.apache.cassandra.index.sasi.conf with parameters of type ColumnMetadata Modifier and Type Method Description static IndexModeIndexMode. getMode(ColumnMetadata column, java.util.Map<java.lang.String,java.lang.String> indexOptions)static IndexModeIndexMode. getMode(ColumnMetadata column, java.util.Optional<IndexMetadata> config)static java.nio.ByteBufferColumnIndex. getValueOf(ColumnMetadata column, Row row, int nowInSecs)static voidIndexMode. validateAnalyzer(java.util.Map<java.lang.String,java.lang.String> indexOptions, ColumnMetadata cd)Constructors in org.apache.cassandra.index.sasi.conf with parameters of type ColumnMetadata Constructor Description ColumnIndex(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 ColumnMetadata Modifier and Type Field Description protected java.util.Map<ColumnMetadata,PerSSTableIndexWriter.Index>PerSSTableIndexWriter. indexesMethods in org.apache.cassandra.index.sasi.disk with parameters of type ColumnMetadata Modifier and Type Method Description PerSSTableIndexWriter.IndexPerSSTableIndexWriter. getIndex(ColumnMetadata columnDef)Constructor parameters in org.apache.cassandra.index.sasi.disk with type arguments of type ColumnMetadata Constructor Description PerSSTableIndexWriter(AbstractType<?> keyValidator, Descriptor descriptor, OperationType source, java.util.Map<ColumnMetadata,ColumnIndex> supportedIndexes) -
Uses of ColumnMetadata in org.apache.cassandra.index.sasi.plan
Fields in org.apache.cassandra.index.sasi.plan with type parameters of type ColumnMetadata Modifier and Type Field Description protected com.google.common.collect.ListMultimap<ColumnMetadata,Expression>Operation. expressionsMethods in org.apache.cassandra.index.sasi.plan that return types with arguments of type ColumnMetadata Modifier and Type Method Description protected static com.google.common.collect.ListMultimap<ColumnMetadata,Expression>Operation. analyzeGroup(QueryController controller, Operation.OperationType op, java.util.List<RowFilter.Expression> expressions) -
Uses of ColumnMetadata in org.apache.cassandra.schema
Fields in org.apache.cassandra.schema declared as ColumnMetadata Modifier and Type Field Description ColumnMetadataDroppedColumn. columnColumnMetadataTableMetadata.CompactTableMetadata. compactValueColumnFields in org.apache.cassandra.schema with type parameters of type ColumnMetadata Modifier and Type Field Description protected com.google.common.collect.ImmutableList<ColumnMetadata>TableMetadata. clusteringColumnsprotected com.google.common.collect.ImmutableList<ColumnMetadata>TableMetadata. partitionKeyColumnsMethods in org.apache.cassandra.schema that return ColumnMetadata Modifier and Type Method Description static ColumnMetadataColumnMetadata. clusteringColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type, int position)static ColumnMetadataColumnMetadata. clusteringColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type, int position)ColumnMetadataColumnMetadata. copy()ColumnMetadataTableMetadata.Builder. getColumn(java.nio.ByteBuffer name)ColumnMetadataTableMetadata.Builder. getColumn(ColumnIdentifier identifier)ColumnMetadataTableMetadata. getColumn(java.nio.ByteBuffer name)ColumnMetadataTableMetadata. getColumn(ColumnIdentifier name)Returns the ColumnMetadata forname.static ColumnMetadataTableMetadata.CompactTableMetadata. getCompactValueColumn(RegularAndStaticColumns columns)ColumnMetadataTableMetadata. getDroppedColumn(java.nio.ByteBuffer name)ColumnMetadataTableMetadata. getDroppedColumn(java.nio.ByteBuffer name, boolean isStatic)Returns a "fake" ColumnMetadata corresponding to the dropped columnnameofnullif there is no such dropped column.ColumnMetadataTableMetadata.CompactTableMetadata. getExistingColumn(ColumnIdentifier name)ColumnMetadataTableMetadata. 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(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type, int position)static ColumnMetadataColumnMetadata. partitionKeyColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type, int position)static ColumnMetadataColumnMetadata. regularColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type)static ColumnMetadataColumnMetadata. regularColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type)static ColumnMetadataColumnMetadata. staticColumn(java.lang.String keyspace, java.lang.String table, java.lang.String name, AbstractType<?> type)static ColumnMetadataColumnMetadata. staticColumn(TableMetadata table, java.nio.ByteBuffer name, AbstractType<?> type)ColumnMetadataColumnMetadata. withNewName(ColumnIdentifier newName)ColumnMetadataColumnMetadata. withNewType(AbstractType<?> newType)Methods in org.apache.cassandra.schema that return types with arguments of type ColumnMetadata Modifier and Type Method Description java.util.Iterator<ColumnMetadata>TableMetadata. allColumnsInCreateOrder()Returns an iterator over all column definitions that respect the order of the CREATE statement.java.util.Iterator<ColumnMetadata>TableMetadata.CompactTableMetadata. allColumnsInCreateOrder()java.util.Iterator<ColumnMetadata>TableMetadata. allColumnsInSelectOrder()java.util.Iterator<ColumnMetadata>TableMetadata.CompactTableMetadata. allColumnsInSelectOrder()com.google.common.collect.ImmutableList<ColumnMetadata>TableMetadata. clusteringColumns()java.lang.Iterable<ColumnMetadata>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()java.lang.Iterable<ColumnMetadata>TableMetadata. primaryKeyColumns()Methods in org.apache.cassandra.schema with parameters of type ColumnMetadata Modifier and Type Method Description TableMetadata.BuilderTableMetadata.Builder. addColumn(ColumnMetadata column)intColumnMetadata. compareTo(ColumnMetadata other)booleanTableMetadata.CompactTableMetadata. isHiddenColumn(ColumnMetadata def)TableMetadata.BuilderTableMetadata.Builder. recordColumnDrop(ColumnMetadata column, long timeMicros)ViewMetadataViewMetadata. withAddedRegularColumn(ColumnMetadata column)Method parameters in org.apache.cassandra.schema with type arguments of type ColumnMetadata Modifier and Type Method Description TableMetadata.BuilderTableMetadata.Builder. addColumns(java.lang.Iterable<ColumnMetadata> columns)Selector.FactoryColumnMetadata. newSelectorFactory(TableMetadata table, AbstractType<?> expectedType, java.util.List<ColumnMetadata> defs, VariableSpecifications boundNames)booleanColumnMetadata. selectColumns(java.util.function.Predicate<ColumnMetadata> predicate)static java.lang.StringColumnMetadata. toCQLString(java.lang.Iterable<ColumnMetadata> defs)static java.lang.StringColumnMetadata. toCQLString(java.util.Iterator<ColumnMetadata> defs)static java.util.Collection<ColumnIdentifier>ColumnMetadata. toIdentifiers(java.util.Collection<ColumnMetadata> definitions)Converts the specified column definitions into column identifiers.Constructors in org.apache.cassandra.schema with parameters of type ColumnMetadata Constructor Description DroppedColumn(ColumnMetadata column, long droppedTime) -
Uses of ColumnMetadata in org.apache.cassandra.service.paxos.uncommitted
Methods in org.apache.cassandra.service.paxos.uncommitted with parameters of type ColumnMetadata Modifier and Type Method Description booleanPaxosUncommittedIndex. dependsOn(ColumnMetadata column)booleanPaxosUncommittedIndex. supportsExpression(ColumnMetadata column, Operator operator)
-