This project has retired. For details please refer to its Attic page.
HBaseTarget (Apache Crunch 0.3.0-incubating API)

org.apache.crunch.io.hbase
Class HBaseTarget

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

public class HBaseTarget
extends Object
implements MapReduceTarget


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()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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

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.