public class HttpStatement extends DirectStatement
DirectStatement.execute(). The response thread
reads results and inspects the statement contents to emit logs and
metrics. The object is transferred between threads, with no overlapping
access.
The key extension of an HTTP statement is the use of the HTTP request for authorization.
DirectStatement.ResultSetprepareResult, resultSetcancellationResourceActions, fullResourceActions, plannerContext, queryPlus, reporter, sqlToolbox| Constructor and Description |
|---|
HttpStatement(SqlToolbox lifecycleToolbox,
SqlQuery sqlQuery,
javax.servlet.http.HttpServletRequest req) |
| Modifier and Type | Method and Description |
|---|---|
protected Function<Set<ResourceAction>,Access> |
authorizer()
Resource authorizer based on the authentication result
provided earlier.
|
cancel, close, closeWithError, createPlan, createResultSet, execute, plan, prepareResultallResources, authorize, closeQuietly, query, reporter, resources, sqlQueryId, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresourcespublic HttpStatement(SqlToolbox lifecycleToolbox, SqlQuery sqlQuery, javax.servlet.http.HttpServletRequest req)
protected Function<Set<ResourceAction>,Access> authorizer()
AbstractStatementauthorizer in class AbstractStatementCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.