Uses of Class
org.apache.cassandra.exceptions.RequestValidationException
-
-
Uses of RequestValidationException in org.apache.cassandra.auth
Methods in org.apache.cassandra.auth that throw RequestValidationException Modifier and Type Method Description voidIRoleManager. alterRole(AuthenticatedUser performer, RoleResource role, RoleOptions options)Called during execution of ALTER ROLE statement.voidCassandraRoleManager. createRole(AuthenticatedUser performer, RoleResource role, RoleOptions options)voidIRoleManager. createRole(AuthenticatedUser performer, RoleResource role, RoleOptions options)Called during execution of a CREATE ROLE statement.voidCassandraRoleManager. dropRole(AuthenticatedUser performer, RoleResource role)voidIRoleManager. dropRole(AuthenticatedUser performer, RoleResource role)Called during execution of DROP ROLE statement, as well we removing any main record of the role from the system this implies that we want to revoke this role from all other roles that it has been granted to.java.util.Set<RoleResource>CassandraRoleManager. getAllRoles()We hard-code this query to Quorum regardless of the role or auth credentials of the queryer given the nature of this query: we expect to know *all* roles across the entire cluster when we query this, not just local quorum or on a single node.java.util.Set<RoleResource>IRoleManager. getAllRoles()Called during the execution of an unqualified LIST ROLES query.java.util.Set<RoleResource>CassandraRoleManager. getRoles(RoleResource grantee, boolean includeInherited)java.util.Set<RoleResource>IRoleManager. getRoles(RoleResource grantee, boolean includeInherited)Called during execution of a LIST ROLES query.java.util.Set<Permission>CassandraAuthorizer. grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)java.util.Set<Permission>IAuthorizer. grant(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)Grants a set of permissions on a resource to a role.voidCassandraRoleManager. grantRole(AuthenticatedUser performer, RoleResource role, RoleResource grantee)voidIRoleManager. grantRole(AuthenticatedUser performer, RoleResource role, RoleResource grantee)Called during execution of GRANT ROLE query.java.util.Set<PermissionDetails>CassandraAuthorizer. list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)java.util.Set<PermissionDetails>IAuthorizer. list(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource grantee)Returns a list of permissions on a resource granted to a role.java.util.Set<Permission>CassandraAuthorizer. revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource revokee)java.util.Set<Permission>IAuthorizer. revoke(AuthenticatedUser performer, java.util.Set<Permission> permissions, IResource resource, RoleResource revokee)Revokes a set of permissions on a resource from a user.voidCassandraRoleManager. revokeRole(AuthenticatedUser performer, RoleResource role, RoleResource revokee)voidIRoleManager. revokeRole(AuthenticatedUser performer, RoleResource role, RoleResource revokee)Called during the execution of a REVOKE ROLE query. -
Uses of RequestValidationException in org.apache.cassandra.cql3
Methods in org.apache.cassandra.cql3 that throw RequestValidationException Modifier and Type Method Description static CQLStatementQueryProcessor. getStatement(java.lang.String queryStr, ClientState clientState)static QueryHandler.PreparedQueryProcessor. parseAndPrepare(java.lang.String query, ClientState clientState, boolean isInternal)static CQLStatementQueryProcessor. parseStatement(java.lang.String queryStr, ClientState clientState)ResultMessage.PreparedQueryHandler. prepare(java.lang.String query, ClientState clientState, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload)ResultMessage.PreparedQueryProcessor. prepare(java.lang.String query, ClientState clientState, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload)static QueryHandler.PreparedQueryProcessor. prepareInternal(java.lang.String query)ResultMessageQueryHandler. process(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)static ResultMessageQueryProcessor. process(java.lang.String queryString, ConsistencyLevel cl, QueryState queryState, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. process(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. process(CQLStatement prepared, QueryState queryState, QueryOptions options, Dispatcher.RequestTime requestTime)ResultMessageQueryHandler. processBatch(BatchStatement statement, QueryState state, BatchQueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. processBatch(BatchStatement statement, QueryState state, BatchQueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. processBatch(BatchStatement batch, QueryState queryState, BatchQueryOptions options, Dispatcher.RequestTime requestTime)ResultMessageQueryHandler. processPrepared(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. processPrepared(CQLStatement statement, QueryState state, QueryOptions options, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. processPrepared(CQLStatement statement, QueryState queryState, QueryOptions options, Dispatcher.RequestTime requestTime)ResultMessageQueryProcessor. processStatement(CQLStatement statement, QueryState queryState, QueryOptions options, Dispatcher.RequestTime requestTime) -
Uses of RequestValidationException in org.apache.cassandra.cql3.statements
Methods in org.apache.cassandra.cql3.statements that throw RequestValidationException Modifier and Type Method Description ResultMessageAddIdentityStatement. execute(ClientState state)ResultMessageAlterRoleStatement. execute(ClientState state)abstract ResultMessageAuthenticationStatement. execute(ClientState state)ResultMessageAuthenticationStatement. execute(QueryState state, QueryOptions options, Dispatcher.RequestTime requestTime)abstract ResultMessageAuthorizationStatement. execute(ClientState state)ResultMessageAuthorizationStatement. execute(QueryState state, QueryOptions options, Dispatcher.RequestTime requestTime)ResultMessageCreateRoleStatement. execute(ClientState state)ResultMessageDescribeStatement. execute(QueryState state, QueryOptions options, Dispatcher.RequestTime requestTime)ResultMessageDropIdentityStatement. execute(ClientState state)ResultMessageDropRoleStatement. execute(ClientState state)ResultMessageGrantPermissionsStatement. execute(ClientState state)ResultMessageGrantRoleStatement. execute(ClientState state)ResultMessageListPermissionsStatement. execute(ClientState state)ResultMessageListRolesStatement. execute(ClientState state)ResultMessageModificationStatement. execute(QueryState queryState, QueryOptions options, Dispatcher.RequestTime requestTime)ResultMessageRevokePermissionsStatement. execute(ClientState state)ResultMessageRevokeRoleStatement. execute(ClientState state)ResultMessageModificationStatement. executeInternalWithoutCondition(QueryState queryState, QueryOptions options, Dispatcher.RequestTime requestTime)ResultMessageBatchStatement. executeLocally(QueryState queryState, QueryOptions options)ResultMessageModificationStatement. executeLocally(QueryState queryState, QueryOptions options)ResultMessage.RowsSelectStatement. executeLocally(QueryState state, QueryOptions options)java.util.Map<DecoratedKey,java.util.List<Row>>SelectStatement. executeRawInternal(QueryOptions options, ClientState state, long nowInSec)ReadQuerySelectStatement. getQuery(QueryOptions options, long nowInSec)CQLStatementDescribeStatement. prepare(ClientState clientState)voidAlterRoleStatement. validate(ClientState state)voidCreateRoleStatement. validate(ClientState state)voidDropRoleStatement. validate(ClientState state)voidListPermissionsStatement. validate(ClientState state)voidPermissionsManagementStatement. validate(ClientState state)voidRoleManagementStatement. validate(ClientState state) -
Uses of RequestValidationException in org.apache.cassandra.cql3.statements.schema
Methods in org.apache.cassandra.cql3.statements.schema that throw RequestValidationException Modifier and Type Method Description voidIndexAttributes. validate() -
Uses of RequestValidationException in org.apache.cassandra.db
Subclasses of RequestValidationException in org.apache.cassandra.db Modifier and Type Class Description classKeyspaceNotDefinedExceptionclassMutationExceededMaxSizeException -
Uses of RequestValidationException in org.apache.cassandra.db.guardrails
Subclasses of RequestValidationException in org.apache.cassandra.db.guardrails Modifier and Type Class Description classGuardrailViolatedException -
Uses of RequestValidationException in org.apache.cassandra.exceptions
Subclasses of RequestValidationException in org.apache.cassandra.exceptions Modifier and Type Class Description classAlreadyExistsExceptionclassAuthenticationExceptionclassConfigurationExceptionclassInvalidRequestExceptionclassPreparedQueryNotFoundExceptionclassSyntaxExceptionclassUnauthorizedException -
Uses of RequestValidationException in org.apache.cassandra.service.pager
Methods in org.apache.cassandra.service.pager that throw RequestValidationException Modifier and Type Method Description PartitionIteratorMultiPartitionPager. fetchPage(int pageSize, ConsistencyLevel consistency, ClientState clientState, Dispatcher.RequestTime requestTime)PartitionIteratorQueryPager. fetchPage(int pageSize, ConsistencyLevel consistency, ClientState clientState, Dispatcher.RequestTime requestTime)Fetches the next page.PartitionIteratorMultiPartitionPager. fetchPageInternal(int pageSize, ReadExecutionController executionController)PartitionIteratorQueryPager. fetchPageInternal(int pageSize, ReadExecutionController executionController)Fetches the next page internally (in other, this does a local query).
-