|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cassandra.cql3.statements.ParsedStatement
org.apache.cassandra.cql3.statements.AuthorizationStatement
org.apache.cassandra.cql3.statements.ListPermissionsStatement
public class ListPermissionsStatement
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.cassandra.cql3.statements.ParsedStatement |
|---|
ParsedStatement.Prepared |
| Constructor Summary | |
|---|---|
ListPermissionsStatement(java.util.Set<Permission> permissions,
IResource resource,
java.lang.String username,
boolean recursive)
|
|
| Method Summary | |
|---|---|
void |
checkAccess(ClientState state)
Perform any access verification necessary for the statement. |
ResultMessage |
execute(ClientState state)
|
void |
validate(ClientState state)
Perform additional validation required by the statment. |
| Methods inherited from class org.apache.cassandra.cql3.statements.AuthorizationStatement |
|---|
execute, executeInternal, getBoundsTerms, maybeCorrectResource, prepare |
| Methods inherited from class org.apache.cassandra.cql3.statements.ParsedStatement |
|---|
setBoundTerms |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListPermissionsStatement(java.util.Set<Permission> permissions,
IResource resource,
java.lang.String username,
boolean recursive)
| Method Detail |
|---|
public void validate(ClientState state)
throws InvalidRequestException
CQLStatement
state - the current client state
InvalidRequestException
public void checkAccess(ClientState state)
throws UnauthorizedException
CQLStatement
state - the current client state
UnauthorizedException
public ResultMessage execute(ClientState state)
throws UnauthorizedException,
InvalidRequestException
execute in class AuthorizationStatementUnauthorizedException
InvalidRequestException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||