Class DataTypeConversionClassTransformation
java.lang.Object
org.apache.flink.table.types.inference.transforms.DataTypeConversionClassTransformation
- All Implemented Interfaces:
TypeTransformation
@Internal
public class DataTypeConversionClassTransformation
extends Object
implements TypeTransformation
This type transformation transforms the specified data types to a new one with the expected
conversion class. The mapping from data type to conversion class is defined by the constructor
parameter
conversions map that maps from type root to the expected conversion class.-
Constructor Summary
ConstructorsConstructorDescriptionDataTypeConversionClassTransformation(Map<LogicalTypeRoot, Class<?>> conversions) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.types.inference.TypeTransformation
transform
-
Constructor Details
-
DataTypeConversionClassTransformation
-
-
Method Details
-
transform
Description copied from interface:TypeTransformationTransforms the given data type to a different data type.- Specified by:
transformin interfaceTypeTransformation
-