Class VsonAvroDatumReader<D>

  • All Implemented Interfaces:
    org.apache.avro.io.DatumReader<D>

    @Deprecated
    public class VsonAvroDatumReader<D>
    extends org.apache.avro.generic.GenericDatumReader<D>
    Deprecated.
    • 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

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected java.lang.Object newArray​(java.lang.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 java.lang.Object readBytes​(java.lang.Object old, org.apache.avro.io.Decoder in)
      Deprecated.
       
      protected java.lang.Object readEnum​(org.apache.avro.Schema expected, org.apache.avro.io.Decoder in)
      Deprecated.
       
      protected java.lang.Object readFixed​(java.lang.Object old, org.apache.avro.Schema expected, org.apache.avro.io.Decoder in)
      Deprecated.
       
      protected java.lang.Object readMap​(java.lang.Object old, org.apache.avro.Schema expected, org.apache.avro.io.ResolvingDecoder in)
      Deprecated.
       
      protected java.lang.Object readRecord​(java.lang.Object old, org.apache.avro.Schema expected, org.apache.avro.io.ResolvingDecoder in)
      Deprecated.
       
      protected java.lang.Object readString​(java.lang.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 Detail

      • VsonAvroDatumReader

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

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

      • readRecord

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

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

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

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

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

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

        protected java.lang.Object newArray​(java.lang.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>