public class PlannerTypeUtils extends Object
LogicalType and DataType..| Constructor and Description |
|---|
PlannerTypeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAssignable(org.apache.flink.table.types.logical.LogicalType t1,
org.apache.flink.table.types.logical.LogicalType t2)
Now in the conversion to the TypeInformation from DataType, type may lose some information
about nullable and precision.
|
static boolean |
isInteroperable(org.apache.flink.table.types.logical.LogicalType t1,
org.apache.flink.table.types.logical.LogicalType t2)
Can the two types operate with each other.
|
static boolean |
isPrimitive(org.apache.flink.table.types.logical.LogicalType type) |
static boolean |
isPrimitive(org.apache.flink.table.types.logical.LogicalTypeRoot root) |
static org.apache.flink.table.types.logical.LogicalType |
removeLegacyTypes(org.apache.flink.table.types.logical.LogicalType t)
A conversion that removes all
LegacyTypeInformationTypes by mapping to corresponding
new types. |
public static org.apache.flink.table.types.logical.LogicalType removeLegacyTypes(org.apache.flink.table.types.logical.LogicalType t)
LegacyTypeInformationTypes by mapping to corresponding
new types.public static boolean isPrimitive(org.apache.flink.table.types.logical.LogicalType type)
public static boolean isPrimitive(org.apache.flink.table.types.logical.LogicalTypeRoot root)
public static boolean isInteroperable(org.apache.flink.table.types.logical.LogicalType t1,
org.apache.flink.table.types.logical.LogicalType t2)
public static boolean isAssignable(org.apache.flink.table.types.logical.LogicalType t1,
org.apache.flink.table.types.logical.LogicalType t2)
The difference of isInteroperable(org.apache.flink.table.types.logical.LogicalType, org.apache.flink.table.types.logical.LogicalType) is ignore precisions.
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.