Class ModificationStatement.Parsed
java.lang.Object
org.apache.cassandra.cql3.CQLStatement.Raw
org.apache.cassandra.cql3.statements.QualifiedStatement
org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
- Direct Known Subclasses:
DeleteStatement.Parsed,UpdateStatement.ParsedInsert,UpdateStatement.ParsedInsertJson,UpdateStatement.ParsedUpdate
- Enclosing class:
- ModificationStatement
-
Field Summary
FieldsFields inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
bindVariables -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedParsed(QualifiedName name, StatementType type, Attributes.Raw attrs, List<Pair<ColumnIdentifier, ColumnCondition.Raw>> conditions, boolean ifNotExists, boolean ifExists) -
Method Summary
Modifier and TypeMethodDescriptionprotected StatementRestrictionsnewRestrictions(ClientState state, TableMetadata metadata, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions, List<Ordering> orderings) Creates the restrictions.prepare(ClientState state) prepare(ClientState state, VariableSpecifications bindVariables) protected abstract ModificationStatementprepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs) Methods inherited from class org.apache.cassandra.cql3.statements.QualifiedStatement
isFullyQualified, keyspace, name, setKeyspace, setKeyspace, toStringMethods inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
setBindVariables
-
Field Details
-
type
-
-
Constructor Details
-
Parsed
protected Parsed(QualifiedName name, StatementType type, Attributes.Raw attrs, List<Pair<ColumnIdentifier, ColumnCondition.Raw>> conditions, boolean ifNotExists, boolean ifExists)
-
-
Method Details
-
prepare
- Specified by:
preparein classCQLStatement.Raw
-
prepare
-
prepareInternal
protected abstract ModificationStatement prepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs) -
newRestrictions
protected StatementRestrictions newRestrictions(ClientState state, TableMetadata metadata, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions, List<Ordering> orderings) Creates the restrictions.- Parameters:
metadata- the column family meta databoundNames- the bound namesoperations- the column operationswhere- the where clauseconditions- the conditions- Returns:
- the restrictions
-
getConditions
-