Public Member Functions

Delete Class Reference

Models a DELETE statement in SPARQL. More...

Inheritance diagram for Delete:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Delete ()
 Constructs an empty DELETE statement.
Q_DECL_DEPRECATED CUBI_EXPLICIT Delete (const ResourceValue &graph)
 Constructs an empty DELETE statement.

Detailed Description

Models a DELETE statement in SPARQL.

A Delete statement has two parts, the first one, called the "data" part, being the graph pattern that has to be deleted, and the second one, called the "restriction" part, being the pattern that must be matched for the actual deletion to happen. The first part can be manipulated using the UpdateBase::addData() functions, while the second part is manipulated using the UpdateBase::addRestriction() functions.

Most of the useful functions of this class are defined in UpdateBase, which is the common base to Delete and Insert (since they share a very similar structure).


Constructor & Destructor Documentation

Delete::Delete ( const ResourceValue graph  ) 

Constructs an empty DELETE statement.

An optional graph can be set, if you want to generate a DELETE FROM ... query.

Deprecated:
DELETE FROM variant is deprecated. New code should create a Graph and add it using UpdateBase::addData().

The documentation for this class was generated from the following files:
 All Classes Functions Enumerations