/** * Gets the {@link BatchWriterConfig} settings. * * @param job * the Hadoop context for the configured job * @return the configuration object * @since 1.5.0 * @see #setBatchWriterOptions(JobConf, BatchWriterConfig) */ protected static BatchWriterConfig getBatchWriterOptions(JobConf job) { return OutputConfigurator.getBatchWriterOptions(CLASS, job); }
/** * Gets the {@link BatchWriterConfig} settings. * * @param job * the Hadoop context for the configured job * @return the configuration object * @since 1.5.0 * @see #setBatchWriterOptions(JobConf, BatchWriterConfig) */ protected static BatchWriterConfig getBatchWriterOptions(JobConf job) { return OutputConfigurator.getBatchWriterOptions(CLASS, job); }
/** * Gets the {@link BatchWriterConfig} settings. * * @param context * the Hadoop context for the configured job * @return the configuration object * @since 1.5.0 * @see #setBatchWriterOptions(Job, BatchWriterConfig) */ protected static BatchWriterConfig getBatchWriterOptions(JobContext context) { return OutputConfigurator.getBatchWriterOptions(CLASS, context.getConfiguration()); }
/** * Gets the {@link BatchWriterConfig} settings. * * @param context * the Hadoop context for the configured job * @return the configuration object * @since 1.5.0 * @see #setBatchWriterOptions(Job, BatchWriterConfig) */ protected static BatchWriterConfig getBatchWriterOptions(JobContext context) { return OutputConfigurator.getBatchWriterOptions(CLASS, context.getConfiguration()); }
/** * Gets the {@link BatchWriterConfig} settings. * * @param implementingClass * the class whose name will be used as a prefix for the property configuration key * @param conf * the Hadoop configuration object to configure * @return the configuration object * @deprecated since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat. * @since 1.5.0 * @see #setBatchWriterOptions(Class, Configuration, BatchWriterConfig) */ @Deprecated public static BatchWriterConfig getBatchWriterOptions(Class<?> implementingClass, Configuration conf) { return org.apache.accumulo.core.client.mapreduce.lib.impl.OutputConfigurator .getBatchWriterOptions(implementingClass, conf); }