Show / Hide Table of Contents

Class FusekiConnector

Class for connecting to any dataset that can be exposed via Fuseki.
Inheritance
System.Object
BaseHttpConnector
BaseAsyncHttpConnector
SparqlHttpProtocolConnector
FusekiConnector
Implements
IAsyncUpdateableStorage
IAsyncQueryableStorage
IAsyncStorageProvider
IConfigurationSerializable
IUpdateableStorage
IQueryableStorage
IStorageProvider
IStorageCapabilities
System.IDisposable
Inherited Members
SparqlHttpProtocolConnector._serviceUri
SparqlHttpProtocolConnector._writerMimeTypeDefinition
SparqlHttpProtocolConnector.DeleteSupported
SparqlHttpProtocolConnector.IsReady
SparqlHttpProtocolConnector.IsReadOnly
SparqlHttpProtocolConnector.LoadGraph(IGraph, Uri)
SparqlHttpProtocolConnector.LoadGraph(IRdfHandler, Uri)
SparqlHttpProtocolConnector.LoadGraph(IGraph, String)
SparqlHttpProtocolConnector.LoadGraph(IRdfHandler, String)
SparqlHttpProtocolConnector.HasGraph(Uri)
SparqlHttpProtocolConnector.HasGraph(String)
SparqlHttpProtocolConnector.SaveGraph(IGraph)
SparqlHttpProtocolConnector.DeleteGraph(Uri)
SparqlHttpProtocolConnector.DeleteGraph(String)
SparqlHttpProtocolConnector.LoadGraph(IGraph, String, AsyncStorageCallback, Object)
SparqlHttpProtocolConnector.LoadGraph(IRdfHandler, String, AsyncStorageCallback, Object)
SparqlHttpProtocolConnector.SaveGraph(IGraph, AsyncStorageCallback, Object)
SparqlHttpProtocolConnector.DeleteGraph(String, AsyncStorageCallback, Object)
SparqlHttpProtocolConnector.Dispose()
BaseAsyncHttpConnector.ParentServer
BaseAsyncHttpConnector.AsyncParentServer
BaseAsyncHttpConnector.LoadGraph(IGraph, Uri, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.LoadGraph(IRdfHandler, Uri, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.LoadGraphAsync(HttpWebRequest, IRdfHandler, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.SaveGraphAsync(HttpWebRequest, IRdfWriter, IGraph, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.UpdateGraphAsync(HttpWebRequest, IRdfWriter, Uri, IEnumerable<Triple>, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.DeleteGraph(Uri, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.DeleteGraphAsync(HttpWebRequest, Boolean, String, AsyncStorageCallback, Object)
BaseAsyncHttpConnector.MakeRequestSequence(IEnumerable<HttpWebRequest>, AsyncStorageCallback, Object)
BaseHttpConnector.SetProxy(String)
BaseHttpConnector.SetProxy(Uri)
BaseHttpConnector.Proxy
BaseHttpConnector.ClearProxy()
BaseHttpConnector.SetProxyCredentials(String, String)
BaseHttpConnector.SetProxyCredentials(String, String, String)
BaseHttpConnector.ProxyCredentials
BaseHttpConnector.ClearProxyCredentials()
BaseHttpConnector.Timeout
BaseHttpConnector.Username
BaseHttpConnector.Password
BaseHttpConnector.ApplyRequestOptions(HttpWebRequest)
BaseHttpConnector.SerializeStandardConfig(INode, ConfigurationSerializationContext)
BaseHttpConnector.SetCredentials(String, String)
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)
Namespace: VDS.RDF.Storage
Assembly: dotNetRDF.dll
Syntax
public class FusekiConnector : SparqlHttpProtocolConnector, IAsyncUpdateableStorage, IAsyncQueryableStorage, IAsyncStorageProvider, IConfigurationSerializable, IUpdateableStorage, IQueryableStorage, IStorageProvider, IStorageCapabilities, IDisposable
Remarks

Uses all three Services provided by a Fuseki instance - Query, Update and HTTP Update.

Constructors

| Improve this Doc View Source

FusekiConnector(String, IWebProxy)

Creates a new connection to a Fuseki Server.
Declaration
public FusekiConnector(string serviceUri, IWebProxy proxy)
Parameters
Type Name Description
System.String serviceUri The /data URI of the Fuseki Server.
System.Net.IWebProxy proxy Proxy Server.
| Improve this Doc View Source

FusekiConnector(String, MimeTypeDefinition)

Creates a new connection to a Fuseki Server.
Declaration
public FusekiConnector(string serviceUri, MimeTypeDefinition writerMimeTypeDefinition = null)
Parameters
Type Name Description
System.String serviceUri The /data URI of the Fuseki Server.
MimeTypeDefinition writerMimeTypeDefinition The MIME type of the syntax to use when sending RDF data to the server. Defaults to RDF/XML.
| Improve this Doc View Source

FusekiConnector(Uri, IWebProxy)

Creates a new connection to a Fuseki Server.
Declaration
public FusekiConnector(Uri serviceUri, IWebProxy proxy)
Parameters
Type Name Description
System.Uri serviceUri The /data URI of the Fuseki Server.
System.Net.IWebProxy proxy Proxy Server.
| Improve this Doc View Source

FusekiConnector(Uri, MimeTypeDefinition)

Creates a new connection to a Fuseki Server.
Declaration
public FusekiConnector(Uri serviceUri, MimeTypeDefinition writerMimeTypeDefinition = null)
Parameters
Type Name Description
System.Uri serviceUri The /data URI of the Fuseki Server.
MimeTypeDefinition writerMimeTypeDefinition The MIME type of the syntax to use when sending RDF data to the server. Defaults to RDF/XML.

Properties

| Improve this Doc View Source

IOBehaviour

Gets the IO Behaviour of the Store.
Declaration
public override IOBehaviour IOBehaviour { get; }
Property Value
Type Description
IOBehaviour
Overrides
SparqlHttpProtocolConnector.IOBehaviour
| 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
SparqlHttpProtocolConnector.ListGraphsSupported
| Improve this Doc View Source

UpdateSupported

Returns that Triple level updates are supported using Fuseki.
Declaration
public override bool UpdateSupported { get; }
Property Value
Type Description
System.Boolean
Overrides
SparqlHttpProtocolConnector.UpdateSupported

Methods

| Improve this Doc View Source

ListGraphs()

Gets the List of Graphs from the store.
Declaration
public override IEnumerable<Uri> ListGraphs()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Uri>
Overrides
SparqlHttpProtocolConnector.ListGraphs()
| Improve this Doc View Source

ListGraphs(AsyncStorageCallback, Object)

Lists the graph sin the Store asynchronously.
Declaration
public override void ListGraphs(AsyncStorageCallback callback, object state)
Parameters
Type Name Description
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
Overrides
SparqlHttpProtocolConnector.ListGraphs(AsyncStorageCallback, Object)
| Improve this Doc View Source

Query(String)

Executes a SPARQL Query on the Fuseki store.
Declaration
public object Query(string sparqlQuery)
Parameters
Type Name Description
System.String sparqlQuery SPARQL Query.
Returns
Type Description
System.Object
| Improve this Doc View Source

Query(String, AsyncStorageCallback, Object)

Makes a SPARQL Query against the underlying store.
Declaration
public void Query(string sparqlQuery, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
System.String sparqlQuery SPARQL Query.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

Query(IRdfHandler, ISparqlResultsHandler, String)

Executes a SPARQL Query on the Fuseki store processing the results using an appropriate handler from those provided.
Declaration
public void Query(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, string sparqlQuery)
Parameters
Type Name Description
IRdfHandler rdfHandler RDF Handler.
ISparqlResultsHandler resultsHandler Results Handler.
System.String sparqlQuery SPARQL Query.
| Improve this Doc View Source

Query(IRdfHandler, ISparqlResultsHandler, String, AsyncStorageCallback, Object)

Executes a SPARQL Query on the Fuseki store processing the results using an appropriate handler from those provided.
Declaration
public void Query(IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, string sparqlQuery, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
IRdfHandler rdfHandler RDF Handler.
ISparqlResultsHandler resultsHandler Results Handler.
System.String sparqlQuery SPARQL Query.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

SerializeConfiguration(ConfigurationSerializationContext)

Serializes the connection's configuration.
Declaration
public override void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
Type Name Description
ConfigurationSerializationContext context Configuration Serialization Context.
Overrides
SparqlHttpProtocolConnector.SerializeConfiguration(ConfigurationSerializationContext)
| 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
SparqlHttpProtocolConnector.ToString()
| Improve this Doc View Source

Update(String)

Executes SPARQL Updates against the Fuseki store.
Declaration
public void Update(string sparqlUpdate)
Parameters
Type Name Description
System.String sparqlUpdate SPARQL Update.
| Improve this Doc View Source

Update(String, AsyncStorageCallback, Object)

Executes SPARQL Updates against the Fuseki store.
Declaration
public void Update(string sparqlUpdate, AsyncStorageCallback callback, object state)
Parameters
Type Name Description
System.String sparqlUpdate SPARQL Update.
AsyncStorageCallback callback Callback.
System.Object state State to pass to the callback.
| Improve this Doc View Source

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

Updates a Graph in the Fuseki 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 be added.
System.Collections.Generic.IEnumerable<Triple> removals Triples to be removed.
Overrides
SparqlHttpProtocolConnector.UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>)
| Improve this Doc View Source

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

Updates a Graph on the Fuseki Server.
Declaration
public override 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.
Overrides
SparqlHttpProtocolConnector.UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object)
| Improve this Doc View Source

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

Updates a Graph in the Fuseki 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 be added.
System.Collections.Generic.IEnumerable<Triple> removals Triples to be removed.
Overrides
SparqlHttpProtocolConnector.UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>)

Implements

IAsyncUpdateableStorage
IAsyncQueryableStorage
IAsyncStorageProvider
IConfigurationSerializable
IUpdateableStorage
IQueryableStorage
IStorageProvider
IStorageCapabilities
System.IDisposable

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FusekiConnector(String, IWebProxy)
    • FusekiConnector(String, MimeTypeDefinition)
    • FusekiConnector(Uri, IWebProxy)
    • FusekiConnector(Uri, MimeTypeDefinition)
  • Properties
    • IOBehaviour
    • ListGraphsSupported
    • UpdateSupported
  • Methods
    • ListGraphs()
    • ListGraphs(AsyncStorageCallback, Object)
    • Query(String)
    • Query(String, AsyncStorageCallback, Object)
    • Query(IRdfHandler, ISparqlResultsHandler, String)
    • Query(IRdfHandler, ISparqlResultsHandler, String, AsyncStorageCallback, Object)
    • SerializeConfiguration(ConfigurationSerializationContext)
    • ToString()
    • Update(String)
    • Update(String, AsyncStorageCallback, Object)
    • UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>)
    • UpdateGraph(String, IEnumerable<Triple>, IEnumerable<Triple>, AsyncStorageCallback, Object)
    • UpdateGraph(Uri, IEnumerable<Triple>, IEnumerable<Triple>)
  • Implements
  • Extension Methods
Back to top Generated by DocFX