Class TypeInfoLogicalTypeConverter
- java.lang.Object
-
- org.apache.flink.table.runtime.types.TypeInfoLogicalTypeConverter
-
@Deprecated public class TypeInfoLogicalTypeConverter extends Object
Deprecated.Converter betweenTypeInformationandLogicalType.This class is for: 1.Source, Sink. 2.UDF, UDTF. 3.Agg, AggFunctions, Expression, DataView.
-
-
Constructor Summary
Constructors Constructor Description TypeInfoLogicalTypeConverter()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.apache.flink.api.common.typeinfo.TypeInformationfromLogicalTypeToTypeInfo(org.apache.flink.table.types.logical.LogicalType type)Deprecated.UseBigDecimalTypeInfoto retain precision and scale of decimal.static org.apache.flink.table.types.logical.LogicalTypefromTypeInfoToLogicalType(org.apache.flink.api.common.typeinfo.TypeInformation typeInfo)Deprecated.It will lose some information.
-
-
-
Method Detail
-
fromTypeInfoToLogicalType
public static org.apache.flink.table.types.logical.LogicalType fromTypeInfoToLogicalType(org.apache.flink.api.common.typeinfo.TypeInformation typeInfo)
Deprecated.It will lose some information. (LikePojoTypeInfowill converted toRowType) It andfromLogicalTypeToTypeInfo(org.apache.flink.table.types.logical.LogicalType)not allows back-and-forth conversion.
-
fromLogicalTypeToTypeInfo
public static org.apache.flink.api.common.typeinfo.TypeInformation fromLogicalTypeToTypeInfo(org.apache.flink.table.types.logical.LogicalType type)
Deprecated.UseBigDecimalTypeInfoto retain precision and scale of decimal.
-
-