Public Member Functions

avro::ResolvingDecoder Class Reference

ResolvingDecoder is derived from Decoder, with an additional function to obtain the field ordering of fiedls within a record. More...

#include <Decoder.hh>

Inheritance diagram for avro::ResolvingDecoder:
avro::Decoder

List of all members.

Public Member Functions

virtual const std::vector
< size_t > & 
fieldOrder ()=0
 Returns the order of fields for records.

Detailed Description

ResolvingDecoder is derived from Decoder, with an additional function to obtain the field ordering of fiedls within a record.


Member Function Documentation

virtual const std::vector<size_t>& avro::ResolvingDecoder::fieldOrder (  )  [pure virtual]

Returns the order of fields for records.

The order of fields could be different from the order of their order in the schema because the writer's field order could be different. In order to avoid buffering and later use, we return the values in the writer's field order.


The documentation for this class was generated from the following file: