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,
java.lang.String location,
org.apache.hadoop.mapreduce.Job job)
Store schema of the data being written
|
void |
storeStatistics(ResourceStatistics resourceStatistics,
java.lang.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, setStoreLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCredentials, supportsParallelWriteToStoreLocationprotected void setStoreFunc(StoreMetadata storeFunc)
storeFunc - public void storeStatistics(ResourceStatistics resourceStatistics, java.lang.String location, org.apache.hadoop.mapreduce.Job job) throws java.io.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.java.io.IOExceptionpublic void storeSchema(ResourceSchema resourceSchema, java.lang.String location, org.apache.hadoop.mapreduce.Job job) throws java.io.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.java.io.IOExceptionCopyright © 2007-2025 The Apache Software Foundation