Package com.linkedin.venice.helix
Class SystemStoreJSONSerializer
- java.lang.Object
-
- com.linkedin.venice.helix.VeniceJsonSerializer<SerializableSystemStore>
-
- com.linkedin.venice.helix.SystemStoreJSONSerializer
-
- All Implemented Interfaces:
VeniceSerializer<SerializableSystemStore>
public class SystemStoreJSONSerializer extends VeniceJsonSerializer<SerializableSystemStore>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SystemStoreJSONSerializer.SystemStoreSerializerMixin
-
Field Summary
-
Fields inherited from class com.linkedin.venice.helix.VeniceJsonSerializer
OBJECT_MAPPER
-
-
Constructor Summary
Constructors Constructor Description SystemStoreJSONSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SerializableSystemStore
deserialize(byte[] bytes, java.lang.String path)
byte[]
serialize(SerializableSystemStore systemStore, java.lang.String path)
-
-
-
Method Detail
-
serialize
public byte[] serialize(SerializableSystemStore systemStore, java.lang.String path) throws java.io.IOException
- Specified by:
serialize
in interfaceVeniceSerializer<SerializableSystemStore>
- Overrides:
serialize
in classVeniceJsonSerializer<SerializableSystemStore>
- Throws:
java.io.IOException
-
deserialize
public SerializableSystemStore deserialize(byte[] bytes, java.lang.String path) throws java.io.IOException
- Specified by:
deserialize
in interfaceVeniceSerializer<SerializableSystemStore>
- Overrides:
deserialize
in classVeniceJsonSerializer<SerializableSystemStore>
- Throws:
java.io.IOException
-
-