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

All Superinterfaces:
Serializable
All Known Implementing Classes:
SimpleHBaseMapper

public interface HBaseMapper
extends Serializable

Maps a backtype.storm.tuple.Tuple object to a row in an HBase table.


Method Summary
 ColumnList columns(Tuple tuple)
          Given a tuple, return a list of HBase columns to insert.
 byte[] rowKey(Tuple tuple)
          Given a tuple, return the HBase rowkey.
 

Method Detail

rowKey

byte[] rowKey(Tuple tuple)
Given a tuple, return the HBase rowkey.

Parameters:
tuple -
Returns:

columns

ColumnList columns(Tuple tuple)
Given a tuple, return a list of HBase columns to insert.

Parameters:
tuple -
Returns:


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