Class: Mxrb::Oql::WorkloadReport
- Inherits:
-
Data
- Object
- Data
- Mxrb::Oql::WorkloadReport
- Defined in:
- lib/mxrb/oql/workload_analyzer.rb
Instance Attribute Summary collapse
-
#engine ⇒ Object
readonly
Returns the value of attribute engine.
-
#findings ⇒ Object
readonly
Returns the value of attribute findings.
-
#index_stats ⇒ Object
readonly
Returns the value of attribute index_stats.
-
#queries ⇒ Object
readonly
Returns the value of attribute queries.
-
#table_stats ⇒ Object
readonly
Returns the value of attribute table_stats.
Instance Method Summary collapse
Instance Attribute Details
#engine ⇒ Object (readonly)
Returns the value of attribute engine
10 11 12 |
# File 'lib/mxrb/oql/workload_analyzer.rb', line 10 def engine @engine end |
#findings ⇒ Object (readonly)
Returns the value of attribute findings
10 11 12 |
# File 'lib/mxrb/oql/workload_analyzer.rb', line 10 def findings @findings end |
#index_stats ⇒ Object (readonly)
Returns the value of attribute index_stats
10 11 12 |
# File 'lib/mxrb/oql/workload_analyzer.rb', line 10 def index_stats @index_stats end |
#queries ⇒ Object (readonly)
Returns the value of attribute queries
10 11 12 |
# File 'lib/mxrb/oql/workload_analyzer.rb', line 10 def queries @queries end |
#table_stats ⇒ Object (readonly)
Returns the value of attribute table_stats
10 11 12 |
# File 'lib/mxrb/oql/workload_analyzer.rb', line 10 def table_stats @table_stats end |
Instance Method Details
#clean? ⇒ Boolean
11 |
# File 'lib/mxrb/oql/workload_analyzer.rb', line 11 def clean? = findings.none? { _1.severity == :warning } |
#warnings? ⇒ Boolean
12 |
# File 'lib/mxrb/oql/workload_analyzer.rb', line 12 def warnings? = !clean? |