Click or drag to resize

ClearCommand Class

Represents the SPARQL Update CLEAR command.
Inheritance Hierarchy

Namespace:  VDS.RDF.Update.Commands
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class ClearCommand : SparqlUpdateCommand

The ClearCommand type exposes the following members.

Constructors
  NameDescription
Public methodClearCommand
Creates a Command which clears the Default Graph (if any).
Public methodClearCommand(Uri)
Creates a Command which clears the given Graph.
Public methodClearCommand(ClearMode)
Creates a Command which performs the specified type of clear.
Public methodClearCommand(ClearMode, Boolean)
Creates a Command which performs the specified type of clear.
Public methodClearCommand(Uri, ClearMode, Boolean)
Creates a Command which clears the given Graph or Graphs depending on the Clear Mode specified.
Top
Properties
  NameDescription
Public propertyAffectsSingleGraph
Gets whether this Command affects a Single Graph.
(Overrides SparqlUpdateCommandAffectsSingleGraph.)
Public propertyCommandType
Gets the Type of this Command.
(Inherited from SparqlUpdateCommand.)
Public propertyMode
Gets the Mode by which Graphs are to be cleared.
Public propertySilent
Gets whether errors should be suppressed.
Public propertyTargetUri
Gets the URI of the Graph to be cleared (or null if the default graph should be cleared).
Top
Methods
  NameDescription
Public methodAffectsGraph
Gets whether this Command affects the given Graph.
(Overrides SparqlUpdateCommandAffectsGraph(Uri).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Evaluates the Command in the given Context.
(Overrides SparqlUpdateCommandEvaluate(SparqlUpdateEvaluationContext).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOptimise
Optimises the Command.
(Inherited from SparqlUpdateCommand.)
Public methodProcess
Processes the Command using the given Update Processor.
(Overrides SparqlUpdateCommandProcess(ISparqlUpdateProcessor).)
Public methodToString
Gets the String representation of the Command.
(Overrides SparqlUpdateCommandToString.)
Top
See Also