Get the list of storage plugin names and configurations

drill_storage(drill_con, plugin = NULL)

drill_mod_storage(drill_con, name, config)

drill_rm_storage(drill_con, name)

Arguments

drill_con

drill server connection object setup by drill_connection()

plugin

the assigned name in the storage plugin definition.

name

name of the storage plugin configuration to create/update/remove

config

a list or raw character, valid JSON of a complete storage spec

References

Drill documentation

See also

Examples

# 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"
}
')
# }