Class PythonTypeUtils.IntDataConverter
- java.lang.Object
-
- org.apache.flink.streaming.api.utils.PythonTypeUtils.DataConverter<Integer,Long>
-
- org.apache.flink.streaming.api.utils.PythonTypeUtils.IntDataConverter
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- PythonTypeUtils
public static final class PythonTypeUtils.IntDataConverter extends PythonTypeUtils.DataConverter<Integer,Long>
Python Long will be converted to Long in PemJa, so we need IntDataConverter to convert Java Long to internal Integer.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static PythonTypeUtils.IntDataConverterINSTANCE
-
Constructor Summary
Constructors Constructor Description IntDataConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongtoExternal(Integer value)IntegertoInternal(Long value)
-
-
-
Field Detail
-
INSTANCE
public static final PythonTypeUtils.IntDataConverter INSTANCE
-
-
Method Detail
-
toInternal
public Integer toInternal(Long value)
- Specified by:
toInternalin classPythonTypeUtils.DataConverter<Integer,Long>
-
toExternal
public Long toExternal(Integer value)
- Specified by:
toExternalin classPythonTypeUtils.DataConverter<Integer,Long>
-
-