com.cloudera.crunch.io.impl
Class SourcePathTargetImpl<T>
java.lang.Object
com.cloudera.crunch.io.impl.SourceTargetImpl<T>
com.cloudera.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. All Rights Reserved.