Click or drag to resize

InMemoryManager Class

Provides a wrapper around an in-memory store.
Inheritance Hierarchy

Namespace:  VDS.RDF.Storage
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class InMemoryManager : BaseAsyncSafeConnector, 
	IUpdateableStorage, IQueryableStorage, IStorageProvider, IStorageCapabilities, IDisposable, 
	IAsyncUpdateableStorage, IAsyncQueryableStorage, IAsyncStorageProvider, IConfigurationSerializable

The InMemoryManager type exposes the following members.

Constructors
  NameDescription
Public methodInMemoryManager
Creates a new In-Memory Manager which is a wrapper around a new empty in-memory store.
Public methodInMemoryManager(IInMemoryQueryableStore)
Creates a new In-Memory Manager which is a wrapper around an in-memory store.
Public methodInMemoryManager(ISparqlDataset)
Creates a new In-Memory Manager which is a wrapper around a SPARQL Dataset.
Top
Properties
Methods
  NameDescription
Public methodDeleteGraph(String)
Deletes a Graph from the Store.
(Overrides BaseAsyncSafeConnectorDeleteGraph(String).)
Public methodDeleteGraph(Uri)
Deletes a Graph from the Store.
(Overrides BaseAsyncSafeConnectorDeleteGraph(Uri).)
Public methodDeleteGraph(String, AsyncStorageCallback, Object)
Deletes a Graph from the Store.
(Inherited from BaseAsyncSafeConnector.)
Public methodDeleteGraph(Uri, AsyncStorageCallback, Object)
Deletes a Graph from the Store.
(Inherited from BaseAsyncSafeConnector.)
Public methodDispose
Disposes of the Manager.
(Overrides BaseAsyncSafeConnectorDispose.)
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 methodListGraphs
Lists the URIs of Graphs in the Store.
(Overrides BaseAsyncSafeConnectorListGraphs.)
Public methodListGraphs(AsyncStorageCallback, Object)
Lists the Graphs in the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodLoadGraph(IGraph, String)
Loads a Graph from the Store.
(Overrides BaseAsyncSafeConnectorLoadGraph(IGraph, String).)
Public methodLoadGraph(IGraph, Uri)
Loads a Graph from the Store.
(Overrides BaseAsyncSafeConnectorLoadGraph(IGraph, Uri).)
Public methodLoadGraph(IRdfHandler, String)
Loads a Graph from the Store.
(Overrides BaseAsyncSafeConnectorLoadGraph(IRdfHandler, String).)
Public methodLoadGraph(IRdfHandler, Uri)
Loads a Graph from the Store.
(Overrides BaseAsyncSafeConnectorLoadGraph(IRdfHandler, Uri).)
Public methodLoadGraph(IGraph, String, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodLoadGraph(IGraph, Uri, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodLoadGraph(IRdfHandler, String, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodLoadGraph(IRdfHandler, Uri, AsyncStorageCallback, Object)
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodQuery(String)
Makes a SPARQL Query against the Store.
Public methodQuery(String, AsyncStorageCallback, Object)
Queries the store asynchronously.
Public methodQuery(IRdfHandler, ISparqlResultsHandler, String)
Makes a SPARQL Query against the Store processing the results with the appropriate processor from those given.
Public methodQuery(IRdfHandler, ISparqlResultsHandler, String, AsyncStorageCallback, Object)
Queries the store asynchronously.
Public methodSaveGraph(IGraph)
Saves a Graph to the Store.
(Overrides BaseAsyncSafeConnectorSaveGraph(IGraph).)
Public methodSaveGraph(IGraph, AsyncStorageCallback, Object)
Saves a Graph to the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodSerializeConfiguration
Serializes the Configuration of the Manager.
Public methodToString
Gets a String representation of the Manager.
(Overrides ObjectToString.)
Public methodUpdate(String)
Applies SPARQL Updates to the Store.
Public methodUpdate(String, AsyncStorageCallback, Object)
Updates the store asynchronously.
Public methodUpdateGraph(String, IEnumerableTriple, IEnumerableTriple)
Updates a Graph in the Store.
(Overrides BaseAsyncSafeConnectorUpdateGraph(String, IEnumerableTriple, IEnumerableTriple).)
Public methodUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple)
Updates a Graph in the Store.
(Overrides BaseAsyncSafeConnectorUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple).)
Public methodUpdateGraph(String, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object)
Updates a Graph in the Store asychronously.
(Inherited from BaseAsyncSafeConnector.)
Public methodUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object)
Updates a Graph in the Store asychronously.
(Inherited from BaseAsyncSafeConnector.)
Top
Remarks

Useful if you want to test out some code using temporary in-memory data before you run the code against a real store or if you are using some code that requires an IStorageProvider interface but you need the results of that code to be available directly in-memory.

See Also