Class: TencentCloud::Dlc::V20210125::DescribeTablePartitionsRequest

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

Overview

DescribeTablePartitions请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(catalog = nil, database = nil, table = nil, offset = nil, limit = nil, fuzzypartition = nil, sorts = nil, cursor = nil) ⇒ DescribeTablePartitionsRequest

Returns a new instance of DescribeTablePartitionsRequest.



8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
# File 'lib/v20210125/models.rb', line 8819

def initialize(catalog=nil, database=nil, table=nil, offset=nil, limit=nil, fuzzypartition=nil, sorts=nil, cursor=nil)
  @Catalog = catalog
  @Database = database
  @Table = table
  @Offset = offset
  @Limit = limit
  @FuzzyPartition = fuzzypartition
  @Sorts = sorts
  @Cursor = cursor
end

Instance Attribute Details

#CatalogObject

Parameters:

  • Catalog:

    数据目录名称

  • Database:

    数据库名称

  • Table:

    数据表名称

  • Offset:

    查询偏移位置

  • Limit:

    当次查询的数量限制

  • FuzzyPartition:

    模糊查询的分区名称

  • Sorts:

    排序信息

  • Cursor:

    分页查询的游标信息



8817
8818
8819
# File 'lib/v20210125/models.rb', line 8817

def Catalog
  @Catalog
end

#CursorObject

Parameters:

  • Catalog:

    数据目录名称

  • Database:

    数据库名称

  • Table:

    数据表名称

  • Offset:

    查询偏移位置

  • Limit:

    当次查询的数量限制

  • FuzzyPartition:

    模糊查询的分区名称

  • Sorts:

    排序信息

  • Cursor:

    分页查询的游标信息



8817
8818
8819
# File 'lib/v20210125/models.rb', line 8817

def Cursor
  @Cursor
end

#DatabaseObject

Parameters:

  • Catalog:

    数据目录名称

  • Database:

    数据库名称

  • Table:

    数据表名称

  • Offset:

    查询偏移位置

  • Limit:

    当次查询的数量限制

  • FuzzyPartition:

    模糊查询的分区名称

  • Sorts:

    排序信息

  • Cursor:

    分页查询的游标信息



8817
8818
8819
# File 'lib/v20210125/models.rb', line 8817

def Database
  @Database
end

#FuzzyPartitionObject

Parameters:

  • Catalog:

    数据目录名称

  • Database:

    数据库名称

  • Table:

    数据表名称

  • Offset:

    查询偏移位置

  • Limit:

    当次查询的数量限制

  • FuzzyPartition:

    模糊查询的分区名称

  • Sorts:

    排序信息

  • Cursor:

    分页查询的游标信息



8817
8818
8819
# File 'lib/v20210125/models.rb', line 8817

def FuzzyPartition
  @FuzzyPartition
end

#LimitObject

Parameters:

  • Catalog:

    数据目录名称

  • Database:

    数据库名称

  • Table:

    数据表名称

  • Offset:

    查询偏移位置

  • Limit:

    当次查询的数量限制

  • FuzzyPartition:

    模糊查询的分区名称

  • Sorts:

    排序信息

  • Cursor:

    分页查询的游标信息



8817
8818
8819
# File 'lib/v20210125/models.rb', line 8817

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Catalog:

    数据目录名称

  • Database:

    数据库名称

  • Table:

    数据表名称

  • Offset:

    查询偏移位置

  • Limit:

    当次查询的数量限制

  • FuzzyPartition:

    模糊查询的分区名称

  • Sorts:

    排序信息

  • Cursor:

    分页查询的游标信息



8817
8818
8819
# File 'lib/v20210125/models.rb', line 8817

def Offset
  @Offset
end

#SortsObject

Parameters:

  • Catalog:

    数据目录名称

  • Database:

    数据库名称

  • Table:

    数据表名称

  • Offset:

    查询偏移位置

  • Limit:

    当次查询的数量限制

  • FuzzyPartition:

    模糊查询的分区名称

  • Sorts:

    排序信息

  • Cursor:

    分页查询的游标信息



8817
8818
8819
# File 'lib/v20210125/models.rb', line 8817

def Sorts
  @Sorts
end

#TableObject

Parameters:

  • Catalog:

    数据目录名称

  • Database:

    数据库名称

  • Table:

    数据表名称

  • Offset:

    查询偏移位置

  • Limit:

    当次查询的数量限制

  • FuzzyPartition:

    模糊查询的分区名称

  • Sorts:

    排序信息

  • Cursor:

    分页查询的游标信息



8817
8818
8819
# File 'lib/v20210125/models.rb', line 8817

def Table
  @Table
end

Instance Method Details

#deserialize(params) ⇒ Object



8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
# File 'lib/v20210125/models.rb', line 8830

def deserialize(params)
  @Catalog = params['Catalog']
  @Database = params['Database']
  @Table = params['Table']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @FuzzyPartition = params['FuzzyPartition']
  unless params['Sorts'].nil?
    @Sorts = []
    params['Sorts'].each do |i|
      sort_tmp = Sort.new
      sort_tmp.deserialize(i)
      @Sorts << sort_tmp
    end
  end
  @Cursor = params['Cursor']
end