public class LzoIndexRecordWriter extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.fs.Path,org.apache.hadoop.io.LongWritable>
| Constructor and Description |
|---|
LzoIndexRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) |
void |
write(org.apache.hadoop.fs.Path path,
org.apache.hadoop.io.LongWritable offset) |
public LzoIndexRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext)
public void write(org.apache.hadoop.fs.Path path, org.apache.hadoop.io.LongWritable offset) throws IOException, InterruptedException
write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.fs.Path,org.apache.hadoop.io.LongWritable>IOExceptionInterruptedExceptionpublic void close(org.apache.hadoop.mapreduce.TaskAttemptContext taskAttemptContext) throws IOException, InterruptedException
close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.fs.Path,org.apache.hadoop.io.LongWritable>IOExceptionInterruptedException