org.apache.cassandra.cql3.statements
Class DropIndexStatement

java.lang.Object
  extended by org.apache.cassandra.cql3.statements.ParsedStatement
      extended by org.apache.cassandra.cql3.statements.CFStatement
          extended by org.apache.cassandra.cql3.statements.SchemaAlteringStatement
              extended by org.apache.cassandra.cql3.statements.DropIndexStatement
All Implemented Interfaces:
CQLStatement

public class DropIndexStatement
extends SchemaAlteringStatement


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cassandra.cql3.statements.ParsedStatement
ParsedStatement.Prepared
 
Field Summary
 java.lang.String indexName
           
 
Fields inherited from class org.apache.cassandra.cql3.statements.CFStatement
cfName
 
Constructor Summary
DropIndexStatement(java.lang.String indexName)
           
 
Method Summary
 void announceMigration()
           
 ResultMessage.SchemaChange.Change changeType()
           
 void checkAccess(ClientState state)
          Perform any access verification necessary for the statement.
 
Methods inherited from class org.apache.cassandra.cql3.statements.SchemaAlteringStatement
execute, executeInternal, prepare, prepareKeyspace, validate
 
Methods inherited from class org.apache.cassandra.cql3.statements.CFStatement
columnFamily, keyspace
 
Methods inherited from class org.apache.cassandra.cql3.statements.ParsedStatement
getBoundsTerms, setBoundTerms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cassandra.cql3.CQLStatement
getBoundsTerms
 

Field Detail

indexName

public final java.lang.String indexName
Constructor Detail

DropIndexStatement

public DropIndexStatement(java.lang.String indexName)
Method Detail

checkAccess

public void checkAccess(ClientState state)
                 throws UnauthorizedException,
                        InvalidRequestException
Description copied from interface: CQLStatement
Perform any access verification necessary for the statement.

Parameters:
state - the current client state
Throws:
UnauthorizedException
InvalidRequestException

changeType

public ResultMessage.SchemaChange.Change changeType()
Specified by:
changeType in class SchemaAlteringStatement

announceMigration

public void announceMigration()
                       throws InvalidRequestException,
                              ConfigurationException
Specified by:
announceMigration in class SchemaAlteringStatement
Throws:
InvalidRequestException
ConfigurationException


Copyright © 2012 The Apache Software Foundation