Package | Description |
---|---|
org.apache.flink.table.types.inference | |
org.apache.flink.table.types.inference.transforms | |
org.apache.flink.table.types.utils |
Modifier and Type | Field and Description |
---|---|
static TypeTransformation |
TypeTransformations.TO_INTERNAL_CLASS
Transformation that uses internal data structures for all conversion classes.
|
Modifier and Type | Method and Description |
---|---|
static TypeTransformation |
TypeTransformations.legacyRawToTypeInfoRaw()
Returns a type transformation that transforms LEGACY('RAW', ...) type to the RAW(..., ?)
type.
|
static TypeTransformation |
TypeTransformations.legacyToNonLegacy()
Returns a type transformation that transforms LEGACY(...) type to a non-legacy type.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
DataTypeConversionClassTransformation
This type transformation transforms the specified data types to a new one with the expected
conversion class.
|
class |
LegacyRawTypeTransformation
This type transformation transforms the LEGACY('RAW', ...) type to the RAW(..., ?) type.
|
class |
LegacyToNonLegacyTransformation
Transformation that applies
TypeInfoDataTypeConverter on LegacyTypeInformationType . |
Modifier and Type | Field and Description |
---|---|
static TypeTransformation |
LegacyRawTypeTransformation.INSTANCE |
static TypeTransformation |
LegacyToNonLegacyTransformation.INSTANCE |
Modifier and Type | Method and Description |
---|---|
static DataType |
DataTypeUtils.transform(DataTypeFactory factory,
DataType typeToTransform,
TypeTransformation... transformations)
Transforms the given data type to a different data type using the given transformations.
|
static DataType |
DataTypeUtils.transform(DataType typeToTransform,
TypeTransformation... transformations)
Transforms the given data type to a different data type using the given transformations.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.