org.apache.hcatalog.pig
Class HCatStorer

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

public class HCatStorer
extends HCatBaseStorer

HCatStorer.


Field Summary
 
Fields inherited from class org.apache.hcatalog.pig.HCatBaseStorer
COMPUTED_OUTPUT_SCHEMA, computedSchema, partitions, PIG_SCHEMA, pigSchema, sign
 
Constructor Summary
HCatStorer()
           
HCatStorer(java.lang.String partSpecs)
           
HCatStorer(java.lang.String partSpecs, 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

HCatStorer

public HCatStorer(java.lang.String partSpecs,
                  java.lang.String schema)
           throws java.lang.Exception
Throws:
java.lang.Exception

HCatStorer

public HCatStorer(java.lang.String partSpecs)
           throws java.lang.Exception
Throws:
java.lang.Exception

HCatStorer

public HCatStorer()
           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