Class MoveCommand
Represents a SPARQL Update MOVE Command.
Inherited Members
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 MoveCommand : BaseTransferCommand
Constructors
| Improve this Doc View SourceMoveCommand(Uri, Uri, bool)
Creates a Command which Moves data from one Graph to another overwriting the destination Graph and deleting the source Graph.
Declaration
[Obsolete("Replaced by MoveCommand(IRefNode, IRefNode, bool)")]
public MoveCommand(Uri sourceUri, Uri destUri, bool silent)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | sourceUri | Source Graph URI. |
System.Uri | destUri | Destination Graph URI. |
System.Boolean | silent | Whether errors should be suppressed. |
MoveCommand(Uri, Uri)
Creates a Command which Moves data from one Graph to another overwriting the destination Graph and deleting the source Graph.
Declaration
[Obsolete("Replaced by MoveCommand(IRefNode, IRefNode, bool)")]
public MoveCommand(Uri sourceUri, Uri destUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | sourceUri | Source Graph URI. |
System.Uri | destUri | Destination Graph URI. |
MoveCommand(IRefNode, IRefNode, bool)
Creates a command which moves data from one graph to another, overwriting the destination graph and deleting the source graph.
Declaration
public MoveCommand(IRefNode sourceGraphName, IRefNode destinationGraphName, bool silent = false)
Parameters
Type | Name | Description |
---|---|---|
IRefNode | sourceGraphName | Name of the source graph. |
IRefNode | destinationGraphName | Name of the destination graph. |
System.Boolean | silent | Whether errors should be suppressed. |
Methods
| 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. |