Class: RailsVitals::Analyzers::AssociationMapper::ModelNode

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_vitals/analyzers/association_mapper.rb

Instance Attribute Summary collapse

Instance Attribute Details

#associationsObject

Returns the value of attribute associations

Returns:

  • (Object)

    the current value of associations



4
5
6
# File 'lib/rails_vitals/analyzers/association_mapper.rb', line 4

def associations
  @associations
end

#avg_query_time_msObject

Returns the value of attribute avg_query_time_ms

Returns:

  • (Object)

    the current value of avg_query_time_ms



4
5
6
# File 'lib/rails_vitals/analyzers/association_mapper.rb', line 4

def avg_query_time_ms
  @avg_query_time_ms
end

#depthObject

Returns the value of attribute depth

Returns:

  • (Object)

    the current value of depth



4
5
6
# File 'lib/rails_vitals/analyzers/association_mapper.rb', line 4

def depth
  @depth
end

#has_n1Object

Returns the value of attribute has_n1

Returns:

  • (Object)

    the current value of has_n1



4
5
6
# File 'lib/rails_vitals/analyzers/association_mapper.rb', line 4

def has_n1
  @has_n1
end

#n1_patternsObject

Returns the value of attribute n1_patterns

Returns:

  • (Object)

    the current value of n1_patterns



4
5
6
# File 'lib/rails_vitals/analyzers/association_mapper.rb', line 4

def n1_patterns
  @n1_patterns
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/rails_vitals/analyzers/association_mapper.rb', line 4

def name
  @name
end

#positionObject

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position



4
5
6
# File 'lib/rails_vitals/analyzers/association_mapper.rb', line 4

def position
  @position
end

#query_countObject

Returns the value of attribute query_count

Returns:

  • (Object)

    the current value of query_count



4
5
6
# File 'lib/rails_vitals/analyzers/association_mapper.rb', line 4

def query_count
  @query_count
end

#tableObject

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



4
5
6
# File 'lib/rails_vitals/analyzers/association_mapper.rb', line 4

def table
  @table
end