public static class UpdateStatement.ParsedUpdate extends ModificationStatement.Parsed
ParsedStatement.Preparedattrs, conditionscfName| Constructor and Description |
|---|
UpdateStatement.ParsedUpdate(CFName name,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier.Raw,Operation.RawUpdate>> updates,
java.util.List<Relation> whereClause,
java.util.List<Pair<ColumnIdentifier.Raw,ColumnCondition.Raw>> conditions)
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(CFDefinition cfDef,
VariableSpecifications boundNames,
Attributes attrs) |
prepare, preparecolumnFamily, keyspace, prepareKeyspacegetBoundVariables, setBoundVariablespublic UpdateStatement.ParsedUpdate(CFName name, Attributes.Raw attrs, java.util.List<Pair<ColumnIdentifier.Raw,Operation.RawUpdate>> updates, java.util.List<Relation> whereClause, java.util.List<Pair<ColumnIdentifier.Raw,ColumnCondition.Raw>> conditions)
name - column family being operated onattrs - additional attributes for statement (timestamp, timeToLive)updates - a map of column operations to performwhereClause - the where clauseprotected ModificationStatement prepareInternal(CFDefinition cfDef, VariableSpecifications boundNames, Attributes attrs) throws InvalidRequestException
prepareInternal in class ModificationStatement.ParsedInvalidRequestExceptionCopyright © 2015 The Apache Software Foundation