Class: ActiveRecord::ConnectionAdapters::OracleEnhanced::IndexDefinition
- Inherits:
-
IndexDefinition
- Object
- IndexDefinition
- ActiveRecord::ConnectionAdapters::OracleEnhanced::IndexDefinition
- Defined in:
- lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#name ⇒ Object
Returns the value of attribute name.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
-
#statement_parameters ⇒ Object
Returns the value of attribute statement_parameters.
-
#table ⇒ Object
Returns the value of attribute table.
-
#tablespace ⇒ Object
Returns the value of attribute tablespace.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unique ⇒ Object
Returns the value of attribute unique.
Instance Method Summary collapse
-
#initialize(table, name, unique, type, parameters, statement_parameters, tablespace, columns) ⇒ IndexDefinition
constructor
A new instance of IndexDefinition.
Constructor Details
#initialize(table, name, unique, type, parameters, statement_parameters, tablespace, columns) ⇒ IndexDefinition
Returns a new instance of IndexDefinition.
31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 31 def initialize(table, name, unique, type, parameters, statement_parameters, tablespace, columns) @table = table @name = name @unique = unique @type = type @parameters = parameters @statement_parameters = statement_parameters @tablespace = tablespace @columns = columns super(table, name, unique, columns, nil, nil, nil, nil) end |
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns.
29 30 31 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 29 def columns @columns end |
#name ⇒ Object
Returns the value of attribute name.
29 30 31 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 29 def name @name end |
#parameters ⇒ Object
Returns the value of attribute parameters.
29 30 31 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 29 def parameters @parameters end |
#statement_parameters ⇒ Object
Returns the value of attribute statement_parameters.
29 30 31 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 29 def statement_parameters @statement_parameters end |
#table ⇒ Object
Returns the value of attribute table.
29 30 31 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 29 def table @table end |
#tablespace ⇒ Object
Returns the value of attribute tablespace.
29 30 31 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 29 def tablespace @tablespace end |
#type ⇒ Object
Returns the value of attribute type.
29 30 31 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 29 def type @type end |
#unique ⇒ Object
Returns the value of attribute unique.
29 30 31 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 29 def unique @unique end |