T - input typeprotected abstract static class PythonSender.Serializer<T> extends Object
PythonSender classes to write container objects.
These serializers must be kept in sync with the python counterparts.
| Modifier and Type | Field and Description |
|---|---|
protected ByteBuffer |
buffer |
| Modifier | Constructor and Description |
|---|---|
protected |
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
serialize(T value)
Serializes the given value into a
ByteBuffer. |
protected abstract void |
serializeInternal(T value) |
protected ByteBuffer buffer
public ByteBuffer serialize(T value)
ByteBuffer.value - value to serializeprotected abstract void serializeInternal(T value)
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.