Uses of Class
org.apache.cassandra.cql3.ColumnSpecification
-
-
Uses of ColumnSpecification in org.apache.cassandra.cql3
Fields in org.apache.cassandra.cql3 declared as ColumnSpecification Modifier and Type Field Description protected ColumnSpecification
AbstractMarker. receiver
Fields in org.apache.cassandra.cql3 with type parameters of type ColumnSpecification Modifier and Type Field Description java.util.List<ColumnSpecification>
ResultSet.PreparedMetadata. names
java.util.List<ColumnSpecification>
ResultSet.ResultMetadata. names
Methods in org.apache.cassandra.cql3 that return ColumnSpecification Modifier and Type Method Description static ColumnSpecification
Tuples. componentSpecOf(ColumnSpecification column, int component)
static ColumnSpecification
UserTypes. fieldSpecOf(ColumnSpecification column, int field)
static ColumnSpecification
Lists. indexSpecOf(ColumnSpecification column)
static ColumnSpecification
Maps. keySpecOf(ColumnSpecification column)
static ColumnSpecification
Lists. valueSpecOf(ColumnSpecification column)
static ColumnSpecification
Maps. valueSpecOf(ColumnSpecification column)
static ColumnSpecification
Sets. valueSpecOf(ColumnSpecification column)
ColumnSpecification
ColumnSpecification. withAlias(ColumnIdentifier alias)
Returns a newColumnSpecification
for the same column but with the specified alias.Methods in org.apache.cassandra.cql3 that return types with arguments of type ColumnSpecification Modifier and Type Method Description default java.util.List<ColumnSpecification>
CQLStatement. getBindVariables()
Returns all bind variables for the statementjava.util.List<ColumnSpecification>
VariableSpecifications. getBindVariables()
java.util.List<ColumnSpecification>
UntypedResultSet.Row. getColumns()
com.google.common.collect.ImmutableList<ColumnSpecification>
QueryOptions. getColumnSpecifications()
Returns the column specifications for the bound variables (optional operation).abstract java.util.List<ColumnSpecification>
UntypedResultSet. metadata()
java.util.List<ColumnSpecification>
ResultSet.ResultMetadata. requestNames()
Return only the column names requested by the user, excluding those added for post-query re-orderings, see definition of names and columnCount.Methods in org.apache.cassandra.cql3 with parameters of type ColumnSpecification Modifier and Type Method Description void
VariableSpecifications. add(int bindIndex, ColumnSpecification spec)
static ColumnSpecification
Tuples. componentSpecOf(ColumnSpecification column, int component)
static ColumnSpecification
UserTypes. fieldSpecOf(ColumnSpecification column, int field)
static ColumnSpecification
Lists. indexSpecOf(ColumnSpecification column)
static ColumnSpecification
Maps. keySpecOf(ColumnSpecification column)
Lists.Marker
AbstractMarker.INRaw. prepare(java.lang.String keyspace, ColumnSpecification receiver)
Term.NonTerminal
AbstractMarker.MultiColumnRaw. prepare(java.lang.String keyspace, ColumnSpecification receiver)
Term.NonTerminal
AbstractMarker.Raw. prepare(java.lang.String keyspace, ColumnSpecification receiver)
Constants.Value
Constants.Literal. prepare(java.lang.String keyspace, ColumnSpecification receiver)
Term
Lists.Literal. prepare(java.lang.String keyspace, ColumnSpecification receiver)
Term
Maps.Literal. prepare(java.lang.String keyspace, ColumnSpecification receiver)
Term
Sets.Literal. prepare(java.lang.String keyspace, ColumnSpecification receiver)
abstract Term
Term.Raw. prepare(java.lang.String keyspace, ColumnSpecification receiver)
This method validates this RawTerm is valid for provided column specification and "prepare" this RawTerm, returning the resulting prepared Term.Term
Tuples.Literal. prepare(java.lang.String keyspace, ColumnSpecification receiver)
Term
TypeCast. prepare(java.lang.String keyspace, ColumnSpecification receiver)
Term
UserTypes.Literal. prepare(java.lang.String keyspace, ColumnSpecification receiver)
static AssignmentTestable.TestResult
AssignmentTestable.TestResult. testAll(java.lang.String keyspace, ColumnSpecification receiver, java.util.Collection<? extends AssignmentTestable> toTest)
AssignmentTestable.TestResult
AbstractMarker.MultiColumnRaw. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
AbstractMarker.Raw. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
AssignmentTestable. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
Constants.Literal. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
Lists.Literal. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
Maps.Literal. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
Sets.Literal. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
Tuples.Literal. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
TypeCast. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
UserTypes.Literal. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
static AssignmentTestable.TestResult
Lists. testListAssignment(ColumnSpecification receiver, java.util.List<? extends AssignmentTestable> elements)
Tests that the list with the specified elements can be assigned to the specified column.static <T extends AssignmentTestable>
AssignmentTestable.TestResultMaps. testMapAssignment(ColumnSpecification receiver, java.util.List<Pair<T,T>> entries)
Tests that the map with the specified entries can be assigned to the specified column.static AssignmentTestable.TestResult
Sets. testSetAssignment(ColumnSpecification receiver, java.util.List<? extends AssignmentTestable> elements)
Tests that the set with the specified elements can be assigned to the specified column.static AssignmentTestable.TestResult
Tuples. testTupleAssignment(ColumnSpecification receiver, java.util.List<? extends AssignmentTestable> elements)
Tests that the tuple with the specified elements can be assigned to the specified column.static <T extends AssignmentTestable>
AssignmentTestable.TestResultUserTypes. testUserTypeAssignment(ColumnSpecification receiver, java.util.Map<FieldIdentifier,T> entries)
Tests that the map with the specified entries can be assigned to the specified column.protected java.lang.String
Operation.Addition. toString(ColumnSpecification column)
protected java.lang.String
Operation.Prepend. toString(ColumnSpecification column)
protected java.lang.String
Operation.SetElement. toString(ColumnSpecification column)
protected java.lang.String
Operation.SetField. toString(ColumnSpecification column)
protected java.lang.String
Operation.SetValue. toString(ColumnSpecification column)
protected java.lang.String
Operation.Substraction. toString(ColumnSpecification column)
static void
Tuples. validateTupleAssignableTo(ColumnSpecification receiver, java.util.List<? extends AssignmentTestable> elements)
Checks if the tuple with the specified elements can be assigned to the specified column.static <T extends AssignmentTestable>
voidUserTypes. validateUserTypeAssignableTo(ColumnSpecification receiver, java.util.Map<FieldIdentifier,T> entries)
static ColumnSpecification
Lists. valueSpecOf(ColumnSpecification column)
static ColumnSpecification
Maps. valueSpecOf(ColumnSpecification column)
static ColumnSpecification
Sets. valueSpecOf(ColumnSpecification column)
Method parameters in org.apache.cassandra.cql3 with type arguments of type ColumnSpecification Modifier and Type Method Description static QueryOptions
QueryOptions. addColumnSpecifications(QueryOptions options, java.util.List<ColumnSpecification> columnSpecs)
ResultSet.ResultMetadata
ResultSet.ResultMetadata. addNonSerializedColumns(java.util.Collection<? extends ColumnSpecification> columns)
Adds the specified columns which will not be serialized.static boolean
ColumnSpecification. allInSameTable(java.util.Collection<ColumnSpecification> names)
Returns true if all ColumnSpecifications are in the same table, false otherwise.QueryOptions
QueryOptions. prepare(java.util.List<ColumnSpecification> specs)
abstract Term
Term.MultiColumnRaw. prepare(java.lang.String keyspace, java.util.List<? extends ColumnSpecification> receiver)
AbstractMarker
Tuples.INRaw. prepare(java.lang.String keyspace, java.util.List<? extends ColumnSpecification> receivers)
Term
Tuples.Literal. prepare(java.lang.String keyspace, java.util.List<? extends ColumnSpecification> receivers)
AbstractMarker
Tuples.Raw. prepare(java.lang.String keyspace, java.util.List<? extends ColumnSpecification> receivers)
void
BatchQueryOptions. prepareStatement(int i, java.util.List<ColumnSpecification> boundNames)
protected Term
MultiColumnRelation. toTerm(java.util.List<? extends ColumnSpecification> receivers, Term.Raw raw, java.lang.String keyspace, VariableSpecifications boundNames)
protected abstract Term
Relation. toTerm(java.util.List<? extends ColumnSpecification> receivers, Term.Raw raw, java.lang.String keyspace, VariableSpecifications boundNames)
Converts the specifiedRaw
into aTerm
.protected Term
SingleColumnRelation. toTerm(java.util.List<? extends ColumnSpecification> receivers, Term.Raw raw, java.lang.String keyspace, VariableSpecifications boundNames)
protected Term
TokenRelation. toTerm(java.util.List<? extends ColumnSpecification> receivers, Term.Raw raw, java.lang.String keyspace, VariableSpecifications boundNames)
protected java.util.List<Term>
Relation. toTerms(java.util.List<? extends ColumnSpecification> receivers, java.util.List<? extends Term.Raw> raws, java.lang.String keyspace, VariableSpecifications boundNames)
Converts the specifiedRaw
terms into aTerm
s.Constructors in org.apache.cassandra.cql3 with parameters of type ColumnSpecification Constructor Description AbstractMarker(int bindIndex, ColumnSpecification receiver)
InMarker(int bindIndex, ColumnSpecification receiver)
Marker(int bindIndex, ColumnSpecification receiver)
Marker(int bindIndex, ColumnSpecification receiver)
Marker(int bindIndex, ColumnSpecification receiver)
Marker(int bindIndex, ColumnSpecification receiver)
Marker(int bindIndex, ColumnSpecification receiver)
Marker(int bindIndex, ColumnSpecification receiver)
Constructor parameters in org.apache.cassandra.cql3 with type arguments of type ColumnSpecification Constructor Description PreparedMetadata(java.util.List<ColumnSpecification> names, short[] partitionKeyBindIndexes)
ResultMetadata(java.util.List<ColumnSpecification> names)
ResultMetadata(java.util.List<ColumnSpecification> names, PagingState pagingState)
ResultMetadata(MD5Digest digest, java.util.List<ColumnSpecification> names)
Row(java.util.List<ColumnSpecification> names, java.util.List<java.nio.ByteBuffer> columns)
-
Uses of ColumnSpecification in org.apache.cassandra.cql3.functions
Methods in org.apache.cassandra.cql3.functions that return ColumnSpecification Modifier and Type Method Description static ColumnSpecification
FunctionResolver. makeArgSpec(java.lang.String receiverKs, java.lang.String receiverCf, Function fun, int i)
Methods in org.apache.cassandra.cql3.functions with parameters of type ColumnSpecification Modifier and Type Method Description Term
FunctionCall.Raw. prepare(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
AbstractFunction. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
FunctionCall.Raw. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
-
Uses of ColumnSpecification in org.apache.cassandra.cql3.selection
Methods in org.apache.cassandra.cql3.selection that return ColumnSpecification Modifier and Type Method Description ColumnSpecification
Selector.Factory. getColumnSpecification(TableMetadata table)
Returns the column specification corresponding to the output value of the selector instances created by this factory.default ColumnSpecification
Selectable. specForElementOrSlice(Selectable selected, ColumnSpecification receiver, java.lang.String selectionType)
Methods in org.apache.cassandra.cql3.selection that return types with arguments of type ColumnSpecification Modifier and Type Method Description java.util.List<ColumnSpecification>
SelectionColumnMapping. getColumnSpecifications()
java.util.List<ColumnSpecification>
SelectionColumns. getColumnSpecifications()
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 ColumnSpecification Modifier and Type Method Description protected abstract void
Selector.Factory. addColumnMapping(SelectionColumnMapping mapping, ColumnSpecification resultsColumn)
Record a mapping between the ColumnDefinitions that are used by the selector instances created by this factory and a column in the ResultSet.Metadata returned with a query.protected void
SimpleSelector.SimpleSelectorFactory. addColumnMapping(SelectionColumnMapping mapping, ColumnSpecification resultColumn)
protected SelectionColumnMapping
SelectionColumnMapping. addMapping(ColumnSpecification colSpec, java.lang.Iterable<ColumnMetadata> columns)
protected SelectionColumnMapping
SelectionColumnMapping. addMapping(ColumnSpecification colSpec, ColumnMetadata column)
default ColumnSpecification
Selectable. specForElementOrSlice(Selectable selected, ColumnSpecification receiver, java.lang.String selectionType)
AssignmentTestable.TestResult
Selectable.BetweenParenthesesOrWithTuple. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
default AssignmentTestable.TestResult
Selectable. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
Selectable.WithList. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
Selectable.WithMapOrUdt. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
Selectable.WithSet. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
Selectable.WithTerm. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
AssignmentTestable.TestResult
Selectable.WithTypeHint. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
-
Uses of ColumnSpecification in org.apache.cassandra.cql3.statements
Methods in org.apache.cassandra.cql3.statements that return types with arguments of type ColumnSpecification Modifier and Type Method Description java.util.List<ColumnSpecification>
BatchStatement. getBindVariables()
java.util.List<ColumnSpecification>
DescribeStatement. getBindVariables()
java.util.List<ColumnSpecification>
ModificationStatement. getBindVariables()
java.util.List<ColumnSpecification>
SelectStatement. getBindVariables()
protected java.util.List<ColumnSpecification>
DescribeStatement.Element. metadata(ClientState state)
protected java.util.List<ColumnSpecification>
DescribeStatement.Listing. metadata(ClientState state)
protected abstract java.util.List<ColumnSpecification>
DescribeStatement. metadata(ClientState state)
Returns the columns of theResultMetadata
-
Uses of ColumnSpecification in org.apache.cassandra.db.marshal
Methods in org.apache.cassandra.db.marshal that return ColumnSpecification Modifier and Type Method Description abstract ColumnSpecification
CollectionType.Kind. makeCollectionReceiver(ColumnSpecification collection, boolean isKey)
ColumnSpecification
CollectionType. makeCollectionReceiver(ColumnSpecification collection, boolean isKey)
Methods in org.apache.cassandra.db.marshal with parameters of type ColumnSpecification Modifier and Type Method Description abstract ColumnSpecification
CollectionType.Kind. makeCollectionReceiver(ColumnSpecification collection, boolean isKey)
ColumnSpecification
CollectionType. makeCollectionReceiver(ColumnSpecification collection, boolean isKey)
AssignmentTestable.TestResult
AbstractType. testAssignment(java.lang.String keyspace, ColumnSpecification receiver)
-
Uses of ColumnSpecification in org.apache.cassandra.schema
Subclasses of ColumnSpecification in org.apache.cassandra.schema Modifier and Type Class Description class
ColumnMetadata
-