public static class UpdateStatement.ParsedUpdate extends ModificationStatement.Parsed
type
bindVariables
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
protected ModificationStatement |
prepareInternal(TableMetadata metadata,
VariableSpecifications bindVariables,
Conditions conditions,
Attributes attrs) |
getConditions, newRestrictions, prepare, prepare
keyspace, name, setKeyspace, setKeyspace, toString
setBindVariables
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)
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 existsprotected ModificationStatement prepareInternal(TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs)
prepareInternal
in class ModificationStatement.Parsed
Copyright © 2009-2021 The Apache Software Foundation