public abstract class AuthenticationStatement extends CQLStatement.Raw implements CQLStatement
CQLStatement.RawbindVariables| Constructor and Description |
|---|
AuthenticationStatement() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkPermission(ClientState state,
Permission required,
RoleResource resource) |
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.
|
AuthenticationStatement |
prepare(ClientState state) |
setBindVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthorize, getAuditLogContext, getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditions, validatepublic AuthenticationStatement prepare(ClientState state)
prepare in class CQLStatement.Rawpublic ResultMessage execute(QueryState state, QueryOptions options, long queryStartNanoTime) throws RequestExecutionException, RequestValidationException
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 receivedRequestExecutionExceptionRequestValidationExceptionpublic abstract ResultMessage execute(ClientState state) throws RequestExecutionException, RequestValidationException
public ResultMessage executeLocally(QueryState state, QueryOptions options)
CQLStatementexecuteLocally in interface CQLStatementstate - the current query statepublic void checkPermission(ClientState state, Permission required, RoleResource resource) throws UnauthorizedException
UnauthorizedExceptionCopyright © 2009-2020 The Apache Software Foundation