Show / Hide Table of Contents

Class SparqlUpdateParser

Class for parsing SPARQL Update commands into SparqlUpdateCommandSet objects that can be used to modify a Triple Store.
Inheritance
System.Object
SparqlUpdateParser
Implements
ITraceableTokeniser
IObjectParser<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)
System.Object.ToString()
Namespace: VDS.RDF.Parsing
Assembly: dotNetRDF.dll
Syntax
public class SparqlUpdateParser : ITraceableTokeniser, IObjectParser<SparqlUpdateCommandSet>

Properties

| Improve this Doc View Source

DefaultBaseUri

Gets/Sets the Default Base URI used for Updated Commands parsed by this parser instance.
Declaration
public Uri DefaultBaseUri { get; set; }
Property Value
Type Description
System.Uri
| Improve this Doc View Source

ExpressionFactories

Gets/Sets the locally scoped custom expression factories.
Declaration
public IEnumerable<ISparqlCustomExpressionFactory> ExpressionFactories { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ISparqlCustomExpressionFactory>
| Improve this Doc View Source

QueryOptimiser

Gets/Sets the locally scoped Query Optimiser applied to graph patterns in update commands at the end of the parsing process.
Declaration
public IQueryOptimiser QueryOptimiser { get; set; }
Property Value
Type Description
IQueryOptimiser
Remarks

May be null if no locally scoped optimiser is set in which case the globally scoped optimiser will be used.

| Improve this Doc View Source

TraceTokeniser

Gets/Sets whether Tokeniser Tracing is used.
Declaration
public bool TraceTokeniser { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Parse(StreamReader)

Parses a SPARQL Update Command Set from the input stream.
Declaration
public SparqlUpdateCommandSet Parse(StreamReader input)
Parameters
Type Name Description
System.IO.StreamReader input Input Stream.
Returns
Type Description
SparqlUpdateCommandSet
| Improve this Doc View Source

Parse(TextReader)

Parses a SPARQL Update Command Set from the input.
Declaration
public SparqlUpdateCommandSet Parse(TextReader input)
Parameters
Type Name Description
System.IO.TextReader input Input.
Returns
Type Description
SparqlUpdateCommandSet
| Improve this Doc View Source

ParseFromFile(String)

Parses a SPARQL Update Command Set from the given file.
Declaration
public SparqlUpdateCommandSet ParseFromFile(string file)
Parameters
Type Name Description
System.String file File.
Returns
Type Description
SparqlUpdateCommandSet
| Improve this Doc View Source

ParseFromString(String)

Parses a SPARQL Update Command Set from the given String.
Declaration
public SparqlUpdateCommandSet ParseFromString(string updates)
Parameters
Type Name Description
System.String updates SPARQL Update Commands.
Returns
Type Description
SparqlUpdateCommandSet
| Improve this Doc View Source

ParseFromString(SparqlParameterizedString)

Parses a SPARQL Update Command Set from the given String.
Declaration
public SparqlUpdateCommandSet ParseFromString(SparqlParameterizedString updates)
Parameters
Type Name Description
SparqlParameterizedString updates SPARQL Update Commands.
Returns
Type Description
SparqlUpdateCommandSet

Events

| Improve this Doc View Source

Warning

Event raised when a non-fatal issue with the SPARQL Update Commands being parsed is detected
Declaration
public event SparqlWarning Warning
Event Type
Type Description
SparqlWarning

Implements

ITraceableTokeniser
IObjectParser<T>

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • DefaultBaseUri
    • ExpressionFactories
    • QueryOptimiser
    • TraceTokeniser
  • Methods
    • Parse(StreamReader)
    • Parse(TextReader)
    • ParseFromFile(String)
    • ParseFromString(String)
    • ParseFromString(SparqlParameterizedString)
  • Events
    • Warning
  • Implements
  • Extension Methods
Back to top Generated by DocFX