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 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 operation 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.