Presto DBI resource connector
Presto DBI resource connector
Details
Makes a Presto DBI connection from a resource description.
Methods
Inherited methods
Method new()
Creates a new PrestoResourceConnector instance.
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.
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.