public interface PathTarget extends MapReduceTarget
Target.WriteMode| Modifier and Type | Method and Description | 
|---|---|
| FileNamingScheme | getFileNamingScheme()Get the naming scheme to be used for outputs being written to an output
 path. | 
| org.apache.hadoop.fs.Path | getPath() | 
| void | handleOutputs(org.apache.hadoop.conf.Configuration conf,
             org.apache.hadoop.fs.Path workingPath,
             int index)Handles moving the output data for this target from a temporary location on the
 filesystem to its target path at the end of a MapReduce job. | 
configureForMapReduceaccept, asSourceTarget, getConverter, handleExisting, outputConforg.apache.hadoop.fs.Path getPath()
FileNamingScheme getFileNamingScheme()
void handleOutputs(org.apache.hadoop.conf.Configuration conf,
                   org.apache.hadoop.fs.Path workingPath,
                   int index)
            throws IOException
conf - The job ConfigurationworkingPath - The temp directory that contains the output of the jobindex - The index of this target for jobs that write multiple output files to a single directoryIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.