Class: TencentCloud::Cwp::V20180228::ValueInfo

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

Overview

索引的value描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tokenizer = nil, type = nil, sqlflag = nil, containzh = nil) ⇒ ValueInfo

Returns a new instance of ValueInfo.



40039
40040
40041
40042
40043
40044
# File 'lib/v20180228/models.rb', line 40039

def initialize(tokenizer=nil, type=nil, sqlflag=nil, containzh=nil)
  @Tokenizer = tokenizer
  @Type = type
  @SqlFlag = sqlflag
  @ContainZH = containzh
end

Instance Attribute Details

#ContainZHObject

Parameters:

  • Tokenizer:

    字段的分词符

  • Type:

    字段类型

  • SqlFlag:

    字段是否开启分析功能

  • ContainZH:

    是否包含中文



40037
40038
40039
# File 'lib/v20180228/models.rb', line 40037

def ContainZH
  @ContainZH
end

#SqlFlagObject

Parameters:

  • Tokenizer:

    字段的分词符

  • Type:

    字段类型

  • SqlFlag:

    字段是否开启分析功能

  • ContainZH:

    是否包含中文



40037
40038
40039
# File 'lib/v20180228/models.rb', line 40037

def SqlFlag
  @SqlFlag
end

#TokenizerObject

Parameters:

  • Tokenizer:

    字段的分词符

  • Type:

    字段类型

  • SqlFlag:

    字段是否开启分析功能

  • ContainZH:

    是否包含中文



40037
40038
40039
# File 'lib/v20180228/models.rb', line 40037

def Tokenizer
  @Tokenizer
end

#TypeObject

Parameters:

  • Tokenizer:

    字段的分词符

  • Type:

    字段类型

  • SqlFlag:

    字段是否开启分析功能

  • ContainZH:

    是否包含中文



40037
40038
40039
# File 'lib/v20180228/models.rb', line 40037

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



40046
40047
40048
40049
40050
40051
# File 'lib/v20180228/models.rb', line 40046

def deserialize(params)
  @Tokenizer = params['Tokenizer']
  @Type = params['Type']
  @SqlFlag = params['SqlFlag']
  @ContainZH = params['ContainZH']
end