Class: Groonga::Schema::UnguessableReferenceTable
- Defined in:
- lib/groonga/schema.rb
Overview
参照先のテーブルを推測できないときに発生する。
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#tried_table_names ⇒ Object
readonly
Returns the value of attribute tried_table_names.
Instance Method Summary collapse
-
#initialize(name, tried_table_names) ⇒ UnguessableReferenceTable
constructor
A new instance of UnguessableReferenceTable.
Constructor Details
#initialize(name, tried_table_names) ⇒ UnguessableReferenceTable
Returns a new instance of UnguessableReferenceTable.
139 140 141 142 143 144 145 |
# File 'lib/groonga/schema.rb', line 139 def initialize(name, tried_table_names) @name = name @tried_table_names = tried_table_names super("failed to guess referenced table name " + "for reference column: #{@name.inspect}: " + "tried table names: #{@tried_table_names.inspect}") end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
138 139 140 |
# File 'lib/groonga/schema.rb', line 138 def name @name end |
#tried_table_names ⇒ Object (readonly)
Returns the value of attribute tried_table_names.
138 139 140 |
# File 'lib/groonga/schema.rb', line 138 def tried_table_names @tried_table_names end |