client-cpp
0.0.1-SNAPSHOT
|
#include <ICommonRecord.hpp>
Public Types | |
typedef Container | container_type |
typedef Container::mapped_type | fields_type |
typedef Container::key_type | keys_type |
Public Member Functions | |
ICommonRecordBase () | |
virtual | ~ICommonRecordBase () |
virtual void | setUuid (uuid_t uuid)=0 |
virtual uuid_t | getUuid ()=0 |
virtual bool | hasField (const keys_type &field_name) const =0 |
virtual fields_type | getField (const keys_type &field_name) const =0 |
virtual void | setField (const keys_type &field_name, fields_type value)=0 |
virtual void | removeField (const keys_type &field_name)=0 |
virtual const container_type & | getFields () const =0 |
Public Member Functions inherited from kaa::ISchemaDependent | |
virtual const avro::NodePtr & | getSchema () const =0 |
virtual | ~ISchemaDependent () |
Public Member Functions inherited from kaa::ICommonValue | |
ICommonValue (CommonValueType type) | |
virtual | ~ICommonValue () |
virtual const boost::any | getValue () const =0 |
virtual avro::GenericDatum | toAvro () const =0 |
virtual std::string | toString () const =0 |
CommonValueType | getCommonType () |
Additional Inherited Members | |
Protected Attributes inherited from kaa::ICommonValue | |
CommonValueType | type_ |
Represents Avro record data structure.
Definition at line 34 of file ICommonRecord.hpp.
typedef Container kaa::ICommonRecordBase< Container >::container_type |
Definition at line 36 of file ICommonRecord.hpp.
typedef Container::mapped_type kaa::ICommonRecordBase< Container >::fields_type |
Definition at line 37 of file ICommonRecord.hpp.
typedef Container::key_type kaa::ICommonRecordBase< Container >::keys_type |
Definition at line 38 of file ICommonRecord.hpp.
|
inline |
Definition at line 40 of file ICommonRecord.hpp.
|
inlinevirtual |
Definition at line 41 of file ICommonRecord.hpp.
|
pure virtual |
Retrieves value of the field.
field_name | Name of the field which value being returned |
Implemented in kaa::CommonRecord.
|
pure virtual |
Retrieves container with set of field pairs (name/value).
Implemented in kaa::CommonRecord.
|
pure virtual |
Retrieves uuid object to the record
Implemented in kaa::CommonRecord.
|
pure virtual |
Check if the field is present in the record
field_name | Name of the field to be checked |
Implemented in kaa::CommonRecord.
|
pure virtual |
Remove field from the record.
field_name | Name of the field which value is being removed |
Implemented in kaa::CommonRecord.
|
pure virtual |
Set new value to the field.
field_name | Name of the field which value is being changed |
Implemented in kaa::CommonRecord.
|
pure virtual |
Set uuid object to the record
Implemented in kaa::CommonRecord.