Class UpdateStatement.ParsedUpdate
java.lang.Object
org.apache.cassandra.cql3.CQLStatement.Raw
org.apache.cassandra.cql3.statements.QualifiedStatement
org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
org.apache.cassandra.cql3.statements.UpdateStatement.ParsedUpdate
- Enclosing class:
- UpdateStatement
-
Field Summary
Fields inherited from class org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
typeFields inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
bindVariables -
Constructor Summary
ConstructorsConstructorDescriptionParsedUpdate(QualifiedName name, Attributes.Raw attrs, List<Pair<ColumnIdentifier, Operation.RawUpdate>> updates, WhereClause whereClause, List<Pair<ColumnIdentifier, ColumnCondition.Raw>> conditions, boolean ifExists) Creates a new UpdateStatement from a column family name, columns map, consistency level, and key term. -
Method Summary
Modifier and TypeMethodDescriptionprotected ModificationStatementprepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs) Methods inherited from class org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
getConditions, newRestrictions, prepare, prepareMethods 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
-
Constructor Details
-
ParsedUpdate
public ParsedUpdate(QualifiedName name, Attributes.Raw attrs, List<Pair<ColumnIdentifier, Operation.RawUpdate>> updates, WhereClause whereClause, List<Pair<ColumnIdentifier, ColumnCondition.Raw>> conditions, boolean ifExists) Creates a new UpdateStatement from a column family name, columns map, consistency level, and key term.- Parameters:
name- column family being operated onattrs- additional attributes for statement (timestamp, timeToLive)updates- a map of column operations to performwhereClause- the where clauseifExists- flag to check if row exists
-
-
Method Details
-
prepareInternal
protected ModificationStatement prepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs) - Specified by:
prepareInternalin classModificationStatement.Parsed
-