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