Class AvroStoreDeserializerCache<T>
- java.lang.Object
-
- com.linkedin.venice.serialization.AvroStoreDeserializerCache<T>
-
- All Implemented Interfaces:
StoreDeserializerCache<T>
public class AvroStoreDeserializerCache<T> extends java.lang.Object implements StoreDeserializerCache<T>
Container for the deserializers of a single store.
-
-
Constructor Summary
Constructors Constructor Description AvroStoreDeserializerCache(ReadOnlySchemaRepository schemaRepository, java.lang.String storeName, boolean fastAvroEnabled)
AvroStoreDeserializerCache(SchemaReader schemaReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecordDeserializer<T>
getDeserializer(int writerSchemaId)
RecordDeserializer<T>
getDeserializer(int writerSchemaId, int readerSchemaId)
-
-
-
Constructor Detail
-
AvroStoreDeserializerCache
public AvroStoreDeserializerCache(ReadOnlySchemaRepository schemaRepository, java.lang.String storeName, boolean fastAvroEnabled)
-
AvroStoreDeserializerCache
public AvroStoreDeserializerCache(SchemaReader schemaReader)
-
-
Method Detail
-
getDeserializer
public RecordDeserializer<T> getDeserializer(int writerSchemaId, int readerSchemaId)
- Specified by:
getDeserializer
in interfaceStoreDeserializerCache<T>
-
getDeserializer
public RecordDeserializer<T> getDeserializer(int writerSchemaId)
- Specified by:
getDeserializer
in interfaceStoreDeserializerCache<T>
-
-