Method
TrackerSparqlConnectionupdate_resource_async
Declaration [src]
void
tracker_sparql_connection_update_resource_async (
TrackerSparqlConnection* connection,
const gchar* graph,
TrackerResource* resource,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Inserts asynchronously a resource as described by resource on the given graph.
It is recommented to consider the usage of TrackerBatch
to cluster database updates. Frequent isolated SPARQL updates
through this method will have a degraded performance in comparison.
| Available since: | 3.1 |
Parameters
graph |
const gchar* |
RDF graph where the resource should be inserted/updated, or |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
| The string is a NUL terminated UTF-8 string. | |
resource |
TrackerResource |
| The data is owned by the caller of the function. | |
cancellable |
GCancellable* |
Optional |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
User-defined Gio.AsyncReadyCallback to be called when the asynchronous operation is finished. |
|
user_data |
gpointer |
User-defined data to be passed to |