public class BodyMappingStrategy 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 |
---|
BodyMappingStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
applyGetResults(Message message,
HBaseData data)
Applies the cells to the
Exchange . |
void |
applyScanResults(Message message,
HBaseData data)
Applies the cells to the
Exchange . |
HBaseData |
resolveModel(Message message)
Resolves the cells that the
Exchange refers to. |
public HBaseData resolveModel(Message message)
Exchange
refers to.resolveModel
in interface CellMappingStrategy
public void applyGetResults(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(Message message, HBaseData data)
Exchange
.applyScanResults
in interface CellMappingStrategy
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.