com.twitter.elephantbird.mapreduce.output
Class RCFileOutputFormat.Writer
java.lang.Object
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Writable>
com.twitter.elephantbird.mapreduce.output.RCFileOutputFormat.Writer
- Enclosing class:
- RCFileOutputFormat
protected static class RCFileOutputFormat.Writer
- extends org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Writable>
RecordWriter wrapper around an RCFile.Writer
|
Method Summary |
void |
close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
|
void |
write(org.apache.hadoop.io.NullWritable key,
org.apache.hadoop.io.Writable value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCFileOutputFormat.Writer
protected RCFileOutputFormat.Writer(RCFileOutputFormat outputFormat,
org.apache.hadoop.mapreduce.TaskAttemptContext job,
org.apache.hadoop.io.Text columnMetadata)
throws IOException
- Throws:
IOException
close
public void close(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
- Specified by:
close in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Writable>
- Throws:
IOException
InterruptedException
write
public void write(org.apache.hadoop.io.NullWritable key,
org.apache.hadoop.io.Writable value)
throws IOException,
InterruptedException
- Specified by:
write in class org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Writable>
- Throws:
IOException
InterruptedException
Copyright © 2015 Twitter. All Rights Reserved.