org.apache.crunch.io
Class PathTargetImpl
java.lang.Object
org.apache.crunch.io.PathTargetImpl
- All Implemented Interfaces:
- MapReduceTarget, PathTarget, Target
public abstract class PathTargetImpl
- extends Object
- implements PathTarget
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 The Apache Software Foundation. All Rights Reserved.