A #TrackerSparqlBuilder allows the caller to extract the final SPARQL used to insert the extracted metadata into the database for the resource being processed.
This function calls g_task_get_task_data() on the return value of tracker_decorator_info_get_task().
Get the #GTask associated with retrieving extended metadata and information for a URN in Tracker.
The task object's data (accessible with g_task_get_task_data()) is the #TrackerSparqlBuilder that you must populate with the results of the metadata extraction. This can also be accessed with tracker_decorator_info_get_sparql().
A URL is a Uniform Resource Locator and should be a location associated with a resource in the database. For example, 'file:///tmp/foo.txt'.
A URN is a Uniform Resource Name and should be a unique identifier for a resource in the database.
Increases the reference count of info
by 1.
Decreases the reference count of info
by 1 and frees it when the
reference count reaches 0.
A MIME¹ type is a way of describing the content type of a file or set of data. An example would be 'text/plain' for a clear text document or file.
¹: http://en.wikipedia.org/wiki/MIME