Package org.apache.drill.exec.store.jdbc
Class JdbcStorageConfig
java.lang.Object
org.apache.drill.common.logical.StoragePluginConfig
org.apache.drill.exec.store.jdbc.JdbcStorageConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.common.logical.StoragePluginConfig
StoragePluginConfig.AuthMode
-
Field Summary
Fields inherited from class org.apache.drill.common.logical.StoragePluginConfig
authMode, credentialsProvider, directCredentials, enabled, oAuthConfig
-
Constructor Summary
ConstructorDescriptionJdbcStorageConfig
(String driver, String url, String username, String password, boolean caseInsensitiveTableNames, boolean writable, Map<String, Object> sourceParameters, CredentialsProvider credentialsProvider, String authMode, int writerBatchSize) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
getUrl()
getUsernamePasswordCredentials
(UserBitShared.UserCredentials userCredentials) int
int
hashCode()
toString()
updateCredentialProvider
(CredentialsProvider credentialsProvider) Methods inherited from class org.apache.drill.common.logical.StoragePluginConfig
getAuthMode, getCredentialsProvider, getValue, isEnabled, isEnabledStatusPresent, oAuthConfig, setEnabled
-
Field Details
-
NAME
- See Also:
-
DEFAULT_MAX_WRITER_BATCH_SIZE
public static final int DEFAULT_MAX_WRITER_BATCH_SIZE- See Also:
-
-
Constructor Details
-
JdbcStorageConfig
-
-
Method Details
-
getUsername
-
getPassword
-
updateCredentialProvider
- Overrides:
updateCredentialProvider
in classStoragePluginConfig
-
getDriver
-
getUrl
-
isWritable
-
getWriterBatchSize
public int getWriterBatchSize() -
areTableNamesCaseInsensitive
public boolean areTableNamesCaseInsensitive() -
getSourceParameters
-
hashCode
public int hashCode()- Specified by:
hashCode
in classStoragePluginConfig
-
equals
- Specified by:
equals
in classStoragePluginConfig
-
toString
-