@Internal public final class LogicalTypeDataTypeConverter extends Object
LogicalType
and DataType
.Modifier and Type | Method and Description |
---|---|
static DataType |
toDataType(LogicalType logicalType)
Returns the data type of a logical type without explicit conversions.
|
static LogicalType |
toLogicalType(DataType dataType)
Returns the logical type of a data type.
|
public static DataType toDataType(LogicalType logicalType)
public static LogicalType toLogicalType(DataType dataType)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.