@Test public void testTableQueryConfigSerialization() { String table1Name = testName.getMethodName() + "1"; String table2Name = testName.getMethodName() + "2"; JobConf job = new JobConf(); org.apache.accumulo.core.client.mapreduce.InputTableConfig table1 = new org.apache.accumulo.core.client.mapreduce.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"))); org.apache.accumulo.core.client.mapreduce.InputTableConfig table2 = new org.apache.accumulo.core.client.mapreduce.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,org.apache.accumulo.core.client.mapreduce.InputTableConfig> configMap = new HashMap<>(); configMap.put(table1Name, table1); configMap.put(table2Name, table2); AccumuloMultiTableInputFormat.setInputTableConfigs(job, configMap); assertEquals(table1, AccumuloMultiTableInputFormat.getInputTableConfig(job, table1Name)); assertEquals(table2, AccumuloMultiTableInputFormat.getInputTableConfig(job, table2Name)); }
public static void setInputTableConfigs(JobConf job, Map<String,org.apache.accumulo.core.client.mapreduce.InputTableConfig> configs) { org.apache.accumulo.core.clientImpl.mapreduce.lib.InputConfigurator.setInputTableConfigs(CLASS, job, configs); }
AccumuloMultiTableInputFormat extends AbstractInputFormat<Key,Value> { public static void setInputTableConfigs(JobConf job, Map<String,org.apache.accumulo.core.client.mapreduce.InputTableConfig> configs) { org.apache.accumulo.core.clientImpl.mapreduce.lib.InputConfigurator.setInputTableConfigs(CLASS, job, configs); } }
AccumuloMultiTableInputFormat extends AbstractInputFormat<Key,Value> { public static void setInputTableConfigs(JobConf job, Map<String,org.apache.accumulo.core.client.mapreduce.InputTableConfig> configs) { org.apache.accumulo.core.clientImpl.mapreduce.lib.InputConfigurator.setInputTableConfigs(CLASS, job, configs); }  }
AccumuloMultiTableInputFormat extends AbstractInputFormat<Key,Value> { public static void setInputTableConfigs(JobConf job, Map<String,org.apache.accumulo.core.client.mapreduce.InputTableConfig> configs) { org.apache.accumulo.core.clientImpl.mapreduce.lib.InputConfigurator.setInputTableConfigs(CLASS, job, configs); }  static void setInputTableConfigs(JobConf job,
      Map<String,org.apache.accumulo.core.client.mapreduce.InputTableConfig> configs); @Override RecordReader<Key,Value> getRecordReader(InputSplit split, JobConf job, Reporter reporter); }
AccumuloMultiTableInputFormat extends AbstractInputFormat<Key,Value> { public static void setInputTableConfigs(JobConf job, Map<String,org.apache.accumulo.core.client.mapreduce.InputTableConfig> configs) { org.apache.accumulo.core.clientImpl.mapreduce.lib.InputConfigurator.setInputTableConfigs(CLASS, job, configs); }  static void setInputTableConfigs(JobConf job,
      Map<String,org.apache.accumulo.core.client.mapreduce.InputTableConfig> configs); @Override RecordReader<Key,Value> getRecordReader(InputSplit split, JobConf job, Reporter reporter);  }