Show / Hide Table of Contents

Class LoadCommand

Represents the SPARQL Update LOAD command.

Inheritance
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

| Edit this page 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
Uri sourceUri

Source URI to load data from.

| Edit this page 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
Uri sourceUri

Source URI to load data from.

bool silent

Whether errors loading should be suppressed.

| Edit this page 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
Uri sourceUri

Source URI to load data from.

Uri targetUri

Target URI for the Graph to store data in.

| Edit this page 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
Uri sourceUri

Source URI to load data from.

Uri graphUri

Target URI for the Graph to store data in.

bool silent

Whether errors loading should be suppressed.

Loader loader

The loader to use for retrieving and parsing data.

| Edit this page 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
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.

bool silent

Whether errors loading should be suppressed.

Loader loader

The loader to use for retrieving and parsing data.

Properties

| Edit this page View Source

AffectsSingleGraph

Gets whether the Command affects a specific Graph.

Declaration
public override bool AffectsSingleGraph { get; }
Property Value
Type Description
bool
Overrides
SparqlUpdateCommand.AffectsSingleGraph
| Edit this page View Source

Loader

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

Declaration
public Loader Loader { get; }
Property Value
Type Description
Loader
| Edit this page View Source

Silent

Gets whether errors loading the data are suppressed.

Declaration
public bool Silent { get; }
Property Value
Type Description
bool
| Edit this page View Source

SourceUri

Gets the URI that data is loaded from.

Declaration
public Uri SourceUri { get; }
Property Value
Type Description
Uri
| Edit this page View Source

TargetGraphName

Get the name of the graph to load data into.

Declaration
public IRefNode TargetGraphName { get; }
Property Value
Type Description
IRefNode
| Edit this page 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
Uri

Methods

| Edit this page 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
Uri graphUri

Graph URI.

Returns
Type Description
bool
Overrides
SparqlUpdateCommand.AffectsGraph(Uri)
| Edit this page 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
bool
Overrides
SparqlUpdateCommand.AffectsGraph(IRefNode)
| Edit this page 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)
| Edit this page 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)
  • Edit this page
  • View Source
In this article
  • Constructors
    • LoadCommand(Uri)
    • LoadCommand(Uri, bool)
    • LoadCommand(Uri, Uri)
    • LoadCommand(Uri, Uri, bool, Loader)
    • LoadCommand(Uri, IRefNode, bool, Loader)
  • Properties
    • AffectsSingleGraph
    • Loader
    • Silent
    • SourceUri
    • TargetGraphName
    • TargetUri
  • Methods
    • AffectsGraph(Uri)
    • AffectsGraph(IRefNode)
    • Process(ISparqlUpdateProcessor)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX