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(TableMetadata metadata, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions)
Creates the restrictions.ModificationStatement
prepare(VariableSpecifications bindVariables)
ModificationStatement
prepare(ClientState state)
protected abstract ModificationStatement
prepareInternal(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(VariableSpecifications bindVariables)
-
prepareInternal
protected abstract ModificationStatement prepareInternal(TableMetadata metadata, VariableSpecifications bindVariables, Conditions conditions, Attributes attrs)
-
newRestrictions
protected StatementRestrictions newRestrictions(TableMetadata metadata, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions)
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()
-
-