Class: PgPower::ConnectionAdapters::IndexDefinition

Inherits:
Struct
  • Object
show all
Defined in:
lib/pg_power/connection_adapters/index_definition.rb

Overview

Structure to store index parameters Overrides ActiveRecord::ConnectionAdapters::IndexDefinition with the additional :where parameter.

Instance Attribute Summary collapse

Instance Attribute Details

#access_methodObject

Returns the value of attribute access_method

Returns:

  • (Object)

    the current value of access_method



5
6
7
# File 'lib/pg_power/connection_adapters/index_definition.rb', line 5

def access_method
  @access_method
end

#columnsObject

Returns the value of attribute columns

Returns:

  • (Object)

    the current value of columns



5
6
7
# File 'lib/pg_power/connection_adapters/index_definition.rb', line 5

def columns
  @columns
end

#lengthsObject

Returns the value of attribute lengths

Returns:

  • (Object)

    the current value of lengths



5
6
7
# File 'lib/pg_power/connection_adapters/index_definition.rb', line 5

def lengths
  @lengths
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/pg_power/connection_adapters/index_definition.rb', line 5

def name
  @name
end

#tableObject

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



5
6
7
# File 'lib/pg_power/connection_adapters/index_definition.rb', line 5

def table
  @table
end

#uniqueObject

Returns the value of attribute unique

Returns:

  • (Object)

    the current value of unique



5
6
7
# File 'lib/pg_power/connection_adapters/index_definition.rb', line 5

def unique
  @unique
end

#whereObject

Returns the value of attribute where

Returns:

  • (Object)

    the current value of where



5
6
7
# File 'lib/pg_power/connection_adapters/index_definition.rb', line 5

def where
  @where
end