Package ai.platon.gora.mongodb.store
Class MongoStoreParameters
java.lang.Object
ai.platon.gora.mongodb.store.MongoStoreParameters
Configuration properties
- Author:
- Damien Raude-Morvan
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty pointing to the file for the mappingstatic final StringProperty pointing to the authentication type to connect to the serverstatic final StringProperty to select the databasestatic final StringProperty pointing to the username to connect to the serverstatic final StringProperty pointing to MongoDB Read Preference value.static final StringProperty pointing to the secret to connect to the serverstatic final StringProperty pointing to the host where the server is runningstatic final StringProperty pointing to MongoDB Write Concern value.static final StringProperty indicating if the hadoop configuration has priority or not -
Method Summary
Modifier and TypeMethodDescriptiongetLogin()static MongoStoreParametersload(Properties properties, org.apache.hadoop.conf.Configuration conf)
-
Field Details
-
PROP_OVERRIDING
Property indicating if the hadoop configuration has priority or not- See Also:
-
PROP_MAPPING_FILE
Property pointing to the file for the mapping- See Also:
-
PROP_MONGO_SERVERS
Property pointing to the host where the server is running- See Also:
-
PROP_MONGO_LOGIN
Property pointing to the username to connect to the server- See Also:
-
PROP_MONGO_AUTHENTICATION_TYPE
Property pointing to the authentication type to connect to the server -
PROP_MONGO_SECRET
Property pointing to the secret to connect to the server- See Also:
-
PROP_MONGO_READPREFERENCE
Property pointing to MongoDB Read Preference value. -
PROP_MONGO_WRITECONCERN
Property pointing to MongoDB Write Concern value. -
PROP_MONGO_DB
Property to select the database- See Also:
-
-
Method Details
-
getMappingFile
-
getServers
-
getDbname
-
getLogin
-
getAuthenticationType
-
getSecret
-
getReadPreference
-
getWriteConcern
-
load
public static MongoStoreParameters load(Properties properties, org.apache.hadoop.conf.Configuration conf)
-