public static class UpdateStatement.ParsedInsert extends ModificationStatement.Parsed
type
bindVariables
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, prepare
keyspace, name, setKeyspace, setKeyspace, toString
setBindVariables
public 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.Parsed
Copyright © 2009-2021 The Apache Software Foundation