Class AccumuloMultiTableInputFormat
java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<K,V>
org.apache.accumulo.core.client.mapreduce.AbstractInputFormat<Key,Value>
org.apache.accumulo.core.client.mapreduce.AccumuloMultiTableInputFormat
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.accumulo.core.client.mapreduce.AbstractInputFormat
AbstractInputFormat.AbstractRecordReader<K,V> -
Field Summary
Fields inherited from class org.apache.accumulo.core.client.mapreduce.AbstractInputFormat
CLASS, log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext context) static voidsetInputTableConfigs(org.apache.hadoop.mapreduce.Job job, Map<String, InputTableConfig> configs) Sets theInputTableConfigobjects on the given Hadoop configurationMethods inherited from class org.apache.accumulo.core.client.mapreduce.AbstractInputFormat
getAuthenticationToken, getClassLoaderContext, getClientConfiguration, getInputTableConfig, getInputTableConfigs, getInstance, getLogLevel, getPrincipal, getScanAuthorizations, getSplits, getTabletLocator, getToken, getTokenClass, isConnectorInfoSet, setClassLoaderContext, setConnectorInfo, setConnectorInfo, setLogLevel, setMockInstance, setScanAuthorizations, setZooKeeperInstance, setZooKeeperInstance, validateOptions
-
Constructor Details
-
AccumuloMultiTableInputFormat
public AccumuloMultiTableInputFormat()
-
-
Method Details
-
setInputTableConfigs
public static void setInputTableConfigs(org.apache.hadoop.mapreduce.Job job, Map<String, InputTableConfig> configs) Sets theInputTableConfigobjects on the given Hadoop configuration- Parameters:
job- the Hadoop job instance to be configuredconfigs- the table query configs to be set on the configuration.- Since:
- 1.6.0
-
createRecordReader
public org.apache.hadoop.mapreduce.RecordReader<Key,Value> createRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException - Specified by:
createRecordReaderin classorg.apache.hadoop.mapreduce.InputFormat<Key,Value> - Throws:
IOExceptionInterruptedException
-