com.twitter.elephantbird.pig.store
Class RCFileThriftPigStorage

java.lang.Object
  extended by org.apache.pig.StoreFunc
      extended by com.twitter.elephantbird.pig.store.BaseStoreFunc
          extended by com.twitter.elephantbird.pig.store.RCFileThriftPigStorage
All Implemented Interfaces:
org.apache.pig.StoreFuncInterface

public class RCFileThriftPigStorage
extends BaseStoreFunc

StoreFunc for storing Thrift objects in RCFiles.

See Also:
RCFileThriftOutputFormat

Field Summary
 
Fields inherited from class com.twitter.elephantbird.pig.store.BaseStoreFunc
contextSignature, writer
 
Constructor Summary
RCFileThriftPigStorage(String thriftClassName)
           
 
Method Summary
 org.apache.hadoop.mapreduce.OutputFormat getOutputFormat()
           
 void putNext(org.apache.pig.data.Tuple t)
           
 
Methods inherited from class com.twitter.elephantbird.pig.store.BaseStoreFunc
getUDFProperties, incrCounter, incrCounter, incrCounter, prepareToWrite, setStoreFuncUDFContextSignature, setStoreLocation, writeRecord
 
Methods inherited from class org.apache.pig.StoreFunc
checkSchema, cleanupOnFailure, cleanupOnFailureImpl, cleanupOnSuccess, relToAbsPathForStoreLocation, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCFileThriftPigStorage

public RCFileThriftPigStorage(String thriftClassName)
Method Detail

getOutputFormat

public org.apache.hadoop.mapreduce.OutputFormat getOutputFormat()
                                                         throws IOException
Specified by:
getOutputFormat in interface org.apache.pig.StoreFuncInterface
Specified by:
getOutputFormat in class org.apache.pig.StoreFunc
Throws:
IOException

putNext

public void putNext(org.apache.pig.data.Tuple t)
             throws IOException
Specified by:
putNext in interface org.apache.pig.StoreFuncInterface
Specified by:
putNext in class org.apache.pig.StoreFunc
Throws:
IOException


Copyright © 2015 Twitter. All Rights Reserved.