org.apache.storm.hbase.bolt
Class AbstractHBaseBolt

java.lang.Object
  extended by backtype.storm.topology.base.BaseComponent
      extended by backtype.storm.topology.base.BaseRichBolt
          extended by org.apache.storm.hbase.bolt.AbstractHBaseBolt
All Implemented Interfaces:
IBolt, IComponent, IRichBolt, Serializable
Direct Known Subclasses:
HBaseBolt, HBaseLookupBolt

public abstract class AbstractHBaseBolt
extends BaseRichBolt

See Also:
Serialized Form

Field Summary
protected  OutputCollector collector
           
protected  String configKey
           
protected  HBaseClient hBaseClient
           
protected  HBaseMapper mapper
           
protected  String tableName
           
 
Constructor Summary
AbstractHBaseBolt(String tableName, HBaseMapper mapper)
           
 
Method Summary
 void prepare(Map map, TopologyContext topologyContext, OutputCollector collector)
           
 
Methods inherited from class backtype.storm.topology.base.BaseRichBolt
cleanup
 
Methods inherited from class backtype.storm.topology.base.BaseComponent
getComponentConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface backtype.storm.task.IBolt
execute
 
Methods inherited from interface backtype.storm.topology.IComponent
declareOutputFields, getComponentConfiguration
 

Field Detail

collector

protected OutputCollector collector

hBaseClient

protected transient HBaseClient hBaseClient

tableName

protected String tableName

mapper

protected HBaseMapper mapper

configKey

protected String configKey
Constructor Detail

AbstractHBaseBolt

public AbstractHBaseBolt(String tableName,
                         HBaseMapper mapper)
Method Detail

prepare

public void prepare(Map map,
                    TopologyContext topologyContext,
                    OutputCollector collector)


Copyright © 2016 The Apache Software Foundation. All Rights Reserved.