Package com.linkedin.davinci.consumer
Class RmdDeserializerCache<T>
- java.lang.Object
-
- com.linkedin.davinci.consumer.RmdDeserializerCache<T>
-
- All Implemented Interfaces:
StoreDeserializerCache<T>
public class RmdDeserializerCache<T> extends java.lang.Object implements StoreDeserializerCache<T>
Container for the deserializers of a single store.
-
-
Constructor Summary
Constructors Constructor Description RmdDeserializerCache(ReplicationMetadataSchemaRepository rmdSchemaRepo, java.lang.String storeName, int protocolId, boolean fastAvroEnabled)
-
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
-
RmdDeserializerCache
public RmdDeserializerCache(ReplicationMetadataSchemaRepository rmdSchemaRepo, java.lang.String storeName, int protocolId, boolean fastAvroEnabled)
-
-
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>
-
-