InternalTypeInfo.of(LogicalType) instead if TypeInformation is
really required. In many cases, InternalSerializers.create(LogicalType) should be
sufficient.@Deprecated public class TypeInfoDataTypeConverter extends Object
TypeInformation and DataType.
Don't override TypeConversions.fromLegacyInfoToDataType(org.apache.flink.api.common.typeinfo.TypeInformation<?>). It is a user interface.
The different with TypeConversions.fromDataTypeToLegacyInfo(org.apache.flink.table.types.DataType): 1.Deal with VARCHAR and
VARBINARY with precision. 2.Deal with RowData. 3.Deal with DecimalData.
This class is for: 1.See TableFunctionDefinition.getResultType(). 2.See AggregateFunctionDefinition.getAccumulatorTypeInfo(). 3.See MapViewTypeInfo.getKeyType().
| Constructor and Description |
|---|
TypeInfoDataTypeConverter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.flink.api.common.typeinfo.TypeInformation<?> |
fromDataTypeToTypeInfo(org.apache.flink.table.types.DataType dataType)
Deprecated.
|
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.