public class TypeUtils extends Object
| 构造器和说明 |
|---|
TypeUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
castFromCdcValueString(String s,
DataType type) |
static Object |
castFromString(String s,
DataType type) |
static boolean |
isInteroperable(DataType t1,
DataType t2)
Can the two types operate with each other.
|
static boolean |
isPrimitive(DataType type) |
static boolean |
isPrimitive(DataTypeRoot root) |
static RowType |
project(RowType inputType,
int[] mapping) |
public static boolean isPrimitive(DataType type)
public static boolean isPrimitive(DataTypeRoot root)
Copyright © 2023 The Apache Software Foundation. All rights reserved.