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 ClassesModifier and TypeClassDescriptionstatic classDeprecated.This class supports the special byte[] check.static classDeprecated.This class supports the special byte[] check. -
Constructor Summary
ConstructorsConstructorDescriptionVsonAvroDatumReader(org.apache.avro.Schema schema) Deprecated.VsonAvroDatumReader(org.apache.avro.Schema writer, org.apache.avro.Schema reader) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectDeprecated.The reason to override this function is that VSON would like to useArrayListinstead ofGenericData.Arrayto support comparison against anotherAbstractList.protected ObjectDeprecated.protected ObjectreadEnum(org.apache.avro.Schema expected, org.apache.avro.io.Decoder in) Deprecated.protected ObjectDeprecated.protected ObjectDeprecated.protected ObjectreadRecord(Object old, org.apache.avro.Schema expected, org.apache.avro.io.ResolvingDecoder in) Deprecated.protected ObjectreadString(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:
readRecordin 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:
readFixedin 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:
readStringin classorg.apache.avro.generic.GenericDatumReader<D>- Throws:
IOException
-
readBytes
Deprecated.- Overrides:
readBytesin 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:
readEnumin 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:
readMapin classorg.apache.avro.generic.GenericDatumReader<D>- Throws:
IOException
-
newArray
Deprecated.The reason to override this function is that VSON would like to useArrayListinstead ofGenericData.Arrayto support comparison against anotherAbstractList.- Overrides:
newArrayin classorg.apache.avro.generic.GenericDatumReader<D>
-