/** * @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); }
/** * 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); }
public static void setMongoURIString( final Configuration conf, final String key, final String value) { setMongoURI(conf, key, new MongoClientURI(value)); }