Class TableInfo

    • 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。