public static class UpdateStatement.ParsedInsert extends ModificationStatement.Parsed
ParsedStatement.Preparedattrs, conditionscfName| Constructor and Description |
|---|
UpdateStatement.ParsedInsert(CFName name,
Attributes.Raw attrs,
java.util.List<ColumnIdentifier.Raw> columnNames,
java.util.List<Term.Raw> columnValues,
boolean ifNotExists)
A parsed
INSERT statement. |
| Modifier and Type | Method and Description |
|---|---|
protected ModificationStatement |
prepareInternal(CFDefinition cfDef,
VariableSpecifications boundNames,
Attributes attrs) |
prepare, preparecolumnFamily, keyspace, prepareKeyspacegetBoundVariables, setBoundVariablespublic UpdateStatement.ParsedInsert(CFName name, Attributes.Raw attrs, java.util.List<ColumnIdentifier.Raw> columnNames, java.util.List<Term.Raw> columnValues, boolean ifNotExists)
INSERT statement.name - column family being operated oncolumnNames - list of column namescolumnValues - list of column values (corresponds to names)attrs - additional attributes for statement (CL, timestamp, timeToLive)protected ModificationStatement prepareInternal(CFDefinition cfDef, VariableSpecifications boundNames, Attributes attrs) throws InvalidRequestException
prepareInternal in class ModificationStatement.ParsedInvalidRequestExceptionCopyright © 2015 The Apache Software Foundation