Class TypeInfoLogicalTypeConverter
java.lang.Object
org.apache.flink.table.runtime.types.TypeInfoLogicalTypeConverter
Deprecated.
Converter between
TypeInformation and LogicalType.
This class is for: 1.Source, Sink. 2.UDF, UDTF. 3.Agg, AggFunctions, Expression, DataView.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
TypeInfoLogicalTypeConverter
public TypeInfoLogicalTypeConverter()Deprecated.
-
-
Method Details
-
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.
-