Click or drag to resize

InsertCommand Class

Represents a SPARQL Update INSERT command.
Inheritance Hierarchy

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

The InsertCommand type exposes the following members.

Constructors
  NameDescription
Public methodInsertCommand(GraphPattern, GraphPattern)
Creates a new INSERT command which operates on the Default Graph.
Public methodInsertCommand(GraphPattern, GraphPattern, Uri)
Creates a new INSERT command.
Top
Properties
  NameDescription
Public propertyAffectsSingleGraph
Gets whether the Command affects a single Graph.
(Overrides SparqlUpdateCommandAffectsSingleGraph.)
Public propertyCommandType
Gets the Type of this Command.
(Inherited from SparqlUpdateCommand.)
Public propertyGraphUri
Gets the URI of the Graph specified in the WITH clause.
(Inherited from BaseModificationCommand.)
Public propertyInsertPattern
Gets the pattern used for insertions.
Public propertyTargetUri
Gets the URI of the Graph the insertions are made to.
Public propertyUsingNamedUris
Gets the URIs specified in USING NAMED clauses.
(Inherited from BaseModificationCommand.)
Public propertyUsingUris
Gets the URIs specified in USING clauses.
(Inherited from BaseModificationCommand.)
Public propertyWherePattern
Gets the pattern used for the WHERE clause.
Top
Methods
  NameDescription
Public methodAddUsingNamedUri
Adds a new USING NAMED URI.
(Inherited from BaseModificationCommand.)
Public methodAddUsingUri
Adds a new USING URI.
(Inherited from BaseModificationCommand.)
Public methodAffectsGraph
Gets whether the Command affects a 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 methodIsValidDeletePattern
Determines whether a Graph Pattern is valid for use in an DELETE pattern.
(Inherited from BaseModificationCommand.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOptimise
Optimises the Commands WHERE pattern.
(Overrides SparqlUpdateCommandOptimise(IQueryOptimiser).)
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
Fields
  NameDescription
Protected field_graphUri
URI from the WITH statement.
(Inherited from BaseModificationCommand.)
Protected field_usingNamedUris
URIS for the USING NAMED clauses.
(Inherited from BaseModificationCommand.)
Protected field_usingUris
URIs for the USING clauses.
(Inherited from BaseModificationCommand.)
Top
See Also