PrestoResourceConnector {resourcer} | R Documentation |
Presto DBI resource connector
Description
Presto DBI resource connector
Presto DBI resource connector
Format
A R6 object of class PrestoResourceConnector
Details
Makes a Presto DBI connection from a resource description.
Super class
resourcer::DBIResourceConnector
-> PrestoResourceConnector
Methods
Public methods
Inherited methods
Method new()
Creates a new PrestoResourceConnector instance.
Usage
PrestoResourceConnector$new()
Returns
A PrestoResourceConnector object.
Method isFor()
Check that the provided resource has a URL that locates a Presto object: the URL scheme must be "presto", "presto+http" or "presto+https".
Usage
PrestoResourceConnector$isFor(resource)
Arguments
resource
The resource object to validate.
Returns
A logical.
Method createDBIConnection()
Creates a DBI connection object from a resource.
Usage
PrestoResourceConnector$createDBIConnection(resource)
Arguments
resource
A valid resource object.
Returns
A DBI connection object.
Method clone()
The objects of this class are cloneable with this method.
Usage
PrestoResourceConnector$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
[Package resourcer version 1.4.0 Index]