@Internal public class LegacyToNonLegacyTransformation extends Object implements TypeTransformation
TypeInfoDataTypeConverter
on LegacyTypeInformationType
.Modifier and Type | Field and Description |
---|---|
static TypeTransformation |
INSTANCE |
Constructor and Description |
---|
LegacyToNonLegacyTransformation() |
Modifier and Type | Method and Description |
---|---|
DataType |
transform(DataType typeToTransform)
Transforms the given data type to a different data type.
|
DataType |
transform(DataTypeFactory factory,
DataType dataType)
Transforms the given data type to a different data type.
|
public static final TypeTransformation INSTANCE
public DataType transform(DataType typeToTransform)
TypeTransformation
transform
in interface TypeTransformation
public DataType transform(@Nullable DataTypeFactory factory, DataType dataType)
TypeTransformation
This method provides a DataTypeFactory
if available.
transform
in interface TypeTransformation
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.