Package org.apache.avro.protobuf

Protocol Buffer compatibility.

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.
 

Package org.apache.avro.protobuf Description

Protocol Buffer compatibility.

Protocol Buffer primitive types are mapped to Avro types as follows:

protobuf typeAvro type
int32, uint32, sint32, fixed32, sfixed32int
int64, uint64, sint64, fixed64, sfixed64long
floatfloat
doubledouble
boolboolean
stringstring
bytesbytes
enumenum
messagerecord

Notes:



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.