Package com.linkedin.venice.helix
Class PartitionStatusJSONSerializer
java.lang.Object
com.linkedin.venice.helix.VeniceJsonSerializer<PartitionStatus>
com.linkedin.venice.helix.PartitionStatusJSONSerializer
- All Implemented Interfaces:
VeniceSerializer<PartitionStatus>
Serializer used to convert the data between
PartitionStatus and json.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields inherited from class com.linkedin.venice.helix.VeniceJsonSerializer
objectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) Configure the ObjectMapper with custom settings.Methods inherited from class com.linkedin.venice.helix.VeniceJsonSerializer
createObjectMapper, deserialize, getObjectMapper, serialize
-
Constructor Details
-
PartitionStatusJSONSerializer
public PartitionStatusJSONSerializer()
-
-
Method Details
-
configureObjectMapper
protected void configureObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) Description copied from class:VeniceJsonSerializerConfigure the ObjectMapper with custom settings. Subclasses should override this method instead of createObjectMapper().- Overrides:
configureObjectMapperin classVeniceJsonSerializer<PartitionStatus>- Parameters:
mapper- The ObjectMapper to configure
-