public class MongoStoreParameters extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROP_MAPPING_FILE
Property pointing to the file for the mapping
|
static String |
PROP_MONGO_DB
Property to select the database
|
static String |
PROP_MONGO_LOGIN
Property pointing to the username to connect to the server
|
static String |
PROP_MONGO_READPREFERENCE
Property pointing to MongoDB Read Preference value.
|
static String |
PROP_MONGO_SECRET
Property pointing to the secret to connect to the server
|
static String |
PROP_MONGO_SERVERS
Property pointing to the host where the server is running
|
static String |
PROP_MONGO_WRITECONCERN
Property pointing to MongoDB Write Concern value.
|
static String |
PROP_OVERRIDING
Property indicating if the hadoop configuration has priority or not
|
Modifier and Type | Method and Description |
---|---|
String |
getDbname() |
String |
getLogin() |
String |
getMappingFile() |
String |
getReadPreference() |
String |
getSecret() |
String |
getServers() |
String |
getWriteConcern() |
static MongoStoreParameters |
load(Properties properties,
org.apache.hadoop.conf.Configuration conf) |
public static final String PROP_OVERRIDING
public static final String PROP_MAPPING_FILE
public static final String PROP_MONGO_SERVERS
public static final String PROP_MONGO_LOGIN
public static final String PROP_MONGO_SECRET
public static final String PROP_MONGO_READPREFERENCE
public static final String PROP_MONGO_WRITECONCERN
public static final String PROP_MONGO_DB
public String getMappingFile()
public String getServers()
public String getDbname()
public String getLogin()
public String getSecret()
public String getReadPreference()
public String getWriteConcern()
public static MongoStoreParameters load(Properties properties, org.apache.hadoop.conf.Configuration conf)
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.