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()
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.
|
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.
|
static boolean |
CassandraRoleManager.hasExistingRoles() |
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.
|
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 UntypedResultSet |
QueryProcessor.execute(java.lang.String query,
ConsistencyLevel cl,
java.lang.Object... values) |
static UntypedResultSet |
QueryProcessor.execute(java.lang.String query,
ConsistencyLevel cl,
QueryState state,
java.lang.Object... values) |
ResultMessage |
QueryProcessor.process(CQLStatement prepared,
QueryState queryState,
QueryOptions options,
Dispatcher.RequestTime requestTime) |
ResultMessage |
QueryHandler.process(CQLStatement statement,
QueryState state,
QueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
Dispatcher.RequestTime requestTime) |
ResultMessage |
QueryProcessor.process(CQLStatement statement,
QueryState state,
QueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
Dispatcher.RequestTime requestTime) |
static UntypedResultSet |
QueryProcessor.process(java.lang.String query,
ConsistencyLevel cl) |
static UntypedResultSet |
QueryProcessor.process(java.lang.String query,
ConsistencyLevel cl,
java.util.List<java.nio.ByteBuffer> values) |
static ResultMessage |
QueryProcessor.process(java.lang.String queryString,
ConsistencyLevel cl,
QueryState queryState,
Dispatcher.RequestTime requestTime) |
ResultMessage |
QueryProcessor.processBatch(BatchStatement batch,
QueryState queryState,
BatchQueryOptions options,
Dispatcher.RequestTime requestTime) |
ResultMessage |
QueryHandler.processBatch(BatchStatement statement,
QueryState state,
BatchQueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
Dispatcher.RequestTime requestTime) |
ResultMessage |
QueryProcessor.processBatch(BatchStatement statement,
QueryState state,
BatchQueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
Dispatcher.RequestTime requestTime) |
ResultMessage |
QueryProcessor.processPrepared(CQLStatement statement,
QueryState queryState,
QueryOptions options,
Dispatcher.RequestTime requestTime) |
ResultMessage |
QueryHandler.processPrepared(CQLStatement statement,
QueryState state,
QueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
Dispatcher.RequestTime requestTime) |
ResultMessage |
QueryProcessor.processPrepared(CQLStatement statement,
QueryState state,
QueryOptions options,
java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload,
Dispatcher.RequestTime requestTime) |
ResultMessage |
QueryProcessor.processStatement(CQLStatement statement,
QueryState queryState,
QueryOptions options,
Dispatcher.RequestTime requestTime) |
Modifier and Type | Method and Description |
---|---|
WriteContext |
CassandraKeyspaceWriteHandler.beginWrite(Mutation mutation,
boolean makeDurable) |
WriteContext |
KeyspaceWriteHandler.beginWrite(Mutation mutation,
boolean makeDurable) |
PartitionIterator |
PartitionRangeReadCommand.execute(ConsistencyLevel consistency,
ClientState state,
Dispatcher.RequestTime requestTime) |
PartitionIterator |
PartitionRangeReadCommand.VirtualTablePartitionRangeReadCommand.execute(ConsistencyLevel consistency,
ClientState state,
Dispatcher.RequestTime requestTime) |
PartitionIterator |
ReadQuery.execute(ConsistencyLevel consistency,
ClientState state,
Dispatcher.RequestTime requestTime)
Executes the query at the provided consistency level.
|
PartitionIterator |
SinglePartitionReadCommand.execute(ConsistencyLevel consistency,
ClientState state,
Dispatcher.RequestTime requestTime) |
PartitionIterator |
SinglePartitionReadCommand.Group.execute(ConsistencyLevel consistency,
ClientState state,
Dispatcher.RequestTime requestTime) |
PartitionIterator |
SinglePartitionReadCommand.VirtualTableGroup.execute(ConsistencyLevel consistency,
ClientState state,
Dispatcher.RequestTime requestTime) |
PartitionIterator |
SinglePartitionReadCommand.VirtualTableSinglePartitionReadCommand.execute(ConsistencyLevel consistency,
ClientState state,
Dispatcher.RequestTime requestTime) |
Modifier and Type | Class and Description |
---|---|
class |
CasWriteTimeoutException |
class |
CasWriteUnknownResultException |
class |
CDCWriteException |
class |
FunctionExecutionException |
class |
IsBootstrappingException |
class |
OperationExecutionException
Thrown when an operation problem has occured (e.g.
|
class |
OverloadedException |
class |
ReadAbortException
Special Read Failure which is caused by user query; implies a user request is not allowed and not that Cassandra had an issue.
|
class |
ReadFailureException |
class |
ReadSizeAbortException |
class |
ReadTimeoutException |
class |
RequestFailureException |
class |
RequestTimeoutException |
class |
TombstoneAbortException |
class |
TruncateException |
class |
UnavailableException |
class |
WriteFailureException |
class |
WriteTimeoutException |
Modifier and Type | Method and Description |
---|---|
PartitionIterator |
MultiPartitionPager.fetchPage(int pageSize,
ConsistencyLevel consistency,
ClientState clientState,
Dispatcher.RequestTime requestTime) |
PartitionIterator |
QueryPager.fetchPage(int pageSize,
ConsistencyLevel consistency,
ClientState clientState,
Dispatcher.RequestTime requestTime)
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- The Apache Software Foundation