Package | Description |
---|---|
org.apache.drill.exec.server.rest | |
org.apache.drill.exec.store |
Modifier and Type | Method and Description |
---|---|
void |
PluginConfigWrapper.createOrUpdateInStorage(StoragePluginRegistry storage) |
Modifier and Type | Class and Description |
---|---|
static class |
StoragePluginRegistry.PluginEncodingException
Indicates an error when decoding a plugin from JSON.
|
static class |
StoragePluginRegistry.PluginNotFoundException
Indicates the requested plugin was not found.
|
Modifier and Type | Method and Description |
---|---|
static StoragePluginRegistry.PluginException |
StoragePluginRegistry.PluginException.systemPluginException(String operation,
String name) |
Modifier and Type | Method and Description |
---|---|
StoragePluginConfig |
StoragePluginRegistry.copyConfig(String name)
Copy a stored config so that it can be modified.
|
StoragePluginConfig |
StoragePluginRegistryImpl.copyConfig(String name) |
String |
StoragePluginRegistry.encode(String name)
Return a config encoded as JSON.
|
String |
StoragePluginRegistryImpl.encode(String name) |
FormatPlugin |
StoragePluginRegistry.getFormatPluginByConfig(StoragePluginConfig storageConfig,
FormatPluginConfig formatConfig)
Get the Format plugin for the FileSystemPlugin associated with the provided
storage config and format config.
|
FormatPlugin |
StoragePluginRegistryImpl.getFormatPluginByConfig(StoragePluginConfig storageConfig,
FormatPluginConfig formatConfig) |
StoragePlugin |
StoragePluginRegistry.getPlugin(String name)
Get a plugin by name.
|
StoragePlugin |
StoragePluginRegistryImpl.getPlugin(String name) |
StoragePlugin |
StoragePluginRegistry.getPluginByConfig(StoragePluginConfig config)
Get a plugin by configuration.
|
StoragePlugin |
StoragePluginRegistryImpl.getPluginByConfig(StoragePluginConfig config) |
void |
StoragePluginRegistry.put(String name,
StoragePluginConfig config)
Store a plugin by name and configuration.
|
void |
StoragePluginRegistryImpl.put(String name,
StoragePluginConfig config) |
void |
StoragePluginRegistry.putFormatPlugin(String pluginName,
String formatName,
FormatPluginConfig formatConfig)
Safe way to add or remove a format plugin config from a stored file
system configuration.
|
void |
StoragePluginRegistryImpl.putFormatPlugin(String pluginName,
String formatName,
FormatPluginConfig formatConfig) |
void |
StoragePluginRegistry.putJson(String name,
String json)
Put a storage plugin config from JSON.
|
void |
StoragePluginRegistryImpl.putJson(String name,
String json) |
void |
StoragePluginRegistry.remove(String name)
Remove a plugin by name
|
void |
StoragePluginRegistryImpl.remove(String name) |
void |
StoragePluginRegistry.setEnabled(String name,
boolean enabled)
Set the plugin to the requested enabled state.
|
void |
StoragePluginRegistryImpl.setEnabled(String name,
boolean enable) |
void |
StoragePluginRegistry.validatedPut(String name,
StoragePluginConfig config)
Like
StoragePluginRegistry.put(String, StoragePluginConfig) , but forces instantiation of the
plugin to verify that the configuration is valid at this moment in time. |
void |
StoragePluginRegistryImpl.validatedPut(String name,
StoragePluginConfig config) |
Copyright © 1970 The Apache Software Foundation. All rights reserved.