This project has retired. For details please refer to its
Attic page.
SourcePathTargetImpl (Apache Crunch 0.3.0-incubating API)
org.apache.crunch.io.impl
Class SourcePathTargetImpl<T>
java.lang.Object
org.apache.crunch.io.impl.SourceTargetImpl<T>
org.apache.crunch.io.impl.SourcePathTargetImpl<T>
- All Implemented Interfaces:
- MapReduceTarget, PathTarget, Source<T>, SourceTarget<T>, Target
- Direct Known Subclasses:
- ReadableSourcePathTargetImpl, TableSourcePathTargetImpl
public class SourcePathTargetImpl<T>
- extends SourceTargetImpl<T>
- implements PathTarget
SourcePathTargetImpl
public SourcePathTargetImpl(Source<T> source,
PathTarget target)
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.