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
Modifier and TypeMethodDescriptionvoid
applyGetResults
(org.apache.camel.Message message, HBaseData data) Applies the KeyValues of a get operation to theExchange
.void
applyScanResults
(org.apache.camel.Message message, HBaseData data) Applies the KeyValues of a scan operation to theExchange
.resolveModel
(org.apache.camel.Message message) Resolves the cell that theExchange
refers to.
-
Method Details
-
resolveModel
Resolves the cell that theExchange
refers to. -
applyGetResults
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
Applies the KeyValues of a scan operation to theExchange
.
-