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:



370
371
372
# File 'lib/rdf/repository.rb', line 370

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