Show / Hide Table of Contents

Class BaseTransferCommand

Abstract Base Class for SPARQL Update Commands which move data between Graphs.

Inheritance
object
SparqlUpdateCommand
BaseTransferCommand
AddCommand
CopyCommand
MoveCommand
Inherited Members
SparqlUpdateCommand.CommandType
SparqlUpdateCommand.Optimise(IQueryOptimiser)
SparqlUpdateCommand.Process(ISparqlUpdateProcessor)
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 abstract class BaseTransferCommand : SparqlUpdateCommand

Constructors

| Edit this page View Source

BaseTransferCommand(SparqlUpdateCommandType, Uri, Uri)

Creates a new Transfer Command.

Declaration
[Obsolete("Replaced by BaseTransferCommand(SparqlUpdateCommandType, IRefNode, IRefNode, bool)")]
protected BaseTransferCommand(SparqlUpdateCommandType type, Uri sourceUri, Uri destUri)
Parameters
Type Name Description
SparqlUpdateCommandType type

Command Type.

Uri sourceUri

Source Graph URI.

Uri destUri

Destination Graph URI.

| Edit this page View Source

BaseTransferCommand(SparqlUpdateCommandType, Uri, Uri, bool)

Creates a new Transfer Command.

Declaration
[Obsolete("Replaced by BaseTransferCommand(SparqlUpdateCommandType, IRefNode, IRefNode, bool)")]
protected BaseTransferCommand(SparqlUpdateCommandType type, Uri sourceUri, Uri destUri, bool silent)
Parameters
Type Name Description
SparqlUpdateCommandType type

Command Type.

Uri sourceUri

Source Graph URI.

Uri destUri

Destination Graph URI.

bool silent

Whether errors should be suppressed.

| Edit this page View Source

BaseTransferCommand(SparqlUpdateCommandType, IRefNode, IRefNode, bool)

Creates a new Transfer Command.

Declaration
protected BaseTransferCommand(SparqlUpdateCommandType type, IRefNode sourceGraphName, IRefNode destGraphName, bool silent = false)
Parameters
Type Name Description
SparqlUpdateCommandType type

Command Type.

IRefNode sourceGraphName

Source Graph name.

IRefNode destGraphName

Destination Graph name.

bool silent

Whether errors should be suppressed.

Fields

| Edit this page View Source

_silent

Whether errors should be suppressed.

Declaration
protected bool _silent
Field Value
Type Description
bool

Properties

| Edit this page View Source

AffectsSingleGraph

Gets whether the Command affects a Single Graph.

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

DestinationGraphName

Name of the destination graph.

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

DestinationUri

URI of the Destination Graph.

Declaration
[Obsolete("Replaced by DestinationGraphName")]
public Uri DestinationUri { get; }
Property Value
Type Description
Uri
| Edit this page View Source

Silent

Whether errors during evaluation should be suppressed.

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

SourceGraphName

Name of the source graph.

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

SourceUri

URI of the Source Graph.

Declaration
[Obsolete("Replaced by SourceGraphName")]
public Uri SourceUri { 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

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
    • BaseTransferCommand(SparqlUpdateCommandType, Uri, Uri)
    • BaseTransferCommand(SparqlUpdateCommandType, Uri, Uri, bool)
    • BaseTransferCommand(SparqlUpdateCommandType, IRefNode, IRefNode, bool)
  • Fields
    • _silent
  • Properties
    • AffectsSingleGraph
    • DestinationGraphName
    • DestinationUri
    • Silent
    • SourceGraphName
    • SourceUri
  • Methods
    • AffectsGraph(Uri)
    • AffectsGraph(IRefNode)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX