Class NonRecordContainer

java.lang.Object
io.confluent.kafka.serializers.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 Details

    • NonRecordContainer

      public NonRecordContainer(org.apache.avro.Schema schema, Object value)
  • Method Details

    • getSchema

      public org.apache.avro.Schema getSchema()
      Specified by:
      getSchema in interface org.apache.avro.generic.GenericContainer
    • getValue

      public Object getValue()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object