Class: TencentCloud::Tcaplusdb::V20190823::SelectedTableWithField

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

Overview

附带被选中字段信息的表格列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tablegroupid = nil, tablename = nil, tableinstanceid = nil, tableidltype = nil, tabletype = nil, selectedfields = nil, shardnum = nil, kafkainfo = nil) ⇒ SelectedTableWithField

Returns a new instance of SelectedTableWithField.



3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
# File 'lib/v20190823/models.rb', line 3809

def initialize(tablegroupid=nil, tablename=nil, tableinstanceid=nil, tableidltype=nil, tabletype=nil, selectedfields=nil, shardnum=nil, kafkainfo=nil)
  @TableGroupId = tablegroupid
  @TableName = tablename
  @TableInstanceId = tableinstanceid
  @TableIdlType = tableidltype
  @TableType = tabletype
  @SelectedFields = selectedfields
  @ShardNum = shardnum
  @KafkaInfo = kafkainfo
end

Instance Attribute Details

#KafkaInfoObject

Parameters:

  • 表所属表格组ID

  • 表格名称

  • 表实例ID

  • 表格描述语言类型:PROTOTDR

  • 表格数据结构类型:GENERICLIST

  • 待创建索引、缓写、数据订阅的字段列表

  • 索引分片数

  • ckafka实例信息



3807
3808
3809
# File 'lib/v20190823/models.rb', line 3807

def KafkaInfo
  @KafkaInfo
end

#SelectedFieldsObject

Parameters:

  • 表所属表格组ID

  • 表格名称

  • 表实例ID

  • 表格描述语言类型:PROTOTDR

  • 表格数据结构类型:GENERICLIST

  • 待创建索引、缓写、数据订阅的字段列表

  • 索引分片数

  • ckafka实例信息



3807
3808
3809
# File 'lib/v20190823/models.rb', line 3807

def SelectedFields
  @SelectedFields
end

#ShardNumObject

Parameters:

  • 表所属表格组ID

  • 表格名称

  • 表实例ID

  • 表格描述语言类型:PROTOTDR

  • 表格数据结构类型:GENERICLIST

  • 待创建索引、缓写、数据订阅的字段列表

  • 索引分片数

  • ckafka实例信息



3807
3808
3809
# File 'lib/v20190823/models.rb', line 3807

def ShardNum
  @ShardNum
end

#TableGroupIdObject

Parameters:

  • 表所属表格组ID

  • 表格名称

  • 表实例ID

  • 表格描述语言类型:PROTOTDR

  • 表格数据结构类型:GENERICLIST

  • 待创建索引、缓写、数据订阅的字段列表

  • 索引分片数

  • ckafka实例信息



3807
3808
3809
# File 'lib/v20190823/models.rb', line 3807

def TableGroupId
  @TableGroupId
end

#TableIdlTypeObject

Parameters:

  • 表所属表格组ID

  • 表格名称

  • 表实例ID

  • 表格描述语言类型:PROTOTDR

  • 表格数据结构类型:GENERICLIST

  • 待创建索引、缓写、数据订阅的字段列表

  • 索引分片数

  • ckafka实例信息



3807
3808
3809
# File 'lib/v20190823/models.rb', line 3807

def TableIdlType
  @TableIdlType
end

#TableInstanceIdObject

Parameters:

  • 表所属表格组ID

  • 表格名称

  • 表实例ID

  • 表格描述语言类型:PROTOTDR

  • 表格数据结构类型:GENERICLIST

  • 待创建索引、缓写、数据订阅的字段列表

  • 索引分片数

  • ckafka实例信息



3807
3808
3809
# File 'lib/v20190823/models.rb', line 3807

def TableInstanceId
  @TableInstanceId
end

#TableNameObject

Parameters:

  • 表所属表格组ID

  • 表格名称

  • 表实例ID

  • 表格描述语言类型:PROTOTDR

  • 表格数据结构类型:GENERICLIST

  • 待创建索引、缓写、数据订阅的字段列表

  • 索引分片数

  • ckafka实例信息



3807
3808
3809
# File 'lib/v20190823/models.rb', line 3807

def TableName
  @TableName
end

#TableTypeObject

Parameters:

  • 表所属表格组ID

  • 表格名称

  • 表实例ID

  • 表格描述语言类型:PROTOTDR

  • 表格数据结构类型:GENERICLIST

  • 待创建索引、缓写、数据订阅的字段列表

  • 索引分片数

  • ckafka实例信息



3807
3808
3809
# File 'lib/v20190823/models.rb', line 3807

def TableType
  @TableType
end

Instance Method Details

#deserialize(params) ⇒ Object



3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
# File 'lib/v20190823/models.rb', line 3820

def deserialize(params)
  @TableGroupId = params['TableGroupId']
  @TableName = params['TableName']
  @TableInstanceId = params['TableInstanceId']
  @TableIdlType = params['TableIdlType']
  @TableType = params['TableType']
  unless params['SelectedFields'].nil?
    @SelectedFields = []
    params['SelectedFields'].each do |i|
      fieldinfo_tmp = FieldInfo.new
      fieldinfo_tmp.deserialize(i)
      @SelectedFields << fieldinfo_tmp
    end
  end
  @ShardNum = params['ShardNum']
  unless params['KafkaInfo'].nil?
    @KafkaInfo = KafkaInfo.new
    @KafkaInfo.deserialize(params['KafkaInfo'])
  end
end