public class DropIndexStatement extends SchemaAlteringStatement
ParsedStatement.Prepared| Modifier and Type | Field and Description |
|---|---|
boolean |
ifExists |
java.lang.String |
indexName |
cfName| Constructor and Description |
|---|
DropIndexStatement(java.lang.String indexName,
boolean ifExists) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
announceMigration()
Announces the migration to other nodes in the cluster.
|
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, getBoundTerms, prepare, prepareKeyspacecolumnFamily, keyspacegetBoundVariables, setBoundVariablespublic final java.lang.String indexName
public final boolean ifExists
public DropIndexStatement(java.lang.String indexName,
boolean ifExists)
public void checkAccess(ClientState state) throws UnauthorizedException, InvalidRequestException
CQLStatementstate - the current client stateUnauthorizedExceptionInvalidRequestExceptionpublic void validate(ClientState state)
CQLStatementstate - the current client statepublic ResultMessage.SchemaChange.Change changeType()
changeType in class SchemaAlteringStatementpublic boolean announceMigration()
throws InvalidRequestException,
ConfigurationException
SchemaAlteringStatementannounceMigration in class SchemaAlteringStatementInvalidRequestExceptionConfigurationExceptionCopyright © 2015 The Apache Software Foundation