summaryrefslogtreecommitdiff
path: root/src/libtracker-sparql/tracker-resource.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support to TrackerResource for outputting metadata as JSON-LDsam/resource-jsonldSam Thursfield2018-07-151-0/+2
| | | | | This also adds `tracker extract -o json` to dump resources in JSON-LD, in anticipation of corresponding updates in tracker-miners.git.
* libtracker-sparql: Add tracker_resource_[add|set]_take_relation()Carlos Garnacho2017-07-111-0/+2
| | | | | These are C helper functions, so users may create trees of TrackerResources without having to manually unref all non-root ones.
* libtracker-sparql: Drop needless typedefCarlos Garnacho2017-06-281-5/+0
| | | | | | | We don't need defining TrackerSparqlBuilder here, and it causes it to get picked up twice in C and Vala girs. https://bugzilla.gnome.org/show_bug.cgi?id=782091
* libtracker-sparql: Fix small typoCarlos Garnacho2016-07-161-1/+1
| | | | Quite harmless, but triggers gtk-doc warnings.
* libtracker-sparql: Add TrackerResource classSam Thursfield2016-07-141-0/+82
This provides a "resource-oriented" API for inserting and updating the database. Rather than having to generate SPARQL queries, you can use the TrackerResource abstraction to prepare information about a set of resources, then generate a SPARQL query automatically. TrackerResource can also serialize to Turtle directly. https://bugzilla.gnome.org/show_bug.cgi?id=767472