public class DropIndexStatement extends SchemaAlteringStatement
ParsedStatement.Prepared| Modifier and Type | Field and Description |
|---|---|
boolean |
ifExists |
java.lang.String |
indexName |
cfName| Constructor and Description |
|---|
DropIndexStatement(IndexName indexName,
boolean ifExists) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
announceMigration(boolean isLocalOnly)
Announces the migration to other nodes in the cluster.
|
Event.SchemaChange |
changeEvent() |
void |
checkAccess(ClientState state)
Perform any access verification necessary for the statement.
|
java.lang.String |
columnFamily() |
ResultMessage |
execute(QueryState state,
QueryOptions options)
Execute the statement and return the resulting result or null if there is no result.
|
void |
validate(ClientState state)
Perform additional validation required by the statment.
|
executeInternal, getBoundTerms, grantPermissionsToCreator, prepare, prepareKeyspacekeyspace, prepareKeyspacegetBoundVariables, getFunctions, setBoundVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFunctionspublic final java.lang.String indexName
public final boolean ifExists
public DropIndexStatement(IndexName indexName, boolean ifExists)
public java.lang.String columnFamily()
columnFamily in class CFStatementpublic void checkAccess(ClientState state) throws UnauthorizedException, InvalidRequestException
CQLStatementstate - the current client stateUnauthorizedExceptionInvalidRequestExceptionpublic void validate(ClientState state)
CQLStatementstate - the current client statepublic Event.SchemaChange changeEvent()
changeEvent in class SchemaAlteringStatementpublic ResultMessage execute(QueryState state, QueryOptions options) throws RequestValidationException
CQLStatementexecute in interface CQLStatementexecute in class SchemaAlteringStatementstate - the current query stateoptions - options for this query (consistency, variables, pageSize, ...)RequestValidationExceptionpublic boolean announceMigration(boolean isLocalOnly)
throws InvalidRequestException,
ConfigurationException
SchemaAlteringStatementannounceMigration in class SchemaAlteringStatementInvalidRequestExceptionConfigurationExceptionCopyright © 2015 The Apache Software Foundation