@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 BaseRow.
3.Deal with Decimal.
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 TypeInformation<?> |
fromDataTypeToTypeInfo(DataType dataType)
Deprecated.
|
public static TypeInformation<?> fromDataTypeToTypeInfo(DataType dataType)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.