Class ModificationStatement.Parsed
- java.lang.Object
-
- org.apache.cassandra.cql3.CQLStatement.Raw
-
- org.apache.cassandra.cql3.statements.QualifiedStatement
-
- org.apache.cassandra.cql3.statements.ModificationStatement.Parsed
-
- Direct Known Subclasses:
DeleteStatement.Parsed
,UpdateStatement.ParsedInsert
,UpdateStatement.ParsedInsertJson
,UpdateStatement.ParsedUpdate
- Enclosing class:
- ModificationStatement
public abstract static class ModificationStatement.Parsed extends QualifiedStatement
-
-
Field Summary
Fields Modifier and Type Field Description protected StatementType
type
-
Fields inherited from class org.apache.cassandra.cql3.CQLStatement.Raw
bindVariables
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Parsed(QualifiedName name, StatementType type, Attributes.Raw attrs, java.util.List<Pair<ColumnIdentifier,ColumnCondition.Raw>> conditions, boolean ifNotExists, boolean ifExists)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.List<Pair<ColumnIdentifier,ColumnCondition.Raw>>
getConditions()
protected StatementRestrictions
newRestrictions(ClientState state, TableMetadata metadata, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions, java.util.List<Ordering> orderings)
Creates the restrictions.ModificationStatement
prepare(ClientState state)
ModificationStatement
prepare(ClientState state, VariableSpecifications bindVariables)
protected abstract ModificationStatement
prepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs)
-
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
-
-
-
-
Field Detail
-
type
protected final StatementType type
-
-
Constructor Detail
-
Parsed
protected Parsed(QualifiedName name, StatementType type, Attributes.Raw attrs, java.util.List<Pair<ColumnIdentifier,ColumnCondition.Raw>> conditions, boolean ifNotExists, boolean ifExists)
-
-
Method Detail
-
prepare
public ModificationStatement prepare(ClientState state)
- Specified by:
prepare
in classCQLStatement.Raw
-
prepare
public ModificationStatement prepare(ClientState state, VariableSpecifications bindVariables)
-
prepareInternal
protected abstract ModificationStatement prepareInternal(ClientState state, TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs)
-
newRestrictions
protected StatementRestrictions newRestrictions(ClientState state, TableMetadata metadata, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions, java.util.List<Ordering> orderings)
Creates the restrictions.- Parameters:
metadata
- the column family meta databoundNames
- the bound namesoperations
- the column operationswhere
- the where clauseconditions
- the conditions- Returns:
- the restrictions
-
getConditions
public java.util.List<Pair<ColumnIdentifier,ColumnCondition.Raw>> getConditions()
-
-