Class: TencentCloud::Dlc::V20210125::GenerateCreateMangedTableSqlRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210125/models.rb

Overview

GenerateCreateMangedTableSql请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tablebaseinfo = nil, columns = nil, partitions = nil, properties = nil, upsertkeys = nil) ⇒ GenerateCreateMangedTableSqlRequest

Returns a new instance of GenerateCreateMangedTableSqlRequest.



11189
11190
11191
11192
11193
11194
11195
# File 'lib/v20210125/models.rb', line 11189

def initialize(tablebaseinfo=nil, columns=nil, partitions=nil, properties=nil, upsertkeys=nil)
  @TableBaseInfo = tablebaseinfo
  @Columns = columns
  @Partitions = partitions
  @Properties = properties
  @UpsertKeys = upsertkeys
end

Instance Attribute Details

#ColumnsObject

Parameters:

  • TableBaseInfo:

    表基本信息

  • Columns:

    表字段信息

  • Partitions:

    表分区信息

  • Properties:

    表属性信息

  • UpsertKeys:

    V2 upsert表 upsert键



11187
11188
11189
# File 'lib/v20210125/models.rb', line 11187

def Columns
  @Columns
end

#PartitionsObject

Parameters:

  • TableBaseInfo:

    表基本信息

  • Columns:

    表字段信息

  • Partitions:

    表分区信息

  • Properties:

    表属性信息

  • UpsertKeys:

    V2 upsert表 upsert键



11187
11188
11189
# File 'lib/v20210125/models.rb', line 11187

def Partitions
  @Partitions
end

#PropertiesObject

Parameters:

  • TableBaseInfo:

    表基本信息

  • Columns:

    表字段信息

  • Partitions:

    表分区信息

  • Properties:

    表属性信息

  • UpsertKeys:

    V2 upsert表 upsert键



11187
11188
11189
# File 'lib/v20210125/models.rb', line 11187

def Properties
  @Properties
end

#TableBaseInfoObject

Parameters:

  • TableBaseInfo:

    表基本信息

  • Columns:

    表字段信息

  • Partitions:

    表分区信息

  • Properties:

    表属性信息

  • UpsertKeys:

    V2 upsert表 upsert键



11187
11188
11189
# File 'lib/v20210125/models.rb', line 11187

def TableBaseInfo
  @TableBaseInfo
end

#UpsertKeysObject

Parameters:

  • TableBaseInfo:

    表基本信息

  • Columns:

    表字段信息

  • Partitions:

    表分区信息

  • Properties:

    表属性信息

  • UpsertKeys:

    V2 upsert表 upsert键



11187
11188
11189
# File 'lib/v20210125/models.rb', line 11187

def UpsertKeys
  @UpsertKeys
end

Instance Method Details

#deserialize(params) ⇒ Object



11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
# File 'lib/v20210125/models.rb', line 11197

def deserialize(params)
  unless params['TableBaseInfo'].nil?
    @TableBaseInfo = TableBaseInfo.new
    @TableBaseInfo.deserialize(params['TableBaseInfo'])
  end
  unless params['Columns'].nil?
    @Columns = []
    params['Columns'].each do |i|
      tcolumn_tmp = TColumn.new
      tcolumn_tmp.deserialize(i)
      @Columns << tcolumn_tmp
    end
  end
  unless params['Partitions'].nil?
    @Partitions = []
    params['Partitions'].each do |i|
      tpartition_tmp = TPartition.new
      tpartition_tmp.deserialize(i)
      @Partitions << tpartition_tmp
    end
  end
  unless params['Properties'].nil?
    @Properties = []
    params['Properties'].each do |i|
      property_tmp = Property.new
      property_tmp.deserialize(i)
      @Properties << property_tmp
    end
  end
  @UpsertKeys = params['UpsertKeys']
end