public static class UpdateStatement.ParsedInsert extends ModificationStatement.Parsed
typebindVariables| Constructor and Description |
|---|
ParsedInsert(QualifiedName name,
Attributes.Raw attrs,
java.util.List<ColumnIdentifier> columnNames,
java.util.List<Term.Raw> columnValues,
boolean ifNotExists)
A parsed
INSERT statement. |
| Modifier and Type | Method and Description |
|---|---|
protected ModificationStatement |
prepareInternal(TableMetadata metadata,
VariableSpecifications bindVariables,
Conditions conditions,
Attributes attrs) |
getConditions, newRestrictions, prepare, prepareisFullyQualified, keyspace, name, setKeyspace, setKeyspace, toStringsetBindVariablespublic ParsedInsert(QualifiedName name, Attributes.Raw attrs, java.util.List<ColumnIdentifier> columnNames, java.util.List<Term.Raw> columnValues, boolean ifNotExists)
INSERT statement.name - column family being operated onattrs - additional attributes for statement (CL, timestamp, timeToLive)columnNames - list of column namescolumnValues - list of column values (corresponds to names)ifNotExists - true if an IF NOT EXISTS condition was specified, false otherwiseprotected ModificationStatement prepareInternal(TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs)
prepareInternal in class ModificationStatement.ParsedCopyright © 2009-2022 The Apache Software Foundation