@cloudcare/lezer-dql 0.0.46 → 0.0.50
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/dist/index.cjs +264 -254
- package/dist/index.d.ts +6 -2
- package/dist/index.es.js +261 -255
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -26,78 +26,79 @@ const SOffset$1 = 1,
|
|
|
26
26
|
Irate$1 = 20,
|
|
27
27
|
RateOverCount$1 = 21,
|
|
28
28
|
RateOverSum$1 = 22,
|
|
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
|
-
|
|
29
|
+
PercentileFromDdsketchPayload$1 = 23,
|
|
30
|
+
Deriv$1 = 24,
|
|
31
|
+
Increase$1 = 25,
|
|
32
|
+
Log$1 = 26,
|
|
33
|
+
Log10$1 = 27,
|
|
34
|
+
Log2$1 = 28,
|
|
35
|
+
Max$1 = 29,
|
|
36
|
+
Min$1 = 30,
|
|
37
|
+
Mode$1 = 31,
|
|
38
|
+
NonNegativeDerivative$1 = 32,
|
|
39
|
+
NonNegativeDifference$1 = 33,
|
|
40
|
+
Round$1 = 34,
|
|
41
|
+
Spread$1 = 35,
|
|
42
|
+
Stddev$1 = 36,
|
|
43
|
+
Sum$1 = 37,
|
|
44
|
+
Schema$1 = 38,
|
|
45
|
+
DistinctByCollapse$1 = 39,
|
|
46
|
+
Default$1 = 40,
|
|
47
|
+
Fill$1 = 41,
|
|
48
|
+
CountFilter$1 = 42,
|
|
49
|
+
Count$1 = 43,
|
|
50
|
+
First$1 = 44,
|
|
51
|
+
Any$1 = 45,
|
|
52
|
+
Last$1 = 46,
|
|
53
|
+
LastRow$1 = 47,
|
|
54
|
+
Bottom$1 = 48,
|
|
55
|
+
Top$1 = 49,
|
|
56
|
+
MovingAverage$1 = 50,
|
|
57
|
+
Percentile$1 = 51,
|
|
58
|
+
Median$1 = 52,
|
|
59
|
+
Set$1 = 53,
|
|
60
|
+
Int$1 = 54,
|
|
61
|
+
Float$1 = 55,
|
|
62
|
+
String$1 = 56,
|
|
63
|
+
Md5$1 = 57,
|
|
64
|
+
Histogram$1 = 58,
|
|
65
|
+
HistogramAuto$1 = 59,
|
|
66
|
+
HistogramQuantile$1 = 60,
|
|
67
|
+
Exists$1 = 61,
|
|
68
|
+
Cidr$1 = 62,
|
|
69
|
+
Match$1 = 63,
|
|
70
|
+
Regex$1 = 64,
|
|
71
|
+
Re$1 = 65,
|
|
72
|
+
Regexp$1 = 66,
|
|
73
|
+
RegexpExtract$1 = 67,
|
|
74
|
+
RegexpExtractAll$1 = 68,
|
|
75
|
+
Collect$1 = 69,
|
|
76
|
+
Concat$1 = 70,
|
|
77
|
+
Drain$1 = 71,
|
|
78
|
+
Wildcard$1 = 72,
|
|
79
|
+
QueryString$1 = 73,
|
|
80
|
+
Querystring$1 = 74,
|
|
81
|
+
WithLabels$1 = 75,
|
|
82
|
+
WithoutLabels$1 = 76,
|
|
83
|
+
Unwrap$1 = 77,
|
|
84
|
+
Now$1 = 78,
|
|
85
|
+
Cumsum$1 = 79,
|
|
86
|
+
Window$1 = 80,
|
|
87
|
+
Dbscan$1 = 81,
|
|
88
|
+
Eval$1 = 82,
|
|
89
|
+
Search$1 = 83,
|
|
90
|
+
Order$1 = 84,
|
|
91
|
+
SOrder$1 = 85,
|
|
92
|
+
Limit$1 = 86,
|
|
93
|
+
Slimit$1 = 87,
|
|
94
|
+
Asc$1 = 88,
|
|
95
|
+
Desc$1 = 89,
|
|
96
|
+
In$1 = 90,
|
|
97
|
+
Not$1 = 91,
|
|
98
|
+
NotIn$1 = 92,
|
|
99
|
+
By$1 = 93,
|
|
100
|
+
And$1 = 94,
|
|
101
|
+
Or$1 = 95;
|
|
101
102
|
|
|
102
103
|
function camelToSnake(str) {
|
|
103
104
|
return str
|
|
@@ -118,6 +119,7 @@ const funcTokenMap = {
|
|
|
118
119
|
Irate: Irate$1,
|
|
119
120
|
RateOverCount: RateOverCount$1,
|
|
120
121
|
RateOverSum: RateOverSum$1,
|
|
122
|
+
PercentileFromDdsketchPayload: PercentileFromDdsketchPayload$1,
|
|
121
123
|
Deriv: Deriv$1,
|
|
122
124
|
Increase: Increase$1,
|
|
123
125
|
Log: Log$1,
|
|
@@ -249,7 +251,7 @@ const DQLHighLight = highlight.styleTags({
|
|
|
249
251
|
Identifier: highlight.tags.variableName,
|
|
250
252
|
ShowIdentifier: highlight.tags.labelName,
|
|
251
253
|
NamespaceIdentifier: highlight.tags.labelName,
|
|
252
|
-
"Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum Deriv Increase Log Log10 Log2 Max Min Mode NonNegativeDerivative NonNegativeDifference Round Spread Stddev Sum Schema DistinctByCollapse Default Fill CountFilter Count First Any Last LastRow Bottom Top MovingAverage Percentile Median Set Int Float String Md5 Histogram HistogramAuto HistogramQuantile Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval Avg P99 P90 P95 P75 P50 Search":
|
|
254
|
+
"Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum PercentileFromDdsketchPayload Deriv Increase Log Log10 Log2 Max Min Mode NonNegativeDerivative NonNegativeDifference Round Spread Stddev Sum Schema DistinctByCollapse Default Fill CountFilter Count First Any Last LastRow Bottom Top MovingAverage Percentile Median Set Int Float String Md5 Histogram HistogramAuto HistogramQuantile Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval Avg P99 P90 P95 P75 P50 Search":
|
|
253
255
|
highlight.tags.function(highlight.tags.variableName),
|
|
254
256
|
"Order SOrder By Limit Offset Slimit SOffset As Desc Asc Having": highlight.tags.operatorKeyword,
|
|
255
257
|
"Base64 , DColon Comma": highlight.tags.modifier,
|
|
@@ -265,19 +267,19 @@ const DQLHighLight = highlight.styleTags({
|
|
|
265
267
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
266
268
|
const parser = lr.LRParser.deserialize({
|
|
267
269
|
version: 14,
|
|
268
|
-
states: "
|
|
269
|
-
stateData: "
|
|
270
|
-
goto: "
|
|
271
|
-
nodeNames: "⚠ SOffset Offset Base64 As P99 P50 P90 P95 P75 Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum Deriv Increase Log Log10 Log2 Max Min Mode NonNegativeDerivative NonNegativeDifference Round Spread Stddev Sum Schema DistinctByCollapse Default Fill CountFilter Count First Any Last LastRow Bottom Top MovingAverage Percentile Median Set Int Float String Md5 Histogram HistogramAuto HistogramQuantile Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval Search Order SOrder Limit Slimit Asc Desc In Not NotIn By And Or LineComment DQL QueryExpr EvalExpr EvalIdentifier EvalCallBody ArgItem Identifier EqlSingle StringLiteral Number FunctionCall FunctionIdentifier FunctionCallBody Expr SingleExpr Pow Mul Div Mod Add Sub Eql Gte Gtr Lte Lss InValue AsExpr OuterArgItem Queted Query Namespace IndexExpr IndexItem DColon DataSourceList DataSourceItem Star QuerySource QueryClause TargetClause Comma Projection ProjectionItem ProjectionField FieldName ProjectionExpr SingleFieldExpr Duration DurationExpr FilterClause FilterExpr InFieldValue BinaryExpr Neq NotInSeq
|
|
272
|
-
maxTerm:
|
|
270
|
+
states: "L|O&PQPOOO&^QPOOOOQO'#Ed'#EdOOQO'#El'#ElO&nQPO'#FSO&yQPO'#EbO'RQPO'#EcO'WQPO'#GWO']QPO'#GYOOQO'#Eb'#EbO'bQPO'#EbQOQPOOO']QPO'#EkO(UQQO'#GdO)OQPO'#G_OOQO'#G^'#G^O)^QPO'#GeOOQO'#Gd'#GdO)qQQO'#GcOOQO'#G]'#G]O*iQQO'#G]O+^QPO'#G]O,OQPO'#FTOOQO,5;n,5;nO,WQPO,5;mO,hQQO'#EeOOQO,5:},5:}O-gQSO'#GXOOQO,5<r,5<rO-nQQO'#EmOOQO,5<t,5<tOYQPO'#GtO.[QPO,5:|OOQO,5;V,5;VO.dQPO'#FnOOQO'#Ga'#GaO.iQQO,5<zOOQO'#Gb'#GbO.vQPO'#GuO/QQPO,5<yO/`QPO'#FbO/mQPO'#GgO/zQPO'#G^O0XQPO,5<xO0^QPO'#GgOOQO'#Gf'#GfOOQO,5=P,5=PO0iQPO,5=PO0qQPO'#GvO1OQQO,5<}O1vQPO'#F]O1}QQO'#FiO2hQQO'#FrO2x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V's'|(O(QU#r!X#u#yU#}'{'}(PU&z%f(W(XV'r'|(O(Qi#q!X#u#y%f'{'|'}(O(P(Q(W(XRYORlVRZPQcPT{`zV_P`zU^P`zR#RvXt]xy#QTv^wRdPQbPR#Y!QRePQ!P`R$t#VT}`#VT!ce!dQ$l!xQ$n!zT&Y$l$nQ&P$cQ&]$qT'V&P&]Q$f!sR&T$fQ$R!fR%o$RQ$W!iS%s$W'kR'k'YQ!adU#z!a$X'lQ$X!jR'l'ZQ&g$}R'g&gQ%Q#^S&k%Q'tR't'pQ%X#`R&r%XQ#n!WR%c#nQ%g#rQ%k#}U&{%g%k'uR'u'rQpYR!|pQw^R#SwQ!RbR#Z!RQ#W!PR$u#WQ!deR$P!d",
|
|
273
|
+
nodeNames: "⚠ SOffset Offset Base64 As P99 P50 P90 P95 P75 Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount RateOverSum PercentileFromDdsketchPayload Deriv Increase Log Log10 Log2 Max Min Mode NonNegativeDerivative NonNegativeDifference Round Spread Stddev Sum Schema DistinctByCollapse Default Fill CountFilter Count First Any Last LastRow Bottom Top MovingAverage Percentile Median Set Int Float String Md5 Histogram HistogramAuto HistogramQuantile Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval Search Order SOrder Limit Slimit Asc Desc In Not NotIn By And Or LineComment DQL QueryExpr EvalExpr EvalIdentifier EvalCallBody ArgItem Identifier EqlSingle StringLiteral Number FunctionCall FunctionIdentifier FunctionCallBody Expr SingleExpr Pow Mul Div Mod Add Sub Eql Gte Gtr Lte Lss DAnd DOr InValue AsExpr OuterArgItem Queted Query Namespace IndexExpr IndexItem DColon DataSourceList DataSourceItem Star QuerySource QueryClause TargetClause Comma Projection ProjectionItem ProjectionField FieldName ProjectionExpr SingleFieldExpr Duration DurationExpr ProjectFunc ProjectFuncItem FilterClause FilterExpr InFieldValue BinaryExpr Neq NotInSeq EqlRegex NeqRegex FilterSubExpr HavingClause Having HavingExpr SingleHavingExpr LimitClause TimeClause TimeRange TimeExpr PresetExpr RollupIdentifier ByClause ByExpr ByListExpr ByItem FieldCall OrderClause OffsetClause SLimitClause SOffsetClause SOrderClause OuterFunctionCall OuterFunctionCallBody ShowExpr ShowIdentifier DQLFragment QueryFragment FilterFragmentExpr LogicalFragmentExpr ComparisonExpr Operator LogicOp DataSourceListFragment DataSourceItemFragment ProjectionFragment ProjectionItemFragment ProjectionFieldFragment QueryFragmentClause",
|
|
274
|
+
maxTerm: 228,
|
|
273
275
|
propSources: [DQLHighLight],
|
|
274
|
-
skippedNodes: [0,
|
|
275
|
-
repeatNodeCount:
|
|
276
|
-
tokenData: "
|
|
276
|
+
skippedNodes: [0,92,96],
|
|
277
|
+
repeatNodeCount: 16,
|
|
278
|
+
tokenData: "!%[~R!VX^$hpq$hqr%]rs%pst)Tuv)lvw)qwx)|xy-Tyz-Yz{-_{|-h|}-m}!O-r!O!P.n!P!Q/|!Q!R0R!R![1P![!]:u!^!_;U!_!`;c!`!a;x!c!j.Y!j!k<V!k!n.Y!n!o?b!o!u.Y!u!vBr!v!wEt!w!{.Y!{!|Iq!|!}.Y!}#OLi#P#QLn#Q#RLs#R#S.Y#S#TLx#T#[.Y#[#]N`#]#g.Y#g#h!#T#h#o.Y#o#p!$u#p#q!$z#q#r!%V#y#z$h$f$g$h#BY#BZ$h$IS$I_$h$I|$JO$h$JT$JU$h$KV$KW$h&FU&FV$h~$mY%o~X^$hpq$h#y#z$h$f$g$h#BY#BZ$h$IS$I_$h$I|$JO$h$JT$JU$h$KV$KW$h&FU&FV$h~%`Q!_!`%f#r#s%k~%kO$a~~%pO$d~!a%wY%x!U#]ZOY&gZr&grs'Usz&gz{(_{#O&g#O#P'Z#P;'S&g;'S;=`(X<%lO&gZ&lW#]ZOY&gZr&grs'Us#O&g#O#P'Z#P;'S&g;'S;=`(X<%lO&gZ'ZO#]ZZ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|
|
281
|
+
specialized: [{term: 103, get: (value, stack) => (specializeIdentifier(value) << 1), external: specializeIdentifier},{term: 103, get: (value, stack) => (rollupIndentifier(value) << 1) | 1, external: rollupIndentifier, extend: true},{term: 103, get: (value, stack) => (funcIndentifier(value) << 1) | 1, external: funcIndentifier, extend: true},{term: 103, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true}],
|
|
282
|
+
tokenPrec: 4277
|
|
281
283
|
});
|
|
282
284
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
283
285
|
const SOffset = 1,
|
|
@@ -302,176 +304,180 @@ const SOffset = 1,
|
|
|
302
304
|
Irate = 20,
|
|
303
305
|
RateOverCount = 21,
|
|
304
306
|
RateOverSum = 22,
|
|
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
|
-
|
|
307
|
+
PercentileFromDdsketchPayload = 23,
|
|
308
|
+
Deriv = 24,
|
|
309
|
+
Increase = 25,
|
|
310
|
+
Log = 26,
|
|
311
|
+
Log10 = 27,
|
|
312
|
+
Log2 = 28,
|
|
313
|
+
Max = 29,
|
|
314
|
+
Min = 30,
|
|
315
|
+
Mode = 31,
|
|
316
|
+
NonNegativeDerivative = 32,
|
|
317
|
+
NonNegativeDifference = 33,
|
|
318
|
+
Round = 34,
|
|
319
|
+
Spread = 35,
|
|
320
|
+
Stddev = 36,
|
|
321
|
+
Sum = 37,
|
|
322
|
+
Schema = 38,
|
|
323
|
+
DistinctByCollapse = 39,
|
|
324
|
+
Default = 40,
|
|
325
|
+
Fill = 41,
|
|
326
|
+
CountFilter = 42,
|
|
327
|
+
Count = 43,
|
|
328
|
+
First = 44,
|
|
329
|
+
Any = 45,
|
|
330
|
+
Last = 46,
|
|
331
|
+
LastRow = 47,
|
|
332
|
+
Bottom = 48,
|
|
333
|
+
Top = 49,
|
|
334
|
+
MovingAverage = 50,
|
|
335
|
+
Percentile = 51,
|
|
336
|
+
Median = 52,
|
|
337
|
+
Set = 53,
|
|
338
|
+
Int = 54,
|
|
339
|
+
Float = 55,
|
|
340
|
+
String = 56,
|
|
341
|
+
Md5 = 57,
|
|
342
|
+
Histogram = 58,
|
|
343
|
+
HistogramAuto = 59,
|
|
344
|
+
HistogramQuantile = 60,
|
|
345
|
+
Exists = 61,
|
|
346
|
+
Cidr = 62,
|
|
347
|
+
Match = 63,
|
|
348
|
+
Regex = 64,
|
|
349
|
+
Re = 65,
|
|
350
|
+
Regexp = 66,
|
|
351
|
+
RegexpExtract = 67,
|
|
352
|
+
RegexpExtractAll = 68,
|
|
353
|
+
Collect = 69,
|
|
354
|
+
Concat = 70,
|
|
355
|
+
Drain = 71,
|
|
356
|
+
Wildcard = 72,
|
|
357
|
+
QueryString = 73,
|
|
358
|
+
Querystring = 74,
|
|
359
|
+
WithLabels = 75,
|
|
360
|
+
WithoutLabels = 76,
|
|
361
|
+
Unwrap = 77,
|
|
362
|
+
Now = 78,
|
|
363
|
+
Cumsum = 79,
|
|
364
|
+
Window = 80,
|
|
365
|
+
Dbscan = 81,
|
|
366
|
+
Eval = 82,
|
|
367
|
+
Search = 83,
|
|
368
|
+
Order = 84,
|
|
369
|
+
SOrder = 85,
|
|
370
|
+
Limit = 86,
|
|
371
|
+
Slimit = 87,
|
|
372
|
+
Asc = 88,
|
|
373
|
+
Desc = 89,
|
|
374
|
+
In = 90,
|
|
375
|
+
Not = 91,
|
|
376
|
+
NotIn = 92,
|
|
377
|
+
By = 93,
|
|
378
|
+
And = 94,
|
|
379
|
+
Or = 95,
|
|
380
|
+
LineComment = 96,
|
|
381
|
+
DQL = 97,
|
|
382
|
+
QueryExpr = 98,
|
|
383
|
+
EvalExpr = 99,
|
|
384
|
+
EvalIdentifier = 100,
|
|
385
|
+
EvalCallBody = 101,
|
|
386
|
+
ArgItem = 102,
|
|
387
|
+
Identifier = 103,
|
|
388
|
+
EqlSingle = 104,
|
|
389
|
+
StringLiteral = 105,
|
|
390
|
+
Number = 106,
|
|
391
|
+
FunctionCall = 107,
|
|
392
|
+
FunctionIdentifier = 108,
|
|
393
|
+
FunctionCallBody = 109,
|
|
394
|
+
Expr = 110,
|
|
395
|
+
SingleExpr = 111,
|
|
396
|
+
Pow = 112,
|
|
397
|
+
Mul = 113,
|
|
398
|
+
Div = 114,
|
|
399
|
+
Mod = 115,
|
|
400
|
+
Add = 116,
|
|
401
|
+
Sub = 117,
|
|
402
|
+
Eql = 118,
|
|
403
|
+
Gte = 119,
|
|
404
|
+
Gtr = 120,
|
|
405
|
+
Lte = 121,
|
|
406
|
+
Lss = 122,
|
|
407
|
+
DAnd = 123,
|
|
408
|
+
DOr = 124,
|
|
409
|
+
InValue = 125,
|
|
410
|
+
AsExpr = 126,
|
|
411
|
+
OuterArgItem = 127,
|
|
412
|
+
Queted = 128,
|
|
413
|
+
Query = 129,
|
|
414
|
+
Namespace = 130,
|
|
415
|
+
IndexExpr = 131,
|
|
416
|
+
IndexItem = 132,
|
|
417
|
+
DColon = 133,
|
|
418
|
+
DataSourceList = 134,
|
|
419
|
+
DataSourceItem = 135,
|
|
420
|
+
Star = 136,
|
|
421
|
+
QuerySource = 137,
|
|
422
|
+
QueryClause = 138,
|
|
423
|
+
TargetClause = 139,
|
|
424
|
+
Comma = 140,
|
|
425
|
+
Projection = 141,
|
|
426
|
+
ProjectionItem = 142,
|
|
427
|
+
ProjectionField = 143,
|
|
428
|
+
FieldName = 144,
|
|
429
|
+
ProjectionExpr = 145,
|
|
430
|
+
SingleFieldExpr = 146,
|
|
431
|
+
Duration = 147,
|
|
432
|
+
DurationExpr = 148,
|
|
433
|
+
ProjectFunc = 149,
|
|
434
|
+
ProjectFuncItem = 150,
|
|
435
|
+
FilterClause = 151,
|
|
436
|
+
FilterExpr = 152,
|
|
437
|
+
InFieldValue = 153,
|
|
438
|
+
BinaryExpr = 154,
|
|
439
|
+
Neq = 155,
|
|
440
|
+
NotInSeq = 156,
|
|
441
|
+
EqlRegex = 157,
|
|
442
|
+
NeqRegex = 158,
|
|
443
|
+
FilterSubExpr = 159,
|
|
444
|
+
HavingClause = 160,
|
|
445
|
+
Having = 161,
|
|
446
|
+
HavingExpr = 162,
|
|
447
|
+
SingleHavingExpr = 163,
|
|
448
|
+
LimitClause = 164,
|
|
449
|
+
TimeClause = 165,
|
|
450
|
+
TimeRange = 166,
|
|
451
|
+
TimeExpr = 167,
|
|
452
|
+
PresetExpr = 168,
|
|
453
|
+
RollupIdentifier = 169,
|
|
454
|
+
ByClause = 170,
|
|
455
|
+
ByExpr = 171,
|
|
456
|
+
ByListExpr = 172,
|
|
457
|
+
ByItem = 173,
|
|
458
|
+
FieldCall = 174,
|
|
459
|
+
OrderClause = 175,
|
|
460
|
+
OffsetClause = 176,
|
|
461
|
+
SLimitClause = 177,
|
|
462
|
+
SOffsetClause = 178,
|
|
463
|
+
SOrderClause = 179,
|
|
464
|
+
OuterFunctionCall = 180,
|
|
465
|
+
OuterFunctionCallBody = 181,
|
|
466
|
+
ShowExpr = 182,
|
|
467
|
+
ShowIdentifier = 183,
|
|
468
|
+
DQLFragment = 184,
|
|
469
|
+
QueryFragment = 185,
|
|
470
|
+
FilterFragmentExpr = 186,
|
|
471
|
+
LogicalFragmentExpr = 187,
|
|
472
|
+
ComparisonExpr = 188,
|
|
473
|
+
Operator = 189,
|
|
474
|
+
LogicOp = 190,
|
|
475
|
+
DataSourceListFragment = 191,
|
|
476
|
+
DataSourceItemFragment = 192,
|
|
477
|
+
ProjectionFragment = 193,
|
|
478
|
+
ProjectionItemFragment = 194,
|
|
479
|
+
ProjectionFieldFragment = 195,
|
|
480
|
+
QueryFragmentClause = 196;
|
|
475
481
|
|
|
476
482
|
exports.Abs = Abs;
|
|
477
483
|
exports.Add = Add;
|
|
@@ -607,7 +613,11 @@ exports.P90 = P90;
|
|
|
607
613
|
exports.P95 = P95;
|
|
608
614
|
exports.P99 = P99;
|
|
609
615
|
exports.Percentile = Percentile;
|
|
616
|
+
exports.PercentileFromDdsketchPayload = PercentileFromDdsketchPayload;
|
|
610
617
|
exports.Pow = Pow;
|
|
618
|
+
exports.PresetExpr = PresetExpr;
|
|
619
|
+
exports.ProjectFunc = ProjectFunc;
|
|
620
|
+
exports.ProjectFuncItem = ProjectFuncItem;
|
|
611
621
|
exports.Projection = Projection;
|
|
612
622
|
exports.ProjectionExpr = ProjectionExpr;
|
|
613
623
|
exports.ProjectionField = ProjectionField;
|