Description Usage Arguments Note See Also Examples
Setup a Drill connection
1 2 3 4 5 6 7 | drill_connection(
host = Sys.getenv("DRILL_HOST", "localhost"),
port = Sys.getenv("DRILL_PORT", 8047),
ssl = FALSE,
user = Sys.getenv("DRILL_USER", ""),
password = Sys.getenv("DRILL_PASSWORD", "")
)
|
host |
Drill host (will pick up the value from |
port |
Drill port (will pick up the value from |
ssl |
use ssl? |
user, password |
(will pick up the values from |
If user
/password
are set this function will make a POST
to the REST
interface immediately to prime the cookie-jar with the session id.
Other Drill direct REST API Interface:
drill_active()
,
drill_cancel()
,
drill_functions()
,
drill_metrics()
,
drill_options()
,
drill_opts()
,
drill_profiles()
,
drill_profile()
,
drill_query()
,
drill_settings_reset()
,
drill_set()
,
drill_stats()
,
drill_status()
,
drill_storage()
,
drill_system_reset()
,
drill_threads()
,
drill_version()
1 | dc <- drill_connection()
|
Loading required package: DBI
Loading required package: dplyr
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Loading required package: dbplyr
Attaching package: 'dbplyr'
The following objects are masked from 'package:dplyr':
ident, sql
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.