com.twitter.elephantbird.mapreduce.input
Class RCFileThriftTupleInputFormat.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.RCFileThriftInputFormat.ThriftReader
com.twitter.elephantbird.mapreduce.input.RCFileThriftTupleInputFormat.TupleReader
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- RCFileThriftTupleInputFormat
public class RCFileThriftTupleInputFormat.TupleReader
- extends RCFileThriftInputFormat.ThriftReader
|
Method Summary |
org.apache.pig.data.Tuple |
getCurrentTupleValue()
Returns a Tuple consisting of required fields with out creating
a Thrift message at the top level. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCFileThriftTupleInputFormat.TupleReader
public RCFileThriftTupleInputFormat.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,
org.apache.thrift.TException
- Returns a Tuple consisting of required fields with out creating
a Thrift message at the top level.
- Throws:
IOException
InterruptedException
org.apache.thrift.TException
Copyright © 2015 Twitter. All Rights Reserved.