public class InlineSchemaAvroBytesDecoder extends Object implements AvroBytesDecoder
Constructor and Description |
---|
InlineSchemaAvroBytesDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper,
Map<String,Object> schema) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getSchema() |
org.apache.avro.generic.GenericRecord |
parse(ByteBuffer bytes) |
public org.apache.avro.generic.GenericRecord parse(ByteBuffer bytes)
parse
in interface AvroBytesDecoder
Copyright © 2011–2017. All rights reserved.