Class: TencentCloud::Ckafka::V20190819::ClickHouseSchema

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

Overview

ClickHouse的Schema

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(columnname = nil, jsonkey = nil, type = nil, allownull = nil) ⇒ ClickHouseSchema

Returns a new instance of ClickHouseSchema.



935
936
937
938
939
940
# File 'lib/v20190819/models.rb', line 935

def initialize(columnname=nil, jsonkey=nil, type=nil, allownull=nil)
  @ColumnName = columnname
  @JsonKey = jsonkey
  @Type = type
  @AllowNull = allownull
end

Instance Attribute Details

#AllowNullObject

Parameters:

  • 表的列名

  • 该列对应的jsonKey名

  • 表列项的类型

  • 列项是否允许为空



933
934
935
# File 'lib/v20190819/models.rb', line 933

def AllowNull
  @AllowNull
end

#ColumnNameObject

Parameters:

  • 表的列名

  • 该列对应的jsonKey名

  • 表列项的类型

  • 列项是否允许为空



933
934
935
# File 'lib/v20190819/models.rb', line 933

def ColumnName
  @ColumnName
end

#JsonKeyObject

Parameters:

  • 表的列名

  • 该列对应的jsonKey名

  • 表列项的类型

  • 列项是否允许为空



933
934
935
# File 'lib/v20190819/models.rb', line 933

def JsonKey
  @JsonKey
end

#TypeObject

Parameters:

  • 表的列名

  • 该列对应的jsonKey名

  • 表列项的类型

  • 列项是否允许为空



933
934
935
# File 'lib/v20190819/models.rb', line 933

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



942
943
944
945
946
947
# File 'lib/v20190819/models.rb', line 942

def deserialize(params)
  @ColumnName = params['ColumnName']
  @JsonKey = params['JsonKey']
  @Type = params['Type']
  @AllowNull = params['AllowNull']
end