public class StoreFuncMetadataWrapper extends StoreFuncWrapper implements StoreMetadata
| Modifier | Constructor and Description | 
|---|---|
protected  | 
StoreFuncMetadataWrapper()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
setStoreFunc(StoreMetadata storeFunc)
The wrapped StoreMetadata object must be set before method calls are made on this object. 
 | 
void | 
storeSchema(ResourceSchema resourceSchema,
           String location,
           org.apache.hadoop.mapreduce.Job job)
Store schema of the data being written 
 | 
void | 
storeStatistics(ResourceStatistics resourceStatistics,
               String location,
               org.apache.hadoop.mapreduce.Job job)
Store statistics about the data being written. 
 | 
checkSchema, cleanupOnFailure, cleanupOnSuccess, getMethodName, getOutputFormat, prepareToWrite, putNext, relToAbsPathForStoreLocation, setStoreFunc, setStoreFuncUDFContextSignature, setStoreLocationprotected void setStoreFunc(StoreMetadata storeFunc)
storeFunc - public void storeStatistics(ResourceStatistics resourceStatistics, String location, org.apache.hadoop.mapreduce.Job job) throws IOException
StoreMetadatastoreStatistics in interface StoreMetadataresourceStatistics - statistics to be recordedlocation - Location as returned by 
 LoadFunc.relativeToAbsolutePath(String, org.apache.hadoop.fs.Path)job - The Job object - this should be used only to obtain 
 cluster properties through JobContextImpl.getConfiguration() and not to set/query
 any runtime job information.IOExceptionpublic void storeSchema(ResourceSchema resourceSchema, String location, org.apache.hadoop.mapreduce.Job job) throws IOException
StoreMetadatastoreSchema in interface StoreMetadataresourceSchema - Schema to be recordedlocation - Location as returned by 
 LoadFunc.relativeToAbsolutePath(String, org.apache.hadoop.fs.Path)job - The Job object - this should be used only to obtain 
 cluster properties through JobContextImpl.getConfiguration() and not to set/query
 any runtime job information.IOExceptionCopyright © 2007-2012 The Apache Software Foundation