Class BaseTransferCommand
Abstract Base Class for SPARQL Update Commands which move data between Graphs.
Inheritance
Inherited Members
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseTransferCommand : SparqlUpdateCommand
Constructors
| Improve this Doc View SourceBaseTransferCommand(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. |
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. |
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 SourceAffectsSingleGraph
Gets whether the Command affects a Single Graph.
Declaration
public override bool AffectsSingleGraph { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceDestinationGraphName
Name of the destination graph.
Declaration
public IRefNode DestinationGraphName { get; }
Property Value
Type | Description |
---|---|
IRefNode |
DestinationUri
URI of the Destination Graph.
Declaration
[Obsolete("Replaced by DestinationGraphName")]
public Uri DestinationUri { get; }
Property Value
Type | Description |
---|---|
System.Uri |
Silent
Whether errors during evaluation should be suppressed.
Declaration
public bool Silent { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SourceGraphName
Name of the source graph.
Declaration
public IRefNode SourceGraphName { get; }
Property Value
Type | Description |
---|---|
IRefNode |
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 SourceAffectsGraph(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
| Improve this Doc View SourceAffectsGraph(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
| Improve this Doc View SourceToString()
Gets the String representation of the Command.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |