public static class UpdateStatement.ParsedInsert extends ModificationStatement.Parsed
ParsedStatement.Prepared
type
cfName
Constructor and Description |
---|
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(CFMetaData cfm,
VariableSpecifications boundNames,
Conditions conditions,
Attributes attrs) |
getColumnDefinition, newRestrictions, prepare, prepare
columnFamily, keyspace, prepareKeyspace, prepareKeyspace
getBoundVariables, getFunctions, setBoundVariables, setBoundVariables
public 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 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(CFMetaData cfm, VariableSpecifications boundNames, Conditions conditions, Attributes attrs)
prepareInternal
in class ModificationStatement.Parsed
Copyright © 2018 The Apache Software Foundation