org.apache.hadoop.hbase.mapreduce
Class HLogInputFormat
java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<HLogKey,WALEdit>
org.apache.hadoop.hbase.mapreduce.HLogInputFormat
public class HLogInputFormat
- extends org.apache.hadoop.mapreduce.InputFormat<HLogKey,WALEdit>
Simple InputFormat
for HLog
files.
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
START_TIME_KEY
public static String START_TIME_KEY
END_TIME_KEY
public static String END_TIME_KEY
HLogInputFormat
public HLogInputFormat()
getSplits
public List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context)
throws IOException,
InterruptedException
- Specified by:
getSplits
in class org.apache.hadoop.mapreduce.InputFormat<HLogKey,WALEdit>
- Throws:
IOException
InterruptedException
createRecordReader
public org.apache.hadoop.mapreduce.RecordReader<HLogKey,WALEdit> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
- Specified by:
createRecordReader
in class org.apache.hadoop.mapreduce.InputFormat<HLogKey,WALEdit>
- Throws:
IOException
InterruptedException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.