Class WARCOutputFormat.WARCWriter
java.lang.Object
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,WARCWritable>
org.apache.hadoop.hbase.test.util.warc.WARCOutputFormat.WARCWriter
- Enclosing class:
- WARCOutputFormat
private class WARCOutputFormat.WARCWriter
extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,WARCWritable>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(org.apache.hadoop.mapreduce.TaskAttemptContext context) void
write
(org.apache.hadoop.io.NullWritable key, WARCWritable value)
-
Field Details
-
writer
-
-
Constructor Details
-
WARCWriter
- Throws:
IOException
-
-
Method Details
-
write
public void write(org.apache.hadoop.io.NullWritable key, WARCWritable value) throws IOException, InterruptedException - Specified by:
write
in classorg.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,
WARCWritable> - Throws:
IOException
InterruptedException
-
close
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws IOException, InterruptedException - Specified by:
close
in classorg.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,
WARCWritable> - Throws:
IOException
InterruptedException
-