Description Usage Arguments References See Also Examples
Retrieve, modify or remove storage plugins from a Drill instance. If you intend
to modify an existing configuration it is suggested that you use the "list
" or
"raw
" values to the as
parameter to make it easier to modify them.
1 2 3 4 5 | drill_storage(drill_con, plugin = NULL, as = c("tbl", "list", "raw"))
drill_mod_storage(drill_con, name, config)
drill_rm_storage(drill_con, name)
|
drill_con |
drill server connection object setup by |
plugin |
the assigned name in the storage plugin definition. |
as |
one of " |
name |
name of the storage plugin configuration to create/update/remove |
config |
a raw 1-element character vector containing valid JSON of a complete storage spec |
Other Drill direct REST API Interface:
drill_active()
,
drill_cancel()
,
drill_connection()
,
drill_functions()
,
drill_metrics()
,
drill_options()
,
drill_opts()
,
drill_profiles()
,
drill_profile()
,
drill_query()
,
drill_settings_reset()
,
drill_set()
,
drill_stats()
,
drill_status()
,
drill_system_reset()
,
drill_threads()
,
drill_version()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## Not run:
drill_connection() %>% drill_storage()
drill_connection() %>%
drill_mod_storage(
name = "drilldat",
config = '
{
"config" : {
"connection" : "file:///",
"enabled" : true,
"formats" : null,
"type" : "file",
"workspaces" : {
"root" : {
"location" : "/Users/hrbrmstr/drilldat",
"writable" : true,
"defaultInputFormat": null
}
}
},
"name" : "drilldat"
}
')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.