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 theExchange
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
.HBaseData
resolveModel(org.apache.camel.Message message)
Resolves the cell that theExchange
refers to.
-
-
-
Method Detail
-
resolveModel
HBaseData resolveModel(org.apache.camel.Message message)
Resolves the cell that theExchange
refers 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
.
-
-