Class: RailsVitals::Analyzers::ExplainAnalyzer::Result

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

Overview

─── Result / PlanNode structs ────────────────────────────────────────────────

Instance Attribute Summary collapse

Instance Attribute Details

#actual_time_msObject

Returns the value of attribute actual_time_ms

Returns:

  • (Object)

    the current value of actual_time_ms



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def actual_time_ms
  @actual_time_ms
end

#dry_run_resultObject

Returns the value of attribute dry_run_result

Returns:

  • (Object)

    the current value of dry_run_result



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def dry_run_result
  @dry_run_result
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def error
  @error
end

#function_callsObject

Returns the value of attribute function_calls

Returns:

  • (Object)

    the current value of function_calls



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def function_calls
  @function_calls
end

#interpretationObject

Returns the value of attribute interpretation

Returns:

  • (Object)

    the current value of interpretation



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def interpretation
  @interpretation
end

#planObject

Returns the value of attribute plan

Returns:

  • (Object)

    the current value of plan



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def plan
  @plan
end

#rows_examinedObject

Returns the value of attribute rows_examined

Returns:

  • (Object)

    the current value of rows_examined



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def rows_examined
  @rows_examined
end

#sqlObject

Returns the value of attribute sql

Returns:

  • (Object)

    the current value of sql



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def sql
  @sql
end

#suggestionsObject

Returns the value of attribute suggestions

Returns:

  • (Object)

    the current value of suggestions



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def suggestions
  @suggestions
end

#total_costObject

Returns the value of attribute total_cost

Returns:

  • (Object)

    the current value of total_cost



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def total_cost
  @total_cost
end

#warningsObject

Returns the value of attribute warnings

Returns:

  • (Object)

    the current value of warnings



15
16
17
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 15

def warnings
  @warnings
end