Package | Description |
---|---|
com.huawei.dli.sdk.common | |
com.huawei.dli.sdk.common.type |
Modifier and Type | Method and Description |
---|---|
static DataType |
DataType.fromName(String name) |
DataType |
AbstractPrimitiveTypeInfo.getDataType() |
DataType |
DataTypeInfo.getDataType() |
DataType |
Column.getType() |
static DataType |
DataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static DataTypeInfo |
DataType.getDataTypeInfo(DataType dataType,
String paramStr) |
Constructor and Description |
---|
AbstractPrimitiveTypeInfo(DataType dataType) |
Column(String columnName,
DataType type)
Create Column instance,don't need description.
|
Column(String columnName,
DataType type,
String description)
Create Column instance,
Constructor parameters:column name, data type, description.
|
Column(String columnName,
DataType type,
String description,
boolean isPartitionColumn)
Create Column instance,
Constructor parameters:column name, data type, description, isPartitionColumn.
|
SimplePrimitiveTypeInfo(DataType dataType) |
Modifier and Type | Method and Description |
---|---|
DataType |
SimpleArrayTypeInfo.getDataType() |
DataType |
SimpleStructTypeInfo.getDataType() |
DataType |
SimpleMapTypeInfo.getDataType() |
Modifier and Type | Method and Description |
---|---|
static Class |
TypeUtils.dliTypeToJavaType(DataType type) |
static DataTypeInfo |
TypeInfoUtils.getPrimitiveTypeInfo(DataType dataType)
Get the data type info of a Primitive Type.
|
Copyright © 2023. All rights reserved.