Modifier and Type | Method and Description |
---|---|
void |
IRoleManager.alterRole(AuthenticatedUser performer,
RoleResource role,
RoleOptions options)
Called during execution of ALTER ROLE statement.
|
void |
CassandraRoleManager.createRole(AuthenticatedUser performer,
RoleResource role,
RoleOptions options) |
void |
IRoleManager.createRole(AuthenticatedUser performer,
RoleResource role,
RoleOptions options)
Called during execution of a CREATE ROLE statement.
|
void |
CassandraRoleManager.dropRole(AuthenticatedUser performer,
RoleResource role) |
void |
IRoleManager.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() |
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.
|
void |
CassandraAuthorizer.grant(AuthenticatedUser performer,
java.util.Set<Permission> permissions,
IResource resource,
RoleResource grantee) |
void |
IAuthorizer.grant(AuthenticatedUser performer,
java.util.Set<Permission> permissions,
IResource resource,
RoleResource grantee)
Grants a set of permissions on a resource to a role.
|
void |
CassandraRoleManager.grantRole(AuthenticatedUser performer,
RoleResource role,
RoleResource grantee) |
void |
IRoleManager.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.
|
void |
CassandraAuthorizer.revoke(AuthenticatedUser performer,
java.util.Set<Permission> permissions,
IResource resource,
RoleResource revokee) |
void |
IAuthorizer.revoke(AuthenticatedUser performer,
java.util.Set<Permission> permissions,
IResource resource,
RoleResource revokee)
Revokes a set of permissions on a resource from a user.
|
void |
CassandraRoleManager.revokeRole(AuthenticatedUser performer,
RoleResource role,
RoleResource revokee) |
void |
IRoleManager.revokeRole(AuthenticatedUser performer,
RoleResource role,
RoleResource revokee)
Called during the execution of a REVOKE ROLE query.
|
Modifier and Type | Method and Description |
---|---|
static CQLStatement |
QueryProcessor.getStatement(java.lang.String queryStr,
ClientState clientState) |
static CQLStatement |
QueryProcessor.parseStatement(java.lang.String queryStr,
ClientState clientState) |
ResultMessage.Prepared |
QueryHandler.prepare(java.lang.String query,
ClientState clientState,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload) |
ResultMessage.Prepared |
QueryProcessor.prepare(java.lang.String query,
ClientState clientState,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload) |
static QueryHandler.Prepared |
QueryProcessor.prepareInternal(java.lang.String query) |
ResultMessage |
QueryProcessor.process(CQLStatement prepared,
QueryState queryState,
QueryOptions options,
long queryStartNanoTime) |
ResultMessage |
QueryHandler.process(CQLStatement statement,
QueryState state,
QueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
long queryStartNanoTime) |
ResultMessage |
QueryProcessor.process(CQLStatement statement,
QueryState state,
QueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
long queryStartNanoTime) |
static ResultMessage |
QueryProcessor.process(java.lang.String queryString,
ConsistencyLevel cl,
QueryState queryState,
long queryStartNanoTime) |
ResultMessage |
QueryProcessor.processBatch(BatchStatement batch,
QueryState queryState,
BatchQueryOptions options,
long queryStartNanoTime) |
ResultMessage |
QueryHandler.processBatch(BatchStatement statement,
QueryState state,
BatchQueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
long queryStartNanoTime) |
ResultMessage |
QueryProcessor.processBatch(BatchStatement statement,
QueryState state,
BatchQueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
long queryStartNanoTime) |
ResultMessage |
QueryProcessor.processPrepared(CQLStatement statement,
QueryState queryState,
QueryOptions options,
long queryStartNanoTime) |
ResultMessage |
QueryHandler.processPrepared(CQLStatement statement,
QueryState state,
QueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
long queryStartNanoTime) |
ResultMessage |
QueryProcessor.processPrepared(CQLStatement statement,
QueryState state,
QueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
long queryStartNanoTime) |
ResultMessage |
QueryProcessor.processStatement(CQLStatement statement,
QueryState queryState,
QueryOptions options,
long queryStartNanoTime) |
Modifier and Type | Method and Description |
---|---|
ResultMessage |
AlterRoleStatement.execute(ClientState state) |
abstract ResultMessage |
AuthenticationStatement.execute(ClientState state) |
abstract ResultMessage |
AuthorizationStatement.execute(ClientState state) |
ResultMessage |
CreateRoleStatement.execute(ClientState state) |
ResultMessage |
DropRoleStatement.execute(ClientState state) |
ResultMessage |
GrantPermissionsStatement.execute(ClientState state) |
ResultMessage |
GrantRoleStatement.execute(ClientState state) |
ResultMessage |
ListPermissionsStatement.execute(ClientState state) |
ResultMessage |
ListRolesStatement.execute(ClientState state) |
ResultMessage |
RevokePermissionsStatement.execute(ClientState state) |
ResultMessage |
RevokeRoleStatement.execute(ClientState state) |
ResultMessage |
AuthenticationStatement.execute(QueryState state,
QueryOptions options,
long queryStartNanoTime) |
ResultMessage |
AuthorizationStatement.execute(QueryState state,
QueryOptions options,
long queryStartNanoTime) |
ResultMessage |
DescribeStatement.execute(QueryState state,
QueryOptions options,
long queryStartNanoTime) |
ResultMessage |
ModificationStatement.execute(QueryState queryState,
QueryOptions options,
long queryStartNanoTime) |
ResultMessage.Rows |
SelectStatement.executeInternal(QueryState state,
QueryOptions options,
int nowInSec,
long queryStartNanoTime) |
ResultMessage |
ModificationStatement.executeInternalWithoutCondition(QueryState queryState,
QueryOptions options,
long queryStartNanoTime) |
ResultMessage |
BatchStatement.executeLocally(QueryState queryState,
QueryOptions options) |
ResultMessage |
ModificationStatement.executeLocally(QueryState queryState,
QueryOptions options) |
ResultMessage.Rows |
SelectStatement.executeLocally(QueryState state,
QueryOptions options) |
ReadQuery |
SelectStatement.getQuery(QueryOptions options,
int nowInSec) |
CQLStatement |
DescribeStatement.prepare(ClientState clientState) |
void |
AlterRoleStatement.validate(ClientState state) |
void |
CreateRoleStatement.validate(ClientState state) |
void |
DropRoleStatement.validate(ClientState state) |
void |
ListPermissionsStatement.validate(ClientState state) |
void |
PermissionsManagementStatement.validate(ClientState state) |
void |
RoleManagementStatement.validate(ClientState state) |
Modifier and Type | Method and Description |
---|---|
void |
IndexAttributes.validate() |
Modifier and Type | Class and Description |
---|---|
class |
KeyspaceNotDefinedException |
Modifier and Type | Class and Description |
---|---|
class |
AlreadyExistsException |
class |
AuthenticationException |
class |
ConfigurationException |
class |
InvalidRequestException |
class |
PreparedQueryNotFoundException |
class |
SyntaxException |
class |
UnauthorizedException |
Modifier and Type | Method and Description |
---|---|
PartitionIterator |
MultiPartitionPager.fetchPage(int pageSize,
ConsistencyLevel consistency,
ClientState clientState,
long queryStartNanoTime) |
PartitionIterator |
QueryPager.fetchPage(int pageSize,
ConsistencyLevel consistency,
ClientState clientState,
long queryStartNanoTime)
Fetches the next page.
|
PartitionIterator |
MultiPartitionPager.fetchPageInternal(int pageSize,
ReadExecutionController executionController) |
PartitionIterator |
QueryPager.fetchPageInternal(int pageSize,
ReadExecutionController executionController)
Fetches the next page internally (in other, this does a local query).
|
Copyright © 2009-2021 The Apache Software Foundation