org.apache.storm.hbase.bolt.mapper
Interface HBaseValueMapper

All Superinterfaces:
Serializable

public interface HBaseValueMapper
extends Serializable


Method Summary
 void declareOutputFields(OutputFieldsDeclarer declarer)
          declares the output fields for the lookup bolt.
 List<Values> toValues(ITuple input, org.apache.hadoop.hbase.client.Result result)
           
 

Method Detail

toValues

List<Values> toValues(ITuple input,
                      org.apache.hadoop.hbase.client.Result result)
                      throws Exception
Parameters:
input - tuple.
result - HBase lookup result instance.
Returns:
list of values that should be emitted by the lookup bolt.
Throws:
Exception

declareOutputFields

void declareOutputFields(OutputFieldsDeclarer declarer)
declares the output fields for the lookup bolt.

Parameters:
declarer -


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