Class MongoStoragePluginConfig
java.lang.Object
org.apache.drill.common.logical.StoragePluginConfig
org.apache.drill.exec.store.mongo.MongoStoragePluginConfig
-
Nested Class Summary
Nested ClassesNested 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
ConstructorsConstructorDescriptionMongoStoragePluginConfig(String connection, MongoStoragePluginConfig.MongoPluginOptimizations pluginOptimizations, Integer batchSize, boolean allowDiskUse, CredentialsProvider credentialsProvider) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanintgetHosts()inthashCode()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:
equalsin classStoragePluginConfig
-
hashCode
public int hashCode()- Specified by:
hashCodein classStoragePluginConfig
-
updateCredentialProvider
- Overrides:
updateCredentialProviderin classStoragePluginConfig
-