@Internal public final class TypeTransformations extends Object
TypeTransformation| 限定符和类型 | 字段和说明 |
|---|---|
static TypeTransformation |
TO_INTERNAL_CLASS
Transformation that uses internal data structures for all conversion classes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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(..., ?)
|
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 final TypeTransformation TO_INTERNAL_CLASS
public static TypeTransformation timeToSqlTypes()
public static TypeTransformation legacyDecimalToDefaultDecimal()
public static TypeTransformation legacyRawToTypeInfoRaw()
public static TypeTransformation toNullable()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.