Class: ActiveRecord::ConnectionAdapters::OracleEnhanced::IndexDefinition

Inherits:
IndexDefinition
  • Object
show all
Defined in:
lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table, name, unique, columns, orders, type, parameters, statement_parameters, tablespace) ⇒ IndexDefinition

Returns a new instance of IndexDefinition.



44
45
46
47
48
49
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 44

def initialize(table, name, unique, columns, orders, type, parameters, statement_parameters, tablespace)
  @parameters = parameters
  @statement_parameters = statement_parameters
  @tablespace = tablespace
  super(table, name, unique, columns, orders: orders, type: type)
end

Instance Attribute Details

#parametersObject

Returns the value of attribute parameters.



42
43
44
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 42

def parameters
  @parameters
end

#statement_parametersObject

Returns the value of attribute statement_parameters.



42
43
44
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 42

def statement_parameters
  @statement_parameters
end

#tablespaceObject

Returns the value of attribute tablespace.



42
43
44
# File 'lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb', line 42

def tablespace
  @tablespace
end