public class MetadataColumn extends Column
bitLen, columnLength, comment, dataType, defaultValue, isUnsigned, isZeroFill, longColumnLength, name, nullable, options, sourceType| 限定符 | 构造器和说明 |
|---|---|
protected |
MetadataColumn(String name,
SeaTunnelDataType<?> dataType,
Integer columnLength,
String metadataKey,
boolean nullable,
Object defaultValue,
String comment) |
| 限定符和类型 | 方法和说明 |
|---|---|
Column |
copy()
Returns a copy of the column.
|
Column |
copy(SeaTunnelDataType<?> newType)
Returns a copy of the column with a replaced
SeaTunnelDataType. |
boolean |
isPhysical()
Returns whether the given column is a physical column of a table; neither computed nor
metadata.
|
static MetadataColumn |
of(String name,
SeaTunnelDataType<?> dataType,
Integer columnLength,
String metadataKey,
boolean nullable,
Object defaultValue,
String comment) |
Column |
rename(String newColumnName)
Returns a copy of the column with a replaced name.
|
public static MetadataColumn of(String name, SeaTunnelDataType<?> dataType, Integer columnLength, String metadataKey, boolean nullable, Object defaultValue, String comment)
public boolean isPhysical()
ColumnisPhysical 在类中 Columnpublic Column copy(SeaTunnelDataType<?> newType)
ColumnSeaTunnelDataType.Copyright © 2024 The Apache Software Foundation. All rights reserved.