Class VsonAvroDatumReader<D>

java.lang.Object
org.apache.avro.generic.GenericDatumReader<D>
com.linkedin.venice.schema.vson.VsonAvroDatumReader<D>
All Implemented Interfaces:
org.apache.avro.io.DatumReader<D>

@Deprecated public class VsonAvroDatumReader<D> extends org.apache.avro.generic.GenericDatumReader<D>
Deprecated.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Deprecated.
    This class supports the special byte[] check.
    static class 
    Deprecated.
    This class supports the special byte[] check.
  • Constructor Summary

    Constructors
    Constructor
    Description
    VsonAvroDatumReader(org.apache.avro.Schema schema)
    Deprecated.
     
    VsonAvroDatumReader(org.apache.avro.Schema writer, org.apache.avro.Schema reader)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    newArray(Object old, int size, org.apache.avro.Schema schema)
    Deprecated.
    The reason to override this function is that VSON would like to use ArrayList instead of GenericData.Array to support comparison against another AbstractList.
    protected Object
    readBytes(Object old, org.apache.avro.io.Decoder in)
    Deprecated.
     
    protected Object
    readEnum(org.apache.avro.Schema expected, org.apache.avro.io.Decoder in)
    Deprecated.
     
    protected Object
    readFixed(Object old, org.apache.avro.Schema expected, org.apache.avro.io.Decoder in)
    Deprecated.
     
    protected Object
    readMap(Object old, org.apache.avro.Schema expected, org.apache.avro.io.ResolvingDecoder in)
    Deprecated.
     
    protected Object
    readRecord(Object old, org.apache.avro.Schema expected, org.apache.avro.io.ResolvingDecoder in)
    Deprecated.
     
    protected Object
    readString(Object old, org.apache.avro.Schema expected, org.apache.avro.io.Decoder in)
    Deprecated.
     

    Methods inherited from class org.apache.avro.generic.GenericDatumReader

    addToArray, addToMap, convert, createBytes, createEnum, createFixed, createFixed, createString, findStringClass, getData, getExpected, getResolver, getSchema, newInstanceFromString, newMap, newRecord, peekArray, read, read, readArray, readBytes, readField, readInt, readMapKey, readString, readWithConversion, readWithoutConversion, setExpected, setSchema, skip

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VsonAvroDatumReader

      public VsonAvroDatumReader(org.apache.avro.Schema schema)
      Deprecated.
    • VsonAvroDatumReader

      public VsonAvroDatumReader(org.apache.avro.Schema writer, org.apache.avro.Schema reader)
      Deprecated.
  • Method Details

    • readRecord

      protected Object readRecord(Object old, org.apache.avro.Schema expected, org.apache.avro.io.ResolvingDecoder in) throws IOException
      Deprecated.
      Overrides:
      readRecord in class org.apache.avro.generic.GenericDatumReader<D>
      Throws:
      IOException
    • readFixed

      protected Object readFixed(Object old, org.apache.avro.Schema expected, org.apache.avro.io.Decoder in) throws IOException
      Deprecated.
      Overrides:
      readFixed in class org.apache.avro.generic.GenericDatumReader<D>
      Throws:
      IOException
    • readString

      protected Object readString(Object old, org.apache.avro.Schema expected, org.apache.avro.io.Decoder in) throws IOException
      Deprecated.
      Overrides:
      readString in class org.apache.avro.generic.GenericDatumReader<D>
      Throws:
      IOException
    • readBytes

      protected Object readBytes(Object old, org.apache.avro.io.Decoder in) throws IOException
      Deprecated.
      Overrides:
      readBytes in class org.apache.avro.generic.GenericDatumReader<D>
      Throws:
      IOException
    • readEnum

      protected Object readEnum(org.apache.avro.Schema expected, org.apache.avro.io.Decoder in) throws IOException
      Deprecated.
      Overrides:
      readEnum in class org.apache.avro.generic.GenericDatumReader<D>
      Throws:
      IOException
    • readMap

      protected Object readMap(Object old, org.apache.avro.Schema expected, org.apache.avro.io.ResolvingDecoder in) throws IOException
      Deprecated.
      Overrides:
      readMap in class org.apache.avro.generic.GenericDatumReader<D>
      Throws:
      IOException
    • newArray

      protected Object newArray(Object old, int size, org.apache.avro.Schema schema)
      Deprecated.
      The reason to override this function is that VSON would like to use ArrayList instead of GenericData.Array to support comparison against another AbstractList.
      Overrides:
      newArray in class org.apache.avro.generic.GenericDatumReader<D>