Method: NoSE::Plans::QueryPlanner#initialize

Defined in:
lib/nose/plans/query_planner.rb

#initialize(model, indexes, cost_model) ⇒ QueryPlanner

Returns a new instance of QueryPlanner.



226
227
228
229
230
231
232
# File 'lib/nose/plans/query_planner.rb', line 226

def initialize(model, indexes, cost_model)
  @logger = Logging.logger['nose::query_planner']

  @model = model
  @indexes = indexes
  @cost_model = cost_model
end