Class VirtuosoManager
A Manager for accessing the Native Virtuoso Quad Store.
Inheritance
System.Object
VirtuosoManager
Implements
System.IDisposable
Assembly: dotNetRDF.Data.Virtuoso.dll
Syntax
public class VirtuosoManager : BaseAsyncSafeConnector, IAsyncStorageProvider, IUpdateableStorage, IQueryableStorage, IStorageProvider, IStorageCapabilities, IConfigurationSerializable
Constructors
|
Improve this Doc
View Source
VirtuosoManager(String)
Creates a Manager for a Virtuoso Native Quad Store.
Declaration
public VirtuosoManager(String connectionString)
Parameters
Type |
Name |
Description |
String |
connectionString |
Connection String. |
|
Improve this Doc
View Source
VirtuosoManager(String, String, String)
Creates a Manager for a Virtuoso Native Quad Store.
Declaration
public VirtuosoManager(String db, String user, String password)
Parameters
Type |
Name |
Description |
String |
db |
Database Name. |
String |
user |
Username. |
String |
password |
Password. |
|
Improve this Doc
View Source
VirtuosoManager(String, String, String, Int32)
Creates a Manager for a Virtuoso Native Quad Store.
Declaration
public VirtuosoManager(String db, String user, String password, int timeout)
Parameters
Type |
Name |
Description |
String |
db |
Database Name. |
String |
user |
Username. |
String |
password |
Password. |
System.Int32 |
timeout |
Connection Timeout in Seconds. |
|
Improve this Doc
View Source
VirtuosoManager(String, Int32, String, String, String)
Creates a Manager for a Virtuoso Native Quad Store.
Declaration
public VirtuosoManager(String server, int port, String db, String user, String password)
Parameters
Type |
Name |
Description |
String |
server |
Server. |
System.Int32 |
port |
Port. |
String |
db |
Database Name. |
String |
user |
Username. |
String |
password |
Password. |
|
Improve this Doc
View Source
VirtuosoManager(String, Int32, String, String, String, Int32)
Creates a Manager for a Virtuoso Native Quad Store.
Declaration
public VirtuosoManager(String server, int port, String db, String user, String password, int timeout)
Parameters
Type |
Name |
Description |
String |
server |
Server. |
System.Int32 |
port |
Port. |
String |
db |
Database Name. |
String |
user |
Username. |
String |
password |
Password. |
System.Int32 |
timeout |
Connection Timeout in Seconds. |
Fields
|
Improve this Doc
View Source
DefaultDB
Default Database for Virtuoso Server Quad Store.
Declaration
public const String DefaultDB = null
Field Value
|
Improve this Doc
View Source
DefaultPort
Default Port for Virtuoso Servers.
Declaration
public const int DefaultPort = null
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
DeleteSupported
Returns that deleting Graphs is supported.
Declaration
public override bool DeleteSupported { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
HasActiveTransaction
Gets whether there is any active transaction on the Virtuoso database.
Declaration
public bool HasActiveTransaction { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HasOpenConnection
Gets whether there is an active connection to the Virtuoso database.
Declaration
public bool HasOpenConnection { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IOBehaviour
Gets the IO Behaviour of the store.
Declaration
public override IOBehaviour IOBehaviour { get; }
Property Value
Overrides
|
Improve this Doc
View Source
IsReadOnly
Returns that the Manager is not read-only.
Declaration
public override bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
IsReady
Returns that the Manager is ready.
Declaration
public override bool IsReady { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
ListGraphsSupported
Returns that listing graphs is supported.
Declaration
public override bool ListGraphsSupported { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
UpdateSupported
Indicates that Updates are supported by the Virtuoso Native Quad Store.
Declaration
public override bool UpdateSupported { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
|
Improve this Doc
View Source
DeleteGraph(String)
Deletes a Graph from the store.
Declaration
public override void DeleteGraph(String graphUri)
Parameters
Type |
Name |
Description |
String |
graphUri |
URI of the Graph to delete. |
|
Improve this Doc
View Source
DeleteGraph(Uri)
Deletes a Graph from the Virtuoso store.
Declaration
public override void DeleteGraph(Uri graphUri)
Parameters
Type |
Name |
Description |
Uri |
graphUri |
URI of the Graph to delete. |
|
Improve this Doc
View Source
Dispose()
Disposes of the Manager.
Declaration
public override void Dispose()
Overrides
|
Improve this Doc
View Source
ListGraphs()
Lists the Graphs in the store.
Declaration
public override IEnumerable<Uri> ListGraphs()
Returns
Type |
Description |
IEnumerable<Uri> |
|
Overrides
|
Improve this Doc
View Source
LoadGraph(IGraph, String)
Loads a Graph from the Quad Store.
Declaration
public override void LoadGraph(IGraph g, String graphUri)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph to load into. |
String |
graphUri |
URI of the Graph to Load. |
|
Improve this Doc
View Source
LoadGraph(IGraph, Uri)
Loads a Graph from the Quad Store.
Declaration
public override void LoadGraph(IGraph g, Uri graphUri)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph to load into. |
Uri |
graphUri |
URI of the Graph to Load. |
|
Improve this Doc
View Source
LoadGraph(IRdfHandler, String)
Loads a Graph from the Quad Store.
Declaration
public override void LoadGraph(IRdfHandler handler, String graphUri)
Parameters
Type |
Name |
Description |
IRdfHandler |
handler |
RDF Handler. |
String |
graphUri |
URI of the Graph to Load. |
|
Improve this Doc
View Source
LoadGraph(IRdfHandler, Uri)
Loads a Graph from the Quad Store.
Declaration
public override void LoadGraph(IRdfHandler handler, Uri graphUri)
Parameters
Type |
Name |
Description |
IRdfHandler |
handler |
RDF Handler. |
Uri |
graphUri |
URI of the Graph to Load. |
|
Improve this Doc
View Source
Query(String)
Executes a SPARQL Query on the native Quad Store.
Declaration
public Object Query(String sparqlQuery)
Parameters
Type |
Name |
Description |
String |
sparqlQuery |
SPARQL Query to execute. |
Returns
Exceptions
|
Improve this Doc
View Source
Query(IRdfHandler, ISparqlResultsHandler, String)
Executes a SPARQL Query on the native Quad Store processing the results with an appropriate handler from those provided.
Declaration
public void Query(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, String sparqlQuery)
Parameters
Remarks
Exceptions
|
Improve this Doc
View Source
SaveGraph(IGraph)
Saves a Graph into the Quad Store (Warning: Completely replaces any existing Graph with the same URI).
Declaration
public override void SaveGraph(IGraph g)
Parameters
Type |
Name |
Description |
IGraph |
g |
Graph to save. |
Overrides
|
Improve this Doc
View Source
SerializeConfiguration(ConfigurationSerializationContext)
Serializes the connection's configuration.
Declaration
public void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
|
Improve this Doc
View Source
ToString()
Gets a String which gives details of the Connection.
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Update(String)
Executes a SPARQL Update on the native Quad Store.
Declaration
public void Update(String sparqlUpdate)
Parameters
Type |
Name |
Description |
String |
sparqlUpdate |
SPARQL Update to execute. |
Exceptions
|
Improve this Doc
View Source
UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>)
Updates a Graph in the Quad Store.
Declaration
public override void UpdateGraph(String graphUri, IEnumerable<Triple> additions, IEnumerable<Triple> removals)
Parameters
Type |
Name |
Description |
String |
graphUri |
Graph Uri of the Graph to update. |
IEnumerable<Triple> |
additions |
Triples to be added. |
IEnumerable<Triple> |
removals |
Triples to be removed. |
|
Improve this Doc
View Source
UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>)
Updates a Graph in the Quad Store.
Declaration
public override void UpdateGraph(Uri graphUri, IEnumerable<Triple> additions, IEnumerable<Triple> removals)
Parameters
Type |
Name |
Description |
Uri |
graphUri |
Graph Uri of the Graph to update. |
IEnumerable<Triple> |
additions |
Triples to be added. |
IEnumerable<Triple> |
removals |
Triples to be removed. |
Implements
System.IDisposable
Extension Methods