/** * Configures the iterators on a scanner for the given table name. * * @param context * the Hadoop context for the configured job * @param scanner * the scanner for which to configure the iterators * @param tableName * the table name for which the scanner is configured * @since 1.6.0 * @deprecated since 1.7.0; Use {@link #contextIterators} instead. */ @Deprecated protected void setupIterators(TaskAttemptContext context, Scanner scanner, String tableName, RangeInputSplit split) { setupIterators(context, (ScannerBase) scanner, tableName, split); }
setupIterators(attempt, scanner, split.getTableName(), split); if (classLoaderContext != null) { scanner.setClassLoaderContext(classLoaderContext); setupIterators(attempt, scanner, split.getTableName(), split); } catch (Exception e) { throw new IOException(e);
/** * Configures the iterators on a scanner for the given table name. * * @param context * the Hadoop context for the configured job * @param scanner * the scanner for which to configure the iterators * @param tableName * the table name for which the scanner is configured * @since 1.6.0 * @deprecated since 1.7.0; Use {@link #contextIterators} instead. */ @Deprecated protected void setupIterators(TaskAttemptContext context, Scanner scanner, String tableName, RangeInputSplit split) { setupIterators(context, (ScannerBase) scanner, tableName, split); }
setupIterators(attempt, scanner, split.getTableName(), split); if (null != classLoaderContext) { scanner.setClassLoaderContext(classLoaderContext); setupIterators(attempt, scanner, split.getTableName(), split); } catch (Exception e) { throw new IOException(e);
scanner = instance.getConnector(principal, token).createBatchScanner(split.getTableName(), authorizations, scanThreads); setupIterators(attempt, scanner, split.getTableName(), split); if (null != classLoaderContext) { scanner.setClassLoaderContext(classLoaderContext); setupIterators(attempt, scanner, split.getTableName(), split); } catch (Exception e) { throw new IOException(e);