Sparql
Connection
Class
constructor
parent_
class
name
load
load_
async
load_
finish
query
query_
async
query_
finish
statistics
statistics_
async
statistics_
finish
update
update_
array_
async
update_
array_
finish
update_
async
update_
blank
update_
blank_
async
update_
blank_
finish
update_
finish
GJS API Reference
Tracker-1.0
Tracker
SparqlConnectionClass
Class SparqlConnectionClass
Hierarchy
SparqlConnectionClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
load
load_
async
load_
finish
query
query_
async
query_
finish
statistics
statistics_
async
statistics_
finish
update
update_
array_
async
update_
array_
finish
update_
async
update_
blank
update_
blank_
async
update_
blank_
finish
update_
finish
Constructors
constructor
new
Sparql
Connection
Class
(
)
:
Tracker
.
SparqlConnectionClass
Returns
Tracker
.
SparqlConnectionClass
Properties
parent_
class
parent_
class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
load
load
(
self
:
Tracker
.
SparqlConnection
, file
:
Gio
.
File
, cancellable
?:
Gio
.
Cancellable
)
:
void
Parameters
self:
Tracker
.
SparqlConnection
file:
Gio
.
File
Optional
cancellable:
Gio
.
Cancellable
Returns
void
load_
async
load_
async
(
self
:
Tracker
.
SparqlConnection
, file
:
Gio
.
File
, cancellable
?:
Gio
.
Cancellable
, _callback_
?:
AsyncReadyCallback
)
:
void
Parameters
self:
Tracker
.
SparqlConnection
file:
Gio
.
File
Optional
cancellable:
Gio
.
Cancellable
Optional
_callback_:
AsyncReadyCallback
Returns
void
load_
finish
load_
finish
(
self
:
Tracker
.
SparqlConnection
, _res_
:
AsyncResult
)
:
void
Parameters
self:
Tracker
.
SparqlConnection
_res_:
AsyncResult
Returns
void
query
query
(
self
:
Tracker
.
SparqlConnection
, sparql
:
string
, cancellable
?:
Gio
.
Cancellable
)
:
Tracker
.
SparqlCursor
Parameters
self:
Tracker
.
SparqlConnection
sparql:
string
Optional
cancellable:
Gio
.
Cancellable
Returns
Tracker
.
SparqlCursor
query_
async
query_
async
(
self
:
Tracker
.
SparqlConnection
, sparql
:
string
, cancellable
?:
Gio
.
Cancellable
, _callback_
?:
AsyncReadyCallback
)
:
void
Parameters
self:
Tracker
.
SparqlConnection
sparql:
string
Optional
cancellable:
Gio
.
Cancellable
Optional
_callback_:
AsyncReadyCallback
Returns
void
query_
finish
query_
finish
(
self
:
Tracker
.
SparqlConnection
, _res_
:
AsyncResult
)
:
Tracker
.
SparqlCursor
Parameters
self:
Tracker
.
SparqlConnection
_res_:
AsyncResult
Returns
Tracker
.
SparqlCursor
statistics
statistics
(
self
:
Tracker
.
SparqlConnection
, cancellable
?:
Gio
.
Cancellable
)
:
Tracker
.
SparqlCursor
Parameters
self:
Tracker
.
SparqlConnection
Optional
cancellable:
Gio
.
Cancellable
Returns
Tracker
.
SparqlCursor
statistics_
async
statistics_
async
(
self
:
Tracker
.
SparqlConnection
, cancellable
?:
Gio
.
Cancellable
, _callback_
?:
AsyncReadyCallback
)
:
void
Parameters
self:
Tracker
.
SparqlConnection
Optional
cancellable:
Gio
.
Cancellable
Optional
_callback_:
AsyncReadyCallback
Returns
void
statistics_
finish
statistics_
finish
(
self
:
Tracker
.
SparqlConnection
, _res_
:
AsyncResult
)
:
Tracker
.
SparqlCursor
Parameters
self:
Tracker
.
SparqlConnection
_res_:
AsyncResult
Returns
Tracker
.
SparqlCursor
update
update
(
self
:
Tracker
.
SparqlConnection
, sparql
:
string
, priority
:
number
, cancellable
?:
Gio
.
Cancellable
)
:
void
Parameters
self:
Tracker
.
SparqlConnection
sparql:
string
priority:
number
Optional
cancellable:
Gio
.
Cancellable
Returns
void
update_
array_
async
update_
array_
async
(
self
:
Tracker
.
SparqlConnection
, sparql
:
string
[]
, priority
:
number
, cancellable
?:
Gio
.
Cancellable
, _callback_
?:
AsyncReadyCallback
)
:
void
Parameters
self:
Tracker
.
SparqlConnection
sparql:
string
[]
priority:
number
Optional
cancellable:
Gio
.
Cancellable
Optional
_callback_:
AsyncReadyCallback
Returns
void
update_
array_
finish
update_
array_
finish
(
self
:
Tracker
.
SparqlConnection
, _res_
:
AsyncResult
)
:
any
[]
Parameters
self:
Tracker
.
SparqlConnection
_res_:
AsyncResult
Returns
any
[]
update_
async
update_
async
(
self
:
Tracker
.
SparqlConnection
, sparql
:
string
, priority
:
number
, cancellable
?:
Gio
.
Cancellable
, _callback_
?:
AsyncReadyCallback
)
:
void
Parameters
self:
Tracker
.
SparqlConnection
sparql:
string
priority:
number
Optional
cancellable:
Gio
.
Cancellable
Optional
_callback_:
AsyncReadyCallback
Returns
void
update_
blank
update_
blank
(
self
:
Tracker
.
SparqlConnection
, sparql
:
string
, priority
:
number
, cancellable
?:
Gio
.
Cancellable
)
:
GLib
.
Variant
Parameters
self:
Tracker
.
SparqlConnection
sparql:
string
priority:
number
Optional
cancellable:
Gio
.
Cancellable
Returns
GLib
.
Variant
update_
blank_
async
update_
blank_
async
(
self
:
Tracker
.
SparqlConnection
, sparql
:
string
, priority
:
number
, cancellable
?:
Gio
.
Cancellable
, _callback_
?:
AsyncReadyCallback
)
:
void
Parameters
self:
Tracker
.
SparqlConnection
sparql:
string
priority:
number
Optional
cancellable:
Gio
.
Cancellable
Optional
_callback_:
AsyncReadyCallback
Returns
void
update_
blank_
finish
update_
blank_
finish
(
self
:
Tracker
.
SparqlConnection
, _res_
:
AsyncResult
)
:
GLib
.
Variant
Parameters
self:
Tracker
.
SparqlConnection
_res_:
AsyncResult
Returns
GLib
.
Variant
update_
finish
update_
finish
(
self
:
Tracker
.
SparqlConnection
, _res_
:
AsyncResult
)
:
void
Parameters
self:
Tracker
.
SparqlConnection
_res_:
AsyncResult
Returns
void
Sparql
Connection
Class
constructor
parent_
class
name
load
load_
async
load_
finish
query
query_
async
query_
finish
statistics
statistics_
async
statistics_
finish
update
update_
array_
async
update_
array_
finish
update_
async
update_
blank
update_
blank_
async
update_
blank_
finish
update_
finish
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJ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