Class: Fluent::Plugin::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.



550
551
552
553
554
555
556
557
558
# File 'lib/fluent/plugin/out_groonga.rb', line 550

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.



547
548
549
# File 'lib/fluent/plugin/out_groonga.rb', line 547

def default_tokenizer
  @default_tokenizer
end

#domainObject (readonly)

Returns the value of attribute domain.



545
546
547
# File 'lib/fluent/plugin/out_groonga.rb', line 545

def domain
  @domain
end

#flagsObject (readonly)

Returns the value of attribute flags.



544
545
546
# File 'lib/fluent/plugin/out_groonga.rb', line 544

def flags
  @flags
end

#nameObject (readonly)

Returns the value of attribute name.



543
544
545
# File 'lib/fluent/plugin/out_groonga.rb', line 543

def name
  @name
end

#normalizerObject (readonly)

Returns the value of attribute normalizer.



548
549
550
# File 'lib/fluent/plugin/out_groonga.rb', line 548

def normalizer
  @normalizer
end

#rangeObject (readonly)

Returns the value of attribute range.



546
547
548
# File 'lib/fluent/plugin/out_groonga.rb', line 546

def range
  @range
end

#token_filtersObject (readonly)

Returns the value of attribute token_filters.



549
550
551
# File 'lib/fluent/plugin/out_groonga.rb', line 549

def token_filters
  @token_filters
end