lib/shiba/explain/postgres_explain.rb in shiba-0.6.0 vs lib/shiba/explain/postgres_explain.rb in shiba-0.6.1
- old
+ new
@@ -1,6 +1,6 @@
-require 'shiba/explain/postgres_explain_index_conditions'
+require 'shiba/parsers/postgres_explain_index_conditions'
module Shiba
class Explain
class PostgresExplain
def initialize(json)
@@ -65,15 +65,15 @@
end
array
end
def extract_used_key_parts(cond)
- conds = PostgresExplainIndexConditions.new(cond)
+ conds = Parsers::PostgresExplainIndexConditions.new(cond)
conds.fields
end
def extract_join_key_parts(cond)
- conds = PostgresExplainIndexConditions.new(cond)
+ conds = Parsers::PostgresExplainIndexConditions.new(cond)
conds.join_fields
end
def recurse_plans(node, array)
node['Plans'].each do |n|