org.apache.camel.component.hbase.mapping
Interface CellMappingStrategy

All Known Implementing Classes:
BodyMappingStrategy, HeaderMappingStrategy

public interface CellMappingStrategy

A Cell resolver is responsible on identifying the cells, to which the Echange refers to. Is used for all types of operations (Put, Get etc). It is allowed that an exchange refers to more than once cells. This happens if headers for multiple cells are present in the Exchange.


Method Summary
 void applyGetResults(org.apache.camel.Message message, HBaseData data)
          Applies the KeyValues of a get opration to the Exchange.
 void applyScanResults(org.apache.camel.Message message, HBaseData data)
          Applies the KeyValues of a scan operation to the Exchange.
 HBaseData resolveModel(org.apache.camel.Message message)
          Resolves the cell that the Exchange refers to.
 

Method Detail

resolveModel

HBaseData resolveModel(org.apache.camel.Message message)
Resolves the cell that the Exchange refers to.


applyGetResults

void applyGetResults(org.apache.camel.Message message,
                     HBaseData data)
Applies the KeyValues of a get opration to the Exchange.

Parameters:
message - The message that will be applied the Get result.
data - The rows that will be applied to the message.

applyScanResults

void applyScanResults(org.apache.camel.Message message,
                      HBaseData data)
Applies the KeyValues of a scan operation to the Exchange.



Apache CAMEL