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.



533
534
535
536
537
538
539
540
541
# File 'lib/fluent/plugin/out_groonga.rb', line 533

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.



530
531
532
# File 'lib/fluent/plugin/out_groonga.rb', line 530

def default_tokenizer
  @default_tokenizer
end

#domainObject (readonly)

Returns the value of attribute domain.



528
529
530
# File 'lib/fluent/plugin/out_groonga.rb', line 528

def domain
  @domain
end

#flagsObject (readonly)

Returns the value of attribute flags.



527
528
529
# File 'lib/fluent/plugin/out_groonga.rb', line 527

def flags
  @flags
end

#nameObject (readonly)

Returns the value of attribute name.



526
527
528
# File 'lib/fluent/plugin/out_groonga.rb', line 526

def name
  @name
end

#normalizerObject (readonly)

Returns the value of attribute normalizer.



531
532
533
# File 'lib/fluent/plugin/out_groonga.rb', line 531

def normalizer
  @normalizer
end

#rangeObject (readonly)

Returns the value of attribute range.



529
530
531
# File 'lib/fluent/plugin/out_groonga.rb', line 529

def range
  @range
end

#token_filtersObject (readonly)

Returns the value of attribute token_filters.



532
533
534
# File 'lib/fluent/plugin/out_groonga.rb', line 532

def token_filters
  @token_filters
end