@InterfaceAudience.Public public class HLogInputFormat extends org.apache.hadoop.mapreduce.InputFormat<HLogKey,WALEdit>
InputFormat for HLog files.| Modifier and Type | Field and Description |
|---|---|
static String |
END_TIME_KEY |
static String |
START_TIME_KEY |
| Constructor and Description |
|---|
HLogInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<HLogKey,WALEdit> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext context) |
public static final String START_TIME_KEY
public static final String END_TIME_KEY
public List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context) throws IOException, InterruptedException
getSplits in class org.apache.hadoop.mapreduce.InputFormat<HLogKey,WALEdit>IOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.RecordReader<HLogKey,WALEdit> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<HLogKey,WALEdit>IOExceptionInterruptedExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.