Function
TsparqlSparqlConnectionnew_from_rdf_async
unstable since: 3.11
Declaration [src]
void
tracker_sparql_connection_new_from_rdf_async (
TrackerSparqlConnectionFlags flags,
GFile* store,
TrackerDeserializeFlags deserialize_flags,
TrackerRdfFormat rdf_format,
GInputStream* rdf_stream,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronous version of tracker_sparql_connection_new_from_rdf().
Available since: 3.11
This function completes asynchronously. Use tracker_sparql_connection_new_from_rdf_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
flags-
Type:
TrackerSparqlConnectionFlagsConnection flags to define the SPARQL connection behavior.
store-
Type:
GFileThe database location as a
GFile, orNULL.The argument can be NULL.The data is owned by the caller of the function. deserialize_flags-
Type:
TrackerDeserializeFlagsDeserialization flags.
rdf_format-
Type:
TrackerRdfFormatRDF format of the
rdf_streamargument. rdf_stream-
Type:
GInputStreamRDF Schema definition of the database format.
The data is owned by the caller of the function. cancellable-
Type:
GCancellableOptional
GCancellable.The argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackUser-defined
GAsyncReadyCallbackto be called when the asynchronous operation is finished. user_data-
Type:
gpointerUser-defined data to be passed to
callback.The argument can be NULL.The data is owned by the caller of the function.