Class LoadCommand
Represents the SPARQL Update LOAD command.
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)
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRDF.dll
Syntax
public class LoadCommand : SparqlUpdateCommand
Constructors
| Improve this Doc View SourceLoadCommand(Uri)
Creates a new LOAD command which operates on the Default Graph.
Declaration
public LoadCommand(Uri sourceUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | sourceUri | Source URI to load data from. |
LoadCommand(Uri, Boolean)
Creates a new LOAD command.
Declaration
public LoadCommand(Uri sourceUri, bool silent)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | sourceUri | Source URI to load data from. |
System.Boolean | silent | Whether errors loading should be suppressed. |
LoadCommand(Uri, Uri)
Creates a new LOAD command.
Declaration
public LoadCommand(Uri sourceUri, Uri targetUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | sourceUri | Source URI to load data from. |
System.Uri | targetUri | Target URI for the Graph to store data in. |
LoadCommand(Uri, Uri, Boolean)
Creates a new LOAD command.
Declaration
public LoadCommand(Uri sourceUri, Uri graphUri, bool silent)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | sourceUri | Source URI to load data from. |
System.Uri | graphUri | Target URI for the Graph to store data in. |
System.Boolean | silent | Whether errors loading should be suppressed. |
Properties
| Improve this Doc View SourceAffectsSingleGraph
Gets whether the Command affects a specific Graph.
Declaration
public override bool AffectsSingleGraph { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceSilent
Gets whether errors loading the data are suppressed.
Declaration
public bool Silent { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SourceUri
Gets the URI that data is loaded from.
Declaration
public Uri SourceUri { get; }
Property Value
Type | Description |
---|---|
System.Uri |
TargetUri
Gets the URI of the Graph to load data into.
Declaration
public Uri TargetUri { get; }
Property Value
Type | Description |
---|---|
System.Uri |
Methods
| Improve this Doc View SourceAffectsGraph(Uri)
Gets whether the Command affects a given Graph.
Declaration
public override bool AffectsGraph(Uri graphUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | graphUri | Graph URI. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceEvaluate(SparqlUpdateEvaluationContext)
Evaluates the Command in the given Context.
Declaration
public override void Evaluate(SparqlUpdateEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateEvaluationContext | context | Evaluation Context. |
Overrides
| Improve this Doc View SourceProcess(ISparqlUpdateProcessor)
Processes the Command using the given Update Processor.
Declaration
public override void Process(ISparqlUpdateProcessor processor)
Parameters
Type | Name | Description |
---|---|---|
ISparqlUpdateProcessor | processor | SPARQL Update Processor. |
Overrides
| Improve this Doc View SourceToString()
Gets the String representation of the Command.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |