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
-
Field Summary
Fields inherited from class org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
typeFields inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
bindVariables -
Constructor Summary
ConstructorsConstructorDescriptionParsedInsert(QualifiedName name, Attributes.Raw attrs, List<ColumnIdentifier> columnNames, List<Term.Raw> columnValues, boolean ifNotExists) A parsedINSERTstatement. -
Method Summary
Modifier and TypeMethodDescriptionprotected ModificationStatementprepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs) Methods inherited from class org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
getConditions, newRestrictions, prepare, prepareMethods inherited from class org.apache.cassandra.cql3.statements.QualifiedStatement
isFullyQualified, keyspace, name, setKeyspace, setKeyspace, toStringMethods inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
setBindVariables
-
Constructor Details
-
ParsedInsert
public ParsedInsert(QualifiedName name, Attributes.Raw attrs, List<ColumnIdentifier> columnNames, List<Term.Raw> columnValues, boolean ifNotExists) A parsedINSERTstatement.- 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 Details
-
prepareInternal
protected ModificationStatement prepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs) - Specified by:
prepareInternalin classModificationStatement.Parsed
-