@Internal public final class LogicalTypeUtils extends Object
LogicalType
s.Modifier and Type | Method and Description |
---|---|
static String |
getAtomicName(List<String> existingNames)
Returns a unique name for an atomic type.
|
static LogicalType |
removeTimeAttributes(LogicalType logicalType) |
static RowType |
renameRowFields(RowType rowType,
List<String> newFieldNames)
Renames the fields of the given
RowType . |
static Class<?> |
toInternalConversionClass(LogicalType type)
Returns the conversion class for the given
LogicalType that is used by the table
runtime as internal data structure. |
static RowType |
toRowType(LogicalType t)
Converts any logical type to a row type.
|
public static LogicalType removeTimeAttributes(LogicalType logicalType)
public static Class<?> toInternalConversionClass(LogicalType type)
LogicalType
that is used by the table
runtime as internal data structure.RowData
public static RowType toRowType(LogicalType t)
public static String getAtomicName(List<String> existingNames)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.