Class ReadWriteSparqlConnector
Class for connecting to any SPARQL server that provides both a query and update endpoint.
Inheritance
System.Object
ReadWriteSparqlConnector
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: dotNetRDF.dll
Syntax
public class ReadWriteSparqlConnector : SparqlConnector, IConfigurationSerializable, IUpdateableStorage, IQueryableStorage, IStorageProvider, IStorageCapabilities, IDisposable
Constructors
|
Improve this Doc
View Source
ReadWriteSparqlConnector(Uri, Uri)
Creates a new connection.
Declaration
public ReadWriteSparqlConnector(Uri queryEndpoint, Uri updateEndpoint)
Parameters
Type |
Name |
Description |
System.Uri |
queryEndpoint |
Query Endpoint. |
System.Uri |
updateEndpoint |
Update Endpoint. |
|
Improve this Doc
View Source
ReadWriteSparqlConnector(Uri, Uri, SparqlConnectorLoadMethod)
Creates a new connection.
Declaration
public ReadWriteSparqlConnector(Uri queryEndpoint, Uri updateEndpoint, SparqlConnectorLoadMethod mode)
Parameters
Type |
Name |
Description |
System.Uri |
queryEndpoint |
Query Endpoint. |
System.Uri |
updateEndpoint |
Update Endpoint. |
SparqlConnectorLoadMethod |
mode |
Method for loading graphs. |
|
Improve this Doc
View Source
ReadWriteSparqlConnector(SparqlRemoteEndpoint, SparqlRemoteUpdateEndpoint)
Creates a new connection.
Declaration
public ReadWriteSparqlConnector(SparqlRemoteEndpoint queryEndpoint, SparqlRemoteUpdateEndpoint updateEndpoint)
Parameters
|
Improve this Doc
View Source
ReadWriteSparqlConnector(SparqlRemoteEndpoint, SparqlRemoteUpdateEndpoint, SparqlConnectorLoadMethod)
Creates a new connection.
Declaration
public ReadWriteSparqlConnector(SparqlRemoteEndpoint queryEndpoint, SparqlRemoteUpdateEndpoint updateEndpoint, SparqlConnectorLoadMethod mode)
Parameters
Properties
|
Improve this Doc
View Source
DeleteSupported
Gets that deleting graphs is supported.
Declaration
public override bool DeleteSupported { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
IOBehaviour
Gets the IO behaviour for the store.
Declaration
public override IOBehaviour IOBehaviour { get; }
Property Value
Overrides
|
Improve this Doc
View Source
IsReadOnly
Gets that the store is not read-only.
Declaration
public override bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Timeout
Gets/Sets the HTTP Timeout in milliseconds used for communicating with the SPARQL Endpoint.
Declaration
public override int Timeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
UpdateEndpoint
Declaration
[TypeConverter(typeof(ExpandableObjectConverter))]
public SparqlRemoteUpdateEndpoint UpdateEndpoint { get; }
Property Value
|
Improve this Doc
View Source
UpdateSupported
Gets that triple level updates are supported, see the remarks section of the
ReadWriteSparqlConnector for exactly what is and isn't supported.
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 |
System.String |
graphUri |
URI of the graph to delete. |
Overrides
|
Improve this Doc
View Source
DeleteGraph(Uri)
Deletes a graph from the store.
Declaration
public override void DeleteGraph(Uri graphUri)
Parameters
Type |
Name |
Description |
System.Uri |
graphUri |
URI of the graph to delete. |
Overrides
|
Improve this Doc
View Source
SaveGraph(IGraph)
Saves a graph to the store.
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 override void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
Overrides
|
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 |
|
Overrides
|
Improve this Doc
View Source
Update(String)
Makes a SPARQL Update against the store.
Declaration
public void Update(string sparqlUpdate)
Parameters
Type |
Name |
Description |
System.String |
sparqlUpdate |
SPARQL Update. |
|
Improve this Doc
View Source
UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>)
Updates a graph in the store.
Declaration
public override void UpdateGraph(string graphUri, IEnumerable<Triple> additions, IEnumerable<Triple> removals)
Parameters
Type |
Name |
Description |
System.String |
graphUri |
URI of the graph to update. |
System.Collections.Generic.IEnumerable<Triple> |
additions |
Triples to add. |
System.Collections.Generic.IEnumerable<Triple> |
removals |
Triples to remove. |
Overrides
|
Improve this Doc
View Source
UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>)
Updates a graph in the store.
Declaration
public override void UpdateGraph(Uri graphUri, IEnumerable<Triple> additions, IEnumerable<Triple> removals)
Parameters
Type |
Name |
Description |
System.Uri |
graphUri |
URI of the graph to update. |
System.Collections.Generic.IEnumerable<Triple> |
additions |
Triples to add. |
System.Collections.Generic.IEnumerable<Triple> |
removals |
Triples to remove. |
Overrides
Implements
System.IDisposable
Extension Methods