org.apache.storm.hbase.trident.mapper
Interface TridentHBaseMapper

All Superinterfaces:
Serializable
All Known Implementing Classes:
SimpleTridentHBaseMapper

public interface TridentHBaseMapper
extends Serializable

Maps a storm.trident.tuple.TridentTuple object to a row in an HBase table.


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

Method Detail

rowKey

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

Parameters:
tuple -
Returns:

columns

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

Parameters:
tuple -
Returns:


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