avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milind Vaidya <kava...@gmail.com>
Subject How to set 'values' in a record
Date Sat, 06 Apr 2013 14:33:52 GMT
As the example on the avro c website shows,

Create datum for record
 avro_datum_t person = avro_record(person_schema);

Create Datun for a field
 avro_datum_t id_datum = avro_int64(++id);

Set the field value in the record
avro_record_set(person, "ID", id_datum)

With the above API being deprecated,

How do I set avro_value_t in a record ?

I tried searching for counterpart of avro_value_get_by_name
but could not find it

View raw message