com.twitter.elephantbird.mapreduce.input
Class RCFileProtobufTupleInputFormat
java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<K,V>
com.twitter.elephantbird.mapreduce.input.MapReduceInputFormatWrapper<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Writable>
com.twitter.elephantbird.mapreduce.input.RCFileBaseInputFormat
com.twitter.elephantbird.mapreduce.input.RCFileProtobufInputFormat
com.twitter.elephantbird.mapreduce.input.RCFileProtobufTupleInputFormat
public class RCFileProtobufTupleInputFormat
- extends RCFileProtobufInputFormat
This is a wrapper over RCFileProtobufInputFormat and provides a method
to create a Tuple directly from RCFile bytes, skipping building a protobuf
first.
|
Method Summary |
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Writable> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext taskAttempt)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCFileProtobufTupleInputFormat
public RCFileProtobufTupleInputFormat()
RCFileProtobufTupleInputFormat
public RCFileProtobufTupleInputFormat(TypeRef<com.google.protobuf.Message> typeRef)
createRecordReader
public org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Writable> createRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext taskAttempt)
throws IOException,
InterruptedException
- Overrides:
createRecordReader in class RCFileProtobufInputFormat
- Throws:
IOException
InterruptedException
Copyright © 2015 Twitter. All Rights Reserved.