@Internal public class TypeTransformations extends Object
TypeTransformation
Constructor and Description |
---|
TypeTransformations() |
Modifier and Type | Method and Description |
---|---|
static TypeTransformation |
legacyDecimalToDefaultDecimal()
Returns a type transformation that transforms legacy decimal data type to DECIMAL(38, 18).
|
static TypeTransformation |
legacyRawToTypeInfoRaw()
Returns a type transformation that transforms LEGACY('RAW', ...) type to the RAW(..., ?) type.
|
static TypeTransformation |
timeToSqlTypes()
|
static TypeTransformation |
toNullable()
Returns a type transformation that transforms data type to nullable data type but keeps
other information unchanged.
|
public static TypeTransformation timeToSqlTypes()
public static TypeTransformation legacyDecimalToDefaultDecimal()
public static TypeTransformation legacyRawToTypeInfoRaw()
public static TypeTransformation toNullable()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.