Show / Hide Table of Contents

Class LoadCommand

Represents the SPARQL Update LOAD command.

Inheritance
System.Object
SparqlUpdateCommand
LoadCommand
Inherited Members
SparqlUpdateCommand.CommandType
SparqlUpdateCommand.Optimise(IQueryOptimiser)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRdf.dll
Syntax
public class LoadCommand : SparqlUpdateCommand

Constructors

| Improve this Doc View Source

LoadCommand(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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 Source

AffectsSingleGraph

Gets whether the Command affects a specific Graph.

Declaration
public override bool AffectsSingleGraph { get; }
Property Value
Type Description
System.Boolean
Overrides
SparqlUpdateCommand.AffectsSingleGraph
| Improve this Doc View Source

Loader

Get the loader to use for retrieving and parsing the data.

Declaration
public Loader Loader { get; }
Property Value
Type Description
Loader
| Improve this Doc View Source

Silent

Gets whether errors loading the data are suppressed.

Declaration
public bool Silent { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SourceUri

Gets the URI that data is loaded from.

Declaration
public Uri SourceUri { get; }
Property Value
Type Description
System.Uri
| Improve this Doc View Source

TargetGraphName

Get the name of the graph to load data into.

Declaration
public IRefNode TargetGraphName { get; }
Property Value
Type Description
IRefNode
| Improve this Doc View Source

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 Source

AffectsGraph(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
SparqlUpdateCommand.AffectsGraph(Uri)
| Improve this Doc View Source

AffectsGraph(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
SparqlUpdateCommand.AffectsGraph(IRefNode)
| Improve this Doc View Source

Process(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
SparqlUpdateCommand.Process(ISparqlUpdateProcessor)
| Improve this Doc View Source

ToString()

Gets the String representation of the Command.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
SparqlUpdateCommand.ToString()

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • LoadCommand(Uri, bool)
    • LoadCommand(Uri, Uri, bool, Loader)
    • LoadCommand(Uri, Uri)
    • LoadCommand(Uri, IRefNode, bool, Loader)
    • LoadCommand(Uri)
  • Properties
    • AffectsSingleGraph
    • Loader
    • Silent
    • SourceUri
    • TargetGraphName
    • TargetUri
  • Methods
    • AffectsGraph(Uri)
    • AffectsGraph(IRefNode)
    • Process(ISparqlUpdateProcessor)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX