Class AvroDecoder

    • Constructor Detail

      • AvroDecoder

        public AvroDecoder()
    • Method Detail

      • fromBytes

        public Object fromBytes​(byte[] bytes)
      • fromBytes

        public Object fromBytes​(byte[] bytes,
                                org.apache.avro.Schema readerSchema)
        Pass a reader schema to get an Avro projection
        Parameters:
        bytes - byte array
        readerSchema - Schema
        Returns:
        Object