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