Package org.kairosdb.client.serializer
Class CustomAggregatorSerializer
- java.lang.Object
-
- org.kairosdb.client.serializer.CustomAggregatorSerializer
-
- All Implemented Interfaces:
com.google.gson.JsonSerializer<CustomAggregator>
public class CustomAggregatorSerializer extends Object implements com.google.gson.JsonSerializer<CustomAggregator>
Used by the JSON parser to serialize a custom aggregator.
-
-
Constructor Summary
Constructors Constructor Description CustomAggregatorSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonElementserialize(CustomAggregator src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
-
-
Method Detail
-
serialize
public com.google.gson.JsonElement serialize(CustomAggregator src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
- Specified by:
serializein interfacecom.google.gson.JsonSerializer<CustomAggregator>
-
-