class NoSE::Serialize::PlanStepRepresenter
Base representation for query plan steps
Public Instance Methods
cardinality()
click to toggle source
The estimated cardinality at this step in the plan
# File lib/nose/serialize.rb, line 247 def cardinality state = represented.instance_variable_get(:@state) state.cardinality unless state.nil? end
hash_cardinality()
click to toggle source
The estimated hash cardinality at this step in the plan @return [Integer]
# File lib/nose/serialize.rb, line 255 def hash_cardinality state = represented.instance_variable_get(:@state) state.hash_cardinality if state.is_a?(Plans::QueryState) end