Class LoadCommand
Represents the SPARQL Update LOAD command.
Inherited Members
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRdf.dll
Syntax
public class LoadCommand : SparqlUpdateCommand
Constructors
| Improve this Doc View SourceLoadCommand(Uri, bool)
Creates a new LOAD command.
Declaration
[Obsolete("Replaced by LoadCommand(Uri, IRefNode, bool Loader)")]
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, bool, Loader)
Creates a new LOAD command.
Declaration
[Obsolete("Replaced by LoadCommand(Uri, IRefNode, bool Loader)")]
public LoadCommand(Uri sourceUri, Uri graphUri, bool silent, Loader loader = null)
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. |
Loader | loader | The loader to use for retrieving and parsing data. |
LoadCommand(Uri, Uri)
Creates a new LOAD command.
Declaration
[Obsolete("Replaced by LoadCommand(Uri, IRefNode, bool Loader)")]
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, IRefNode, bool, Loader)
Creates a new LOAD command.
Declaration
public LoadCommand(Uri sourceUri, IRefNode graphName = null, bool silent = false, Loader loader = null)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | sourceUri | Source URI to load data from. |
IRefNode | graphName | Name of the graph to store data in. If null or omitted, the target is the default graph. |
System.Boolean | silent | Whether errors loading should be suppressed. |
Loader | loader | The loader to use for retrieving and parsing data. |
LoadCommand(Uri)
Creates a new LOAD command which operates on the Default Graph.
Declaration
[Obsolete("Replaced by LoadCommand(Uri, IRefNode, bool Loader)")]
public LoadCommand(Uri sourceUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | sourceUri | Source URI to load data from. |
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 SourceLoader
Get the loader to use for retrieving and parsing the data.
Declaration
public Loader Loader { get; }
Property Value
Type | Description |
---|---|
Loader |
Silent
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 |
TargetGraphName
Get the name of the graph to load data into.
Declaration
public IRefNode TargetGraphName { get; }
Property Value
Type | Description |
---|---|
IRefNode |
TargetUri
Gets the URI of the Graph to load data into.
Declaration
[Obsolete("Replaced by TargetGraphName")]
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
[Obsolete("Replaced by AffectsGraph(IRefNode)")]
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 SourceAffectsGraph(IRefNode)
Gets whether the Command will potentially affect the given Graph.
Declaration
public override bool AffectsGraph(IRefNode graphName)
Parameters
Type | Name | Description |
---|---|---|
IRefNode | graphName | Graph name. |
Returns
Type | Description |
---|---|
System.Boolean |
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 |
---|---|
string |