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 java.lang.Object implements StoreDeserializerCache<V>
-
-
Constructor Summary
Constructors Constructor Description AvroSpecificStoreDeserializerCache(ReadOnlySchemaRepository schemaRepository, java.lang.String storeName, java.lang.Class<V> valueClass)
AvroSpecificStoreDeserializerCache(SchemaReader schemaReader, java.lang.Class<V> valueClass)
AvroSpecificStoreDeserializerCache(org.apache.avro.Schema valueSchema, java.lang.Class<V> valueClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordDeserializer<V>
getDeserializer(int writerSchemaId)
RecordDeserializer<V>
getDeserializer(int writerSchemaId, int readerSchemaId)
-
-
-
Constructor Detail
-
AvroSpecificStoreDeserializerCache
public AvroSpecificStoreDeserializerCache(SchemaReader schemaReader, java.lang.Class<V> valueClass)
-
AvroSpecificStoreDeserializerCache
public AvroSpecificStoreDeserializerCache(ReadOnlySchemaRepository schemaRepository, java.lang.String storeName, java.lang.Class<V> valueClass)
-
AvroSpecificStoreDeserializerCache
public AvroSpecificStoreDeserializerCache(org.apache.avro.Schema valueSchema, java.lang.Class<V> valueClass)
-
-
Method Detail
-
getDeserializer
public RecordDeserializer<V> getDeserializer(int writerSchemaId, int readerSchemaId)
- Specified by:
getDeserializer
in interfaceStoreDeserializerCache<V extends org.apache.avro.specific.SpecificRecord>
-
getDeserializer
public RecordDeserializer<V> getDeserializer(int writerSchemaId)
- Specified by:
getDeserializer
in interfaceStoreDeserializerCache<V extends org.apache.avro.specific.SpecificRecord>
-
-