Package org.apache.drill.exec.store.dfs
Class FileSystemConfig
java.lang.Object
org.apache.drill.common.logical.StoragePluginConfig
org.apache.drill.exec.store.dfs.FileSystemConfig
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.drill.common.logical.StoragePluginConfigStoragePluginConfig.AuthMode
- 
Field SummaryFieldsFields inherited from class org.apache.drill.common.logical.StoragePluginConfigauthMode, credentialsProvider, directCredentials, enabled
- 
Constructor SummaryConstructorsConstructorDescriptionFileSystemConfig(String connection, List<String> mountCommand, List<String> unmountCommand, Map<String, String> config, Map<String, WorkspaceConfig> workspaces, Map<String, FormatPluginConfig> formats, OAuthConfig oAuthConfig, String authMode, CredentialsProvider credentialsProvider) FileSystemConfig(String connection, Map<String, String> config, Map<String, WorkspaceConfig> workspaces, Map<String, FormatPluginConfig> formats, OAuthConfig oAuthConfig, CredentialsProvider credentialsProvider) FileSystemConfig(String connection, Map<String, String> config, Map<String, WorkspaceConfig> workspaces, Map<String, FormatPluginConfig> formats, CredentialsProvider credentialsProvider) 
- 
Method SummaryModifier and TypeMethodDescriptioncopy()Copy the file system configuration.copyWithFormats(Map<String, FormatPluginConfig> newFormats) Copy this file system config with the set of new/replaced formats.booleaninthashCode()toString()Methods inherited from class org.apache.drill.common.logical.StoragePluginConfiggetAuthMode, getCredentialsProvider, isEnabled, isEnabledStatusPresent, oAuthConfig, setEnabled, updateCredentialProvider
- 
Field Details- 
NAME- See Also:
 
 
- 
- 
Constructor Details- 
FileSystemConfigpublic FileSystemConfig(String connection, Map<String, String> config, Map<String, WorkspaceConfig> workspaces, Map<String, FormatPluginConfig> formats, OAuthConfig oAuthConfig, CredentialsProvider credentialsProvider) 
- 
FileSystemConfigpublic FileSystemConfig(String connection, Map<String, String> config, Map<String, WorkspaceConfig> workspaces, Map<String, FormatPluginConfig> formats, CredentialsProvider credentialsProvider) 
- 
FileSystemConfigpublic FileSystemConfig(String connection, List<String> mountCommand, List<String> unmountCommand, Map<String, String> config, Map<String, WorkspaceConfig> workspaces, Map<String, FormatPluginConfig> formats, OAuthConfig oAuthConfig, String authMode, CredentialsProvider credentialsProvider) 
 
- 
- 
Method Details- 
getConnection
- 
getMountCommand
- 
getUnmountCommand
- 
getConfig
- 
getWorkspaces
- 
getFormats
- 
getValue- Overrides:
- getValuein class- StoragePluginConfig
 
- 
hashCodepublic int hashCode()- Specified by:
- hashCodein class- StoragePluginConfig
 
- 
equals- Specified by:
- equalsin class- StoragePluginConfig
 
- 
toString
- 
copyCopy the file system configuration. This must be done prior to modifying a config already stored in the registry. The registry maintains a key based on config value.- Returns:
- a copy of this config which may be modified
 
- 
copyWithFormatsCopy this file system config with the set of new/replaced formats. This must be done if the file system config is already stored in the plugin registry- Parameters:
- newFormats- optional new formats to add
- Returns:
- copy with the new formats
 
 
-