Uses of Class org.apache.cassandra.exceptions.RequestValidationException (apache-cassandra API)
Date: 2014-10-21

## Uses of Class
org.apache.cassandra.exceptions.RequestValidationException

- Packages that use RequestValidationException
  Package | Description
  --- | ---
  org.apache.cassandra.auth |
  org.apache.cassandra.cql |
  org.apache.cassandra.cql.hooks |
  org.apache.cassandra.cql3 |
  org.apache.cassandra.cql3.statements |
  org.apache.cassandra.db |
  org.apache.cassandra.exceptions |
  org.apache.cassandra.service.pager |
  org.apache.cassandra.thrift |

- - ### Uses of RequestValidationException in org.apache.cassandra.auth

    Methods in org.apache.cassandra.auth that throw RequestValidationException
    Modifier and Type | Method and Description
    --- | ---
    `void` | IAuthenticator.`alter(java.lang.String username, java.util.Map<IAuthenticator.Option,java.lang.Object> options)` Called during execution of ALTER USER query.
    `void` | LegacyAuthenticator.`alter(java.lang.String username, java.util.Map<IAuthenticator.Option,java.lang.Object> options)`
    `void` | IAuthenticator.`create(java.lang.String username, java.util.Map<IAuthenticator.Option,java.lang.Object> options)` Called during execution of CREATE USER query (also may be called on startup, see seedSuperuserOptions method).
    `void` | LegacyAuthenticator.`create(java.lang.String username, java.util.Map<IAuthenticator.Option,java.lang.Object> options)`
    `void` | IAuthenticator.`drop(java.lang.String username)` Called during execution of DROP USER query.
    `void` | LegacyAuthenticator.`drop(java.lang.String username)`
    `void` | IAuthorizer.`grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String to)` Grants a set of permissions on a resource to a user.
    `java.util.Set<PermissionDetails>` | CassandraAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String of)`
    `java.util.Set<PermissionDetails>` | IAuthorizer.`list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String of)` Returns a list of permissions on a resource of a user.
    `void` | IAuthorizer.`revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, java.lang.String from)` Revokes a set of permissions on a resource from a user.

  - ### Uses of RequestValidationException in org.apache.cassandra.cql

    Methods in org.apache.cassandra.cql that throw RequestValidationException
    Modifier and Type | Method and Description
    --- | ---
    `static CqlPreparedResult` | QueryProcessor.`prepare(java.lang.String queryString, ThriftClientState clientState)`
    `static CqlResult` | QueryProcessor.`process(java.lang.String queryString, ThriftClientState clientState)`
    `static CqlResult` | QueryProcessor.`processPrepared(CQLStatement statement, ThriftClientState clientState, java.util.List<java.nio.ByteBuffer> variables)`
    `static CqlResult` | QueryProcessor.`processStatement(CQLStatement statement, ExecutionContext context)`

  - ### Uses of RequestValidationException in org.apache.cassandra.cql.hooks

    Methods in org.apache.cassandra.cql.hooks that throw RequestValidationException
    Modifier and Type | Method and Description
    --- | ---
    `CQLStatement` | PreExecutionHook.`processStatement(CQLStatement statement, ExecutionContext context)` Perform pre-processing on a CQL statement prior to it being executed by the QueryProcessor.
    `void` | PostPreparationHook.`processStatement(CQLStatement statement, PreparationContext context)` Called in QueryProcessor, once a CQL statement has been prepared.

  - ### Uses of RequestValidationException in org.apache.cassandra.cql3

    Methods in org.apache.cassandra.cql3 that throw RequestValidationException
    Modifier and Type | Method and Description
    --- | ---
    `ResultMessage` | CQLStatement.`execute(QueryState state, QueryOptions options)` Execute the statement and return the resulting result or null if there is no result.
    `ResultMessage` | CQLStatement.`executeInternal(QueryState state, QueryOptions options)` Variante of execute used for internal query against the system tables, and thus only query the local node.
    `static ParsedStatement.Prepared` | QueryProcessor.`getStatement(java.lang.String queryStr, ClientState clientState)`
    `static ParsedStatement.Prepared` | QueryProcessor.`parseStatement(java.lang.String queryStr, QueryState queryState)`
    `static ResultMessage.Prepared` | QueryProcessor.`prepare(java.lang.String queryString, ClientState clientState, boolean forThrift)`
    `ResultMessage.Prepared` | QueryHandler.`prepare(java.lang.String query, QueryState state)`
    `ResultMessage.Prepared` | QueryProcessor.`prepare(java.lang.String queryString, QueryState queryState)`
    `static ResultMessage` | QueryProcessor.`process(java.lang.String queryString, ConsistencyLevel cl, QueryState queryState)`
    `ResultMessage` | QueryHandler.`process(java.lang.String query, QueryState state, QueryOptions options)`
    `ResultMessage` | QueryProcessor.`process(java.lang.String queryString, QueryState queryState, QueryOptions options)`
    `ResultMessage` | QueryHandler.`processBatch(BatchStatement statement, QueryState state, BatchQueryOptions options)`
    `ResultMessage` | QueryProcessor.`processBatch(BatchStatement batch, QueryState queryState, BatchQueryOptions options)`
    `ResultMessage` | QueryHandler.`processPrepared(CQLStatement statement, QueryState state, QueryOptions options)`
    `ResultMessage` | QueryProcessor.`processPrepared(CQLStatement statement, QueryState queryState, QueryOptions options)`
    `ResultMessage` | QueryProcessor.`processStatement(CQLStatement statement, QueryState queryState, QueryOptions options)`
    `void` | CQLStatement.`validate(ClientState state)` Perform additional validation required by the statment.

  - ### Uses of RequestValidationException in org.apache.cassandra.cql3.statements

    Methods in org.apache.cassandra.cql3.statements that throw RequestValidationException
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | AlterKeyspaceStatement.`announceMigration(boolean isLocalOnly)`
    `boolean` | AlterTableStatement.`announceMigration(boolean isLocalOnly)`
    `boolean` | CreateIndexStatement.`announceMigration(boolean isLocalOnly)`
    `boolean` | CreateKeyspaceStatement.`announceMigration(boolean isLocalOnly)`
    `boolean` | CreateTableStatement.`announceMigration(boolean isLocalOnly)`
    `abstract boolean` | SchemaAlteringStatement.`announceMigration(boolean isLocalOnly)` Announces the migration to other nodes in the cluster.
    `void` | CreateTableStatement.`applyPropertiesTo(CFMetaData cfmd)`
    `KSMetaData` | KSPropDefs.`asKSMetadata(java.lang.String ksName)`
    `KSMetaData` | KSPropDefs.`asKSMetadataUpdate(KSMetaData old)`
    `ResultMessage` | AlterUserStatement.`execute(ClientState state)`
    `abstract ResultMessage` | AuthenticationStatement.`execute(ClientState state)`
    `abstract ResultMessage` | AuthorizationStatement.`execute(ClientState state)`
    `ResultMessage` | CreateUserStatement.`execute(ClientState state)`
    `ResultMessage` | DropUserStatement.`execute(ClientState state)`
    `ResultMessage` | GrantStatement.`execute(ClientState state)`
    `ResultMessage` | ListPermissionsStatement.`execute(ClientState state)`
    `ResultMessage` | ListUsersStatement.`execute(ClientState state)`
    `ResultMessage` | RevokeStatement.`execute(ClientState state)`
    `ResultMessage` | BatchStatement.`execute(QueryState queryState, BatchQueryOptions options)`
    `ResultMessage` | AuthenticationStatement.`execute(QueryState state, QueryOptions options)`
    `ResultMessage` | AuthorizationStatement.`execute(QueryState state, QueryOptions options)`
    `ResultMessage` | BatchStatement.`execute(QueryState queryState, QueryOptions options)`
    `ResultMessage` | DropIndexStatement.`execute(QueryState state, QueryOptions options)`
    `ResultMessage` | ModificationStatement.`execute(QueryState queryState, QueryOptions options)`
    `ResultMessage` | SchemaAlteringStatement.`execute(QueryState state, QueryOptions options)`
    `ResultMessage.Rows` | SelectStatement.`execute(QueryState state, QueryOptions options)`
    `ResultMessage` | BatchStatement.`executeInternal(QueryState queryState, QueryOptions options)`
    `ResultMessage` | ModificationStatement.`executeInternal(QueryState queryState, QueryOptions options)`
    `ResultMessage.Rows` | SelectStatement.`executeInternal(QueryState state, QueryOptions options)`
    `ResultMessage` | ModificationStatement.`executeWithCondition(QueryState queryState, QueryOptions options)`
    `CFMetaData` | CreateTableStatement.`getCFMetaData()` Returns a CFMetaData instance based on the parameters parsed from this `CREATE` statement, or defaults where applicable.
    `Pageable` | SelectStatement.`getPageableCommand(QueryOptions options)`
    `UpdateParameters` | ModificationStatement.`makeUpdateParameters(java.util.Collection<java.nio.ByteBuffer> keys, Composite prefix, QueryOptions options, boolean local, long now)`
    `ParsedStatement.Prepared` | CreateTableStatement.RawStatement.`prepare()` Transform this raw statement into a CreateTableStatement.
    `abstract ParsedStatement.Prepared` | ParsedStatement.`prepare()`
    `ResultMessage.Rows` | SelectStatement.`processResults(java.util.List<Row> rows, QueryOptions options, int limit, long now)`
    `protected java.util.Map<java.nio.ByteBuffer,CQL3Row>` | ModificationStatement.`readRequiredRows(java.util.Collection<java.nio.ByteBuffer> partitionKeys, Composite clusteringPrefix, boolean local, ConsistencyLevel cl)`
    `void` | IndexPropDefs.`validate()`
    `void` | AlterKeyspaceStatement.`validate(ClientState state)`
    `void` | AlterTypeStatement.`validate(ClientState state)`
    `void` | AlterUserStatement.`validate(ClientState state)`
    `void` | CreateIndexStatement.`validate(ClientState state)`
    `void` | CreateKeyspaceStatement.`validate(ClientState state)` The `CqlParser` only goes as far as extracting the keyword arguments from these statements, so this method is responsible for processing and validating.
    `void` | CreateTriggerStatement.`validate(ClientState state)`
    `void` | CreateTypeStatement.`validate(ClientState state)`
    `void` | CreateUserStatement.`validate(ClientState state)`
    `void` | DropKeyspaceStatement.`validate(ClientState state)`
    `void` | DropTriggerStatement.`validate(ClientState state)`
    `void` | DropTypeStatement.`validate(ClientState state)`
    `void` | DropUserStatement.`validate(ClientState state)`
    `void` | ListPermissionsStatement.`validate(ClientState state)`
    `void` | PermissionAlteringStatement.`validate(ClientState state)`

  - ### Uses of RequestValidationException in org.apache.cassandra.db

    Subclasses of RequestValidationException in org.apache.cassandra.db
    Modifier and Type | Class and Description
    --- | ---
    `class` | `KeyspaceNotDefinedException`

  - ### Uses of RequestValidationException in org.apache.cassandra.exceptions

    Subclasses of RequestValidationException in org.apache.cassandra.exceptions
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AlreadyExistsException`
    `class` | `AuthenticationException`
    `class` | `ConfigurationException`
    `class` | `InvalidRequestException`
    `class` | `PreparedQueryNotFoundException`
    `class` | `SyntaxException`
    `class` | `UnauthorizedException`

  - ### Uses of RequestValidationException in org.apache.cassandra.service.pager

    Methods in org.apache.cassandra.service.pager that throw RequestValidationException
    Modifier and Type | Method and Description
    --- | ---
    `static int` | QueryPagers.`countPaged(java.lang.String keyspace, java.lang.String columnFamily, java.nio.ByteBuffer key, SliceQueryFilter filter, ConsistencyLevel consistencyLevel, int pageSize, long now)` Convenience method that count (live) cells/rows for a given slice of a row, but page underneath.
    `java.util.List<Row>` | NamesQueryPager.`fetchPage(int pageSize)`
    `java.util.List<Row>` | QueryPager.`fetchPage(int pageSize)` Fetches the next page.
    `protected java.util.List<Row>` | SliceQueryPager.`queryNextPage(int pageSize, ConsistencyLevel consistencyLevel, boolean localQuery)`

  - ### Uses of RequestValidationException in org.apache.cassandra.thrift

    Methods in org.apache.cassandra.thrift with parameters of type RequestValidationException
    Modifier and Type | Method and Description
    --- | ---
    `static InvalidRequestException` | ThriftConversion.`toThrift(RequestValidationException e)`

Copyright © 2014 The Apache Software Foundation