Show / Hide Table of Contents

Class BaseTransferCommand

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

Inheritance
System.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

| Improve this Doc 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.

System.Uri sourceUri

Source Graph URI.

System.Uri destUri

Destination Graph URI.

System.Boolean silent

Whether errors should be suppressed.

| Improve this Doc 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.

System.Uri sourceUri

Source Graph URI.

System.Uri destUri

Destination Graph URI.

| Improve this Doc 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.

System.Boolean silent

Whether errors should be suppressed.

Fields

| Improve this Doc View Source

_silent

Whether errors should be suppressed.

Declaration
protected bool _silent
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

AffectsSingleGraph

Gets whether the Command affects a Single Graph.

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

DestinationGraphName

Name of the destination graph.

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

DestinationUri

URI of the Destination Graph.

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

Silent

Whether errors during evaluation should be suppressed.

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

SourceGraphName

Name of the source graph.

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

SourceUri

URI of the Source Graph.

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

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
    • BaseTransferCommand(SparqlUpdateCommandType, Uri, Uri, bool)
    • BaseTransferCommand(SparqlUpdateCommandType, Uri, Uri)
    • 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