public static class CreateTableStatement.RawStatement extends CFStatement
ParsedStatement.Prepared
Modifier and Type | Field and Description |
---|---|
CFPropDefs |
properties |
cfName
Constructor and Description |
---|
CreateTableStatement.RawStatement(CFName name,
boolean ifNotExists) |
Modifier and Type | Method and Description |
---|---|
void |
addColumnAlias(ColumnIdentifier alias) |
void |
addDefinition(ColumnIdentifier def,
CQL3Type type,
boolean isStatic) |
void |
addKeyAliases(java.util.List<ColumnIdentifier> aliases) |
ParsedStatement.Prepared |
prepare()
Transform this raw statement into a CreateTableStatement.
|
void |
setCompactStorage() |
void |
setOrdering(ColumnIdentifier alias,
boolean reversed) |
columnFamily, keyspace, prepareKeyspace
getBoundVariables, setBoundVariables
public final CFPropDefs properties
public CreateTableStatement.RawStatement(CFName name, boolean ifNotExists)
public ParsedStatement.Prepared prepare() throws RequestValidationException
prepare
in class ParsedStatement
RequestValidationException
public void addDefinition(ColumnIdentifier def, CQL3Type type, boolean isStatic)
public void addKeyAliases(java.util.List<ColumnIdentifier> aliases)
public void addColumnAlias(ColumnIdentifier alias)
public void setOrdering(ColumnIdentifier alias, boolean reversed)
public void setCompactStorage()
Copyright © 2015 The Apache Software Foundation