org.apache.cassandra.cql3.statements
Class CreateColumnFamilyStatement.RawStatement
java.lang.Object
org.apache.cassandra.cql3.statements.ParsedStatement
org.apache.cassandra.cql3.statements.CFStatement
org.apache.cassandra.cql3.statements.CreateColumnFamilyStatement.RawStatement
- Enclosing class:
- CreateColumnFamilyStatement
public static class CreateColumnFamilyStatement.RawStatement
- extends CFStatement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateColumnFamilyStatement.RawStatement
public CreateColumnFamilyStatement.RawStatement(CFName name)
prepare
public ParsedStatement.Prepared prepare()
throws org.apache.cassandra.thrift.InvalidRequestException
- Transform this raw statement into a CreateColumnFamilyStatement.
- Specified by:
prepare
in class ParsedStatement
- Throws:
org.apache.cassandra.thrift.InvalidRequestException
addDefinition
public void addDefinition(ColumnIdentifier def,
java.lang.String type)
setKeyAlias
public void setKeyAlias(ColumnIdentifier alias)
addColumnAlias
public void addColumnAlias(ColumnIdentifier alias)
addProperty
public void addProperty(java.lang.String name,
java.lang.String value)
throws org.apache.cassandra.thrift.InvalidRequestException
- Throws:
org.apache.cassandra.thrift.InvalidRequestException
setOrdering
public void setOrdering(ColumnIdentifier alias,
boolean reversed)
setCompactStorage
public void setCompactStorage()
checkAccess
public void checkAccess(ClientState state)
execute
public org.apache.cassandra.thrift.CqlResult execute(ClientState state,
java.util.List<java.nio.ByteBuffer> variables)
Copyright © 2012 The Apache Software Foundation