Class CassandraStorageConfig
java.lang.Object
org.apache.drill.common.logical.StoragePluginConfig
org.apache.drill.exec.store.cassandra.CassandraStorageConfig
-
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
ConstructorDescriptionCassandraStorageConfig
(String host, int port, String username, String password, String authMode, CredentialsProvider credentialsProvider) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getHost()
int
getPort()
getUsernamePasswordCredentials
(String username) int
hashCode()
toConfigMap
(String username) 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:
-
-
Constructor Details
-
CassandraStorageConfig
public CassandraStorageConfig(String host, int port, String username, String password, String authMode, CredentialsProvider credentialsProvider)
-
-
Method Details
-
getHost
-
getPort
public int getPort() -
getUsernamePasswordCredentials
-
getUsername
-
getPassword
-
getUsernamePasswordCredentials
-
toConfigMap
-
updateCredentialProvider
- Overrides:
updateCredentialProvider
in classStoragePluginConfig
-
toConfigMap
-
equals
- Specified by:
equals
in classStoragePluginConfig
-
hashCode
public int hashCode()- Specified by:
hashCode
in classStoragePluginConfig
-
toString
-