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



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

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



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

def dry_run_result
  @dry_run_result
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

def error
  @error
end

#function_callsObject

Returns the value of attribute function_calls

Returns:

  • (Object)

    the current value of function_calls



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

def function_calls
  @function_calls
end

#interpretationObject

Returns the value of attribute interpretation

Returns:

  • (Object)

    the current value of interpretation



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

def interpretation
  @interpretation
end

#planObject

Returns the value of attribute plan

Returns:

  • (Object)

    the current value of plan



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

def plan
  @plan
end

#rows_examinedObject

Returns the value of attribute rows_examined

Returns:

  • (Object)

    the current value of rows_examined



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

def rows_examined
  @rows_examined
end

#sqlObject

Returns the value of attribute sql

Returns:

  • (Object)

    the current value of sql



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

def sql
  @sql
end

#suggestionsObject

Returns the value of attribute suggestions

Returns:

  • (Object)

    the current value of suggestions



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

def suggestions
  @suggestions
end

#total_costObject

Returns the value of attribute total_cost

Returns:

  • (Object)

    the current value of total_cost



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

def total_cost
  @total_cost
end

#warningsObject

Returns the value of attribute warnings

Returns:

  • (Object)

    the current value of warnings



13
14
15
# File 'lib/rails_vitals/analyzers/explain_analyzer.rb', line 13

def warnings
  @warnings
end