@comunica/actor-init-query 2.0.1-alpha.7.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ActorInitQuery.jsonld +9 -3
- package/components/ActorInitQueryBase.jsonld +133 -31
- package/components/HttpServiceSparqlEndpoint.jsonld +38 -11
- package/components/MemoryPhysicalQueryPlanLogger.jsonld +33 -9
- package/components/QueryEngineBase.jsonld +65 -17
- package/components/QueryEngineFactoryBase.jsonld +13 -4
- package/components/cli/CliArgsHandlerBase.jsonld +29 -8
- package/components/cli/CliArgsHandlerHttp.jsonld +9 -3
- package/components/cli/CliArgsHandlerQuery.jsonld +25 -7
- package/components/context.jsonld +1 -10
- package/lib/QueryEngineBase.js +2 -14
- package/lib/index-browser.js +5 -1
- package/lib/index.js +5 -1
- package/package.json +17 -17
- package/LICENSE.txt +0 -22
|
@@ -217,9 +217,15 @@
|
|
|
217
217
|
"comment": "Actor that must be registered in the bus before this actor."
|
|
218
218
|
}
|
|
219
219
|
],
|
|
220
|
-
"
|
|
221
|
-
|
|
222
|
-
|
|
220
|
+
"memberFields": [
|
|
221
|
+
{
|
|
222
|
+
"@id": "caiq:components/ActorInitQuery.jsonld#ActorInitQuery__member_constructor",
|
|
223
|
+
"memberFieldName": "constructor"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"@id": "caiq:components/ActorInitQuery.jsonld#ActorInitQuery__member_run",
|
|
227
|
+
"memberFieldName": "run"
|
|
228
|
+
}
|
|
223
229
|
],
|
|
224
230
|
"constructorArguments": [
|
|
225
231
|
{
|
|
@@ -218,23 +218,86 @@
|
|
|
218
218
|
"comment": "Actor that must be registered in the bus before this actor."
|
|
219
219
|
}
|
|
220
220
|
],
|
|
221
|
-
"
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
221
|
+
"memberFields": [
|
|
222
|
+
{
|
|
223
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_mediatorOptimizeQueryOperation",
|
|
224
|
+
"memberFieldName": "mediatorOptimizeQueryOperation",
|
|
225
|
+
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_mediatorQueryOperation",
|
|
229
|
+
"memberFieldName": "mediatorQueryOperation",
|
|
230
|
+
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_mediatorQueryParse",
|
|
234
|
+
"memberFieldName": "mediatorQueryParse",
|
|
235
|
+
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_mediatorQueryResultSerialize",
|
|
239
|
+
"memberFieldName": "mediatorQueryResultSerialize",
|
|
240
|
+
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_mediatorQueryResultSerializeMediaTypeCombiner",
|
|
244
|
+
"memberFieldName": "mediatorQueryResultSerializeMediaTypeCombiner",
|
|
245
|
+
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_mediatorQueryResultSerializeMediaTypeFormatCombiner",
|
|
249
|
+
"memberFieldName": "mediatorQueryResultSerializeMediaTypeFormatCombiner",
|
|
250
|
+
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_mediatorContextPreprocess",
|
|
254
|
+
"memberFieldName": "mediatorContextPreprocess",
|
|
255
|
+
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_mediatorHttpInvalidate",
|
|
259
|
+
"memberFieldName": "mediatorHttpInvalidate",
|
|
260
|
+
"range": "cc:components/Mediator.jsonld#Mediator"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_logger",
|
|
264
|
+
"memberFieldName": "logger",
|
|
265
|
+
"range": "cc:components/Logger.jsonld#Logger"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_queryString",
|
|
269
|
+
"memberFieldName": "queryString",
|
|
270
|
+
"range": "xsd:string"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_defaultQueryInputFormat",
|
|
274
|
+
"memberFieldName": "defaultQueryInputFormat",
|
|
275
|
+
"range": "xsd:string"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_context",
|
|
279
|
+
"memberFieldName": "context",
|
|
280
|
+
"range": "xsd:string"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_contextKeyShortcuts",
|
|
284
|
+
"memberFieldName": "contextKeyShortcuts",
|
|
285
|
+
"range": {
|
|
286
|
+
"@type": "ParameterRangeWildcard"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_constructor",
|
|
291
|
+
"memberFieldName": "constructor"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_test",
|
|
295
|
+
"memberFieldName": "test"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase__member_run",
|
|
299
|
+
"memberFieldName": "run"
|
|
300
|
+
}
|
|
238
301
|
],
|
|
239
302
|
"constructorArguments": [
|
|
240
303
|
{
|
|
@@ -345,20 +408,59 @@
|
|
|
345
408
|
"@type": "AbstractClass",
|
|
346
409
|
"requireElement": "IActorInitQueryBaseArgs",
|
|
347
410
|
"parameters": [],
|
|
348
|
-
"
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
411
|
+
"memberFields": [
|
|
412
|
+
{
|
|
413
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_mediatorOptimizeQueryOperation",
|
|
414
|
+
"memberFieldName": "mediatorOptimizeQueryOperation"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_mediatorQueryOperation",
|
|
418
|
+
"memberFieldName": "mediatorQueryOperation"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_mediatorQueryParse",
|
|
422
|
+
"memberFieldName": "mediatorQueryParse"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_mediatorQueryResultSerialize",
|
|
426
|
+
"memberFieldName": "mediatorQueryResultSerialize"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_mediatorQueryResultSerializeMediaTypeCombiner",
|
|
430
|
+
"memberFieldName": "mediatorQueryResultSerializeMediaTypeCombiner"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_mediatorQueryResultSerializeMediaTypeFormatCombiner",
|
|
434
|
+
"memberFieldName": "mediatorQueryResultSerializeMediaTypeFormatCombiner"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_mediatorContextPreprocess",
|
|
438
|
+
"memberFieldName": "mediatorContextPreprocess"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_mediatorHttpInvalidate",
|
|
442
|
+
"memberFieldName": "mediatorHttpInvalidate"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_logger",
|
|
446
|
+
"memberFieldName": "logger"
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_queryString",
|
|
450
|
+
"memberFieldName": "queryString"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_defaultQueryInputFormat",
|
|
454
|
+
"memberFieldName": "defaultQueryInputFormat"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_context",
|
|
458
|
+
"memberFieldName": "context"
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"@id": "caiq:components/ActorInitQueryBase.jsonld#IActorInitQueryBaseArgs__member_contextKeyShortcuts",
|
|
462
|
+
"memberFieldName": "contextKeyShortcuts"
|
|
463
|
+
}
|
|
362
464
|
],
|
|
363
465
|
"constructorArguments": []
|
|
364
466
|
}
|
|
@@ -9,9 +9,15 @@
|
|
|
9
9
|
"@type": "AbstractClass",
|
|
10
10
|
"requireElement": "IQueryBody",
|
|
11
11
|
"parameters": [],
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
"memberFields": [
|
|
13
|
+
{
|
|
14
|
+
"@id": "caiq:components/HttpServiceSparqlEndpoint.jsonld#IQueryBody__member_type",
|
|
15
|
+
"memberFieldName": "type"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"@id": "caiq:components/HttpServiceSparqlEndpoint.jsonld#IQueryBody__member_value",
|
|
19
|
+
"memberFieldName": "value"
|
|
20
|
+
}
|
|
15
21
|
],
|
|
16
22
|
"constructorArguments": []
|
|
17
23
|
},
|
|
@@ -20,14 +26,35 @@
|
|
|
20
26
|
"@type": "AbstractClass",
|
|
21
27
|
"requireElement": "IHttpServiceSparqlEndpointArgs",
|
|
22
28
|
"parameters": [],
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
"memberFields": [
|
|
30
|
+
{
|
|
31
|
+
"@id": "caiq:components/HttpServiceSparqlEndpoint.jsonld#IHttpServiceSparqlEndpointArgs__member_context",
|
|
32
|
+
"memberFieldName": "context"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"@id": "caiq:components/HttpServiceSparqlEndpoint.jsonld#IHttpServiceSparqlEndpointArgs__member_timeout",
|
|
36
|
+
"memberFieldName": "timeout"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"@id": "caiq:components/HttpServiceSparqlEndpoint.jsonld#IHttpServiceSparqlEndpointArgs__member_port",
|
|
40
|
+
"memberFieldName": "port"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"@id": "caiq:components/HttpServiceSparqlEndpoint.jsonld#IHttpServiceSparqlEndpointArgs__member_workers",
|
|
44
|
+
"memberFieldName": "workers"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"@id": "caiq:components/HttpServiceSparqlEndpoint.jsonld#IHttpServiceSparqlEndpointArgs__member_invalidateCacheBeforeQuery",
|
|
48
|
+
"memberFieldName": "invalidateCacheBeforeQuery"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"@id": "caiq:components/HttpServiceSparqlEndpoint.jsonld#IHttpServiceSparqlEndpointArgs__member_moduleRootPath",
|
|
52
|
+
"memberFieldName": "moduleRootPath"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"@id": "caiq:components/HttpServiceSparqlEndpoint.jsonld#IHttpServiceSparqlEndpointArgs__member_defaultConfigPath",
|
|
56
|
+
"memberFieldName": "defaultConfigPath"
|
|
57
|
+
}
|
|
31
58
|
],
|
|
32
59
|
"constructorArguments": []
|
|
33
60
|
}
|
|
@@ -14,15 +14,39 @@
|
|
|
14
14
|
],
|
|
15
15
|
"comment": "A physical query plan logger that stores everything in memory.",
|
|
16
16
|
"parameters": [],
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
17
|
+
"memberFields": [
|
|
18
|
+
{
|
|
19
|
+
"@id": "caiq:components/MemoryPhysicalQueryPlanLogger.jsonld#MemoryPhysicalQueryPlanLogger__member_children",
|
|
20
|
+
"memberFieldName": "children"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"@id": "caiq:components/MemoryPhysicalQueryPlanLogger.jsonld#MemoryPhysicalQueryPlanLogger__member_rootNode",
|
|
24
|
+
"memberFieldName": "rootNode"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"@id": "caiq:components/MemoryPhysicalQueryPlanLogger.jsonld#MemoryPhysicalQueryPlanLogger__member_constructor",
|
|
28
|
+
"memberFieldName": "constructor"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"@id": "caiq:components/MemoryPhysicalQueryPlanLogger.jsonld#MemoryPhysicalQueryPlanLogger__member_logOperation",
|
|
32
|
+
"memberFieldName": "logOperation"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"@id": "caiq:components/MemoryPhysicalQueryPlanLogger.jsonld#MemoryPhysicalQueryPlanLogger__member_toJson",
|
|
36
|
+
"memberFieldName": "toJson"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"@id": "caiq:components/MemoryPhysicalQueryPlanLogger.jsonld#MemoryPhysicalQueryPlanLogger__member_planNodeToJson",
|
|
40
|
+
"memberFieldName": "planNodeToJson"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"@id": "caiq:components/MemoryPhysicalQueryPlanLogger.jsonld#MemoryPhysicalQueryPlanLogger__member_getLogicalMetadata",
|
|
44
|
+
"memberFieldName": "getLogicalMetadata"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"@id": "caiq:components/MemoryPhysicalQueryPlanLogger.jsonld#MemoryPhysicalQueryPlanLogger__member_quadToString",
|
|
48
|
+
"memberFieldName": "quadToString"
|
|
49
|
+
}
|
|
26
50
|
],
|
|
27
51
|
"constructorArguments": []
|
|
28
52
|
}
|
|
@@ -15,23 +15,71 @@
|
|
|
15
15
|
"range": "caiq:components/ActorInitQueryBase.jsonld#ActorInitQueryBase"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
18
|
+
"memberFields": [
|
|
19
|
+
{
|
|
20
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_actorInitQuery",
|
|
21
|
+
"memberFieldName": "actorInitQuery"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_constructor",
|
|
25
|
+
"memberFieldName": "constructor"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_queryBindings",
|
|
29
|
+
"memberFieldName": "queryBindings"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_queryQuads",
|
|
33
|
+
"memberFieldName": "queryQuads"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_queryBoolean",
|
|
37
|
+
"memberFieldName": "queryBoolean"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_queryVoid",
|
|
41
|
+
"memberFieldName": "queryVoid"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_queryOfType",
|
|
45
|
+
"memberFieldName": "queryOfType"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_query",
|
|
49
|
+
"memberFieldName": "query"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_explain",
|
|
53
|
+
"memberFieldName": "explain"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_queryOrExplain",
|
|
57
|
+
"memberFieldName": "queryOrExplain"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_getResultMediaTypes",
|
|
61
|
+
"memberFieldName": "getResultMediaTypes"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_getResultMediaTypeFormats",
|
|
65
|
+
"memberFieldName": "getResultMediaTypeFormats"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_resultToString",
|
|
69
|
+
"memberFieldName": "resultToString"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_invalidateHttpCache",
|
|
73
|
+
"memberFieldName": "invalidateHttpCache"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_internalToFinalResult",
|
|
77
|
+
"memberFieldName": "internalToFinalResult"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase__member_finalToInternalResult",
|
|
81
|
+
"memberFieldName": "finalToInternalResult"
|
|
82
|
+
}
|
|
35
83
|
],
|
|
36
84
|
"constructorArguments": [
|
|
37
85
|
{
|
|
@@ -13,10 +13,19 @@
|
|
|
13
13
|
"cr:components/Setup.jsonld#ISetupProperties"
|
|
14
14
|
],
|
|
15
15
|
"parameters": [],
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
"memberFields": [
|
|
17
|
+
{
|
|
18
|
+
"@id": "caiq:components/QueryEngineFactoryBase.jsonld#IDynamicQueryEngineOptions__member_configPath",
|
|
19
|
+
"memberFieldName": "configPath"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"@id": "caiq:components/QueryEngineFactoryBase.jsonld#IDynamicQueryEngineOptions__member_instanceUri",
|
|
23
|
+
"memberFieldName": "instanceUri"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"@id": "caiq:components/QueryEngineFactoryBase.jsonld#IDynamicQueryEngineOptions__member_runnerInstanceUri",
|
|
27
|
+
"memberFieldName": "runnerInstanceUri"
|
|
28
|
+
}
|
|
20
29
|
],
|
|
21
30
|
"constructorArguments": []
|
|
22
31
|
}
|
|
@@ -27,14 +27,35 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
],
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
"memberFields": [
|
|
31
|
+
{
|
|
32
|
+
"@id": "caiq:components/cli/CliArgsHandlerBase.jsonld#CliArgsHandlerBase__member_initialContext",
|
|
33
|
+
"memberFieldName": "initialContext"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"@id": "caiq:components/cli/CliArgsHandlerBase.jsonld#CliArgsHandlerBase__member_constructor",
|
|
37
|
+
"memberFieldName": "constructor"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"@id": "caiq:components/cli/CliArgsHandlerBase.jsonld#CliArgsHandlerBase__member_getScriptOutput",
|
|
41
|
+
"memberFieldName": "getScriptOutput"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"@id": "caiq:components/cli/CliArgsHandlerBase.jsonld#CliArgsHandlerBase__member_isDevelopmentEnvironment",
|
|
45
|
+
"memberFieldName": "isDevelopmentEnvironment"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"@id": "caiq:components/cli/CliArgsHandlerBase.jsonld#CliArgsHandlerBase__member_getSourceObjectFromString",
|
|
49
|
+
"memberFieldName": "getSourceObjectFromString"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"@id": "caiq:components/cli/CliArgsHandlerBase.jsonld#CliArgsHandlerBase__member_populateYargs",
|
|
53
|
+
"memberFieldName": "populateYargs"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"@id": "caiq:components/cli/CliArgsHandlerBase.jsonld#CliArgsHandlerBase__member_handleArgs",
|
|
57
|
+
"memberFieldName": "handleArgs"
|
|
58
|
+
}
|
|
38
59
|
],
|
|
39
60
|
"constructorArguments": [
|
|
40
61
|
{
|
|
@@ -14,9 +14,15 @@
|
|
|
14
14
|
],
|
|
15
15
|
"comment": "CLI arguments handler that handles options for HTTP servers.",
|
|
16
16
|
"parameters": [],
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
"memberFields": [
|
|
18
|
+
{
|
|
19
|
+
"@id": "caiq:components/cli/CliArgsHandlerHttp.jsonld#CliArgsHandlerHttp__member_populateYargs",
|
|
20
|
+
"memberFieldName": "populateYargs"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"@id": "caiq:components/cli/CliArgsHandlerHttp.jsonld#CliArgsHandlerHttp__member_handleArgs",
|
|
24
|
+
"memberFieldName": "handleArgs"
|
|
25
|
+
}
|
|
20
26
|
],
|
|
21
27
|
"constructorArguments": []
|
|
22
28
|
}
|
|
@@ -51,13 +51,31 @@
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
],
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
"memberFields": [
|
|
55
|
+
{
|
|
56
|
+
"@id": "caiq:components/cli/CliArgsHandlerQuery.jsonld#CliArgsHandlerQuery__member_defaultQueryInputFormat",
|
|
57
|
+
"memberFieldName": "defaultQueryInputFormat"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"@id": "caiq:components/cli/CliArgsHandlerQuery.jsonld#CliArgsHandlerQuery__member_queryString",
|
|
61
|
+
"memberFieldName": "queryString"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"@id": "caiq:components/cli/CliArgsHandlerQuery.jsonld#CliArgsHandlerQuery__member_context",
|
|
65
|
+
"memberFieldName": "context"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"@id": "caiq:components/cli/CliArgsHandlerQuery.jsonld#CliArgsHandlerQuery__member_constructor",
|
|
69
|
+
"memberFieldName": "constructor"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"@id": "caiq:components/cli/CliArgsHandlerQuery.jsonld#CliArgsHandlerQuery__member_populateYargs",
|
|
73
|
+
"memberFieldName": "populateYargs"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"@id": "caiq:components/cli/CliArgsHandlerQuery.jsonld#CliArgsHandlerQuery__member_handleArgs",
|
|
77
|
+
"memberFieldName": "handleArgs"
|
|
78
|
+
}
|
|
61
79
|
],
|
|
62
80
|
"constructorArguments": [
|
|
63
81
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^5.0.0/components/context.jsonld",
|
|
4
4
|
{
|
|
5
5
|
"npmd": "https://linkedsoftwaredependencies.org/bundles/npm/",
|
|
6
6
|
"caiq": "npmd:@comunica/actor-init-query/^2.0.0/",
|
|
@@ -10,9 +10,6 @@
|
|
|
10
10
|
"@context": {
|
|
11
11
|
"actorInitQuery": {
|
|
12
12
|
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase_actorInitQuery"
|
|
13
|
-
},
|
|
14
|
-
"": {
|
|
15
|
-
"@id": "caiq:components/QueryEngineBase.jsonld#QueryEngineBase_actorInitQuery"
|
|
16
13
|
}
|
|
17
14
|
}
|
|
18
15
|
},
|
|
@@ -249,9 +246,6 @@
|
|
|
249
246
|
"@context": {
|
|
250
247
|
"initialContext": {
|
|
251
248
|
"@id": "caiq:components/cli/CliArgsHandlerBase.jsonld#CliArgsHandlerBase_initialContext"
|
|
252
|
-
},
|
|
253
|
-
"": {
|
|
254
|
-
"@id": "caiq:components/cli/CliArgsHandlerBase.jsonld#CliArgsHandlerBase_initialContext"
|
|
255
249
|
}
|
|
256
250
|
}
|
|
257
251
|
},
|
|
@@ -278,9 +272,6 @@
|
|
|
278
272
|
},
|
|
279
273
|
"ing": {
|
|
280
274
|
"@id": "caiq:components/cli/CliArgsHandlerQuery.jsonld#CliArgsHandlerQuery_queryString"
|
|
281
|
-
},
|
|
282
|
-
"": {
|
|
283
|
-
"@id": "caiq:components/cli/CliArgsHandlerQuery.jsonld#CliArgsHandlerQuery_context"
|
|
284
275
|
}
|
|
285
276
|
}
|
|
286
277
|
},
|
package/lib/QueryEngineBase.js
CHANGED
|
@@ -154,10 +154,10 @@ class QueryEngineBase {
|
|
|
154
154
|
// Make sure the whole result is produced
|
|
155
155
|
switch (finalOutput.resultType) {
|
|
156
156
|
case 'bindings':
|
|
157
|
-
await finalOutput.
|
|
157
|
+
await (await finalOutput.execute()).toArray();
|
|
158
158
|
break;
|
|
159
159
|
case 'quads':
|
|
160
|
-
await finalOutput.
|
|
160
|
+
await (await finalOutput.execute()).toArray();
|
|
161
161
|
break;
|
|
162
162
|
case 'boolean':
|
|
163
163
|
await finalOutput.execute();
|
|
@@ -241,12 +241,6 @@ class QueryEngineBase {
|
|
|
241
241
|
execute: async () => internalResult.bindingsStream,
|
|
242
242
|
metadata: async () => await internalResult.metadata(),
|
|
243
243
|
context: internalResult.context,
|
|
244
|
-
bindings: () => new Promise((resolve, reject) => {
|
|
245
|
-
const result = [];
|
|
246
|
-
internalResult.bindingsStream.on('data', (data) => result.push(data));
|
|
247
|
-
internalResult.bindingsStream.on('end', () => resolve(result));
|
|
248
|
-
internalResult.bindingsStream.on('error', reject);
|
|
249
|
-
}),
|
|
250
244
|
};
|
|
251
245
|
case 'quads':
|
|
252
246
|
return {
|
|
@@ -254,12 +248,6 @@ class QueryEngineBase {
|
|
|
254
248
|
execute: async () => internalResult.quadStream,
|
|
255
249
|
metadata: async () => await internalResult.metadata(),
|
|
256
250
|
context: internalResult.context,
|
|
257
|
-
quads: () => new Promise((resolve, reject) => {
|
|
258
|
-
const result = [];
|
|
259
|
-
internalResult.quadStream.on('data', (data) => result.push(data));
|
|
260
|
-
internalResult.quadStream.on('end', () => resolve(result));
|
|
261
|
-
internalResult.quadStream.on('error', reject);
|
|
262
|
-
}),
|
|
263
251
|
};
|
|
264
252
|
case 'boolean':
|
|
265
253
|
return {
|
package/lib/index-browser.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-init-query",
|
|
3
|
-
"version": "2.0.1
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A query init actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -31,23 +31,23 @@
|
|
|
31
31
|
"lib/**/*.js"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@comunica/actor-http-proxy": "2.0.1
|
|
35
|
-
"@comunica/bindings-factory": "2.0.1
|
|
36
|
-
"@comunica/bus-context-preprocess": "2.0.1
|
|
37
|
-
"@comunica/bus-http-invalidate": "2.0.1
|
|
38
|
-
"@comunica/bus-init": "2.0.1
|
|
39
|
-
"@comunica/bus-optimize-query-operation": "2.0.1
|
|
40
|
-
"@comunica/bus-query-operation": "2.0.1
|
|
41
|
-
"@comunica/bus-query-parse": "2.0.1
|
|
42
|
-
"@comunica/bus-query-result-serialize": "2.0.1
|
|
43
|
-
"@comunica/context-entries": "2.0.1
|
|
44
|
-
"@comunica/core": "2.0.1
|
|
45
|
-
"@comunica/logger-pretty": "2.0.1
|
|
46
|
-
"@comunica/runner": "2.0.1
|
|
47
|
-
"@comunica/types": "2.0.1
|
|
34
|
+
"@comunica/actor-http-proxy": "^2.0.1",
|
|
35
|
+
"@comunica/bindings-factory": "^2.0.1",
|
|
36
|
+
"@comunica/bus-context-preprocess": "^2.0.1",
|
|
37
|
+
"@comunica/bus-http-invalidate": "^2.0.1",
|
|
38
|
+
"@comunica/bus-init": "^2.0.1",
|
|
39
|
+
"@comunica/bus-optimize-query-operation": "^2.0.1",
|
|
40
|
+
"@comunica/bus-query-operation": "^2.0.1",
|
|
41
|
+
"@comunica/bus-query-parse": "^2.0.1",
|
|
42
|
+
"@comunica/bus-query-result-serialize": "^2.0.1",
|
|
43
|
+
"@comunica/context-entries": "^2.0.1",
|
|
44
|
+
"@comunica/core": "^2.0.1",
|
|
45
|
+
"@comunica/logger-pretty": "^2.0.1",
|
|
46
|
+
"@comunica/runner": "^2.0.1",
|
|
47
|
+
"@comunica/types": "^2.0.1",
|
|
48
48
|
"@rdfjs/types": "*",
|
|
49
49
|
"@types/yargs": "^17.0.2",
|
|
50
|
-
"asynciterator": "^3.
|
|
50
|
+
"asynciterator": "^3.3.0",
|
|
51
51
|
"negotiate": "^1.0.1",
|
|
52
52
|
"rdf-quad": "^1.4.0",
|
|
53
53
|
"rdf-string": "^1.5.0",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"browser": {
|
|
65
65
|
"./lib/index.js": "./lib/index-browser.js"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "4c66bfaa44f73786bc7403504e5fe571181430c7"
|
|
68
68
|
}
|
package/LICENSE.txt
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright © 2017–now Ruben Taelman, Joachim Van Herwegen
|
|
4
|
-
Comunica Association and Ghent University – imec, Belgium
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in
|
|
14
|
-
all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
-
THE SOFTWARE.
|