Show / Hide Table of Contents

Interface IAsyncStorageProvider

Interface for storage providers which provide asynchronous read/write functionality to some arbitrary storage layer.
Inherited Members
IStorageCapabilities.IsReady
IStorageCapabilities.IsReadOnly
IStorageCapabilities.IOBehaviour
IStorageCapabilities.UpdateSupported
IStorageCapabilities.DeleteSupported
IStorageCapabilities.ListGraphsSupported
System.IDisposable.Dispose()
Namespace: VDS.RDF.Storage
Assembly: dotNetRDF.dll
Syntax
public interface IAsyncStorageProvider : IStorageCapabilities, IDisposable
Remarks
Designed to allow for arbitrary Triple Stores to be plugged into the library as required by the end user.

Properties

| Improve this Doc View Source

AsyncParentServer

Gets the Parent Server on which this store is hosted (if any).
Declaration
IAsyncStorageServer AsyncParentServer { get; }
Property Value
Type Description
IAsyncStorageServer
Remarks

For storage backends which support multiple stores this is useful because it provides a way to access all the stores on that backend. For stores which are standalone they should simply return null.

Methods

| Improve this Doc View Source

DeleteGraph(String, AsyncStorageCallback, Object)

Deletes a Graph from the Store.
Declaration
void DeleteGraph(string graphUri, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
System.String graphUri URI of the Graph to delete.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

DeleteGraph(Uri, AsyncStorageCallback, Object)

Deletes a Graph from the Store.
Declaration
void DeleteGraph(Uri graphUri, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
System.Uri graphUri URI of the Graph to delete.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

ListGraphs(AsyncStorageCallback, Object)

Lists the Graphs in the Store asynchronously.
Declaration
void ListGraphs(AsyncStorageCallback callback, object state)
Parameters
Type Name Description
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

LoadGraph(IGraph, String, AsyncStorageCallback, Object)

Loads a Graph from the Store asynchronously.
Declaration
void LoadGraph(IGraph g, string graphUri, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
IGraph g Graph to load into.
System.String graphUri URI of the Graph to load.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

LoadGraph(IGraph, Uri, AsyncStorageCallback, Object)

Loads a Graph from the Store asynchronously.
Declaration
void LoadGraph(IGraph g, Uri graphUri, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
IGraph g Graph to load into.
System.Uri graphUri URI of the Graph to load.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

LoadGraph(IRdfHandler, String, AsyncStorageCallback, Object)

Loads a Graph from the Store asynchronously.
Declaration
void LoadGraph(IRdfHandler handler, string graphUri, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
IRdfHandler handler Handler to load with.
System.String graphUri URI of the Graph to load.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

LoadGraph(IRdfHandler, Uri, AsyncStorageCallback, Object)

Loads a Graph from the Store asynchronously.
Declaration
void LoadGraph(IRdfHandler handler, Uri graphUri, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
IRdfHandler handler Handler to load with.
System.Uri graphUri URI of the Graph to load.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

SaveGraph(IGraph, AsyncStorageCallback, Object)

Saves a Graph to the Store asynchronously.
Declaration
void SaveGraph(IGraph g, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
IGraph g Graph to save.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object)

Updates a Graph in the Store asychronously.
Declaration
void UpdateGraph(string graphUri, IEnumerable<Triple> additions, IEnumerable<Triple> removals, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
System.String graphUri URI of the Graph to update.
System.Collections.Generic.IEnumerable<Triple> additions Triples to be added.
System.Collections.Generic.IEnumerable<Triple> removals Triples to be removed.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object)

Updates a Graph in the Store asychronously.
Declaration
void UpdateGraph(Uri graphUri, IEnumerable<Triple> additions, IEnumerable<Triple> removals, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
System.Uri graphUri URI of the Graph to update.
System.Collections.Generic.IEnumerable<Triple> additions Triples to be added.
System.Collections.Generic.IEnumerable<Triple> removals Triples to be removed.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • AsyncParentServer
  • Methods
    • DeleteGraph(String, AsyncStorageCallback, Object)
    • DeleteGraph(Uri, AsyncStorageCallback, Object)
    • ListGraphs(AsyncStorageCallback, Object)
    • LoadGraph(IGraph, String, AsyncStorageCallback, Object)
    • LoadGraph(IGraph, Uri, AsyncStorageCallback, Object)
    • LoadGraph(IRdfHandler, String, AsyncStorageCallback, Object)
    • LoadGraph(IRdfHandler, Uri, AsyncStorageCallback, Object)
    • SaveGraph(IGraph, AsyncStorageCallback, Object)
    • UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object)
    • UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object)
  • Extension Methods
Back to top Generated by DocFX