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, type, parameters, statement_parameters, tablespace, columns) ⇒ 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

#columnsObject

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

#nameObject

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

#parametersObject

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_parametersObject

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

#tableObject

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

#tablespaceObject

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

#typeObject

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

#uniqueObject

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