com.cloudera.crunch.io
Class PathTargetImpl
java.lang.Object
com.cloudera.crunch.io.PathTargetImpl
- All Implemented Interfaces:
- MapReduceTarget, PathTarget, Target
public abstract class PathTargetImpl
- extends Object
- implements PathTarget
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathTargetImpl
public PathTargetImpl(String path,
Class<org.apache.hadoop.mapreduce.OutputFormat> outputFormatClass,
Class keyClass,
Class valueClass)
PathTargetImpl
public PathTargetImpl(org.apache.hadoop.fs.Path path,
Class<org.apache.hadoop.mapreduce.OutputFormat> outputFormatClass,
Class keyClass,
Class valueClass)
configureForMapReduce
public void configureForMapReduce(org.apache.hadoop.mapreduce.Job job,
PType<?> ptype,
org.apache.hadoop.fs.Path outputPath,
String name)
- Specified by:
configureForMapReduce
in interface MapReduceTarget
getPath
public org.apache.hadoop.fs.Path getPath()
- Specified by:
getPath
in interface PathTarget
Copyright © 2012. All Rights Reserved.