Show / Hide Table of Contents

Class SparqlUpdateCommand

Base Class of SPARQL Update Commands.
Inheritance
System.Object
SparqlUpdateCommand
BaseModificationCommand
BaseTransferCommand
ClearCommand
CreateCommand
DeleteDataCommand
DropCommand
InsertDataCommand
LoadCommand
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 Source

SparqlUpdateCommand(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 Source

AffectsSingleGraph

Gets whether the Command will only affect a single Graph.
Declaration
public abstract bool AffectsSingleGraph { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CommandType

Gets the Type of this Command.
Declaration
public SparqlUpdateCommandType CommandType { get; }
Property Value
Type Description
SparqlUpdateCommandType

Methods

| Improve this Doc View Source

AffectsGraph(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.
| Improve this Doc View Source

Optimise(IQueryOptimiser)

Optimises the Command.
Declaration
public virtual void Optimise(IQueryOptimiser optimiser)
Parameters
Type Name Description
IQueryOptimiser optimiser
| Improve this Doc View Source

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

ToString()

Gets the String representation of the Command.
Declaration
public abstract override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • SparqlUpdateCommand(SparqlUpdateCommandType)
  • Properties
    • AffectsSingleGraph
    • CommandType
  • Methods
    • AffectsGraph(Uri)
    • Evaluate(SparqlUpdateEvaluationContext)
    • Optimise(IQueryOptimiser)
    • Process(ISparqlUpdateProcessor)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX