org.apache.hcatalog.pig
Class HCatEximStorer
java.lang.Object
org.apache.pig.StoreFunc
org.apache.hcatalog.pig.HCatBaseStorer
org.apache.hcatalog.pig.HCatEximStorer
- All Implemented Interfaces:
- org.apache.pig.StoreFuncInterface, org.apache.pig.StoreMetadata
public class HCatEximStorer
- extends HCatBaseStorer
HCatEximStorer.
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.pig.StoreFunc |
cleanupOnFailureImpl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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