Show / Hide Table of Contents

Class DeleteDataCommand

Represents a SPARQL Update DELETE DATA command.

Inheritance
System.Object
SparqlUpdateCommand
DeleteDataCommand
Inherited Members
SparqlUpdateCommand.CommandType
SparqlUpdateCommand.Optimise(IQueryOptimiser)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRdf.dll
Syntax
public class DeleteDataCommand : SparqlUpdateCommand

Constructors

| Improve this Doc View Source

DeleteDataCommand(GraphPattern)

Creates a new DELETE DATA command.

Declaration
public DeleteDataCommand(GraphPattern pattern)
Parameters
Type Name Description
GraphPattern pattern

Pattern composed of concrete Triples to delete.

Properties

| Improve this Doc View Source

AffectsSingleGraph

Gets whether the Command affects a single Graph.

Declaration
public override bool AffectsSingleGraph { get; }
Property Value
Type Description
System.Boolean
Overrides
SparqlUpdateCommand.AffectsSingleGraph
| Improve this Doc View Source

DataPattern

Gets the Data Pattern containing Triples to delete.

Declaration
public GraphPattern DataPattern { get; }
Property Value
Type Description
GraphPattern

Methods

| Improve this Doc View Source

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

AffectsGraph(IRefNode)

Gets whether the Command affects a given Graph.

Declaration
public override bool AffectsGraph(IRefNode graphName)
Parameters
Type Name Description
IRefNode graphName

Graph name.

Returns
Type Description
System.Boolean
Overrides
SparqlUpdateCommand.AffectsGraph(IRefNode)
| Improve this Doc View Source

IsValidDataPattern(GraphPattern, bool)

Determines whether a Graph Pattern is valid for use in an DELETE DATA command.

Declaration
public static bool IsValidDataPattern(GraphPattern p, bool top)
Parameters
Type Name Description
GraphPattern p

Graph Pattern.

System.Boolean top

Is this the top level pattern?.

Returns
Type Description
System.Boolean
| Improve this Doc View Source

Process(ISparqlUpdateProcessor)

Processes the Command using the given Update Processor.

Declaration
public override void Process(ISparqlUpdateProcessor processor)
Parameters
Type Name Description
ISparqlUpdateProcessor processor

SPARQL Update Processor.

Overrides
SparqlUpdateCommand.Process(ISparqlUpdateProcessor)
| Improve this Doc View Source

ToString()

Gets the String representation of the Command.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
SparqlUpdateCommand.ToString()

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • DeleteDataCommand(GraphPattern)
  • Properties
    • AffectsSingleGraph
    • DataPattern
  • Methods
    • AffectsGraph(Uri)
    • AffectsGraph(IRefNode)
    • IsValidDataPattern(GraphPattern, bool)
    • Process(ISparqlUpdateProcessor)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX