com.twitter.elephantbird.mapreduce.input
Class RCFileThriftTupleInputFormat.TupleReader

java.lang.Object
  extended by org.apache.hadoop.mapreduce.RecordReader<K,V>
      extended by com.twitter.elephantbird.mapreduce.input.FilterRecordReader<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Writable>
          extended by com.twitter.elephantbird.mapreduce.input.RCFileThriftInputFormat.ThriftReader
              extended by com.twitter.elephantbird.mapreduce.input.RCFileThriftTupleInputFormat.TupleReader
All Implemented Interfaces:
Closeable
Enclosing class:
RCFileThriftTupleInputFormat

public class RCFileThriftTupleInputFormat.TupleReader
extends RCFileThriftInputFormat.ThriftReader


Field Summary
 
Fields inherited from class com.twitter.elephantbird.mapreduce.input.RCFileThriftInputFormat.ThriftReader
columnsBeingRead, knownRequiredFields, memTransport, readUnknownsColumn, tDesc, thriftWritable, tProto
 
Fields inherited from class com.twitter.elephantbird.mapreduce.input.FilterRecordReader
reader
 
Constructor Summary
RCFileThriftTupleInputFormat.TupleReader(org.apache.hadoop.mapreduce.RecordReader reader)
          The reader is expected to be a RecordReader< LongWritable, BytesRefArrayWritable >
 
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 com.twitter.elephantbird.mapreduce.input.RCFileThriftInputFormat.ThriftReader
getCurrentBytesRefArrayWritable, getCurrentThriftValue, getCurrentValue, initialize, isReadingUnknonwsColumn
 
Methods inherited from class com.twitter.elephantbird.mapreduce.input.FilterRecordReader
close, getCurrentKey, getProgress, nextKeyValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCFileThriftTupleInputFormat.TupleReader

public RCFileThriftTupleInputFormat.TupleReader(org.apache.hadoop.mapreduce.RecordReader reader)
The reader is expected to be a RecordReader< LongWritable, BytesRefArrayWritable >

Method Detail

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.