Interface CellMappingStrategy
-
- All Known Implementing Classes:
BodyMappingStrategy,HeaderMappingStrategy
public interface CellMappingStrategyA 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 theExchange.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyGetResults(org.apache.camel.Message message, HBaseData data)Applies the KeyValues of a get operation to theExchange.voidapplyScanResults(org.apache.camel.Message message, HBaseData data)Applies the KeyValues of a scan operation to theExchange.HBaseDataresolveModel(org.apache.camel.Message message)Resolves the cell that theExchangerefers to.
-
-
-
Method Detail
-
resolveModel
HBaseData resolveModel(org.apache.camel.Message message)
Resolves the cell that theExchangerefers to.
-
applyGetResults
void applyGetResults(org.apache.camel.Message message, HBaseData data)Applies the KeyValues of a get operation to theExchange.- 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 theExchange.
-
-