com.twitter.elephantbird.pig.store
Class RCFileProtobufPigStorage
java.lang.Object
org.apache.pig.StoreFunc
com.twitter.elephantbird.pig.store.BaseStoreFunc
com.twitter.elephantbird.pig.store.RCFileProtobufPigStorage
- All Implemented Interfaces:
- org.apache.pig.StoreFuncInterface
public class RCFileProtobufPigStorage
- extends BaseStoreFunc
StoreFunc for storing Protobuf messages in RCFiles.
- See Also:
RCFileProtobufOutputFormat}
|
Method Summary |
org.apache.hadoop.mapreduce.OutputFormat |
getOutputFormat()
|
void |
putNext(org.apache.pig.data.Tuple t)
|
| 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 |
RCFileProtobufPigStorage
public RCFileProtobufPigStorage(String protoClassName)
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.