public class AccumuloMultiTableInputFormat extends AbstractInputFormat<Key,Value>
AbstractInputFormat.AbstractRecordReader<K,V>CLASS, log| Constructor and Description |
|---|
AccumuloMultiTableInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<Key,Value> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
static void |
setInputTableConfigs(org.apache.hadoop.mapreduce.Job job,
Map<String,InputTableConfig> configs)
Sets the
InputTableConfig objects on the given Hadoop configuration |
getAuthenticationToken, getClientConfiguration, getInputTableConfig, getInputTableConfigs, getInstance, getLogLevel, getPrincipal, getScanAuthorizations, getSplits, getTabletLocator, getToken, getTokenClass, isConnectorInfoSet, setConnectorInfo, setConnectorInfo, setLogLevel, setMockInstance, setScanAuthorizations, setZooKeeperInstance, setZooKeeperInstance, validateOptionspublic static void setInputTableConfigs(org.apache.hadoop.mapreduce.Job job,
Map<String,InputTableConfig> configs)
InputTableConfig objects on the given Hadoop configurationjob - the Hadoop job instance to be configuredconfigs - the table query configs to be set on the configuration.public org.apache.hadoop.mapreduce.RecordReader<Key,Value> createRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<Key,Value>IOExceptionInterruptedExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.