Click or drag to resize

WrapperTripleStore Class

Abstract decorator for Triple Stores to make it easier to add new functionality on top of existing implementations.
Inheritance Hierarchy
SystemObject
  VDS.RDFWrapperTripleStore

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class WrapperTripleStore : ITripleStore, 
	IDisposable

The WrapperTripleStore type exposes the following members.

Constructors
  NameDescription
Public methodWrapperTripleStore
Creates a new triple store decorator that uses a default in-memory TripleStore.
Public methodWrapperTripleStore(ITripleStore)
Creates a new triple store decorator around the given ITripleStore instance.
Top
Properties
  NameDescription
Public propertyGraphs
Gets the Graphs of the store.
Public propertyIsEmpty
Gets whether the store is empty.
Public propertyItem
Gets a Graph from the store.
Public propertyTriples
Gets the triples of the store.
Top
Methods
  NameDescription
Public methodAdd(IGraph)
Adds a Graph to the store.
Public methodAdd(IGraph, Boolean)
Adds a Graph to the store.
Public methodAddFromUri(Uri)
Adds a Graph to the store from a URI.
Public methodAddFromUri(Uri, Boolean)
Adds a Graph to the store from a URI.
Public methodDispose
Disposes of the Triple Store.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasGraph
Gets whether a Graph exists in the store.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnGraphAdded
Event Handler which handles the Graph Added event from the underlying Graph Collection and raises the Triple Store's Graph Added event.
Protected methodOnGraphChanged
Event Handler which handles the Changed event of the contained Graphs by raising the Triple Store's Graph Changed event.
Protected methodOnGraphCleared
Event Handler which handles the Cleared event of the contained Graphs by raising the Triple Stores's Graph Cleared event.
Protected methodOnGraphMerged
Event Handler which handles the Merged event of the contained Graphs by raising the Triple Store's Graph Merged event.
Protected methodOnGraphRemoved
Event Handler which handles the Graph Removed event from the underlying Graph Collection and raises the Triple Stores's Graph Removed event.
Protected methodRaiseGraphAdded(GraphEventArgs)
Helper method for raising the Graph Added event manually.
Protected methodRaiseGraphAdded(IGraph)
Helper method for raising the Graph Added event manually.
Protected methodRaiseGraphChanged(GraphEventArgs)
Helper method for raising the Graph Changed event manually.
Protected methodRaiseGraphChanged(IGraph)
Helper method for raising the Graph Changed event manually.
Protected methodRaiseGraphCleared
Helper method for raising the Graph Cleared event manually.
Protected methodRaiseGraphMerged
Helper method for raising the Graph Merged event manually.
Protected methodRaiseGraphRemoved(GraphEventArgs)
Helper method for raising the Graph Removed event manually.
Protected methodRaiseGraphRemoved(IGraph)
Helper method for raising the Graph Removed event manually.
Public methodRemove
Removes a Graph from the store.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventGraphAdded
Event which is raised when a graph is added
Public eventGraphChanged
Event which is raised when a graph is changed
Public eventGraphCleared
Event which is raised when a graph is cleared
Public eventGraphMerged
Event which is raised when a graph is merged
Public eventGraphRemoved
Events which is raised when a graph is removed
Top
Fields
  NameDescription
Protected field_store
Underlying store.
Top
Extension Methods
  NameDescription
Public Extension MethodLoadFromEmbeddedResource(String)Overloaded.
Loads an RDF dataset from an Embedded Resource into a Triple Store.
(Defined by TripleStoreExtensions.)
Public Extension MethodLoadFromEmbeddedResource(String, IStoreReader)Overloaded.
Loads an RDF dataset from an Embedded Resource into a Triple Store.
(Defined by TripleStoreExtensions.)
Public Extension MethodLoadFromFile(String)Overloaded.
Loads an RDF dataset from a file into a Triple Store.
(Defined by TripleStoreExtensions.)
Public Extension MethodLoadFromFile(String, IStoreReader)Overloaded.
Loads an RDF dataset from a file into a Triple Store.
(Defined by TripleStoreExtensions.)
Public Extension MethodLoadFromString(String)Overloaded.
Loads an RDF dataset from a String into a Triple Store.
(Defined by TripleStoreExtensions.)
Public Extension MethodLoadFromString(String, IStoreReader)Overloaded.
Loads an RDF dataset from a String into a Triple Store.
(Defined by TripleStoreExtensions.)
Public Extension MethodLoadFromUri(Uri)Overloaded.
Loads an RDF dataset from a URI into a Triple Store.
(Defined by TripleStoreExtensions.)
Public Extension MethodLoadFromUri(Uri, IStoreReader)Overloaded.
Loads an RDF dataset from a URI into a Triple Store.
(Defined by TripleStoreExtensions.)
Public Extension MethodSaveToFile(String)Overloaded.
Saves a Triple Store to a file.
(Defined by TripleStoreExtensions.)
Public Extension MethodSaveToFile(String, IStoreWriter)Overloaded.
Saves a Triple Store to a file.
(Defined by TripleStoreExtensions.)
Top
See Also