Package org.apache.storm.hive.bolt
Class HiveBolt
- java.lang.Object
-
- org.apache.storm.topology.base.BaseComponent
-
- org.apache.storm.topology.base.BaseRichBolt
-
- org.apache.storm.hive.bolt.HiveBolt
-
- All Implemented Interfaces:
Serializable,IBolt,IComponent,IRichBolt
public class HiveBolt extends BaseRichBolt
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HiveBolt(HiveOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()voiddeclareOutputFields(OutputFieldsDeclarer declarer)voidexecute(Tuple tuple)Map<String,Object>getComponentConfiguration()voidprepare(Map<String,Object> conf, TopologyContext topologyContext, OutputCollector collector)
-
-
-
Constructor Detail
-
HiveBolt
public HiveBolt(HiveOptions options)
-
-
Method Detail
-
prepare
public void prepare(Map<String,Object> conf, TopologyContext topologyContext, OutputCollector collector)
-
execute
public void execute(Tuple tuple)
-
declareOutputFields
public void declareOutputFields(OutputFieldsDeclarer declarer)
-
cleanup
public void cleanup()
- Specified by:
cleanupin interfaceIBolt- Overrides:
cleanupin classBaseRichBolt
-
getComponentConfiguration
public Map<String,Object> getComponentConfiguration()
- Specified by:
getComponentConfigurationin interfaceIComponent- Overrides:
getComponentConfigurationin classBaseComponent
-
-