|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| ProtobufData | Utilities for serializing Protobuf data in Avro format. |
| ProtobufDatumReader<T> | DatumReader for generated Protobuf
classes. |
| ProtobufDatumWriter<T> | DatumWriter for generated protobuf
classes. |
Protocol Buffer compatibility.
Protocol Buffer primitive types are mapped to Avro types as follows:
| protobuf type | Avro type |
|---|---|
| int32, uint32, sint32, fixed32, sfixed32 | int |
| int64, uint64, sint64, fixed64, sfixed64 | long |
| float | float |
| double | double |
| bool | boolean |
| string | string |
| bytes | bytes |
| enum | enum |
| message | record |
Notes:
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||