|
Avro C++
|
A utility class to write generic datum to encoders. More...
#include <Generic.hh>
Public Member Functions | |
| GenericWriter (const ValidSchema &s, const EncoderPtr &encoder) | |
| Constructs a writer for the given schema using the given encoder. | |
| void | write (const GenericDatum &datum) const |
| Writes a value onto the encoder. | |
Static Public Member Functions | |
| static void | write (Encoder &e, const GenericDatum &g) |
| Writes a generic datum on to the stream. | |
| static void | write (Encoder &e, const GenericDatum &g, const ValidSchema &) |
| Writes a generic datum on to the stream, using the given schema. | |
A utility class to write generic datum to encoders.
| static void avro::GenericWriter::write | ( | Encoder & | e, |
| const GenericDatum & | g, | ||
| const ValidSchema & | |||
| ) | [inline, static] |
Writes a generic datum on to the stream, using the given schema.
Retained for backward compatibility.
1.7.6.1