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<ColumnIdentifier,ColumnCondition.Raw>> conditions,
boolean ifNotExists,
boolean ifExists) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<ColumnIdentifier,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) |
isFullyQualified, keyspace, name, setKeyspace, setKeyspace, toString
setBindVariables
protected final StatementType type
protected Parsed(QualifiedName name, StatementType type, Attributes.Raw attrs, java.util.List<Pair<ColumnIdentifier,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 conditionspublic java.util.List<Pair<ColumnIdentifier,ColumnCondition.Raw>> getConditions()
Copyright © 2009- The Apache Software Foundation