Batch


Object Hierarchy:

Object hierarchy for Batch

Description:

[ CCode ( type_id = "tracker_batch_get_type ()" ) ]
[ Version ( since = "3.1" ) ]
public abstract class Batch : Object

`TrackerBatch` executes a series of SPARQL updates and RDF data insertions within a transaction.

A batch is created with [method@SparqlConnection.create_batch]. To add resources use [method@Batch.add_resource], [ method@Batch.add_sparql] or [method@Batch.add_statement].

When a batch is ready for execution, use [method@Batch.execute] or [method@Batch.execute_async]. The batch is executed as a single transaction, it will succeed or fail entirely.

This object has a single use, after the batch is executed it can only be finished and freed.

The mapping of blank node labels is global in a `TrackerBatch`, referencing the same blank node label in different operations in a batch will resolve to the same resource.


Namespace: Tracker

Content:

Properties:

Creation methods:

Methods:

Inherited Members: