org.apache.hcatalog.pig
Class HCatEximStorer

java.lang.Object
  extended by org.apache.pig.StoreFunc
      extended by org.apache.hcatalog.pig.HCatBaseStorer
          extended by org.apache.hcatalog.pig.HCatEximStorer
All Implemented Interfaces:
org.apache.pig.StoreFuncInterface, org.apache.pig.StoreMetadata

public class HCatEximStorer
extends HCatBaseStorer

HCatEximStorer.


Field Summary
 
Fields inherited from class org.apache.hcatalog.pig.HCatBaseStorer
COMPUTED_OUTPUT_SCHEMA, computedSchema, partitions, PIG_SCHEMA, pigSchema, sign
 
Constructor Summary
HCatEximStorer(java.lang.String outputLocation)
           
HCatEximStorer(java.lang.String outputLocation, java.lang.String partitionSpec)
           
HCatEximStorer(java.lang.String outputLocation, java.lang.String partitionSpec, java.lang.String schema)
           
 
Method Summary
 org.apache.hadoop.mapreduce.OutputFormat getOutputFormat()
           
 void setStoreLocation(java.lang.String location, org.apache.hadoop.mapreduce.Job job)
           
 void storeSchema(org.apache.pig.ResourceSchema schema, java.lang.String arg1, org.apache.hadoop.mapreduce.Job job)
           
 
Methods inherited from class org.apache.hcatalog.pig.HCatBaseStorer
checkSchema, cleanupOnFailure, convertPigSchemaToHCatSchema, doSchemaValidations, prepareToWrite, putNext, relToAbsPathForStoreLocation, setStoreFuncUDFContextSignature, storeStatistics
 
Methods inherited from class org.apache.pig.StoreFunc
cleanupOnFailureImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HCatEximStorer

public HCatEximStorer(java.lang.String outputLocation)
               throws java.lang.Exception
Throws:
java.lang.Exception

HCatEximStorer

public HCatEximStorer(java.lang.String outputLocation,
                      java.lang.String partitionSpec)
               throws java.lang.Exception
Throws:
java.lang.Exception

HCatEximStorer

public HCatEximStorer(java.lang.String outputLocation,
                      java.lang.String partitionSpec,
                      java.lang.String schema)
               throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getOutputFormat

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

setStoreLocation

public void setStoreLocation(java.lang.String location,
                             org.apache.hadoop.mapreduce.Job job)
                      throws java.io.IOException
Specified by:
setStoreLocation in interface org.apache.pig.StoreFuncInterface
Specified by:
setStoreLocation in class org.apache.pig.StoreFunc
Throws:
java.io.IOException

storeSchema

public void storeSchema(org.apache.pig.ResourceSchema schema,
                        java.lang.String arg1,
                        org.apache.hadoop.mapreduce.Job job)
                 throws java.io.IOException
Throws:
java.io.IOException