An S4 class representing a connection to a Trino cluster. Trino's REST API is stateless, so the object only holds the information needed to build requests; no socket is kept open.
Usage
# S4 method for class 'TrinoConnection'
show(object)Slots
hostBase URL of the coordinator, including the scheme.
portCoordinator port.
userTrino user name.
catalogTrino catalog.
schemaTrino schema.
session.timezoneSession time zone used for timestamp columns.
bigintHow
BIGINTcolumns are returned; seedbConnect().extra.headersNamed list of additional HTTP headers.
sourceValue of the
X-Trino-Sourceheader.authAuthentication closure, or
NULLfor no authentication.ssl_optionsSSL options as returned by
trino_ssl().timeoutSeconds allowed for each HTTP request, or
Inf.validEnvironment holding the connection's validity flag.
transactionEnvironment holding the active transaction id, or
NULLwhen there is none.