|
client-cpp
0.0.1-SNAPSHOT
|
#include <AbstractStrategy.hpp>
Inheritance diagram for kaa::AbstractStrategy:Public Member Functions | |
| virtual void | run (boost::shared_ptr< ICommonRecord > parent, const std::string &field, const avro::GenericDatum &datum)=0 |
| virtual | ~AbstractStrategy () |
Abstract strategy to convert Avro datum to Common type.
Definition at line 29 of file AbstractStrategy.hpp.
|
inlinevirtual |
Definition at line 40 of file AbstractStrategy.hpp.
|
pure virtual |
Routine for processing avro datum and insert field into a record by given name.
| parent | Record which has to contain data represented in datum. |
| field | Name of a field in a given record. |
| datum | Avro datum containing data to be converted. |
Implemented in kaa::CommonProcessStrategy, kaa::NullProcessStrategy, kaa::ArrayResetStrategy, kaa::ArrayProcessStrategy, kaa::RecordProcessStrategy, and kaa::UuidProcessStrategy.