public class TableInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| TableInfo() | 
| TableInfo(TableInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Column[] | getColumns()Get 数据表列信息。 | 
| DataFormat | getDataFormat()Get 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。 | 
| String | getLocation()Get 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。 | 
| Partition[] | getPartitions()Get 数据表分块信息。 | 
| TableBaseInfo | getTableBaseInfo()Get 数据表配置信息。 | 
| void | setColumns(Column[] Columns)Set 数据表列信息。 | 
| void | setDataFormat(DataFormat DataFormat)Set 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。 | 
| void | setLocation(String Location)Set 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。 | 
| void | setPartitions(Partition[] Partitions)Set 数据表分块信息。 | 
| void | setTableBaseInfo(TableBaseInfo TableBaseInfo)Set 数据表配置信息。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TableInfo()
public TableInfo(TableInfo source)
public TableBaseInfo getTableBaseInfo()
public void setTableBaseInfo(TableBaseInfo TableBaseInfo)
TableBaseInfo - 数据表配置信息。public DataFormat getDataFormat()
public void setDataFormat(DataFormat DataFormat)
DataFormat - 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。public Column[] getColumns()
public void setColumns(Column[] Columns)
Columns - 数据表列信息。public Partition[] getPartitions()
public void setPartitions(Partition[] Partitions)
Partitions - 数据表分块信息。public String getLocation()
public void setLocation(String Location)
Location - 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。Copyright © 2025. All rights reserved.