Class SparqlUpdateCommand
Base Class of SPARQL Update Commands.
Inheritance
System.Object
SparqlUpdateCommand
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Update
Assembly: dotNetRDF.dll
Syntax
public abstract class SparqlUpdateCommand
Constructors
| Improve this Doc View SourceSparqlUpdateCommand(SparqlUpdateCommandType)
Creates a new SPARQL Update Command.
Declaration
public SparqlUpdateCommand(SparqlUpdateCommandType type)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateCommandType | type | Command Type. |
Properties
| Improve this Doc View SourceAffectsSingleGraph
Gets whether the Command will only affect a single Graph.
Declaration
public abstract bool AffectsSingleGraph { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
CommandType
Gets the Type of this Command.
Declaration
public SparqlUpdateCommandType CommandType { get; }
Property Value
Type | Description |
---|---|
SparqlUpdateCommandType |
Methods
| Improve this Doc View SourceAffectsGraph(Uri)
Gets whether the Command will potentially affect the given Graph.
Declaration
public abstract bool AffectsGraph(Uri graphUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | graphUri | Graph URI. |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
A return value of true does not guarantee that the Graph will be affected. Some Commands (e.g. DROP ALL) affect all Graphs in the Dataset but the command itself doesn't know whether a Graph with the given URI is actually present in the dataset to which it is applied.
|
Improve this Doc
View Source
Evaluate(SparqlUpdateEvaluationContext)
Evaluates the Command in the given Context.
Declaration
public abstract void Evaluate(SparqlUpdateEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateEvaluationContext | context | Evaluation Context. |
Optimise(IQueryOptimiser)
Optimises the Command.
Declaration
public virtual void Optimise(IQueryOptimiser optimiser)
Parameters
Type | Name | Description |
---|---|---|
IQueryOptimiser | optimiser |
Process(ISparqlUpdateProcessor)
Processes the Command Set using the given Update Processor.
Declaration
public abstract void Process(ISparqlUpdateProcessor processor)
Parameters
Type | Name | Description |
---|---|---|
ISparqlUpdateProcessor | processor | Update Processor. |
ToString()
Gets the String representation of the Command.
Declaration
public abstract override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()