| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.api | |
| org.apache.flink.table.types.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
static DataTypes.Field |
DataTypes.FIELD(String name,
DataType dataType)
Field definition with field name and data type.
|
static DataTypes.Field |
DataTypes.FIELD(String name,
DataType dataType,
String description)
Field definition with field name, data type, and a description.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static DataType |
DataTypes.ROW(DataTypes.Field... fields)
Data type of a sequence of fields.
|
static <T> DataType |
DataTypes.STRUCTURED(Class<T> implementationClass,
DataTypes.Field... fields)
Data type of a user-defined object structured type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static DataType |
DataTypeUtils.appendRowFields(DataType dataType,
List<DataTypes.Field> fields)
Appends the given list of fields to an existing row data type.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.