Learn R Programming

sergeant (version 0.9.1)

drill_connection: Setup a Drill connection

Description

Setup a Drill connection

Usage

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", "")
)

Arguments

host

Drill host (will pick up the value from DRILL_HOST env var)

port

Drill port (will pick up the value from DRILL_PORT env var)

ssl

use ssl?

user, password

(will pick up the values from DRILL_USER/DRILL_PASSWORD env vars)

See Also

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()

Examples

Run this code
# NOT RUN {
dc <- drill_connection()
# }

Run the code above in your browser using DataLab