class RDF::Dataset

An RDF Dataset

Datasets are immutable by default. {RDF::Repository} provides an interface for mutable Datasets.

@see www.w3.org/TR/rdf11-concepts/#section-dataset @see www.w3.org/TR/rdf11-datasets/

Constants

ISOLATION_LEVELS

Public Instance Methods

inspect() click to toggle source

Returns a developer-friendly representation of this object.

@return [String]

# File lib/rdf/model/dataset.rb, line 26
def inspect
  sprintf("#<%s:%#0x(%s)>", self.class.name, __id__, uri.to_s)
end
inspect!() click to toggle source

Outputs a developer-friendly representation of this object to `stderr`.

@return [void]

# File lib/rdf/model/dataset.rb, line 35
def inspect!
  each_statement { |statement| statement.inspect! }
  nil
end
isolation_level() click to toggle source

@return [Symbol] a representation of the isolation level for reads of this

 Dataset. One of `:read_uncommitted`, `:read_committed`, `:repeatable_read`, 
`:snapshot`, or `:serializable`.
# File lib/rdf/model/dataset.rb, line 44
def isolation_level
  :read_committed
end