/** * Determines whether a configuration has the offline table scan feature enabled. * * @param job * the Hadoop context for the configured job * @return true if the feature is enabled, false otherwise * @since 1.5.0 * @see #setOfflineTableScan(JobConf, boolean) */ protected static boolean isOfflineScan(JobConf job) { return InputConfigurator.isOfflineScan(CLASS, job); }
/** * Determines whether a configuration has the offline table scan feature enabled. * * @param job * the Hadoop context for the configured job * @return true if the feature is enabled, false otherwise * @since 1.5.0 * @see #setOfflineTableScan(JobConf, boolean) */ protected static boolean isOfflineScan(JobConf job) { return InputConfigurator.isOfflineScan(CLASS, job); }
/** * Determines whether a configuration has the offline table scan feature enabled. * * @param context * the Hadoop context for the configured job * @return true if the feature is enabled, false otherwise * @since 1.5.0 * @see #setOfflineTableScan(Job, boolean) */ protected static boolean isOfflineScan(JobContext context) { return InputConfigurator.isOfflineScan(CLASS, context.getConfiguration()); }
/** * Determines whether a configuration has the offline table scan feature enabled. * * @param context * the Hadoop context for the configured job * @return true if the feature is enabled, false otherwise * @since 1.5.0 * @see #setOfflineTableScan(Job, boolean) */ protected static boolean isOfflineScan(JobContext context) { return InputConfigurator.isOfflineScan(CLASS, context.getConfiguration()); }
/** * Determines whether a configuration has the offline table scan feature enabled. * * @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 true if the feature is enabled, false otherwise * @deprecated since 1.6.0; Configure your job with the appropriate InputFormat or OutputFormat. * @since 1.5.0 * @see #setOfflineTableScan(Class, Configuration, boolean) */ @Deprecated public static Boolean isOfflineScan(Class<?> implementingClass, Configuration conf) { return org.apache.accumulo.core.client.mapreduce.lib.impl.InputConfigurator .isOfflineScan(implementingClass, conf); }
.setUseIsolatedScanners(isIsolated(implementingClass, conf)) .setUseLocalIterators(usesLocalIterators(implementingClass, conf)) .setOfflineScan(isOfflineScan(implementingClass, conf)); return Maps.immutableEntry(tableName, queryConfig);
.setUseIsolatedScanners(isIsolated(implementingClass, conf)) .setUseLocalIterators(usesLocalIterators(implementingClass, conf)) .setOfflineScan(isOfflineScan(implementingClass, conf)) .setExecutionHints(getExecutionHints(implementingClass, conf)); return Maps.immutableEntry(tableName, queryConfig);