public abstract static class ModificationStatement.Parsed extends CFStatement
ParsedStatement.Prepared| Modifier and Type | Field and Description |
|---|---|
protected StatementType |
type |
cfName| Modifier | Constructor and Description |
|---|---|
protected |
Parsed(CFName name,
StatementType type,
Attributes.Raw attrs,
java.util.List<Pair<ColumnIdentifier.Raw,ColumnCondition.Raw>> conditions,
boolean ifNotExists,
boolean ifExists) |
| Modifier and Type | Method and Description |
|---|---|
protected static ColumnDefinition |
getColumnDefinition(CFMetaData cfm,
ColumnIdentifier.Raw rawId)
Retrieves the
ColumnDefinition corresponding to the specified raw ColumnIdentifier. |
protected StatementRestrictions |
newRestrictions(CFMetaData cfm,
VariableSpecifications boundNames,
Operations operations,
WhereClause where,
Conditions conditions)
Creates the restrictions.
|
ParsedStatement.Prepared |
prepare() |
ModificationStatement |
prepare(VariableSpecifications boundNames) |
protected abstract ModificationStatement |
prepareInternal(CFMetaData cfm,
VariableSpecifications boundNames,
Conditions conditions,
Attributes attrs) |
columnFamily, keyspace, prepareKeyspace, prepareKeyspacegetBoundVariables, getFunctions, setBoundVariables, setBoundVariablesprotected final StatementType type
protected Parsed(CFName name, StatementType type, Attributes.Raw attrs, java.util.List<Pair<ColumnIdentifier.Raw,ColumnCondition.Raw>> conditions, boolean ifNotExists, boolean ifExists)
public ParsedStatement.Prepared prepare()
prepare in class ParsedStatementpublic ModificationStatement prepare(VariableSpecifications boundNames)
protected abstract ModificationStatement prepareInternal(CFMetaData cfm, VariableSpecifications boundNames, Conditions conditions, Attributes attrs)
protected StatementRestrictions newRestrictions(CFMetaData cfm, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions)
cfm - the column family meta databoundNames - the bound namesoperations - the column operationswhere - the where clauseconditions - the conditionsprotected static ColumnDefinition getColumnDefinition(CFMetaData cfm, ColumnIdentifier.Raw rawId)
ColumnDefinition corresponding to the specified raw ColumnIdentifier.cfm - the column family meta datarawId - the raw ColumnIdentifierColumnDefinition corresponding to the specified raw ColumnIdentifierCopyright © 2016 The Apache Software Foundation