com.cloudera.crunch.io.hbase
Class HBaseTarget

java.lang.Object
  extended by com.cloudera.crunch.io.hbase.HBaseTarget
All Implemented Interfaces:
MapReduceTarget, Target
Direct Known Subclasses:
HBaseSourceTarget

public class HBaseTarget
extends Object
implements MapReduceTarget


Field Summary
protected  String table
           
 
Constructor Summary
HBaseTarget(String table)
           
 
Method Summary
 boolean accept(OutputHandler handler, PType<?> ptype)
           
<T> SourceTarget<T>
asSourceTarget(PType<T> ptype)
           
 void configureForMapReduce(org.apache.hadoop.mapreduce.Job job, PType<?> ptype, org.apache.hadoop.fs.Path outputPath, String name)
           
 boolean equals(Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected String table
Constructor Detail

HBaseTarget

public HBaseTarget(String table)
Method Detail

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.