/** * Gets the default table name from the configuration. * * @param job * the Hadoop context for the configured job * @return the default table name * @since 1.5.0 * @see #setDefaultTableName(JobConf, String) */ protected static String getDefaultTableName(JobConf job) { return OutputConfigurator.getDefaultTableName(CLASS, job); }
/** * Gets the default table name from the configuration. * * @param job * the Hadoop context for the configured job * @return the default table name * @since 1.5.0 * @see #setDefaultTableName(JobConf, String) */ protected static String getDefaultTableName(JobConf job) { return OutputConfigurator.getDefaultTableName(CLASS, job); }
/** * Gets the default table name from the configuration. * * @param context * the Hadoop context for the configured job * @return the default table name * @since 1.5.0 * @see #setDefaultTableName(Job, String) */ protected static String getDefaultTableName(JobContext context) { return OutputConfigurator.getDefaultTableName(CLASS, context.getConfiguration()); }
/** * Gets the default table name from the configuration. * * @param context * the Hadoop context for the configured job * @return the default table name * @since 1.5.0 * @see #setDefaultTableName(Job, String) */ protected static String getDefaultTableName(JobContext context) { return OutputConfigurator.getDefaultTableName(CLASS, context.getConfiguration()); }
/** * Gets the default table name from the configuration. * * @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 default table name * @deprecated since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat. * @since 1.5.0 * @see #setDefaultTableName(Class, Configuration, String) */ @Deprecated public static String getDefaultTableName(Class<?> implementingClass, Configuration conf) { return org.apache.accumulo.core.client.mapreduce.lib.impl.OutputConfigurator .getDefaultTableName(implementingClass, conf); }