public abstract class PathTargetImpl extends Object implements PathTarget
Target.WriteMode
Constructor and Description |
---|
PathTargetImpl(org.apache.hadoop.fs.Path path,
Class<org.apache.hadoop.mapreduce.OutputFormat> outputFormatClass,
Class keyClass,
Class valueClass) |
PathTargetImpl(String path,
Class<org.apache.hadoop.mapreduce.OutputFormat> outputFormatClass,
Class keyClass,
Class valueClass) |
Modifier and Type | Method and Description |
---|---|
void |
configureForMapReduce(org.apache.hadoop.mapreduce.Job job,
PType<?> ptype,
org.apache.hadoop.fs.Path outputPath,
String name) |
org.apache.hadoop.fs.Path |
getPath() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFileNamingScheme
accept, asSourceTarget, handleExisting
public PathTargetImpl(String path, Class<org.apache.hadoop.mapreduce.OutputFormat> outputFormatClass, Class keyClass, Class valueClass)
public void configureForMapReduce(org.apache.hadoop.mapreduce.Job job, PType<?> ptype, org.apache.hadoop.fs.Path outputPath, String name)
configureForMapReduce
in interface MapReduceTarget
public org.apache.hadoop.fs.Path getPath()
getPath
in interface PathTarget
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.