public abstract static class ModificationStatement.Parsed extends CFStatement
ParsedStatement.Prepared
cfName
Modifier | Constructor and Description |
---|---|
protected |
Parsed(CFName name,
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 static StatementRestrictions |
newRestrictions(StatementType type,
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, prepareKeyspace
getBoundVariables, getFunctions, setBoundVariables, setBoundVariables
protected Parsed(CFName name, Attributes.Raw attrs, java.util.List<Pair<ColumnIdentifier.Raw,ColumnCondition.Raw>> conditions, boolean ifNotExists, boolean ifExists)
public ParsedStatement.Prepared prepare()
prepare
in class ParsedStatement
public ModificationStatement prepare(VariableSpecifications boundNames)
protected abstract ModificationStatement prepareInternal(CFMetaData cfm, VariableSpecifications boundNames, Conditions conditions, Attributes attrs)
protected static StatementRestrictions newRestrictions(StatementType type, CFMetaData cfm, VariableSpecifications boundNames, Operations operations, WhereClause where, Conditions conditions)
type
- the statement typecfm
- 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 ColumnIdentifier
ColumnDefinition
corresponding to the specified raw ColumnIdentifier
Copyright © 2015 The Apache Software Foundation