Method: RDF::Repository::Implementation#snapshot

Defined in:
lib/rdf/repository.rb

#snapshotDataset

A readable & queryable snapshot of the repository for isolated reads.

Returns:

  • (Dataset)

    an immutable Dataset containing a current snapshot of the Repository contents.

See Also:



398
399
400
# File 'lib/rdf/repository.rb', line 398

def snapshot
  self.class.new(data: @data).freeze
end