class RoadForest::Graph::GraphCopier
Public Instance Methods
query_value(query)
click to toggle source
Calls superclass method
# File lib/roadforest/graph/graph-copier.rb, line 7 def query_value(query) #This isn't the most efficient way to do this (the query essentially #happens twice) but the intended use of GC is to copy small numbers of #patterns between small graphs, so the n is small query.patterns.each do |pattern| pattern.execute(@access_manager) do |statement| @access_manager.insert(statement) end end super end