Class: TencentCloud::Wedata::V20210820::DescribeTableLineageRequest

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

Overview

DescribeTableLineage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(direction = nil, data = nil, inputdepth = nil, outputdepth = nil, extparams = nil, ignoretemp = nil, recursivesecond = nil) ⇒ DescribeTableLineageRequest

Returns a new instance of DescribeTableLineageRequest.



15730
15731
15732
15733
15734
15735
15736
15737
15738
# File 'lib/v20210820/models.rb', line 15730

def initialize(direction=nil, data=nil, inputdepth=nil, outputdepth=nil, extparams=nil, ignoretemp=nil, recursivesecond=nil)
  @Direction = direction
  @Data = data
  @InputDepth = inputdepth
  @OutputDepth = outputdepth
  @ExtParams = extparams
  @IgnoreTemp = ignoretemp
  @RecursiveSecond = recursivesecond
end

Instance Attribute Details

#DataObject

  • INPUT

  • OUTPUT

  • BOTH

Parameters:

  • Data:

    表信息

  • InputDepth:

    单次查询入度,默认 1

  • OutputDepth:

    单次查询出度,默认 1

  • ExtParams:

    额外参数(传递调用方信息)

  • IgnoreTemp:

    是否过滤临时表,默认true

  • RecursiveSecond:

    是否递归查询二级节点数目,默认为true



15728
15729
15730
# File 'lib/v20210820/models.rb', line 15728

def Data
  @Data
end

#DirectionObject

  • INPUT

  • OUTPUT

  • BOTH

Parameters:

  • Data:

    表信息

  • InputDepth:

    单次查询入度,默认 1

  • OutputDepth:

    单次查询出度,默认 1

  • ExtParams:

    额外参数(传递调用方信息)

  • IgnoreTemp:

    是否过滤临时表,默认true

  • RecursiveSecond:

    是否递归查询二级节点数目,默认为true



15728
15729
15730
# File 'lib/v20210820/models.rb', line 15728

def Direction
  @Direction
end

#ExtParamsObject

  • INPUT

  • OUTPUT

  • BOTH

Parameters:

  • Data:

    表信息

  • InputDepth:

    单次查询入度,默认 1

  • OutputDepth:

    单次查询出度,默认 1

  • ExtParams:

    额外参数(传递调用方信息)

  • IgnoreTemp:

    是否过滤临时表,默认true

  • RecursiveSecond:

    是否递归查询二级节点数目,默认为true



15728
15729
15730
# File 'lib/v20210820/models.rb', line 15728

def ExtParams
  @ExtParams
end

#IgnoreTempObject

  • INPUT

  • OUTPUT

  • BOTH

Parameters:

  • Data:

    表信息

  • InputDepth:

    单次查询入度,默认 1

  • OutputDepth:

    单次查询出度,默认 1

  • ExtParams:

    额外参数(传递调用方信息)

  • IgnoreTemp:

    是否过滤临时表,默认true

  • RecursiveSecond:

    是否递归查询二级节点数目,默认为true



15728
15729
15730
# File 'lib/v20210820/models.rb', line 15728

def IgnoreTemp
  @IgnoreTemp
end

#InputDepthObject

  • INPUT

  • OUTPUT

  • BOTH

Parameters:

  • Data:

    表信息

  • InputDepth:

    单次查询入度,默认 1

  • OutputDepth:

    单次查询出度,默认 1

  • ExtParams:

    额外参数(传递调用方信息)

  • IgnoreTemp:

    是否过滤临时表,默认true

  • RecursiveSecond:

    是否递归查询二级节点数目,默认为true



15728
15729
15730
# File 'lib/v20210820/models.rb', line 15728

def InputDepth
  @InputDepth
end

#OutputDepthObject

  • INPUT

  • OUTPUT

  • BOTH

Parameters:

  • Data:

    表信息

  • InputDepth:

    单次查询入度,默认 1

  • OutputDepth:

    单次查询出度,默认 1

  • ExtParams:

    额外参数(传递调用方信息)

  • IgnoreTemp:

    是否过滤临时表,默认true

  • RecursiveSecond:

    是否递归查询二级节点数目,默认为true



15728
15729
15730
# File 'lib/v20210820/models.rb', line 15728

def OutputDepth
  @OutputDepth
end

#RecursiveSecondObject

  • INPUT

  • OUTPUT

  • BOTH

Parameters:

  • Data:

    表信息

  • InputDepth:

    单次查询入度,默认 1

  • OutputDepth:

    单次查询出度,默认 1

  • ExtParams:

    额外参数(传递调用方信息)

  • IgnoreTemp:

    是否过滤临时表,默认true

  • RecursiveSecond:

    是否递归查询二级节点数目,默认为true



15728
15729
15730
# File 'lib/v20210820/models.rb', line 15728

def RecursiveSecond
  @RecursiveSecond
end

Instance Method Details

#deserialize(params) ⇒ Object



15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
# File 'lib/v20210820/models.rb', line 15740

def deserialize(params)
  @Direction = params['Direction']
  unless params['Data'].nil?
    @Data = TableLineageInfo.new
    @Data.deserialize(params['Data'])
  end
  @InputDepth = params['InputDepth']
  @OutputDepth = params['OutputDepth']
  unless params['ExtParams'].nil?
    @ExtParams = []
    params['ExtParams'].each do |i|
      lineageparamrecord_tmp = LineageParamRecord.new
      lineageparamrecord_tmp.deserialize(i)
      @ExtParams << lineageparamrecord_tmp
    end
  end
  @IgnoreTemp = params['IgnoreTemp']
  @RecursiveSecond = params['RecursiveSecond']
end