Modifier and Type | Field and Description |
---|---|
protected ColumnSpecification |
AbstractMarker.receiver |
Modifier and Type | Field and Description |
---|---|
java.util.List<ColumnSpecification> |
ResultSet.ResultMetadata.names |
java.util.List<ColumnSpecification> |
ResultSet.PreparedMetadata.names |
Modifier and Type | Method and 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 new
ColumnSpecification for the same column but with the specified alias. |
Modifier and Type | Method and Description |
---|---|
default java.util.List<ColumnSpecification> |
CQLStatement.getBindVariables()
Returns all bind variables for the statement
|
java.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.
|
Modifier and Type | Method and 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) |
Term.NonTerminal |
AbstractMarker.Raw.prepare(java.lang.String keyspace,
ColumnSpecification receiver) |
Term.NonTerminal |
AbstractMarker.MultiColumnRaw.prepare(java.lang.String keyspace,
ColumnSpecification receiver) |
Lists.Marker |
AbstractMarker.INRaw.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.Raw.testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
AssignmentTestable.TestResult |
AbstractMarker.MultiColumnRaw.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> |
Maps.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> |
UserTypes.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.SetValue.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.Addition.toString(ColumnSpecification column) |
protected java.lang.String |
Operation.Substraction.toString(ColumnSpecification column) |
protected java.lang.String |
Operation.Prepend.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> |
UserTypes.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) |
Modifier and Type | Method and 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) |
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) |
AbstractMarker |
Tuples.INRaw.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 specified
Raw into a Term . |
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 specified
Raw terms into a Term s. |
Constructor and 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 and 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) |
Modifier and Type | Method and Description |
---|---|
static ColumnSpecification |
FunctionResolver.makeArgSpec(java.lang.String receiverKs,
java.lang.String receiverCf,
Function fun,
int i) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and 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() |
Modifier and Type | Method and 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,
ColumnMetadata column) |
protected SelectionColumnMapping |
SelectionColumnMapping.addMapping(ColumnSpecification colSpec,
java.lang.Iterable<ColumnMetadata> columns) |
default ColumnSpecification |
Selectable.specForElementOrSlice(Selectable selected,
ColumnSpecification receiver,
java.lang.String selectionType) |
default AssignmentTestable.TestResult |
Selectable.testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
AssignmentTestable.TestResult |
Selectable.WithTerm.testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
AssignmentTestable.TestResult |
Selectable.BetweenParenthesesOrWithTuple.testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
AssignmentTestable.TestResult |
Selectable.WithList.testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
AssignmentTestable.TestResult |
Selectable.WithSet.testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
AssignmentTestable.TestResult |
Selectable.WithMapOrUdt.testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
AssignmentTestable.TestResult |
Selectable.WithTypeHint.testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
Modifier and Type | Method and 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 abstract java.util.List<ColumnSpecification> |
DescribeStatement.metadata(ClientState state)
Returns the columns of the
ResultMetadata |
protected java.util.List<ColumnSpecification> |
DescribeStatement.Listing.metadata(ClientState state) |
protected java.util.List<ColumnSpecification> |
DescribeStatement.Element.metadata(ClientState state) |
Modifier and Type | Method and Description |
---|---|
ColumnSpecification |
CollectionType.makeCollectionReceiver(ColumnSpecification collection,
boolean isKey) |
abstract ColumnSpecification |
CollectionType.Kind.makeCollectionReceiver(ColumnSpecification collection,
boolean isKey) |
Modifier and Type | Method and Description |
---|---|
ColumnSpecification |
CollectionType.makeCollectionReceiver(ColumnSpecification collection,
boolean isKey) |
abstract ColumnSpecification |
CollectionType.Kind.makeCollectionReceiver(ColumnSpecification collection,
boolean isKey) |
AssignmentTestable.TestResult |
AbstractType.testAssignment(java.lang.String keyspace,
ColumnSpecification receiver) |
Modifier and Type | Class and Description |
---|---|
class |
ColumnMetadata |
Copyright © 2009-2020 The Apache Software Foundation