Class TableInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dlc.v20210125.models.TableInfo
-
public class TableInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Column[]getColumns()Get 数据表列信息。DataFormatgetDataFormat()Get 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。StringgetLocation()Get 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。Partition[]getPartitions()Get 数据表分块信息。TableBaseInfogetTableBaseInfo()Get 数据表配置信息。voidsetColumns(Column[] Columns)Set 数据表列信息。voidsetDataFormat(DataFormat DataFormat)Set 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。voidsetLocation(String Location)Set 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。voidsetPartitions(Partition[] Partitions)Set 数据表分块信息。voidsetTableBaseInfo(TableBaseInfo TableBaseInfo)Set 数据表配置信息。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
TableInfo
public TableInfo()
-
TableInfo
public 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.
-
-
Method Detail
-
getTableBaseInfo
public TableBaseInfo getTableBaseInfo()
Get 数据表配置信息。- Returns:
- TableBaseInfo 数据表配置信息。
-
setTableBaseInfo
public void setTableBaseInfo(TableBaseInfo TableBaseInfo)
Set 数据表配置信息。- Parameters:
TableBaseInfo- 数据表配置信息。
-
getDataFormat
public DataFormat getDataFormat()
Get 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。- Returns:
- DataFormat 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。
-
setDataFormat
public void setDataFormat(DataFormat DataFormat)
Set 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。- Parameters:
DataFormat- 数据表格式。每次入参可选如下其一的KV结构,[TextFile,CSV,Json, Parquet, ORC, AVRD]。
-
getColumns
public Column[] getColumns()
Get 数据表列信息。- Returns:
- Columns 数据表列信息。
-
setColumns
public void setColumns(Column[] Columns)
Set 数据表列信息。- Parameters:
Columns- 数据表列信息。
-
getPartitions
public Partition[] getPartitions()
Get 数据表分块信息。- Returns:
- Partitions 数据表分块信息。
-
setPartitions
public void setPartitions(Partition[] Partitions)
Set 数据表分块信息。- Parameters:
Partitions- 数据表分块信息。
-
getLocation
public String getLocation()
Get 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。- Returns:
- Location 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。
-
setLocation
public void setLocation(String Location)
Set 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。- Parameters:
Location- 数据存储路径。当前仅支持cos路径,格式如下:cosn://bucket-name/filepath。
-
-