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
Modifier and TypeClassDescriptionstatic class
Deprecated.This class supports the special byte[] check.static class
Deprecated.This class supports the special byte[] check. -
Constructor Summary
ConstructorDescriptionVsonAvroDatumReader
(org.apache.avro.Schema schema) Deprecated.VsonAvroDatumReader
(org.apache.avro.Schema writer, org.apache.avro.Schema reader) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
Deprecated.The reason to override this function is that VSON would like to useArrayList
instead ofGenericData.Array
to support comparison against anotherAbstractList
.protected Object
Deprecated.protected Object
readEnum
(org.apache.avro.Schema expected, org.apache.avro.io.Decoder in) Deprecated.protected Object
Deprecated.protected Object
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
-
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 classorg.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 classorg.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 classorg.apache.avro.generic.GenericDatumReader<D>
- Throws:
IOException
-
readBytes
Deprecated.- Overrides:
readBytes
in classorg.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 classorg.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 classorg.apache.avro.generic.GenericDatumReader<D>
- Throws:
IOException
-
newArray
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>
-