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, getClassLoaderContext, getClientConfiguration, getInputTableConfig, getInputTableConfigs, getInstance, getLogLevel, getPrincipal, getScanAuthorizations, getSplits, getTabletLocator, getToken, getTokenClass, isConnectorInfoSet, setClassLoaderContext, setConnectorInfo, setConnectorInfo, setLogLevel, setMockInstance, setScanAuthorizations, setZooKeeperInstance, setZooKeeperInstance, validateOptions
public 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>
IOException
InterruptedException
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.