Package io.apicurio.registry.serde.avro
Class NonRecordContainer<T>
- java.lang.Object
-
- io.apicurio.registry.serde.avro.NonRecordContainer<T>
-
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer
public class NonRecordContainer<T> extends Object implements org.apache.avro.generic.GenericContainer
Wrapper for all non-record types that includes the schema for the data.
-
-
Constructor Summary
Constructors Constructor Description NonRecordContainer(org.apache.avro.Schema schema, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.apache.avro.SchemagetSchema()ObjectgetValue()inthashCode()
-