Class: NoSE::Plans::AbstractPlan
Overview
This superclass defines what is necessary for manually defined and automatically generated plans to provide for execution
Direct Known Subclasses
Instance Attribute Summary collapse
-
#group ⇒ Object
readonly
Returns the value of attribute group.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#weight ⇒ Object
readonly
Returns the value of attribute weight.
Instance Method Summary collapse
-
#params ⇒ Object
abstract
necessary for this plan.
- #select_fields ⇒ Object abstract
- #steps ⇒ Object abstract
Instance Attribute Details
#group ⇒ Object (readonly)
Returns the value of attribute group.
106 107 108 |
# File 'lib/nose/plans.rb', line 106 def group @group end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
106 107 108 |
# File 'lib/nose/plans.rb', line 106 def name @name end |
#weight ⇒ Object (readonly)
Returns the value of attribute weight.
106 107 108 |
# File 'lib/nose/plans.rb', line 106 def weight @weight end |
Instance Method Details
#params ⇒ Object
This method is abstract.
Subclasses should produce the parameters
necessary for this plan
120 121 122 |
# File 'lib/nose/plans.rb', line 120 def params fail NotImplementedError end |
#select_fields ⇒ Object
This method is abstract.
Subclasses should produce the fields selected by this plan
114 115 116 |
# File 'lib/nose/plans.rb', line 114 def select_fields [] end |
#steps ⇒ Object
This method is abstract.
Subclasses should produce the steps for executing this query
109 110 111 |
# File 'lib/nose/plans.rb', line 109 def steps fail NotImplementedError end |