Class: RoadForest::Graph::CopyManager

Inherits:
SplitManager show all
Defined in:
lib/roadforest/graph/access-manager.rb

Constant Summary

Constants included from Normalization

Normalization::Vocabs

Instance Attribute Summary

Attributes inherited from SplitManager

#target_graph

Attributes inherited from ReadOnlyManager

#resource, #source_graph

Instance Method Summary collapse

Methods inherited from SplitManager

#dup, #each_target, #relevant_prefixes, #reset

Methods inherited from WriteManager

#delete, #insert, #insert_statement

Methods inherited from ReadOnlyManager

#build_query, #dup, #each, #each_statement, #query_execute, #query_pattern, #relevant_prefixes, #reset

Methods included from Normalization

#expand_curie, #expand_curie_pair, #interned_uri, #literal, #normalize_context, #normalize_property, #normalize_resource, #normalize_statement, #normalize_term, #normalize_tuple, #normalize_uri, #relevant_prefixes_for_graph, #root_url, #uri, #vocabularies_in_graph

Instance Method Details

#execute_search(search, &block) ⇒ Object



108
109
110
111
112
113
# File 'lib/roadforest/graph/access-manager.rb', line 108

def execute_search(search, &block)
  super(search) do |statement|
    destination_graph.insert(statement)
    yield statement
  end
end