Class HttpStatement

All Implemented Interfaces:
Closeable, AutoCloseable, SqlLifecycleManager.Cancelable

public class HttpStatement extends DirectStatement
SQL statement lifecycle for the HTTP endpoint. The request thread creates the object and calls 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.