Exception: Groonga::Schema::TableCreationWithDifferentOptions

Inherits:
Error
  • Object
show all
Defined in:
lib/groonga/schema.rb

Overview

すでに存在するテーブルと違うオプションでテーブルを作ろ うとしたときに発生する。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table, options) ⇒ TableCreationWithDifferentOptions

Returns a new instance of TableCreationWithDifferentOptions



74
75
76
77
78
79
# File 'lib/groonga/schema.rb', line 74

def initialize(table, options)
  @table = table
  @options = options
  super("creating table with different options: " +
        "#{@table.inspect}: #{@options.inspect}")
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options



73
74
75
# File 'lib/groonga/schema.rb', line 73

def options
  @options
end

#tableObject (readonly)

Returns the value of attribute table



73
74
75
# File 'lib/groonga/schema.rb', line 73

def table
  @table
end