com.cloudera.crunch.io.hbase
Class HBaseTarget
java.lang.Object
com.cloudera.crunch.io.hbase.HBaseTarget
- All Implemented Interfaces:
- MapReduceTarget, Target
- Direct Known Subclasses:
- HBaseSourceTarget
public class HBaseTarget
- extends Object
- implements MapReduceTarget
table
protected String table
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
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. All Rights Reserved.