Uses of Class
org.apache.drill.exec.store.StoragePluginRegistry.PluginException
-
Uses of StoragePluginRegistry.PluginException in org.apache.drill.exec.server.rest
Modifier and TypeMethodDescriptionvoid
PluginConfigWrapper.createOrUpdateInStorage
(StoragePluginRegistry storage) -
Uses of StoragePluginRegistry.PluginException in org.apache.drill.exec.store
Modifier and TypeClassDescriptionstatic class
Indicates an error when decoding a plugin from JSON.static class
Indicates the requested plugin was not found.Modifier and TypeMethodDescriptionStoragePluginRegistry.PluginException.systemPluginException
(String operation, String name) Modifier and TypeMethodDescriptionStoragePluginRegistry.copyConfig
(String name) Copy a stored config so that it can be modified.StoragePluginRegistryImpl.copyConfig
(String name) Return a config encoded as JSON.StoragePluginRegistry.getFormatPluginByConfig
(StoragePluginConfig storageConfig, FormatPluginConfig formatConfig) Get the Format plugin for the FileSystemPlugin associated with the provided storage config and format config.StoragePluginRegistryImpl.getFormatPluginByConfig
(StoragePluginConfig storageConfig, FormatPluginConfig formatConfig) Get a plugin by name.StoragePluginRegistry.getPluginByConfig
(StoragePluginConfig config) Get a plugin by configuration.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
Put a storage plugin config from JSON.void
void
Remove a plugin by namevoid
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) LikeStoragePluginRegistry.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)