Class InsertDataCommand
Represents the SPARQL Update INSERT DATA command.
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)
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRDF.dll
Syntax
public class InsertDataCommand : SparqlUpdateCommand
Constructors
| Improve this Doc View SourceInsertDataCommand(GraphPattern)
Creates a new INSERT DATA command.
Declaration
public InsertDataCommand(GraphPattern pattern)
Parameters
Type | Name | Description |
---|---|---|
GraphPattern | pattern | Pattern containing concrete Triples to insert. |
Properties
| Improve this Doc View SourceAffectsSingleGraph
Gets whether the Command affects a single Graph.
Declaration
public override bool AffectsSingleGraph { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceDataPattern
Gets the Data Pattern containing Triples to insert.
Declaration
public GraphPattern DataPattern { get; }
Property Value
Type | Description |
---|---|
GraphPattern |
Methods
| Improve this Doc View SourceAffectsGraph(Uri)
Gets whether the Command affects a given Graph.
Declaration
public override bool AffectsGraph(Uri graphUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | graphUri | Graph URI. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceEvaluate(SparqlUpdateEvaluationContext)
Evaluates the Command in the given Context.
Declaration
public override void Evaluate(SparqlUpdateEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateEvaluationContext | context | Evaluation Context. |
Overrides
| Improve this Doc View SourceProcess(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
| Improve this Doc View SourceToString()
Gets the String representation of the Command.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |