Class SparqlRemoteUpdateEndpoint
A Class for connecting to a remote SPARQL Update endpoint and executing Updates against it.
Implements
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)
System.Object.ToString()
Namespace: VDS.RDF.Update
Assembly: dotNetRDF.dll
Syntax
public class SparqlRemoteUpdateEndpoint : BaseEndpoint, IConfigurationSerializable
Constructors
| Improve this Doc View SourceSparqlRemoteUpdateEndpoint(String)
Creates a new SPARQL Update Endpoint for the given URI.
Declaration
public SparqlRemoteUpdateEndpoint(string endpointUri)
Parameters
Type | Name | Description |
---|---|---|
System.String | endpointUri | Endpoint URI. |
SparqlRemoteUpdateEndpoint(Uri)
Creates a new SPARQL Update Endpoint for the given URI.
Declaration
public SparqlRemoteUpdateEndpoint(Uri endpointUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | endpointUri | Endpoint URI. |
Properties
| Improve this Doc View SourceHttpMode
Gets/Sets the HTTP Method used for requests.
Declaration
public override string HttpMode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Remarks
The SPARQL 1.1 Protocol specification mandates that Update requests may only be POSTed, attempting to alter the HTTP Mode to anything other than POST will result in a SparqlUpdateException.
Methods
| Improve this Doc View SourceSerializeConfiguration(ConfigurationSerializationContext)
Serializes configuration for the endpoint.
Declaration
public override void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
Type | Name | Description |
---|---|---|
ConfigurationSerializationContext | context | Serialization Context. |
Overrides
| Improve this Doc View SourceUpdate(String)
Makes an update request to the remote endpoint.
Declaration
public void Update(string sparqlUpdate)
Parameters
Type | Name | Description |
---|---|---|
System.String | sparqlUpdate | SPARQL Update. |
Update(String, UpdateCallback, Object)
Makes an update request asynchronously to the remote endpoint.
Declaration
public void Update(string sparqlUpdate, UpdateCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
System.String | sparqlUpdate | SPARQL Update. |
UpdateCallback | callback | Callback to invoke when the update completes. |
System.Object | state | State to pass to the callback. |