Class PythonTypeUtils.ShortDataConverter
java.lang.Object
org.apache.flink.streaming.api.utils.PythonTypeUtils.DataConverter<Short,Long>
org.apache.flink.streaming.api.utils.PythonTypeUtils.ShortDataConverter
- All Implemented Interfaces:
Serializable
- Enclosing class:
- PythonTypeUtils
public static final class PythonTypeUtils.ShortDataConverter
extends PythonTypeUtils.DataConverter<Short,Long>
Python Long will be converted to Long in PemJa, so we need ShortDataConverter to convert Java
Long to internal Short.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ShortDataConverter
public ShortDataConverter()
-
-
Method Details
-
toInternal
- Specified by:
toInternalin classPythonTypeUtils.DataConverter<Short,Long>
-
toExternal
- Specified by:
toExternalin classPythonTypeUtils.DataConverter<Short,Long>
-