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
public static class UpdateStatement.ParsedUpdate extends ModificationStatement.Parsed
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
type
-
Fields inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
bindVariables
-
-
Constructor Summary
Constructors Constructor Description ParsedUpdate(QualifiedName name, Attributes.Raw attrs, java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> updates, WhereClause whereClause, java.util.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ModificationStatement
prepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs)
-
Methods inherited from class org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
getConditions, newRestrictions, prepare, prepare
-
Methods inherited from class org.apache.cassandra.cql3.statements.QualifiedStatement
isFullyQualified, keyspace, name, setKeyspace, setKeyspace, toString
-
Methods inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
setBindVariables
-
-
-
-
Constructor Detail
-
ParsedUpdate
public ParsedUpdate(QualifiedName name, Attributes.Raw attrs, java.util.List<Pair<ColumnIdentifier,Operation.RawUpdate>> updates, WhereClause whereClause, java.util.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 Detail
-
prepareInternal
protected ModificationStatement prepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs)
- Specified by:
prepareInternal
in classModificationStatement.Parsed
-
-