Show / Hide Table of Contents

Class SparqlUpdateCommandSet

Represents a sequence of SPARQL Update Commands to be executed on a Dataset.
Inheritance
System.Object
SparqlUpdateCommandSet
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 class SparqlUpdateCommandSet

Constructors

| Improve this Doc View Source

SparqlUpdateCommandSet()

Creates a new empty Command Set.
Declaration
public SparqlUpdateCommandSet()
| Improve this Doc View Source

SparqlUpdateCommandSet(IEnumerable<SparqlUpdateCommand>)

Creates a new Command Set with the given Commands.
Declaration
public SparqlUpdateCommandSet(IEnumerable<SparqlUpdateCommand> commands)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<SparqlUpdateCommand> commands Commands.
| Improve this Doc View Source

SparqlUpdateCommandSet(SparqlUpdateCommand)

Creates a new Command Set containing the given Command.
Declaration
public SparqlUpdateCommandSet(SparqlUpdateCommand command)
Parameters
Type Name Description
SparqlUpdateCommand command Command.

Properties

| Improve this Doc View Source

AlgebraOptimisers

Gets/Sets the Algebra Optimisers to be applied to portions of updates that require queries to be made.
Declaration
public IEnumerable<IAlgebraOptimiser> AlgebraOptimisers { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IAlgebraOptimiser>
| Improve this Doc View Source

BaseUri

Gets/Sets the Base URI for the Command Set.
Declaration
public Uri BaseUri { get; }
Property Value
Type Description
System.Uri
| Improve this Doc View Source

CommandCount

Gets the number of Commands in the set.
Declaration
public int CommandCount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Commands

Gets the enumeration of Commands in the set.
Declaration
public IEnumerable<SparqlUpdateCommand> Commands { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<SparqlUpdateCommand>
| Improve this Doc View Source

Item[Int32]

Gets the Command at the given index.
Declaration
public SparqlUpdateCommand this[int index] { get; }
Parameters
Type Name Description
System.Int32 index Index.
Property Value
Type Description
SparqlUpdateCommand
| Improve this Doc View Source

NamespaceMap

Gets the Namespace Map for the Command Set.
Declaration
public NamespaceMapper NamespaceMap { get; }
Property Value
Type Description
NamespaceMapper
| Improve this Doc View Source

Timeout

Gets/Sets the Timeout in milliseconds for the execution of the Updates.
Declaration
public long Timeout { get; set; }
Property Value
Type Description
System.Int64
Remarks
Default is no timeout.
| Improve this Doc View Source

UpdateExecutionTime

Gets/Sets the Time the updates took to execute.
Declaration
public TimeSpan? UpdateExecutionTime { get; set; }
Property Value
Type Description
System.Nullable<System.TimeSpan>
Exceptions
Type Condition
System.InvalidOperationException Thrown if you try to inspect the execution time before/during the execution of updates.

Methods

| Improve this Doc View Source

Optimise()

Optimises the Commands in the Command Set.
Declaration
public void Optimise()
Remarks
Uses the globally registered query optimiser from QueryOptimiser.
| Improve this Doc View Source

Optimise(IQueryOptimiser)

Optimises the Commands in the Command Set.
Declaration
public void Optimise(IQueryOptimiser optimiser)
Parameters
Type Name Description
IQueryOptimiser optimiser Optimiser to use.
| Improve this Doc View Source

Process(ISparqlUpdateProcessor)

Processes the Command Set using the given Update Processor.
Declaration
public 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 Set.
Declaration
public 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
    • SparqlUpdateCommandSet()
    • SparqlUpdateCommandSet(IEnumerable<SparqlUpdateCommand>)
    • SparqlUpdateCommandSet(SparqlUpdateCommand)
  • Properties
    • AlgebraOptimisers
    • BaseUri
    • CommandCount
    • Commands
    • Item[Int32]
    • NamespaceMap
    • Timeout
    • UpdateExecutionTime
  • Methods
    • Optimise()
    • Optimise(IQueryOptimiser)
    • Process(ISparqlUpdateProcessor)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX