com.twitter.elephantbird.mapreduce.input
Class RCFileProtobufTupleInputFormat.TupleReader
java.lang.Object
org.apache.hadoop.mapreduce.RecordReader<K,V>
com.twitter.elephantbird.mapreduce.input.FilterRecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Writable>
com.twitter.elephantbird.mapreduce.input.RCFileProtobufInputFormat.ProtobufReader
com.twitter.elephantbird.mapreduce.input.RCFileProtobufTupleInputFormat.TupleReader
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- RCFileProtobufTupleInputFormat
public class RCFileProtobufTupleInputFormat.TupleReader
- extends RCFileProtobufInputFormat.ProtobufReader
|
Method Summary |
org.apache.pig.data.Tuple |
getCurrentTupleValue()
Returns a Tuple consisting of required fields with out creating
a Protobuf message at the top level. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCFileProtobufTupleInputFormat.TupleReader
public RCFileProtobufTupleInputFormat.TupleReader(org.apache.hadoop.mapreduce.RecordReader reader)
- The reader is expected to be a
RecordReader< LongWritable, BytesRefArrayWritable >.
getCurrentTupleValue
public org.apache.pig.data.Tuple getCurrentTupleValue()
throws IOException,
InterruptedException
- Returns a Tuple consisting of required fields with out creating
a Protobuf message at the top level.
- Throws:
IOException
InterruptedException
Copyright © 2015 Twitter. All Rights Reserved.