public abstract static class ModificationStatement.Parsed extends QualifiedStatement
Modifier and Type | Field and Description |
---|---|
protected StatementType |
type |
bindVariables
Modifier | Constructor and Description |
---|---|
protected |
Parsed(QualifiedName name,
StatementType type,
Attributes.Raw attrs,
java.util.List<Pair<ColumnMetadata.Raw,ColumnCondition.Raw>> conditions,
boolean ifNotExists,
boolean ifExists) |
Modifier and Type | Method and Description |
---|---|
protected static ColumnMetadata |
getColumnDefinition(TableMetadata metadata,
ColumnMetadata.Raw rawId)
Retrieves the
ColumnMetadata corresponding to the specified raw ColumnIdentifier . |
java.util.List<Pair<ColumnMetadata.Raw,ColumnCondition.Raw>> |
getConditions() |
protected StatementRestrictions |
newRestrictions(TableMetadata metadata,
VariableSpecifications boundNames,
Operations operations,
WhereClause where,
Conditions conditions)
Creates the restrictions.
|
ModificationStatement |
prepare(ClientState state) |
ModificationStatement |
prepare(VariableSpecifications bindVariables) |
protected abstract ModificationStatement |
prepareInternal(TableMetadata metadata,
VariableSpecifications bindVariables,
Conditions conditions,
Attributes attrs) |
keyspace, name, setKeyspace, setKeyspace, toString
setBindVariables
protected final StatementType type
protected Parsed(QualifiedName name, StatementType type, Attributes.Raw attrs, java.util.List<Pair<ColumnMetadata.Raw,ColumnCondition.Raw>> conditions, boolean ifNotExists, boolean ifExists)
public ModificationStatement prepare(ClientState state)
prepare
in class CQLStatement.Raw
public ModificationStatement prepare(VariableSpecifications bindVariables)
protected abstract ModificationStatement prepareInternal(TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs)
protected StatementRestrictions newRestrictions(TableMetadata metadata, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions)
metadata
- the column family meta databoundNames
- the bound namesoperations
- the column operationswhere
- the where clauseconditions
- the conditionsprotected static ColumnMetadata getColumnDefinition(TableMetadata metadata, ColumnMetadata.Raw rawId)
ColumnMetadata
corresponding to the specified raw ColumnIdentifier
.metadata
- the column family meta datarawId
- the raw ColumnIdentifier
ColumnMetadata
corresponding to the specified raw ColumnIdentifier
public java.util.List<Pair<ColumnMetadata.Raw,ColumnCondition.Raw>> getConditions()
Copyright © 2009-2020 The Apache Software Foundation