Class UpdateStatement.ParsedInsert
- java.lang.Object
-
- org.apache.cassandra.cql3.CQLStatement.Raw
-
- org.apache.cassandra.cql3.statements.QualifiedStatement
-
- org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
-
- org.apache.cassandra.cql3.statements.UpdateStatement.ParsedInsert
-
- Enclosing class:
- UpdateStatement
public static class UpdateStatement.ParsedInsert extends ModificationStatement.Parsed
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
type
-
Fields inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
bindVariables
-
-
Constructor Summary
Constructors Constructor Description ParsedInsert(QualifiedName name, Attributes.Raw attrs, java.util.List<ColumnIdentifier> columnNames, java.util.List<Term.Raw> columnValues, boolean ifNotExists)
A parsedINSERT
statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ModificationStatement
prepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs)
-
Methods inherited from class org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
getConditions, newRestrictions, prepare, prepare
-
Methods inherited from class org.apache.cassandra.cql3.statements.QualifiedStatement
isFullyQualified, keyspace, name, setKeyspace, setKeyspace, toString
-
Methods inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
setBindVariables
-
-
-
-
Constructor Detail
-
ParsedInsert
public ParsedInsert(QualifiedName name, Attributes.Raw attrs, java.util.List<ColumnIdentifier> columnNames, java.util.List<Term.Raw> columnValues, boolean ifNotExists)
A parsedINSERT
statement.- Parameters:
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 otherwise
-
-
Method Detail
-
prepareInternal
protected ModificationStatement prepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs)
- Specified by:
prepareInternal
in classModificationStatement.Parsed
-
-