Class: SQLParser::Statement::IndexHint
- Defined in:
- lib/sql-parser/statement.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(table, index) ⇒ IndexHint
constructor
A new instance of IndexHint.
Methods inherited from Node
Constructor Details
#initialize(table, index) ⇒ IndexHint
Returns a new instance of IndexHint.
439 440 441 442 |
# File 'lib/sql-parser/statement.rb', line 439 def initialize(table, index) @table = table @index = index end |
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
445 446 447 |
# File 'lib/sql-parser/statement.rb', line 445 def index @index end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
444 445 446 |
# File 'lib/sql-parser/statement.rb', line 444 def table @table end |