@Test public void testInputTableConfigSerialization() throws IOException { String table1 = testName.getMethodName() + "1"; String table2 = testName.getMethodName() + "2"; Job job = Job.getInstance(); InputTableConfig tableConfig = new InputTableConfig() .setRanges(Collections.singletonList(new Range("a", "b"))) .fetchColumns(Collections.singleton(new Pair<>(new Text("CF1"), new Text("CQ1")))) .setIterators(Collections.singletonList(new IteratorSetting(50, "iter1", "iterclass1"))); Map<String,InputTableConfig> configMap = new HashMap<>(); configMap.put(table1, tableConfig); configMap.put(table2, tableConfig); AccumuloMultiTableInputFormat.setInputTableConfigs(job, configMap); assertEquals(tableConfig, AccumuloMultiTableInputFormat.getInputTableConfig(job, table1)); assertEquals(tableConfig, AccumuloMultiTableInputFormat.getInputTableConfig(job, table2)); }
public static void setInputTableConfigs(Job job, Map<String,InputTableConfig> configs) { requireNonNull(configs); org.apache.accumulo.core.clientImpl.mapreduce.lib.InputConfigurator.setInputTableConfigs(CLASS, job.getConfiguration(), configs); }
AccumuloMultiTableInputFormat extends AbstractInputFormat<Key,Value> { public static void setInputTableConfigs(Job job, Map<String,InputTableConfig> configs) { requireNonNull(configs); org.apache.accumulo.core.clientImpl.mapreduce.lib.InputConfigurator.setInputTableConfigs(CLASS, job.getConfiguration(), configs); } }
AccumuloMultiTableInputFormat extends AbstractInputFormat<Key,Value> { public static void setInputTableConfigs(Job job, Map<String,InputTableConfig> configs) { requireNonNull(configs); org.apache.accumulo.core.clientImpl.mapreduce.lib.InputConfigurator.setInputTableConfigs(CLASS, job.getConfiguration(), configs); }  }
AccumuloMultiTableInputFormat extends AbstractInputFormat<Key,Value> { public static void setInputTableConfigs(Job job, Map<String,InputTableConfig> configs) { requireNonNull(configs); org.apache.accumulo.core.clientImpl.mapreduce.lib.InputConfigurator.setInputTableConfigs(CLASS, job.getConfiguration(), configs); }  static void setInputTableConfigs(Job job, Map<String,InputTableConfig> configs); @Override RecordReader<Key,Value> createRecordReader(InputSplit inputSplit,
      TaskAttemptContext context); }
AccumuloMultiTableInputFormat extends AbstractInputFormat<Key,Value> { public static void setInputTableConfigs(Job job, Map<String,InputTableConfig> configs) { requireNonNull(configs); org.apache.accumulo.core.clientImpl.mapreduce.lib.InputConfigurator.setInputTableConfigs(CLASS, job.getConfiguration(), configs); }  static void setInputTableConfigs(Job job, Map<String,InputTableConfig> configs); @Override RecordReader<Key,Value> createRecordReader(InputSplit inputSplit,
      TaskAttemptContext context);  }