| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.types.inference | |
| org.apache.flink.table.types.inference.strategies | |
| org.apache.flink.table.types.logical | |
| org.apache.flink.table.types.logical.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
static FamilyArgumentTypeStrategy |
InputTypeStrategies.logical(LogicalTypeFamily expectedFamily)
Strategy for an argument that corresponds to a given
LogicalTypeFamily. |
static FamilyArgumentTypeStrategy |
InputTypeStrategies.logical(LogicalTypeFamily expectedFamily,
boolean expectedNullability)
Strategy for an argument that corresponds to a given
LogicalTypeFamily and
nullability. |
static TypeStrategy |
TypeStrategies.matchFamily(int argumentPos,
LogicalTypeFamily family)
Type strategy that returns the given argument if it is of the same logical type family.
|
| 构造器和说明 |
|---|
FamilyArgumentTypeStrategy(LogicalTypeFamily expectedFamily,
Boolean expectedNullability) |
MatchFamilyTypeStrategy(int argumentPos,
LogicalTypeFamily matchingTypeFamily) |
| 限定符和类型 | 方法和说明 |
|---|---|
static LogicalTypeFamily |
LogicalTypeFamily.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static LogicalTypeFamily[] |
LogicalTypeFamily.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Set<LogicalTypeFamily> |
LogicalTypeRoot.getFamilies() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
LogicalTypeChecks.hasFamily(LogicalType logicalType,
LogicalTypeFamily family) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.