Class VeniceSpecificDatumReader<T>
java.lang.Object
org.apache.avro.generic.GenericDatumReader<T>
org.apache.avro.specific.SpecificDatumReader<T>
com.linkedin.venice.serialization.avro.VeniceSpecificDatumReader<T>
- All Implemented Interfaces:
org.apache.avro.io.DatumReader<T>
public class VeniceSpecificDatumReader<T>
extends org.apache.avro.specific.SpecificDatumReader<T>
-
Constructor Summary
ConstructorDescriptionVeniceSpecificDatumReader
(org.apache.avro.Schema protocolSchema, org.apache.avro.Schema compiledProtocol) -
Method Summary
Methods inherited from class org.apache.avro.specific.SpecificDatumReader
findStringClass, getSpecificData, readField, readRecord, setSchema
Methods inherited from class org.apache.avro.generic.GenericDatumReader
addToArray, addToMap, convert, createBytes, createEnum, createFixed, createFixed, createString, getData, getExpected, getResolver, getSchema, newArray, newInstanceFromString, newRecord, peekArray, read, read, readArray, readBytes, readBytes, readEnum, readFixed, readInt, readMap, readMapKey, readString, readString, readWithConversion, readWithoutConversion, setExpected, skip
-
Constructor Details
-
VeniceSpecificDatumReader
public VeniceSpecificDatumReader(org.apache.avro.Schema protocolSchema, org.apache.avro.Schema compiledProtocol)
-
-
Method Details
-
newMap
Called to create new array instances. To avoid concurrent modification error, returnsVeniceConcurrentHashMap
instead.- Overrides:
newMap
in classorg.apache.avro.generic.GenericDatumReader<T>
-