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
FieldsFields inherited from class org.apache.drill.common.logical.StoragePluginConfig
authMode, credentialsProvider, directCredentials, enabled, oAuthConfig -
Constructor Summary
ConstructorsConstructorDescriptionJdbcStorageConfig(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 TypeMethodDescriptionbooleanbooleangetUrl()getUsernamePasswordCredentials(UserBitShared.UserCredentials userCredentials) intinthashCode()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:
updateCredentialProviderin classStoragePluginConfig
-
getDriver
-
getUrl
-
isWritable
-
getWriterBatchSize
public int getWriterBatchSize() -
areTableNamesCaseInsensitive
public boolean areTableNamesCaseInsensitive() -
getSourceParameters
-
hashCode
public int hashCode()- Specified by:
hashCodein classStoragePluginConfig
-
equals
- Specified by:
equalsin classStoragePluginConfig
-
toString
-