forked from PeterWaher/IoTGateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWaher.Script.Persistence.xml
More file actions
2498 lines (2498 loc) · 129 KB
/
Waher.Script.Persistence.xml
File metadata and controls
2498 lines (2498 loc) · 129 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>Waher.Script.Persistence</name>
</assembly>
<members>
<member name="T:Waher.Script.Persistence.Functions.DeleteObject">
<summary>
Deletes an object from the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.DeleteObject.#ctor(Waher.Script.Model.ScriptNode,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Deletes an object from the object database.
</summary>
<param name="Argument">Argument.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="P:Waher.Script.Persistence.Functions.DeleteObject.FunctionName">
<summary>
Name of the function
</summary>
</member>
<member name="P:Waher.Script.Persistence.Functions.DeleteObject.DefaultArgumentNames">
<summary>
Default Argument names
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.DeleteObject.EvaluateScalar(Waher.Script.Abstraction.Elements.IElement,Waher.Script.Variables)">
<summary>
Evaluates the function on a scalar argument.
</summary>
<param name="Argument">Function argument.</param>
<param name="Variables">Variables collection.</param>
<returns>Function result.</returns>
</member>
<member name="T:Waher.Script.Persistence.Functions.FindObjects">
<summary>
Finds objects in the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.FindObjects.#ctor(Waher.Script.Model.ScriptNode,Waher.Script.Model.ScriptNode,Waher.Script.Model.ScriptNode,Waher.Script.Model.ScriptNode,Waher.Script.Model.ScriptNode,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Finds object in the object database.
</summary>
<param name="Type">Type</param>
<param name="Offset">Offset</param>
<param name="MaxCount">Maximum number of objects to return.</param>
<param name="Filter">Search filter.</param>
<param name="SortOrder">Sort order.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="P:Waher.Script.Persistence.Functions.FindObjects.DefaultArgumentNames">
<summary>
Default Argument names
</summary>
</member>
<member name="P:Waher.Script.Persistence.Functions.FindObjects.FunctionName">
<summary>
Name of the function
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.FindObjects.Evaluate(Waher.Script.Abstraction.Elements.IElement[],Waher.Script.Variables)">
<summary>
Evaluates the function.
</summary>
<param name="Arguments">Function arguments.</param>
<param name="Variables">Variables collection.</param>
<returns>Function result.</returns>
</member>
<member name="T:Waher.Script.Persistence.Functions.Pivot">
<summary>
Pivots a result matrix so columns become rows, and vice versa. It is similar to the matrix transpose operator, except it takes
column headers into account also.
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.Pivot.#ctor(Waher.Script.Model.ScriptNode,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Pivots a result matrix so columns become rows, and vice versa. It is similar to the matrix transpose operator, except it takes
column headers into account also.
</summary>
<param name="Argument">Argument.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="P:Waher.Script.Persistence.Functions.Pivot.FunctionName">
<summary>
Name of the function
</summary>
</member>
<member name="P:Waher.Script.Persistence.Functions.Pivot.DefaultArgumentNames">
<summary>
Default Argument names
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.Pivot.EvaluateMatrix(Waher.Script.Abstraction.Elements.IMatrix,Waher.Script.Variables)">
<summary>
Evaluates the function on a matrix argument.
</summary>
<param name="Argument">Function argument.</param>
<param name="Variables">Variables collection.</param>
<returns>Function result.</returns>
</member>
<member name="T:Waher.Script.Persistence.Functions.SaveNewObject">
<summary>
Saves an object to the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.SaveNewObject.#ctor(Waher.Script.Model.ScriptNode,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Saves an object to the object database.
</summary>
<param name="Argument">Argument.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="P:Waher.Script.Persistence.Functions.SaveNewObject.FunctionName">
<summary>
Name of the function
</summary>
</member>
<member name="P:Waher.Script.Persistence.Functions.SaveNewObject.DefaultArgumentNames">
<summary>
Default Argument names
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.SaveNewObject.EvaluateScalar(Waher.Script.Abstraction.Elements.IElement,Waher.Script.Variables)">
<summary>
Evaluates the function on a scalar argument.
</summary>
<param name="Argument">Function argument.</param>
<param name="Variables">Variables collection.</param>
<returns>Function result.</returns>
</member>
<member name="T:Waher.Script.Persistence.Functions.UpdateObject">
<summary>
Updates an object in the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.UpdateObject.#ctor(Waher.Script.Model.ScriptNode,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Updates an object in the object database.
</summary>
<param name="Argument">Argument.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="P:Waher.Script.Persistence.Functions.UpdateObject.FunctionName">
<summary>
Name of the function
</summary>
</member>
<member name="P:Waher.Script.Persistence.Functions.UpdateObject.DefaultArgumentNames">
<summary>
Default Argument names
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.UpdateObject.EvaluateScalar(Waher.Script.Abstraction.Elements.IElement,Waher.Script.Variables)">
<summary>
Evaluates the function on a scalar argument.
</summary>
<param name="Argument">Function argument.</param>
<param name="Variables">Variables collection.</param>
<returns>Function result.</returns>
</member>
<member name="T:Waher.Script.Persistence.Functions.XPath">
<summary>
Node repesenting an XPath expression
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.XPath.#ctor(Waher.Script.Model.ScriptNode,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Node repesenting an XPath expression
</summary>
<param name="XPath">XPath expression.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="M:Waher.Script.Persistence.Functions.XPath.#ctor(System.String,System.Boolean,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Node repesenting an XPath expression
</summary>
<param name="XPath">XPath expression.</param>
<param name="ExtractValue">If the goal of the XPATH is to extract a value.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="P:Waher.Script.Persistence.Functions.XPath.FunctionName">
<summary>
Name of the function
</summary>
</member>
<member name="P:Waher.Script.Persistence.Functions.XPath.XPathExpression">
<summary>
XPATH expression
</summary>
</member>
<member name="P:Waher.Script.Persistence.Functions.XPath.ExtractValue">
<summary>
If the value should be extracted.
</summary>
</member>
<member name="M:Waher.Script.Persistence.Functions.XPath.Evaluate(Waher.Script.Variables)">
<summary>
Evaluates the node, using the variables provided in the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.Functions.XPath.EvaluateScalar(System.String,Waher.Script.Variables)">
<summary>
Evaluates the function on a scalar argument.
</summary>
<param name="Argument">Function argument.</param>
<param name="Variables">Variables collection.</param>
<returns>Function result.</returns>
</member>
<member name="M:Waher.Script.Persistence.Functions.XPath.ToElement(System.Xml.XmlNode,System.Boolean)">
<summary>
Encapsulates an XML Node for use in script.
</summary>
<param name="Node">XML Node</param>
<param name="ExtractValue">If the goal of the XPATH is to extract a value.</param>
<returns>Script element.</returns>
</member>
<member name="T:Waher.Script.Persistence.Output.CaseInsensitiveStringOutput">
<summary>
Converts values of type <see cref="T:Waher.Persistence.CaseInsensitiveString"/> to expression strings.
</summary>
</member>
<member name="M:Waher.Script.Persistence.Output.CaseInsensitiveStringOutput.Supports(System.Type)">
<summary>
If the interface understands objects such as <paramref name="Object"/>.
</summary>
<param name="Object">Object</param>
<returns>How well objects of this type are supported.</returns>
</member>
<member name="M:Waher.Script.Persistence.Output.CaseInsensitiveStringOutput.GetString(System.Object)">
<summary>
Gets a string representing a value.
</summary>
<param name="Value">Value</param>
<returns>Expression string.</returns>
</member>
<member name="T:Waher.Script.Persistence.Output.GenericObjectOutput">
<summary>
Converts values of type <see cref="T:Waher.Persistence.Serialization.GenericObject"/> to expression strings.
</summary>
</member>
<member name="M:Waher.Script.Persistence.Output.GenericObjectOutput.Supports(System.Type)">
<summary>
If the interface understands objects such as <paramref name="Object"/>.
</summary>
<param name="Object">Object</param>
<returns>How well objects of this type are supported.</returns>
</member>
<member name="M:Waher.Script.Persistence.Output.GenericObjectOutput.GetString(System.Object)">
<summary>
Gets a string representing a value.
</summary>
<param name="Value">Value</param>
<returns>Expression string.</returns>
</member>
<member name="T:Waher.Script.Persistence.Output.GenericObjectPropertyEnumerator">
<summary>
Enumerates properties in a <see cref="T:Waher.Persistence.Serialization.GenericObject"/> object.
</summary>
</member>
<member name="M:Waher.Script.Persistence.Output.GenericObjectPropertyEnumerator.#ctor">
<summary>
Enumerates properties in a <see cref="T:Waher.Persistence.Serialization.GenericObject"/> object.
</summary>
</member>
<member name="M:Waher.Script.Persistence.Output.GenericObjectPropertyEnumerator.EnumerateProperties(System.Object)">
<summary>
Enumerates the properties of an object (of a type it supports).
</summary>
<param name="Object">Object</param>
<returns>Property enumeration as a script element.</returns>
</member>
<member name="M:Waher.Script.Persistence.Output.GenericObjectPropertyEnumerator.Supports(System.Type)">
<summary>
If the interface understands objects such as <paramref name="Object"/>.
</summary>
<param name="Object">Object</param>
<returns>How well objects of this type are supported.</returns>
</member>
<member name="T:Waher.Script.Persistence.SQL.ConditionalEnumerator">
<summary>
Enumerator that only returns elements matching a set of conditions.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.ConditionalEnumerator.#ctor(Waher.Script.Persistence.SQL.IResultSetEnumerator,Waher.Script.Variables,Waher.Script.Model.ScriptNode)">
<summary>
Enumerator that only returns elements matching a set of conditions.
</summary>
<param name="ItemEnumerator">Item enumerator</param>
<param name="Variables">Current set of variables.</param>
<param name="Conditions">Set of conditions that must be fulfilled.</param>
</member>
<member name="P:Waher.Script.Persistence.SQL.ConditionalEnumerator.Current">
<summary>
<see cref="P:System.Collections.IEnumerator.Current"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.ConditionalEnumerator.MoveNext">
<summary>
<see cref="M:System.Collections.IEnumerator.MoveNext"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.ConditionalEnumerator.MoveNextAsync">
<summary>
<see cref="M:Waher.Persistence.IAsyncEnumerator.MoveNextAsync"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.ConditionalEnumerator.Reset">
<summary>
<see cref="M:System.Collections.IEnumerator.Reset"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.CreateIndex">
<summary>
Executes an CREATE INDEX ... ON ... (...) statement against the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.CreateIndex.#ctor(Waher.Script.Model.ScriptNode,Waher.Script.Persistence.SQL.SourceDefinition,Waher.Script.Model.ScriptNode[],System.Boolean[],System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Executes an CREATE INDEX ... ON ... (...) statement against the object database.
</summary>
<param name="Name">Name of index.</param>
<param name="Source">Source to create index in.</param>
<param name="Columns">Columns</param>
<param name="Ascending">If columns are escending (true) or descending (false).</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.CreateIndex.Evaluate(Waher.Script.Variables)">
<summary>
Evaluates the node, using the variables provided in the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.CreateIndex.EvaluateAsync(Waher.Script.Variables)">
<summary>
Evaluates the node asynchronously, using the variables provided in
the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.CreateIndex.ForAllChildNodes(Waher.Script.Model.ScriptNodeEventHandler,System.Object,System.Boolean)">
<summary>
Calls the callback method for all child nodes.
</summary>
<param name="Callback">Callback method to call.</param>
<param name="State">State object to pass on to the callback method.</param>
<param name="DepthFirst">If calls are made depth first (true) or on each node and then its leaves (false).</param>
<returns>If the process was completed.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.CreateIndex.Equals(System.Object)">
<summary>
<see cref="M:System.Object.Equals(System.Object)"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.CreateIndex.GetHashCode">
<summary>
<see cref="M:System.Object.GetHashCode"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.CustomOrderEnumerator">
<summary>
Enumerator that reorders a sequence of items.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.CustomOrderEnumerator.#ctor(Waher.Script.Persistence.SQL.IResultSetEnumerator,Waher.Script.Variables,System.Collections.Generic.KeyValuePair{Waher.Script.Model.ScriptNode,System.Boolean}[])">
<summary>
Enumerator that reorders a sequence of items.
</summary>
<param name="ItemEnumerator">Item enumerator</param>
<param name="Variables">Current set of variables.</param>
<param name="Order">Custom order.</param>
</member>
<member name="P:Waher.Script.Persistence.SQL.CustomOrderEnumerator.Current">
<summary>
<see cref="P:System.Collections.IEnumerator.Current"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.CustomOrderEnumerator.MoveNext">
<summary>
<see cref="M:System.Collections.IEnumerator.MoveNext"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.CustomOrderEnumerator.MoveNextAsync">
<summary>
<see cref="M:System.Collections.IEnumerator.MoveNext"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.CustomOrderEnumerator.Reset">
<summary>
<see cref="M:System.Collections.IEnumerator.Reset"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.Delete">
<summary>
Executes a DELETE statement against the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.Delete.#ctor(Waher.Script.Persistence.SQL.SourceDefinition,Waher.Script.Model.ScriptNode,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Executes a DELETE statement against the object database.
</summary>
<param name="Source">Source to delete from.</param>
<param name="Where">Optional where clause</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.Delete.Evaluate(Waher.Script.Variables)">
<summary>
Evaluates the node, using the variables provided in the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.Delete.EvaluateAsync(Waher.Script.Variables)">
<summary>
Evaluates the node asynchronously, using the variables provided in
the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.Delete.ForAllChildNodes(Waher.Script.Model.ScriptNodeEventHandler,System.Object,System.Boolean)">
<summary>
Calls the callback method for all child nodes.
</summary>
<param name="Callback">Callback method to call.</param>
<param name="State">State object to pass on to the callback method.</param>
<param name="DepthFirst">If calls are made depth first (true) or on each node and then its leaves (false).</param>
<returns>If the process was completed.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.Delete.Equals(System.Object)">
<summary>
<see cref="M:System.Object.Equals(System.Object)"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.Delete.GetHashCode">
<summary>
<see cref="M:System.Object.GetHashCode"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.DistinctEnumerator">
<summary>
Enumerator that limits the return set to a maximum number of records.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.DistinctEnumerator.#ctor(Waher.Script.Persistence.SQL.IResultSetEnumerator,Waher.Script.Model.ScriptNode[],Waher.Script.Variables)">
<summary>
Enumerator that limits the return set to a maximum number of records.
</summary>
<param name="ItemEnumerator">Item enumerator</param>
<param name="Columns">Column definitions. Might be null if objects are to be returned.</param>
<param name="Variables">Current set of variables.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.DistinctEnumerator.MoveNext">
<summary>
<see cref="M:System.Collections.IEnumerator.MoveNext"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.DistinctEnumerator.Reset">
<summary>
<see cref="M:System.Collections.IEnumerator.Reset"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.DropCollection">
<summary>
Executes an DROP INDEX ... ON ... statement against the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropCollection.#ctor(Waher.Script.Persistence.SQL.SourceDefinition,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Executes an DROP COLLECTION|TABLE ... statement against the object database.
</summary>
<param name="Source">Source to create index in.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropCollection.Evaluate(Waher.Script.Variables)">
<summary>
Evaluates the node, using the variables provided in the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropCollection.EvaluateAsync(Waher.Script.Variables)">
<summary>
Evaluates the node asynchronously, using the variables provided in
the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropCollection.ForAllChildNodes(Waher.Script.Model.ScriptNodeEventHandler,System.Object,System.Boolean)">
<summary>
Calls the callback method for all child nodes.
</summary>
<param name="Callback">Callback method to call.</param>
<param name="State">State object to pass on to the callback method.</param>
<param name="DepthFirst">If calls are made depth first (true) or on each node and then its leaves (false).</param>
<returns>If the process was completed.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropCollection.Equals(System.Object)">
<summary>
<see cref="M:System.Object.Equals(System.Object)"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropCollection.GetHashCode">
<summary>
<see cref="M:System.Object.GetHashCode"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.DropIndex">
<summary>
Executes an DROP INDEX ... ON ... statement against the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropIndex.#ctor(Waher.Script.Model.ScriptNode,Waher.Script.Persistence.SQL.SourceDefinition,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Executes an DROP INDEX ... ON ... statement against the object database.
</summary>
<param name="Name">Name of index.</param>
<param name="Source">Source to create index in.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropIndex.Evaluate(Waher.Script.Variables)">
<summary>
Evaluates the node, using the variables provided in the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropIndex.EvaluateAsync(Waher.Script.Variables)">
<summary>
Evaluates the node asynchronously, using the variables provided in
the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropIndex.ForAllChildNodes(Waher.Script.Model.ScriptNodeEventHandler,System.Object,System.Boolean)">
<summary>
Calls the callback method for all child nodes.
</summary>
<param name="Callback">Callback method to call.</param>
<param name="State">State object to pass on to the callback method.</param>
<param name="DepthFirst">If calls are made depth first (true) or on each node and then its leaves (false).</param>
<returns>If the process was completed.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropIndex.Equals(System.Object)">
<summary>
<see cref="M:System.Object.Equals(System.Object)"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.DropIndex.GetHashCode">
<summary>
<see cref="M:System.Object.GetHashCode"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.FieldAggregatorEnumerator">
<summary>
Enumerator that adds fields to enumerated items.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.FieldAggregatorEnumerator.#ctor(Waher.Script.Persistence.SQL.IResultSetEnumerator,Waher.Script.Variables,System.Collections.Generic.KeyValuePair{System.String,Waher.Script.Model.ScriptNode}[])">
<summary>
Enumerator that adds fields to enumerated items.
</summary>
<param name="ItemEnumerator">Item enumerator</param>
<param name="Variables">Current set of variables</param>
<param name="AdditionalFields">Fields to add to enumerated items.</param>
</member>
<member name="P:Waher.Script.Persistence.SQL.FieldAggregatorEnumerator.Current">
<summary>
<see cref="P:System.Collections.IEnumerator.Current"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.FieldAggregatorEnumerator.MoveNext">
<summary>
<see cref="M:System.Collections.IEnumerator.MoveNext"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.FieldAggregatorEnumerator.MoveNextAsync">
<summary>
Advances the enumerator to the next element of the collection.
</summary>
<returns>true if the enumerator was successfully advanced to the next element; false if
the enumerator has passed the end of the collection.</returns>
<exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created.</exception>
</member>
<member name="M:Waher.Script.Persistence.SQL.FieldAggregatorEnumerator.Reset">
<summary>
<see cref="M:System.Collections.IEnumerator.Reset"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.Groups.GroupEnumerator">
<summary>
Enumerator that groups items into groups, and returns aggregated elements.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.Groups.GroupEnumerator.#ctor(Waher.Script.Persistence.SQL.IResultSetEnumerator,Waher.Script.Variables,Waher.Script.Model.ScriptNode[],Waher.Script.Model.ScriptNode[])">
<summary>
Enumerator that groups items into groups, and returns aggregated elements.
</summary>
<param name="ItemEnumerator">Item enumerator</param>
<param name="Variables">Current set of variables</param>
<param name="GroupBy">Group on these fields</param>
<param name="GroupNames">Names given to grouped fields</param>
</member>
<member name="P:Waher.Script.Persistence.SQL.Groups.GroupEnumerator.Current">
<summary>
<see cref="P:System.Collections.IEnumerator.Current"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.Groups.GroupEnumerator.MoveNext">
<summary>
<see cref="M:System.Collections.IEnumerator.MoveNext"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.Groups.GroupEnumerator.MoveNextAsync">
<summary>
Advances the enumerator to the next element of the collection.
</summary>
<returns>true if the enumerator was successfully advanced to the next element; false if
the enumerator has passed the end of the collection.</returns>
<exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created.</exception>
</member>
<member name="M:Waher.Script.Persistence.SQL.Groups.GroupEnumerator.Reset">
<summary>
<see cref="M:System.Collections.IEnumerator.Reset"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.Groups.GroupObject">
<summary>
Represents a collection of objects grouped together useing a GROUP BY construct.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.Groups.GroupObject.#ctor(System.Object[],System.Object[],Waher.Script.Model.ScriptNode[],Waher.Script.Variables)">
<summary>
Represents a collection of objects grouped together useing a GROUP BY construct.
</summary>
<param name="Objects">Objects</param>
<param name="GroupByValues">Grouped values that are constant in the group.</param>
<param name="GroupNames">Names of the grouped values.</param>
<param name="Variables">Current set of variables.</param>
</member>
<member name="P:Waher.Script.Persistence.SQL.Groups.GroupObject.Item(System.String)">
<summary>
Access to grouped properties.
</summary>
<param name="Name">Named property</param>
<returns></returns>
</member>
<member name="P:Waher.Script.Persistence.SQL.Groups.GroupObject.Count">
<summary>
Number of objects in group.
</summary>
</member>
<member name="P:Waher.Script.Persistence.SQL.Groups.GroupObject.Objects">
<summary>
Objects in group.
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.IDataSource">
<summary>
Interface for data sources that can be used in SQL statements.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.IDataSource.Find(System.Int32,System.Int32,Waher.Script.Model.ScriptNode,Waher.Script.Variables,System.Collections.Generic.KeyValuePair{Waher.Script.Model.VariableReference,System.Boolean}[],Waher.Script.Model.ScriptNode)">
<summary>
Finds objects matching filter conditions in <paramref name="Where"/>.
</summary>
<param name="Offset">Offset at which to return elements.</param>
<param name="Top">Maximum number of elements to return.</param>
<param name="Where">Filter conditions.</param>
<param name="Variables">Current set of variables.</param>
<param name="Order">Order at which to order the result set.</param>
<param name="Node">Script node performing the evaluation.</param>
<returns>Enumerator.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.IDataSource.FindDelete(System.Int32,System.Int32,Waher.Script.Model.ScriptNode,Waher.Script.Variables,System.Collections.Generic.KeyValuePair{Waher.Script.Model.VariableReference,System.Boolean}[],Waher.Script.Model.ScriptNode)">
<summary>
Finds and Deletes a set of objects.
</summary>
<param name="Offset">Offset at which to return elements.</param>
<param name="Top">Maximum number of elements to return.</param>
<param name="Where">Filter conditions.</param>
<param name="Variables">Current set of variables.</param>
<param name="Order">Order at which to order the result set.</param>
<param name="Node">Script node performing the evaluation.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.IDataSource.Update(System.Collections.Generic.IEnumerable{System.Object})">
<summary>
Updates a set of objects.
</summary>
<param name="Objects">Objects to update</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.IDataSource.Insert(System.Object)">
<summary>
Inserts an object.
</summary>
<param name="Object">Object to insert.</param>
</member>
<member name="P:Waher.Script.Persistence.SQL.IDataSource.CollectionName">
<summary>
Name of corresponding collection.
</summary>
</member>
<member name="P:Waher.Script.Persistence.SQL.IDataSource.TypeName">
<summary>
Name of corresponding type.
</summary>
</member>
<member name="P:Waher.Script.Persistence.SQL.IDataSource.Name">
<summary>
Collection name or alias.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.IDataSource.IsSource(System.String)">
<summary>
Checks if the name refers to the source.
</summary>
<param name="Name">Name to check.</param>
<returns>If the name refers to the source.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.IDataSource.IsLabel(System.String)">
<summary>
Checks if the label is a label in the source.
</summary>
<param name="Label">Label</param>
<returns>If the label is a label in the source.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.IDataSource.CreateIndex(System.String,System.String[])">
<summary>
Creates an index in the source.
</summary>
<param name="Name">Name of index.</param>
<param name="Fields">Field names. Prefix with hyphen (-) to define descending order.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.IDataSource.DropIndex(System.String)">
<summary>
Drops an index from the source.
</summary>
<param name="Name">Name of index.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.IDataSource.DropCollection">
<summary>
Drops the collection from the source.
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.InsertObjects">
<summary>
Executes an INSERT ... OBJECT[S] ... statement against the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertObjects.#ctor(Waher.Script.Persistence.SQL.SourceDefinition,Waher.Script.Operators.ElementList,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Executes an INSERT ... OBJECT[S] ... statement against the object database.
</summary>
<param name="Source">Source to update objects from.</param>
<param name="Objects">Objects</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertObjects.Evaluate(Waher.Script.Variables)">
<summary>
Evaluates the node, using the variables provided in the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertObjects.EvaluateAsync(Waher.Script.Variables)">
<summary>
Evaluates the node asynchronously, using the variables provided in
the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertObjects.ForAllChildNodes(Waher.Script.Model.ScriptNodeEventHandler,System.Object,System.Boolean)">
<summary>
Calls the callback method for all child nodes.
</summary>
<param name="Callback">Callback method to call.</param>
<param name="State">State object to pass on to the callback method.</param>
<param name="DepthFirst">If calls are made depth first (true) or on each node and then its leaves (false).</param>
<returns>If the process was completed.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertObjects.Equals(System.Object)">
<summary>
<see cref="M:System.Object.Equals(System.Object)"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertObjects.GetHashCode">
<summary>
<see cref="M:System.Object.GetHashCode"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.InsertSelect">
<summary>
Executes an INSERT SELECT statement against the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertSelect.#ctor(Waher.Script.Persistence.SQL.SourceDefinition,Waher.Script.Persistence.SQL.Select,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Executes an INSERT SELECT statement against the object database.
</summary>
<param name="Source">Source to update objects from.</param>
<param name="Select">SELECT statement.</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertSelect.Evaluate(Waher.Script.Variables)">
<summary>
Evaluates the node, using the variables provided in the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertSelect.EvaluateAsync(Waher.Script.Variables)">
<summary>
Evaluates the node asynchronously, using the variables provided in
the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertSelect.ForAllChildNodes(Waher.Script.Model.ScriptNodeEventHandler,System.Object,System.Boolean)">
<summary>
Calls the callback method for all child nodes.
</summary>
<param name="Callback">Callback method to call.</param>
<param name="State">State object to pass on to the callback method.</param>
<param name="DepthFirst">If calls are made depth first (true) or on each node and then its leaves (false).</param>
<returns>If the process was completed.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertSelect.Equals(System.Object)">
<summary>
<see cref="M:System.Object.Equals(System.Object)"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertSelect.GetHashCode">
<summary>
<see cref="M:System.Object.GetHashCode"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.InsertValues">
<summary>
Executes an INSERT ... VALUES ... statement against the object database.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertValues.#ctor(Waher.Script.Persistence.SQL.SourceDefinition,Waher.Script.Operators.ElementList,Waher.Script.Operators.ElementList,System.Int32,System.Int32,Waher.Script.Expression)">
<summary>
Executes an INSERT ... VALUES ... statement against the object database.
</summary>
<param name="Source">Source to update objects from.</param>
<param name="Columns">Columns</param>
<param name="Values">Values</param>
<param name="Start">Start position in script expression.</param>
<param name="Length">Length of expression covered by node.</param>
<param name="Expression">Expression containing script.</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertValues.Evaluate(Waher.Script.Variables)">
<summary>
Evaluates the node, using the variables provided in the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertValues.EvaluateAsync(Waher.Script.Variables)">
<summary>
Evaluates the node asynchronously, using the variables provided in
the <paramref name="Variables"/> collection.
</summary>
<param name="Variables">Variables collection.</param>
<returns>Result.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertValues.GetName(Waher.Script.Model.ScriptNode,Waher.Script.Variables)">
<summary>
Gets a name from a script node, either by using the name of a variable reference, or evaluating the node to a string.
</summary>
<param name="Node">Node</param>
<param name="Variables">Variables</param>
<returns>Name</returns>
<exception cref="T:Waher.Script.Exceptions.ScriptRuntimeException">If node is not a variable reference, or does not evaluate to a string value.</exception>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertValues.ForAllChildNodes(Waher.Script.Model.ScriptNodeEventHandler,System.Object,System.Boolean)">
<summary>
Calls the callback method for all child nodes.
</summary>
<param name="Callback">Callback method to call.</param>
<param name="State">State object to pass on to the callback method.</param>
<param name="DepthFirst">If calls are made depth first (true) or on each node and then its leaves (false).</param>
<returns>If the process was completed.</returns>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertValues.Equals(System.Object)">
<summary>
<see cref="M:System.Object.Equals(System.Object)"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.InsertValues.GetHashCode">
<summary>
<see cref="M:System.Object.GetHashCode"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.IResultSetEnumerator">
<summary>
Interface for result-set enumerators.
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.MaxCountEnumerator">
<summary>
Enumerator that limits the return set to a maximum number of records.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.MaxCountEnumerator.#ctor(Waher.Script.Persistence.SQL.IResultSetEnumerator,System.Int32)">
<summary>
Enumerator that limits the return set to a maximum number of records.
</summary>
<param name="ItemEnumerator">Item enumerator</param>
<param name="Count">Maximum number of records to enumerate.</param>
</member>
<member name="P:Waher.Script.Persistence.SQL.MaxCountEnumerator.Current">
<summary>
<see cref="P:System.Collections.IEnumerator.Current"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.MaxCountEnumerator.MoveNext">
<summary>
<see cref="M:System.Collections.IEnumerator.MoveNext"/>
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.MaxCountEnumerator.MoveNextAsync">
<summary>
Advances the enumerator to the next element of the collection.
</summary>
<returns>true if the enumerator was successfully advanced to the next element; false if
the enumerator has passed the end of the collection.</returns>
<exception cref="T:System.InvalidOperationException">The collection was modified after the enumerator was created.</exception>
</member>
<member name="M:Waher.Script.Persistence.SQL.MaxCountEnumerator.Reset">
<summary>
<see cref="M:System.Collections.IEnumerator.Reset"/>
</summary>
</member>
<member name="T:Waher.Script.Persistence.SQL.ObjectProperties">
<summary>
Object properties.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.ObjectProperties.#ctor(System.Object,Waher.Script.Variables)">
<summary>
Object properties.
</summary>
<param name="Object">Object</param>
<param name="Variables">Variables</param>
</member>
<member name="M:Waher.Script.Persistence.SQL.ObjectProperties.#ctor(System.Object,Waher.Script.Variables,System.Boolean)">
<summary>
Object properties.
</summary>
<param name="Object">Object</param>
<param name="Variables">Variables</param>
<param name="ReadOnly">If access to object properties is read-only (default=true).</param>
</member>
<member name="P:Waher.Script.Persistence.SQL.ObjectProperties.Object">
<summary>
Current object.
</summary>
</member>
<member name="M:Waher.Script.Persistence.SQL.ObjectProperties.ContainsVariable(System.String)">
<summary>
If the collection contains a variable with a given name.
</summary>
<param name="Name">Variable name.</param>