Package com.linkedin.venice.helix
Class AbstractSchemaEntrySerializer<T extends GeneratedSchemaEntry>
java.lang.Object
com.linkedin.venice.helix.AbstractSchemaEntrySerializer<T>
- All Implemented Interfaces:
VeniceSerializer<T>
- Direct Known Subclasses:
DerivedSchemaEntrySerializer
,ReplicationMetadataSchemaEntrySerializer
public abstract class AbstractSchemaEntrySerializer<T extends GeneratedSchemaEntry>
extends Object
implements VeniceSerializer<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(byte[] bytes, String path) protected abstract T
getInstance
(int schemaVersion, int protocolVersion, byte[] schemaBytes) byte[]
-
Constructor Details
-
AbstractSchemaEntrySerializer
public AbstractSchemaEntrySerializer()
-
-
Method Details
-
getInstance
-
serialize
- Specified by:
serialize
in interfaceVeniceSerializer<T extends GeneratedSchemaEntry>
-
deserialize
- Specified by:
deserialize
in interfaceVeniceSerializer<T extends GeneratedSchemaEntry>
-