public class AccumuloRowInputFormat extends Object implements org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.Text,PeekingIterator<Map.Entry<Key,Value>>>
AccumuloRowInputFormat
Constructor and Description |
---|
AccumuloRowInputFormat() |
Modifier and Type | Method and Description |
---|---|
static InputFormatBuilder.ClientParams<org.apache.hadoop.mapred.JobConf> |
configure()
Sets all the information required for this map reduce job.
|
org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,PeekingIterator<Map.Entry<Key,Value>>> |
getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter) |
org.apache.hadoop.mapred.InputSplit[] |
getSplits(org.apache.hadoop.mapred.JobConf job,
int numSplits)
Gets the splits of the tables that have been set on the job by reading the metadata table for
the specified ranges.
|
public org.apache.hadoop.mapred.InputSplit[] getSplits(org.apache.hadoop.mapred.JobConf job, int numSplits) throws IOException
getSplits
in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.Text,PeekingIterator<Map.Entry<Key,Value>>>
IOException
- if a table set on the job doesn't exist or an error occurs initializing the tablet
locatorpublic org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.Text,PeekingIterator<Map.Entry<Key,Value>>> getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) throws IOException
getRecordReader
in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.Text,PeekingIterator<Map.Entry<Key,Value>>>
IOException
public static InputFormatBuilder.ClientParams<org.apache.hadoop.mapred.JobConf> configure()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.