public class HeaderMappingStrategy extends Object implements CellMappingStrategy
CellMappingStrategy
implementation.
It distinguishes between multiple cell, by reading headers with index suffix.
In case of multiple headers:
Constructor and Description |
---|
HeaderMappingStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
applyGetResults(org.apache.camel.Message message,
HBaseData data)
Applies the cells to the
Exchange . |
void |
applyScanResults(org.apache.camel.Message message,
HBaseData data)
Applies the cells to the
Exchange . |
HBaseData |
resolveModel(org.apache.camel.Message message)
Resolves the cells that the
Exchange refers to. |
public HBaseData resolveModel(org.apache.camel.Message message)
Exchange
refers to.resolveModel
in interface CellMappingStrategy
public void applyGetResults(org.apache.camel.Message message, HBaseData data)
Exchange
.applyGetResults
in interface CellMappingStrategy
message
- The message that will be applied the Get result.data
- The rows that will be applied to the message.public void applyScanResults(org.apache.camel.Message message, HBaseData data)
Exchange
.applyScanResults
in interface CellMappingStrategy
Apache Camel