public class PhysicalColumn extends Column
bitLen, columnLength, comment, dataType, defaultValue, isUnsigned, isZeroFill, longColumnLength, name, nullable, options, sourceType| 限定符 | 构造器和说明 |
|---|---|
protected |
PhysicalColumn(String name,
SeaTunnelDataType<?> dataType,
Integer columnLength,
boolean nullable,
Object defaultValue,
String comment) |
protected |
PhysicalColumn(String name,
SeaTunnelDataType<?> dataType,
Integer columnLength,
boolean nullable,
Object defaultValue,
String comment,
String sourceType,
boolean isUnsigned,
boolean isZeroFill,
Long bitLen,
Long longColumnLength,
Map<String,Object> options) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 PhysicalColumn |
of(String name,
SeaTunnelDataType<?> dataType,
Integer columnLength,
boolean nullable,
Object defaultValue,
String comment) |
static PhysicalColumn |
of(String name,
SeaTunnelDataType<?> dataType,
Integer columnLength,
boolean nullable,
Object defaultValue,
String comment,
String sourceType,
boolean isUnsigned,
boolean isZeroFill,
Long bitLen,
Map<String,Object> options,
Long longColumnLength) |
Column |
rename(String newColumnName)
Returns a copy of the column with a replaced name.
|
protected PhysicalColumn(String name, SeaTunnelDataType<?> dataType, Integer columnLength, boolean nullable, Object defaultValue, String comment)
public static PhysicalColumn of(String name, SeaTunnelDataType<?> dataType, Integer columnLength, boolean nullable, Object defaultValue, String comment)
public static PhysicalColumn of(String name, SeaTunnelDataType<?> dataType, Integer columnLength, boolean nullable, Object defaultValue, String comment, String sourceType, boolean isUnsigned, boolean isZeroFill, Long bitLen, Map<String,Object> options, Long longColumnLength)
public boolean isPhysical()
ColumnisPhysical 在类中 Columnpublic Column copy(SeaTunnelDataType<?> newType)
ColumnSeaTunnelDataType.Copyright © 2024 The Apache Software Foundation. All rights reserved.