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.
|
java.lang.String |
columnFamily() |
void |
validate(ClientState state)
Perform additional validation required by the statment.
|
execute, executeInternal, getBoundTerms, prepare, prepareKeyspace
keyspace
getBoundVariables, setBoundVariables
public final java.lang.String indexName
public final boolean ifExists
public DropIndexStatement(java.lang.String indexName, boolean ifExists)
public java.lang.String columnFamily()
columnFamily
in class CFStatement
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 boolean announceMigration() throws InvalidRequestException, ConfigurationException
SchemaAlteringStatement
announceMigration
in class SchemaAlteringStatement
InvalidRequestException
ConfigurationException
Copyright © 2015 The Apache Software Foundation