Class MongoStoragePluginConfig
java.lang.Object
org.apache.drill.common.logical.StoragePluginConfig
org.apache.drill.exec.store.mongo.MongoStoragePluginConfig
-
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
ConstructorDescriptionMongoStoragePluginConfig
(String connection, MongoStoragePluginConfig.MongoPluginOptimizations pluginOptimizations, Integer batchSize, boolean allowDiskUse, CredentialsProvider credentialsProvider) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
getHosts()
int
hashCode()
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
-
MongoStoragePluginConfig
public MongoStoragePluginConfig(String connection, MongoStoragePluginConfig.MongoPluginOptimizations pluginOptimizations, Integer batchSize, boolean allowDiskUse, CredentialsProvider credentialsProvider)
-
-
Method Details
-
getPluginOptimizations
-
getHosts
-
getConnection
-
getBatchSize
public int getBatchSize() -
allowDiskUse
public boolean allowDiskUse() -
equals
- Specified by:
equals
in classStoragePluginConfig
-
hashCode
public int hashCode()- Specified by:
hashCode
in classStoragePluginConfig
-
updateCredentialProvider
- Overrides:
updateCredentialProvider
in classStoragePluginConfig
-