VirtuosoManager Class |
Namespace: VDS.RDF.Storage
The VirtuosoManager type exposes the following members.
Name | Description | |
---|---|---|
VirtuosoManager(String) |
Creates a Manager for a Virtuoso Native Quad Store.
| |
VirtuosoManager(String, String, String) |
Creates a Manager for a Virtuoso Native Quad Store.
| |
VirtuosoManager(String, String, String, Int32) |
Creates a Manager for a Virtuoso Native Quad Store.
| |
VirtuosoManager(String, Int32, String, String, String) |
Creates a Manager for a Virtuoso Native Quad Store.
| |
VirtuosoManager(String, Int32, String, String, String, Int32) |
Creates a Manager for a Virtuoso Native Quad Store.
|
Name | Description | |
---|---|---|
AsyncParentServer |
Gets the parent server (if any).
(Inherited from BaseAsyncSafeConnector.) | |
DeleteSupported |
Returns that deleting Graphs is supported.
(Overrides BaseAsyncSafeConnectorDeleteSupported.) | |
HasActiveTransaction |
Gets whether there is any active transaction on the Virtuoso database.
| |
HasOpenConnection |
Gets whether there is an active connection to the Virtuoso database.
| |
IOBehaviour |
Gets the IO Behaviour of the store.
(Overrides BaseAsyncSafeConnectorIOBehaviour.) | |
IsReadOnly |
Returns that the Manager is not read-only.
(Overrides BaseAsyncSafeConnectorIsReadOnly.) | |
IsReady |
Returns that the Manager is ready.
(Overrides BaseAsyncSafeConnectorIsReady.) | |
ListGraphsSupported |
Returns that listing graphs is supported.
(Overrides BaseAsyncSafeConnectorListGraphsSupported.) | |
ParentServer |
Gets the parent server (if any).
(Inherited from BaseAsyncSafeConnector.) | |
UpdateSupported |
Indicates that Updates are supported by the Virtuoso Native Quad Store.
(Overrides BaseAsyncSafeConnectorUpdateSupported.) |
Name | Description | |
---|---|---|
DeleteGraph(String) |
Deletes a Graph from the store.
(Overrides BaseAsyncSafeConnectorDeleteGraph(String).) | |
DeleteGraph(Uri) |
Deletes a Graph from the Virtuoso store.
(Overrides BaseAsyncSafeConnectorDeleteGraph(Uri).) | |
DeleteGraph(String, AsyncStorageCallback, Object) |
Deletes a Graph from the Store.
(Inherited from BaseAsyncSafeConnector.) | |
DeleteGraph(Uri, AsyncStorageCallback, Object) |
Deletes a Graph from the Store.
(Inherited from BaseAsyncSafeConnector.) | |
Dispose |
Disposes of the Manager.
(Overrides BaseAsyncSafeConnectorDispose.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ListGraphs |
Lists the Graphs in the store.
(Overrides BaseAsyncSafeConnectorListGraphs.) | |
ListGraphs(AsyncStorageCallback, Object) |
Lists the Graphs in the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.) | |
LoadGraph(IGraph, String) |
Loads a Graph from the Quad Store.
(Overrides BaseAsyncSafeConnectorLoadGraph(IGraph, String).) | |
LoadGraph(IGraph, Uri) |
Loads a Graph from the Quad Store.
(Overrides BaseAsyncSafeConnectorLoadGraph(IGraph, Uri).) | |
LoadGraph(IRdfHandler, String) |
Loads a Graph from the Quad Store.
(Overrides BaseAsyncSafeConnectorLoadGraph(IRdfHandler, String).) | |
LoadGraph(IRdfHandler, Uri) |
Loads a Graph from the Quad Store.
(Overrides BaseAsyncSafeConnectorLoadGraph(IRdfHandler, Uri).) | |
LoadGraph(IGraph, String, AsyncStorageCallback, Object) |
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.) | |
LoadGraph(IGraph, Uri, AsyncStorageCallback, Object) |
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.) | |
LoadGraph(IRdfHandler, String, AsyncStorageCallback, Object) |
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.) | |
LoadGraph(IRdfHandler, Uri, AsyncStorageCallback, Object) |
Loads a Graph from the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Query(String) |
Executes a SPARQL Query on the native Quad Store.
| |
Query(IRdfHandler, ISparqlResultsHandler, String) |
Executes a SPARQL Query on the native Quad Store processing the results with an appropriate handler from those provided.
| |
SaveGraph(IGraph) |
Saves a Graph into the Quad Store (Warning: Completely replaces any existing Graph with the same URI).
(Overrides BaseAsyncSafeConnectorSaveGraph(IGraph).) | |
SaveGraph(IGraph, AsyncStorageCallback, Object) |
Saves a Graph to the Store asynchronously.
(Inherited from BaseAsyncSafeConnector.) | |
SerializeConfiguration |
Serializes the connection's configuration.
| |
ToString |
Gets a String which gives details of the Connection.
(Overrides ObjectToString.) | |
Update |
Executes a SPARQL Update on the native Quad Store.
| |
UpdateGraph(String, IEnumerableTriple, IEnumerableTriple) |
Updates a Graph in the Quad Store.
(Overrides BaseAsyncSafeConnectorUpdateGraph(String, IEnumerableTriple, IEnumerableTriple).) | |
UpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple) |
Updates a Graph in the Quad Store.
(Overrides BaseAsyncSafeConnectorUpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple).) | |
UpdateGraph(String, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object) |
Updates a Graph in the Store asychronously.
(Inherited from BaseAsyncSafeConnector.) | |
UpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple, AsyncStorageCallback, Object) |
Updates a Graph in the Store asychronously.
(Inherited from BaseAsyncSafeConnector.) |
Name | Description | |
---|---|---|
DefaultDB |
Default Database for Virtuoso Server Quad Store.
| |
DefaultPort |
Default Port for Virtuoso Servers.
|
This class implements IStorageProvider allowing it to be used with any of the general classes that support this interface as well as the Virtuoso specific classes.
Although this class takes a Database Name to ensure compatability with any Virtuoso installation (i.e. this allows for the Native Quad Store to be in a non-standard database) generally you should always specify DB as the Database Name parameter.
Virtuoso automatically assigns IDs to Blank Nodes input into it, these IDs are not based on the actual Blank Node ID so inputting a Blank Node with the same ID multiple times will result in multiple Nodes being created in Virtuoso. This means that data containing Blank Nodes which is stored to Virtuoso and then retrieved will have different Blank Node IDs to those input. In addition there is no guarentee that when you save a Graph containing Blank Nodes into Virtuoso that retrieving it will give the same Blank Node IDs even if the Graph being saved was originally retrieved from Virtuoso. Finally please see the remarks on the UpdateGraph() method which deal with how insertion and deletion of triples containing blank nodes into existing graphs operates.
You can use a null Uri or an empty String as a Uri to indicate that operations should affect the Default Graph. Where the argument is only a Graph a null BaseUri property indicates that the Graph affects the Default Graph.