| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.types.inference | |
| org.apache.flink.table.types.inference.transforms | |
| org.apache.flink.table.types.utils |
| 限定符和类型 | 字段和说明 |
|---|---|
static TypeTransformation |
TypeTransformations.TO_INTERNAL_CLASS
Transformation that uses internal data structures for all conversion classes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static TypeTransformation |
TypeTransformations.legacyDecimalToDefaultDecimal()
Returns a type transformation that transforms legacy decimal data type to DECIMAL(38, 18).
|
static TypeTransformation |
TypeTransformations.legacyRawToTypeInfoRaw()
Returns a type transformation that transforms LEGACY('RAW', ...) type to the RAW(..., ?)
|
static TypeTransformation |
TypeTransformations.timeToSqlTypes()
|
static TypeTransformation |
TypeTransformations.toNullable()
Returns a type transformation that transforms data type to nullable data type but keeps other
information unchanged.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DataTypeConversionClassTransformation
This type transformation transforms the specified data types to a new one with the expected
conversion class.
|
class |
LegacyDecimalTypeTransformation
This type transformation transforms the legacy decimal type (usually converted from
Types.BIG_DEC) to DECIMAL(38, 18). |
class |
LegacyRawTypeTransformation
This type transformation transforms the LEGACY('RAW', ...) type to the RAW(..., ?)
|
| 限定符和类型 | 字段和说明 |
|---|---|
static TypeTransformation |
LegacyRawTypeTransformation.INSTANCE |
static TypeTransformation |
LegacyDecimalTypeTransformation.INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
static DataType |
DataTypeUtils.transform(DataType typeToTransform,
TypeTransformation... transformations)
Transforms the given data type to a different data type using the given transformations.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.