public abstract class AuthenticationStatement extends ParsedStatement implements CQLStatement
ParsedStatement.Prepared| 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 | executeInternal(QueryState state,
               QueryOptions options)Variant of execute used for internal query against the system tables, and thus only query the local node. | 
| int | getBoundTerms()Returns the number of bound terms in this statement. | 
| ParsedStatement.Prepared | prepare(ClientState clientState) | 
getBoundVariables, getFunctions, setBoundVariables, setBoundVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckAccess, getFunctions, validatepublic ParsedStatement.Prepared prepare(ClientState clientState)
prepare in class ParsedStatementpublic int getBoundTerms()
CQLStatementgetBoundTerms in interface CQLStatementpublic 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 executeInternal(QueryState state, QueryOptions options)
CQLStatementexecuteInternal in interface CQLStatementstate - the current query statepublic void checkPermission(ClientState state, Permission required, RoleResource resource) throws UnauthorizedException
UnauthorizedExceptionCopyright © 2018 The Apache Software Foundation