|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.component.hbase.mapping.HeaderMappingStrategy
public class HeaderMappingStrategy
A default CellMappingStrategy
implementation.
It distinguishes between multiple cell, by reading headers with index suffix.
Constructor Summary | |
---|---|
HeaderMappingStrategy()
|
Method Summary | |
---|---|
void |
applyGetResults(org.apache.camel.Message message,
HBaseData data)
Applies the cells to the Exchange . |
void |
applyScanResults(org.apache.camel.Message message,
HBaseData data)
Applies the cells to the Exchange . |
HBaseData |
resolveModel(org.apache.camel.Message message)
Resolves the cells that the Exchange refers to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeaderMappingStrategy()
Method Detail |
---|
public HBaseData resolveModel(org.apache.camel.Message message)
Exchange
refers to.
resolveModel
in interface CellMappingStrategy
public void applyGetResults(org.apache.camel.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(org.apache.camel.Message message, HBaseData data)
Exchange
.
applyScanResults
in interface CellMappingStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |