public class SchemaRepoBasedAvroBytesDecoder<SUBJECT,ID> extends Object implements AvroBytesDecoder
Constructor and Description |
---|
SchemaRepoBasedAvroBytesDecoder(SubjectAndIdConverter<SUBJECT,ID> subjectAndIdConverter,
org.schemarepo.Repository schemaRepository) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
org.schemarepo.Repository |
getSchemaRepository() |
SubjectAndIdConverter<SUBJECT,ID> |
getSubjectAndIdConverter() |
int |
hashCode() |
org.apache.avro.generic.GenericRecord |
parse(ByteBuffer bytes) |
public SchemaRepoBasedAvroBytesDecoder(SubjectAndIdConverter<SUBJECT,ID> subjectAndIdConverter, org.schemarepo.Repository schemaRepository)
public org.schemarepo.Repository getSchemaRepository()
public SubjectAndIdConverter<SUBJECT,ID> getSubjectAndIdConverter()
public org.apache.avro.generic.GenericRecord parse(ByteBuffer bytes)
parse
in interface AvroBytesDecoder
Copyright © 2011–2017. All rights reserved.