public static class UpdateStatement.ParsedUpdate extends ModificationStatement.Parsed
ParsedStatement.PreparedtypecfName| Constructor and Description |
|---|
ParsedUpdate(CFName name,
Attributes.Raw attrs,
java.util.List<Pair<ColumnDefinition.Raw,Operation.RawUpdate>> updates,
WhereClause whereClause,
java.util.List<Pair<ColumnDefinition.Raw,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(CFMetaData cfm,
VariableSpecifications boundNames,
Conditions conditions,
Attributes attrs) |
getColumnDefinition, newRestrictions, prepare, preparecolumnFamily, keyspace, prepareKeyspace, prepareKeyspacegetBoundVariables, getFunctions, setBoundVariables, setBoundVariablespublic ParsedUpdate(CFName name, Attributes.Raw attrs, java.util.List<Pair<ColumnDefinition.Raw,Operation.RawUpdate>> updates, WhereClause whereClause, java.util.List<Pair<ColumnDefinition.Raw,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(CFMetaData cfm, VariableSpecifications boundNames, Conditions conditions, Attributes attrs)
prepareInternal in class ModificationStatement.ParsedCopyright © 2018 The Apache Software Foundation