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 |
---|---|
void |
announceMigration(boolean isLocalOnly) |
Event.SchemaChange |
changeEvent() |
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, prepareKeyspace
getBoundVariables, setBoundVariables
public final java.lang.String indexName
public final boolean ifExists
public DropIndexStatement(IndexName 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 Event.SchemaChange changeEvent()
changeEvent
in class SchemaAlteringStatement
public void announceMigration(boolean isLocalOnly) throws InvalidRequestException, ConfigurationException
announceMigration
in class SchemaAlteringStatement
InvalidRequestException
ConfigurationException
public java.lang.String columnFamily()
columnFamily
in class CFStatement
Copyright © 2014 The Apache Software Foundation