|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.crunch.io.impl.FileTargetImpl org.apache.crunch.io.avro.AvroFileTarget
public class AvroFileTarget
Constructor Summary | |
---|---|
AvroFileTarget(org.apache.hadoop.fs.Path path)
|
|
AvroFileTarget(String path)
|
Method Summary | ||
---|---|---|
boolean |
accept(OutputHandler handler,
PType<?> ptype)
|
|
|
asSourceTarget(PType<T> ptype)
|
|
void |
configureForMapReduce(org.apache.hadoop.mapreduce.Job job,
PType<?> ptype,
org.apache.hadoop.fs.Path outputPath,
String name)
|
|
String |
toString()
|
Methods inherited from class org.apache.crunch.io.impl.FileTargetImpl |
---|
equals, getPath, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AvroFileTarget(String path)
public AvroFileTarget(org.apache.hadoop.fs.Path path)
Method Detail |
---|
public String toString()
toString
in class FileTargetImpl
public boolean accept(OutputHandler handler, PType<?> ptype)
accept
in interface Target
accept
in class FileTargetImpl
public void configureForMapReduce(org.apache.hadoop.mapreduce.Job job, PType<?> ptype, org.apache.hadoop.fs.Path outputPath, String name)
configureForMapReduce
in interface MapReduceTarget
configureForMapReduce
in class FileTargetImpl
public <T> SourceTarget<T> asSourceTarget(PType<T> ptype)
asSourceTarget
in interface Target
asSourceTarget
in class FileTargetImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |