public class CreateIndexStatement extends SchemaAlteringStatement
CREATE INDEX statement parsed from a CQL query.ParsedStatement.PreparedcfName| Constructor and Description |
|---|
CreateIndexStatement(CFName name,
java.lang.String indexName,
ColumnIdentifier columnName,
boolean isCustom,
java.lang.String indexClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
announceMigration() |
ResultMessage.SchemaChange.Change |
changeType() |
void |
checkAccess(ClientState state)
Perform any access verification necessary for the statement.
|
void |
validate(ClientState state)
Perform additional validation required by the statment.
|
execute, executeInternal, prepare, prepareKeyspacecolumnFamily, keyspacegetBoundTerms, setBoundTermsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBoundTermspublic CreateIndexStatement(CFName name, java.lang.String indexName, ColumnIdentifier columnName, boolean isCustom, java.lang.String indexClass)
public void checkAccess(ClientState state) throws UnauthorizedException, InvalidRequestException
CQLStatementstate - the current client stateUnauthorizedExceptionInvalidRequestExceptionpublic void validate(ClientState state) throws RequestValidationException
CQLStatementvalidate in interface CQLStatementvalidate in class SchemaAlteringStatementstate - the current client stateRequestValidationExceptionpublic void announceMigration()
throws InvalidRequestException,
ConfigurationException
announceMigration in class SchemaAlteringStatementInvalidRequestExceptionConfigurationExceptionpublic ResultMessage.SchemaChange.Change changeType()
changeType in class SchemaAlteringStatementCopyright © 2014 The Apache Software Foundation