SparqlConnector Class |
Namespace: VDS.RDF.Storage
The SparqlConnector type exposes the following members.
Name | Description | |
---|---|---|
SparqlConnector(Uri) |
Creates a new SPARQL Connector which uses the given SPARQL Endpoint.
| |
SparqlConnector(SparqlRemoteEndpoint) |
Creates a new SPARQL Connector which uses the given SPARQL Endpoint.
| |
SparqlConnector(Uri, SparqlConnectorLoadMethod) |
Creates a new SPARQL Connector which uses the given SPARQL Endpoint.
| |
SparqlConnector(SparqlRemoteEndpoint, SparqlConnectorLoadMethod) |
Creates a new SPARQL Connector which uses the given SPARQL Endpoint.
|
Name | Description | |
---|---|---|
DeleteSupported |
Returns that deleting graphs is not supported.
| |
Endpoint |
Gets the underlying SparqlRemoteEndpoint which this class is a wrapper around.
| |
IOBehaviour |
Gets the IO Behaviour of SPARQL Connections.
| |
IsReadOnly |
Returns that the Connection is read-only.
| |
IsReady |
Returns that the Connection is ready.
| |
ListGraphsSupported |
Returns that listing graphs is supported.
| |
ParentServer |
Gets the parent server (if any).
| |
SkipLocalParsing |
Controls whether the Query will be parsed locally to accurately determine its Query Type for processing the response.
| |
Timeout |
Gets/Sets the HTTP Timeout in milliseconds used for communicating with the SPARQL Endpoint.
| |
UpdateSupported |
Returns that Updates are not supported since this connection is read-only.
|
Name | Description | |
---|---|---|
DeleteGraph(String) |
Throws an exception as this connector provides a read-only connection.
| |
DeleteGraph(Uri) |
Throws an exception as this connector provides a read-only connection.
| |
Dispose |
Disposes of the Connection.
| |
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.
| |
LoadGraph(IGraph, String) |
Loads a Graph from the SPARQL Endpoint.
| |
LoadGraph(IGraph, Uri) |
Loads a Graph from the SPARQL Endpoint.
| |
LoadGraph(IRdfHandler, String) |
Loads a Graph from the SPARQL Endpoint.
| |
LoadGraph(IRdfHandler, Uri) |
Loads a Graph from the SPARQL Endpoint.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Query(String) |
Makes a Query against the SPARQL Endpoint.
| |
Query(IRdfHandler, ISparqlResultsHandler, String) |
Makes a Query against the SPARQL Endpoint processing the results with an appropriate handler from those provided.
| |
SaveGraph |
Throws an error since this Manager is read-only.
| |
SerializeConfiguration |
Serializes the connection's configuration.
| |
ToString |
Gets a String which gives details of the Connection.
(Overrides ObjectToString.) | |
UpdateGraph(String, IEnumerableTriple, IEnumerableTriple) |
Throws an error since this Manager is read-only.
| |
UpdateGraph(Uri, IEnumerableTriple, IEnumerableTriple) |
Throws an error since this Manager is read-only.
|
Name | Description | |
---|---|---|
_endpoint |
Underlying SPARQL query endpoint.
| |
_mode |
Method for loading graphs.
| |
_skipLocalParsing |
Whether to skip local parsing.
| |
_timeout |
Timeout for endpoints.
|
This class is effectively a read-only wrapper around a SparqlRemoteEndpoint using it with it's default settings, if you only need to query an endpoint and require more control over the settings used to access the endpoint you should use that class directly or use the constructors which allow you to provide your own pre-configure SparqlRemoteEndpoint instance.
Unlike other HTTP based connectors this connector does not derive from BaseHttpConnector - if you need to specify proxy information you should do so on the SPARQL Endpoint you are wrapping either by providing a SparqlRemoteEndpoint instance pre-configured with the proxy settings or by accessing the endpoint via the Endpoint property and programmatically adding the settings.