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 |
PasswordAuthenticator.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 |
PasswordAuthenticator.create(java.lang.String username,
java.util.Map<IAuthenticator.Option,java.lang.Object> options) |
static void |
Auth.deleteUser(java.lang.String username)
Deletes the user from AUTH_KS.USERS_CF.
|
void |
IAuthenticator.drop(java.lang.String username)
Called during execution of DROP USER query.
|
void |
LegacyAuthenticator.drop(java.lang.String username) |
void |
PasswordAuthenticator.drop(java.lang.String username) |
void |
CassandraAuthorizer.grant(AuthenticatedUser performer,
java.util.Set<Permission> permissions,
IResource resource,
java.lang.String to) |
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.
|
static void |
Auth.insertUser(java.lang.String username,
boolean isSuper)
Inserts the user into AUTH_KS.USERS_CF (or overwrites their superuser status as a result of an ALTER USER query).
|
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 |
CassandraAuthorizer.revoke(AuthenticatedUser performer,
java.util.Set<Permission> permissions,
IResource resource,
java.lang.String from) |
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.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.cassandra.thrift.CqlResult |
QueryProcessor.process(java.lang.String queryString,
ThriftClientState clientState) |
static org.apache.cassandra.thrift.CqlResult |
QueryProcessor.processPrepared(CQLStatement statement,
ThriftClientState clientState,
java.util.List<java.nio.ByteBuffer> variables) |
static org.apache.cassandra.thrift.CqlResult |
QueryProcessor.processStatement(CQLStatement statement,
ThriftClientState clientState,
java.util.List<java.nio.ByteBuffer> variables) |
Modifier and Type | Method and Description |
---|---|
ResultMessage |
CQLStatement.execute(ConsistencyLevel cl,
QueryState state,
java.util.List<java.nio.ByteBuffer> variables)
Execute the statement and return the resulting result or null if there is no result.
|
ResultMessage |
CQLStatement.executeInternal(QueryState state)
Variante of execute used for internal query against the system tables, and thus only query the local node.
|
static UntypedResultSet |
QueryProcessor.process(java.lang.String query,
ConsistencyLevel cl) |
static ResultMessage |
QueryProcessor.process(java.lang.String queryString,
ConsistencyLevel cl,
QueryState queryState) |
static ResultMessage |
QueryProcessor.processPrepared(CQLStatement statement,
ConsistencyLevel cl,
QueryState queryState,
java.util.List<java.nio.ByteBuffer> variables) |
Modifier and Type | Method and Description |
---|---|
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 |
AuthenticationStatement.execute(ConsistencyLevel cl,
QueryState state,
java.util.List<java.nio.ByteBuffer> variables) |
ResultMessage |
AuthorizationStatement.execute(ConsistencyLevel cl,
QueryState state,
java.util.List<java.nio.ByteBuffer> variables) |
ResultMessage |
ModificationStatement.execute(ConsistencyLevel cl,
QueryState queryState,
java.util.List<java.nio.ByteBuffer> variables) |
ResultMessage.Rows |
SelectStatement.execute(ConsistencyLevel cl,
QueryState state,
java.util.List<java.nio.ByteBuffer> variables) |
ResultMessage |
ModificationStatement.executeInternal(QueryState queryState) |
ResultMessage.Rows |
SelectStatement.executeInternal(QueryState state) |
java.util.Collection<? extends IMutation> |
BatchStatement.getMutations(java.util.List<java.nio.ByteBuffer> variables,
boolean local,
ConsistencyLevel cl,
long now) |
java.util.Collection<RowMutation> |
DeleteStatement.getMutations(java.util.List<java.nio.ByteBuffer> variables,
boolean local,
ConsistencyLevel cl,
long now) |
protected abstract java.util.Collection<? extends IMutation> |
ModificationStatement.getMutations(java.util.List<java.nio.ByteBuffer> variables,
boolean local,
ConsistencyLevel cl,
long now)
Convert statement into a list of mutations to apply on the server
|
java.util.Collection<IMutation> |
UpdateStatement.getMutations(java.util.List<java.nio.ByteBuffer> variables,
boolean local,
ConsistencyLevel cl,
long now)
Convert statement into a list of mutations to apply on the server
|
protected java.util.Map<java.nio.ByteBuffer,ColumnGroupMap> |
ModificationStatement.readRows(java.util.List<java.nio.ByteBuffer> keys,
ColumnNameBuilder builder,
java.util.Set<java.nio.ByteBuffer> toRead,
CompositeType composite,
boolean local,
ConsistencyLevel cl) |
Modifier and Type | Class and Description |
---|---|
class |
IsBootstrappingException |
class |
OverloadedException |
class |
ReadTimeoutException |
class |
RequestTimeoutException |
class |
TruncateException |
class |
UnavailableException |
class |
WriteTimeoutException |
Modifier and Type | Method and Description |
---|---|
static void |
ThriftConversion.rethrow(RequestExecutionException e) |
Copyright © 2013 The Apache Software Foundation