Class StoragePluginConfig

java.lang.Object
org.apache.drill.common.logical.StoragePluginConfig
Direct Known Subclasses:
CassandraStorageConfig, DrillStoragePluginConfig, DruidStoragePluginConfig, ElasticsearchStorageConfig, FileSystemConfig, GoogleSheetsStoragePluginConfig, HBaseStoragePluginConfig, HiveStoragePluginConfig, HttpStoragePluginConfig, InfoSchemaConfig, JdbcStorageConfig, KafkaStoragePluginConfig, KuduStoragePluginConfig, MockStorageEngineConfig, MongoStoragePluginConfig, OpenTSDBStoragePluginConfig, PhoenixStoragePluginConfig, SplunkPluginConfig, SystemTablePluginConfig

public abstract class StoragePluginConfig extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • isEnabled

      public boolean isEnabled()
      Check for enabled status of the plugin
      Returns:
      true, when enabled. False, when disabled or status is absent
    • setEnabled

      public void setEnabled(Boolean enabled)
    • isEnabledStatusPresent

      public boolean isEnabledStatusPresent()
      Allows to check whether the enabled status is present in config
      Returns:
      true if enabled status is present, false otherwise
    • getValue

      public String getValue(String key)
    • getCredentialsProvider

      public CredentialsProvider getCredentialsProvider()
    • updateCredentialProvider

      public StoragePluginConfig updateCredentialProvider(CredentialsProvider credentialsProvider)
    • getAuthMode

      public StoragePluginConfig.AuthMode getAuthMode()
    • oAuthConfig

      public OAuthConfig oAuthConfig()
    • equals

      public abstract boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object