Method
TrackerBatchadd_rdf
Declaration [src]
void
tracker_batch_add_rdf (
TrackerBatch* batch,
TrackerDeserializeFlags flags,
TrackerRdfFormat format,
const gchar* default_graph,
GInputStream* stream
)
Description [src]
Inserts the RDF data contained in stream as part of batch.
The RDF data will be inserted in the given default_graph if one is provided,
or the anonymous graph if default_graph is NULL. Any RDF data that has a
graph specified (e.g. using the GRAPH clause in the Trig format) will
be inserted in the specified graph instead of default_graph.
The flags argument is reserved for future expansions, currently
TRACKER_DESERIALIZE_FLAGS_NONE must be passed.
| Available since: | 3.6 |
Parameters
flags |
TrackerDeserializeFlags |
Deserialization flags. |
|
format |
TrackerRdfFormat |
RDF format of data in stream. |
|
default_graph |
const gchar* |
Default graph that will receive the RDF data. |
|
| The data is owned by the caller of the function. | |
| The string is a NUL terminated UTF-8 string. | |
stream |
GInputStream* |
Input stream with RDF data. |
|
| The data is owned by the caller of the function. |