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 |
---|---|
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, getBoundsTerms, prepare, prepareKeyspace
columnFamily, keyspace
getBoundsVariables, setBoundVariables
public 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
CQLStatement
state
- the current client stateUnauthorizedException
InvalidRequestException
public void validate(ClientState state)
CQLStatement
state
- the current client statepublic ResultMessage.SchemaChange.Change changeType()
changeType
in class SchemaAlteringStatement
public void announceMigration() throws InvalidRequestException, ConfigurationException
announceMigration
in class SchemaAlteringStatement
InvalidRequestException
ConfigurationException
Copyright © 2013 The Apache Software Foundation