Package com.linkedin.venice.schema.vson
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
VsonAvroDatumReader.DeepEqualsArrayList
Deprecated.This class supports the special byte[] check.static class
VsonAvroDatumReader.DeepEqualsHashMap
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
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 useArrayList
instead ofGenericData.Array
to support comparison against anotherAbstractList
.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
-
-
-
-
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 classorg.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 classorg.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 classorg.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 classorg.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 classorg.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 classorg.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 useArrayList
instead ofGenericData.Array
to support comparison against anotherAbstractList
.- Overrides:
newArray
in classorg.apache.avro.generic.GenericDatumReader<D>
-
-