Class ControlTunnel.JacksonSerDe<MSG>
java.lang.Object
org.apache.drill.exec.rpc.control.ControlTunnel.JacksonSerDe<MSG>
- All Implemented Interfaces:
Controller.CustomSerDe<MSG>
- Enclosing class:
ControlTunnel
public static class ControlTunnel.JacksonSerDe<MSG>
extends Object
implements Controller.CustomSerDe<MSG>
-
Constructor Summary
ConstructorsConstructorDescriptionJacksonSerDe(Class<MSG> clazz) JacksonSerDe(Class<MSG> clazz, com.fasterxml.jackson.databind.JsonSerializer<MSG> serializer, com.fasterxml.jackson.databind.JsonDeserializer<MSG> deserializer) -
Method Summary
Modifier and TypeMethodDescriptiondeserializeReceived(byte[] bytes) byte[]serializeToSend(MSG send)
-
Constructor Details
-
JacksonSerDe
-
JacksonSerDe
-
-
Method Details
-
serializeToSend
- Specified by:
serializeToSendin interfaceController.CustomSerDe<MSG>
-
deserializeReceived
- Specified by:
deserializeReceivedin interfaceController.CustomSerDe<MSG>- Throws:
Exception
-