Пример #1
0
 /**
  * @deprecated use {@link #setOutputURI(Configuration, MongoClientURI)} instead
  * @param conf the Configuration
  * @param uri the MongoDB URI
  */
 @Deprecated
 @SuppressWarnings("deprecation")
 public static void setOutputURI(final Configuration conf, final MongoURI uri) {
   setMongoURI(conf, OUTPUT_URI, uri);
 }
Пример #2
0
 /**
  * Set the output URI for the job.
  *
  * @param conf the Configuration
  * @param uri the MongoDB URI
  */
 public static void setOutputURI(final Configuration conf, final MongoClientURI uri) {
   setMongoURI(conf, OUTPUT_URI, uri);
 }
Пример #3
0
 public static void setMongoURIString(
     final Configuration conf, final String key, final String value) {
   setMongoURI(conf, key, new MongoClientURI(value));
 }