Package com.networknt.kafka.common
Class NonRecordContainer
- java.lang.Object
-
- com.networknt.kafka.common.NonRecordContainer
-
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer
public class NonRecordContainer 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, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.apache.avro.SchemagetSchema()ObjectgetValue()inthashCode()
-