org.apache.crunch.io.hbase
Class HBaseTarget
java.lang.Object
org.apache.crunch.io.hbase.HBaseTarget
- All Implemented Interfaces:
- MapReduceTarget, Target
- Direct Known Subclasses:
- HBaseSourceTarget
public class HBaseTarget
- extends Object
- implements MapReduceTarget
HBaseTarget
public HBaseTarget(String table)
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
accept
public boolean accept(OutputHandler handler,
PType<?> ptype)
- Specified by:
accept in interface 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
asSourceTarget
public <T> SourceTarget<T> asSourceTarget(PType<T> ptype)
- Specified by:
asSourceTarget in interface Target
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.