Show / Hide Table of Contents

Class DropCommand

Represents a SPARQL Update DROP command.

Inheritance
System.Object
SparqlUpdateCommand
DropCommand
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 DropCommand : SparqlUpdateCommand

Constructors

| Improve this Doc View Source

DropCommand()

Creates a new DROP command which drops the Default Graph.

Declaration
[Obsolete("Replaced by DropCommand(IRefNode, ClearMode, bool)")]
public DropCommand()
| Improve this Doc View Source

DropCommand(Uri, ClearMode, bool)

Creates a new DROP command.

Declaration
[Obsolete("Replaced by DropCommand(IRefNode, ClearMode, bool)")]
public DropCommand(Uri graphUri, ClearMode mode, bool silent)
Parameters
Type Name Description
System.Uri graphUri

URI of the Graph to DROP.

ClearMode mode

DROP Mode to use.

System.Boolean silent

Whether the DROP should be done silently.

| Improve this Doc View Source

DropCommand(Uri, ClearMode)

Creates a new DROP command.

Declaration
[Obsolete("Replaced by DropCommand(IRefNode, ClearMode, bool)")]
public DropCommand(Uri graphUri, ClearMode mode)
Parameters
Type Name Description
System.Uri graphUri

URI of the Graph to DROP.

ClearMode mode

DROP Mode to use.

| Improve this Doc View Source

DropCommand(Uri)

Creates a new DROP command.

Declaration
[Obsolete("Replaced by DropCommand(IRefNode, ClearMode, bool)")]
public DropCommand(Uri graphUri)
Parameters
Type Name Description
System.Uri graphUri

URI of the Graph to DROP.

| Improve this Doc View Source

DropCommand(IRefNode, ClearMode, bool)

Creates a new DROP command.

Declaration
public DropCommand(IRefNode graphName = null, ClearMode mode = ClearMode.Graph, bool silent = false)
Parameters
Type Name Description
IRefNode graphName

Name of the Graph to DROP.

ClearMode mode

DROP Mode to use.

System.Boolean silent

Whether the DROP should be done silently.

| Improve this Doc View Source

DropCommand(ClearMode, bool)

Creates a new DROP command which performs a specific clear mode drop operation.

Declaration
public DropCommand(ClearMode mode, bool silent)
Parameters
Type Name Description
ClearMode mode

Clear Mode.

System.Boolean silent

Whether errors should be suppressed.

| Improve this Doc View Source

DropCommand(ClearMode)

Creates a new DROP command which performs a specific clear mode drop operation.

Declaration
[Obsolete("Replaced by DropCommand(IRefNode, ClearMode, bool)")]
public DropCommand(ClearMode mode)
Parameters
Type Name Description
ClearMode mode

Clear Mode.

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

Mode

Gets the type of DROP operation to perform.

Declaration
public ClearMode Mode { get; }
Property Value
Type Description
ClearMode
| Improve this Doc View Source

Silent

Gets whether the Drop should be done silently.

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

TargetGraphName

Get the name of the graph to be dropped.

Declaration
public IRefNode TargetGraphName { get; }
Property Value
Type Description
IRefNode
| Improve this Doc View Source

TargetUri

Gets the URI of the Graph to be dropped.

Declaration
[Obsolete("Replaced by TargetGraphName")]
public Uri TargetUri { get; }
Property Value
Type Description
System.Uri

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 will potentially affect the 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

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
    • DropCommand()
    • DropCommand(Uri, ClearMode, bool)
    • DropCommand(Uri, ClearMode)
    • DropCommand(Uri)
    • DropCommand(IRefNode, ClearMode, bool)
    • DropCommand(ClearMode, bool)
    • DropCommand(ClearMode)
  • Properties
    • AffectsSingleGraph
    • Mode
    • Silent
    • TargetGraphName
    • TargetUri
  • Methods
    • AffectsGraph(Uri)
    • AffectsGraph(IRefNode)
    • Process(ISparqlUpdateProcessor)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX