public class PythonSerializationSchema extends Object implements SerializationSchema<org.python.core.PyObject>
SerializationSchema
for PyObject
s.Constructor and Description |
---|
PythonSerializationSchema(SerializationSchema<org.python.core.PyObject> schema) |
Modifier and Type | Method and Description |
---|---|
byte[] |
serialize(org.python.core.PyObject element)
Serializes the incoming element to a specified type.
|
public PythonSerializationSchema(SerializationSchema<org.python.core.PyObject> schema) throws IOException
IOException
public byte[] serialize(org.python.core.PyObject element)
SerializationSchema
serialize
in interface SerializationSchema<org.python.core.PyObject>
element
- The incoming element to be serializedCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.