public abstract class AuthorizationStatement extends CQLStatement.Raw implements CQLStatement
CQLStatement.RawbindVariables| Constructor and Description |
|---|
AuthorizationStatement() |
| Modifier and Type | Method and Description |
|---|---|
abstract ResultMessage |
execute(ClientState state) |
ResultMessage |
execute(QueryState state,
QueryOptions options,
long queryStartNanoTime)
Execute the statement and return the resulting result or null if there is no result.
|
ResultMessage |
executeLocally(QueryState state,
QueryOptions options)
Variant of execute used for internal query against the system tables, and thus only query the local node.
|
static IResource |
maybeCorrectResource(IResource resource,
ClientState state) |
AuthorizationStatement |
prepare(ClientState state) |
java.lang.String |
toString() |
setBindVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitauthorize, getAuditLogContext, getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditions, validatepublic AuthorizationStatement prepare(ClientState state)
prepare in class CQLStatement.Rawpublic ResultMessage execute(QueryState state, QueryOptions options, long queryStartNanoTime) throws RequestValidationException, RequestExecutionException
CQLStatementexecute in interface CQLStatementstate - the current query stateoptions - options for this query (consistency, variables, pageSize, ...)queryStartNanoTime - the timestamp returned by System.nanoTime() when this statement was receivedRequestValidationExceptionRequestExecutionExceptionpublic abstract ResultMessage execute(ClientState state) throws RequestValidationException, RequestExecutionException
public ResultMessage executeLocally(QueryState state, QueryOptions options)
CQLStatementexecuteLocally in interface CQLStatementstate - the current query statepublic static IResource maybeCorrectResource(IResource resource, ClientState state) throws InvalidRequestException
InvalidRequestExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2020 The Apache Software Foundation