public static class UpdateStatement.ParsedInsert extends ModificationStatement.Parsed
ParsedStatement.Prepared
attrs, conditions
cfName
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, prepare
columnFamily, keyspace, prepareKeyspace
getBoundVariables, setBoundVariables
public 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.Parsed
InvalidRequestException
Copyright © 2015 The Apache Software Foundation