public static class UpdateStatement.ParsedInsert extends ModificationStatement.Parsed
ParsedStatement.Prepared
attrs
cfName
Constructor and Description |
---|
UpdateStatement.ParsedInsert(CFName 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(CFDefinition cfDef,
ColumnSpecification[] boundNames,
Attributes attrs) |
prepare, prepare
columnFamily, keyspace, prepareKeyspace
getBoundsTerms, setBoundTerms
public UpdateStatement.ParsedInsert(CFName name, Attributes.Raw attrs, java.util.List<ColumnIdentifier> 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, ColumnSpecification[] boundNames, Attributes attrs) throws InvalidRequestException
prepareInternal
in class ModificationStatement.Parsed
InvalidRequestException
Copyright © 2013 The Apache Software Foundation