Class: Fluent::GroongaOutput::Schema::Table

Inherits:
Object
  • Object
show all
Defined in:
lib/fluent/plugin/out_groonga.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, options = {}) ⇒ Table

Returns a new instance of Table.



541
542
543
544
545
546
547
548
549
# File 'lib/fluent/plugin/out_groonga.rb', line 541

def initialize(name, options={})
  @name = name
  @flags             = options[:flags]
  @domain            = options[:domain]
  @range             = options[:range]
  @default_tokenizer = options[:default_tokenizer]
  @normalizer        = options[:normalizer]
  @token_filters     = options[:token_filters]
end

Instance Attribute Details

#default_tokenizerObject (readonly)

Returns the value of attribute default_tokenizer.



538
539
540
# File 'lib/fluent/plugin/out_groonga.rb', line 538

def default_tokenizer
  @default_tokenizer
end

#domainObject (readonly)

Returns the value of attribute domain.



536
537
538
# File 'lib/fluent/plugin/out_groonga.rb', line 536

def domain
  @domain
end

#flagsObject (readonly)

Returns the value of attribute flags.



535
536
537
# File 'lib/fluent/plugin/out_groonga.rb', line 535

def flags
  @flags
end

#nameObject (readonly)

Returns the value of attribute name.



534
535
536
# File 'lib/fluent/plugin/out_groonga.rb', line 534

def name
  @name
end

#normalizerObject (readonly)

Returns the value of attribute normalizer.



539
540
541
# File 'lib/fluent/plugin/out_groonga.rb', line 539

def normalizer
  @normalizer
end

#rangeObject (readonly)

Returns the value of attribute range.



537
538
539
# File 'lib/fluent/plugin/out_groonga.rb', line 537

def range
  @range
end

#token_filtersObject (readonly)

Returns the value of attribute token_filters.



540
541
542
# File 'lib/fluent/plugin/out_groonga.rb', line 540

def token_filters
  @token_filters
end