Class MapOrderPreservingDatumReader<T>
java.lang.Object
org.apache.avro.generic.GenericDatumReader<T>
com.linkedin.davinci.serializer.avro.MapOrderPreservingDatumReader<T>
- All Implemented Interfaces:
org.apache.avro.io.DatumReader<T>
public class MapOrderPreservingDatumReader<T>
extends org.apache.avro.generic.GenericDatumReader<T>
MapOrderPreservingDatumReader
converts map type serialized items into instances with
a consistent ordering of entries.-
Constructor Summary
ConstructorDescriptionMapOrderPreservingDatumReader
(org.apache.avro.Schema writer, org.apache.avro.Schema reader) -
Method Summary
Methods inherited from class org.apache.avro.generic.GenericDatumReader
addToArray, addToMap, convert, createBytes, createEnum, createFixed, createFixed, createString, findStringClass, getData, getExpected, getResolver, getSchema, newArray, newInstanceFromString, newRecord, peekArray, read, read, readArray, readBytes, readBytes, readEnum, readField, readFixed, readInt, readMap, readMapKey, readRecord, readString, readString, readWithConversion, readWithoutConversion, setExpected, setSchema, skip
-
Constructor Details
-
MapOrderPreservingDatumReader
public MapOrderPreservingDatumReader(org.apache.avro.Schema writer, org.apache.avro.Schema reader)
-
-
Method Details
-
newMap
- Overrides:
newMap
in classorg.apache.avro.generic.GenericDatumReader<T>
-