Class AvroSpecificStoreDeserializerCache<V extends org.apache.avro.specific.SpecificRecord>
java.lang.Object
com.linkedin.venice.serialization.avro.AvroSpecificStoreDeserializerCache<V>
- All Implemented Interfaces:
StoreDeserializerCache<V>
public class AvroSpecificStoreDeserializerCache<V extends org.apache.avro.specific.SpecificRecord>
extends Object
implements StoreDeserializerCache<V>
-
Constructor Summary
ConstructorDescriptionAvroSpecificStoreDeserializerCache
(ReadOnlySchemaRepository schemaRepository, String storeName, Class<V> valueClass) AvroSpecificStoreDeserializerCache
(SchemaReader schemaReader, Class<V> valueClass) AvroSpecificStoreDeserializerCache
(org.apache.avro.Schema valueSchema, Class<V> valueClass) -
Method Summary
Modifier and TypeMethodDescriptiongetDeserializer
(int writerSchemaId) getDeserializer
(int writerSchemaId, int readerSchemaId)
-
Constructor Details
-
AvroSpecificStoreDeserializerCache
-
AvroSpecificStoreDeserializerCache
public AvroSpecificStoreDeserializerCache(ReadOnlySchemaRepository schemaRepository, String storeName, Class<V> valueClass) -
AvroSpecificStoreDeserializerCache
-
-
Method Details
-
getDeserializer
- Specified by:
getDeserializer
in interfaceStoreDeserializerCache<V extends org.apache.avro.specific.SpecificRecord>
-
getDeserializer
- Specified by:
getDeserializer
in interfaceStoreDeserializerCache<V extends org.apache.avro.specific.SpecificRecord>
-