@cloudcare/lezer-dql 0.0.42 → 0.0.44
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 +255 -247
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +254 -248
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -25,75 +25,77 @@ const SOffset$1 = 1,
|
|
|
25
25
|
Rate$1 = 19,
|
|
26
26
|
Irate$1 = 20,
|
|
27
27
|
RateOverCount$1 = 21,
|
|
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
|
-
|
|
28
|
+
RateOverSum$1 = 22,
|
|
29
|
+
Deriv$1 = 23,
|
|
30
|
+
Increase$1 = 24,
|
|
31
|
+
Log$1 = 25,
|
|
32
|
+
Log10$1 = 26,
|
|
33
|
+
Log2$1 = 27,
|
|
34
|
+
Max$1 = 28,
|
|
35
|
+
Min$1 = 29,
|
|
36
|
+
Mode$1 = 30,
|
|
37
|
+
NonNegativeDerivative$1 = 31,
|
|
38
|
+
NonNegativeDifference$1 = 32,
|
|
39
|
+
Round$1 = 33,
|
|
40
|
+
Spread$1 = 34,
|
|
41
|
+
Stddev$1 = 35,
|
|
42
|
+
Sum$1 = 36,
|
|
43
|
+
Schema$1 = 37,
|
|
44
|
+
DistinctByCollapse$1 = 38,
|
|
45
|
+
Default$1 = 39,
|
|
46
|
+
Fill$1 = 40,
|
|
47
|
+
CountFilter$1 = 41,
|
|
48
|
+
Count$1 = 42,
|
|
49
|
+
First$1 = 43,
|
|
50
|
+
Any$1 = 44,
|
|
51
|
+
Last$1 = 45,
|
|
52
|
+
LastRow$1 = 46,
|
|
53
|
+
Bottom$1 = 47,
|
|
54
|
+
Top$1 = 48,
|
|
55
|
+
MovingAverage$1 = 49,
|
|
56
|
+
Percentile$1 = 50,
|
|
57
|
+
Median$1 = 51,
|
|
58
|
+
Set$1 = 52,
|
|
59
|
+
Int$1 = 53,
|
|
60
|
+
Float$1 = 54,
|
|
61
|
+
String$1 = 55,
|
|
62
|
+
Md5$1 = 56,
|
|
63
|
+
Histogram$1 = 57,
|
|
64
|
+
Exists$1 = 58,
|
|
65
|
+
Cidr$1 = 59,
|
|
66
|
+
Match$1 = 60,
|
|
67
|
+
Regex$1 = 61,
|
|
68
|
+
Re$1 = 62,
|
|
69
|
+
Regexp$1 = 63,
|
|
70
|
+
RegexpExtract$1 = 64,
|
|
71
|
+
RegexpExtractAll$1 = 65,
|
|
72
|
+
Collect$1 = 66,
|
|
73
|
+
Concat$1 = 67,
|
|
74
|
+
Drain$1 = 68,
|
|
75
|
+
Wildcard$1 = 69,
|
|
76
|
+
QueryString$1 = 70,
|
|
77
|
+
Querystring$1 = 71,
|
|
78
|
+
WithLabels$1 = 72,
|
|
79
|
+
WithoutLabels$1 = 73,
|
|
80
|
+
Unwrap$1 = 74,
|
|
81
|
+
Now$1 = 75,
|
|
82
|
+
Cumsum$1 = 76,
|
|
83
|
+
Window$1 = 77,
|
|
84
|
+
Dbscan$1 = 78,
|
|
85
|
+
Eval$1 = 79,
|
|
86
|
+
Search$1 = 80,
|
|
87
|
+
Order$1 = 81,
|
|
88
|
+
SOrder$1 = 82,
|
|
89
|
+
Limit$1 = 83,
|
|
90
|
+
Slimit$1 = 84,
|
|
91
|
+
Asc$1 = 85,
|
|
92
|
+
Desc$1 = 86,
|
|
93
|
+
In$1 = 87,
|
|
94
|
+
Not$1 = 88,
|
|
95
|
+
NotIn$1 = 89,
|
|
96
|
+
By$1 = 90,
|
|
97
|
+
And$1 = 91,
|
|
98
|
+
Or$1 = 92;
|
|
97
99
|
|
|
98
100
|
function camelToSnake(str) {
|
|
99
101
|
return str
|
|
@@ -113,6 +115,7 @@ const funcTokenMap = {
|
|
|
113
115
|
Rate: Rate$1,
|
|
114
116
|
Irate: Irate$1,
|
|
115
117
|
RateOverCount: RateOverCount$1,
|
|
118
|
+
RateOverSum: RateOverSum$1,
|
|
116
119
|
Deriv: Deriv$1,
|
|
117
120
|
Increase: Increase$1,
|
|
118
121
|
Log: Log$1,
|
|
@@ -171,6 +174,7 @@ const funcTokenMap = {
|
|
|
171
174
|
Dbscan: Dbscan$1,
|
|
172
175
|
Eval: Eval$1,
|
|
173
176
|
Avg: Avg$1,
|
|
177
|
+
Search: Search$1,
|
|
174
178
|
};
|
|
175
179
|
|
|
176
180
|
const contextualKeywordTokenMap = {
|
|
@@ -241,7 +245,7 @@ const DQLHighLight = highlight.styleTags({
|
|
|
241
245
|
Identifier: highlight.tags.variableName,
|
|
242
246
|
ShowIdentifier: highlight.tags.labelName,
|
|
243
247
|
NamespaceIdentifier: highlight.tags.labelName,
|
|
244
|
-
"Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount 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 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":
|
|
248
|
+
"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 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":
|
|
245
249
|
highlight.tags.function(highlight.tags.variableName),
|
|
246
250
|
"Order SOrder By Limit Offset Slimit SOffset As Desc Asc Having": highlight.tags.operatorKeyword,
|
|
247
251
|
"Base64 , DColon Comma": highlight.tags.modifier,
|
|
@@ -257,19 +261,19 @@ const DQLHighLight = highlight.styleTags({
|
|
|
257
261
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
258
262
|
const parser = lr.LRParser.deserialize({
|
|
259
263
|
version: 14,
|
|
260
|
-
states: "I|O%
|
|
261
|
-
stateData: "!
|
|
262
|
-
goto: "
|
|
263
|
-
nodeNames: "⚠ SOffset Offset Base64 As P99 P50 P90 P95 P75 Avg Abs Ceil CountDistinct CountSeries Derivative Difference Distinct Floor Rate Irate RateOverCount 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 Exists Cidr Match Regex Re Regexp RegexpExtract RegexpExtractAll Collect Concat Drain Wildcard QueryString Querystring WithLabels WithoutLabels Unwrap Now Cumsum Window Dbscan Eval 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 DAnd DOr EqlRegex NeqRegex FilterSubExpr HavingClause Having HavingExpr SingleHavingExpr LimitClause TimeClause TimeRange TimeExpr 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",
|
|
264
|
-
maxTerm:
|
|
264
|
+
states: "I|O%vQPOOO&TQPOOOOQO'#Ea'#EaOOQO'#Ei'#EiO&eQPO'#E}O&pQPO'#E_O&xQPO'#E`O&}QPO'#GQO'SQPO'#GSOOQO'#E_'#E_O'XQPO'#E_QOQPOOO'SQPO'#EhO'{QQO'#G^O(uQPO'#GXOOQO'#GW'#GWO)TQPO'#G_OOQO'#G^'#G^O)hQQO'#G]OOQO'#GV'#GVO*`QQO'#GVO+TQPO'#GVO+uQPO'#FOOOQO,5;i,5;iO+}QPO,5;hO,_QQO'#EbOOQO,5:z,5:zO,{QSO'#GROOQO,5<l,5<l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PR#Y!QRePQ!P`R$o#VT}`#VT!ce!dQ$g!xQ$i!zT&O$g$iQ%u$_Q&R$lT&v%u&RQ$b!sR%y$bQ$P!fR%g$PQ$U!iS%k$U'XR'X&yQ!adU#x!a$V'YQ$V!jR'Y&zQ&Z$xR'T&ZQ%P#^R&c%PQ#l!WR%Z#lQ%_#pQ%c#{U&l%_%c'`R'`'^QpYR!|pQw^R#SwQ!RbR#Z!RQ#W!PR$p#WQ!deR#}!d",
|
|
267
|
+
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 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 DAnd DOr EqlRegex NeqRegex FilterSubExpr HavingClause Having HavingExpr SingleHavingExpr LimitClause TimeClause TimeRange TimeExpr 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",
|
|
268
|
+
maxTerm: 221,
|
|
265
269
|
propSources: [DQLHighLight],
|
|
266
|
-
skippedNodes: [0,
|
|
270
|
+
skippedNodes: [0,89,93],
|
|
267
271
|
repeatNodeCount: 15,
|
|
268
|
-
tokenData: "Hv~R!QX^$Xpq$Xqr$|rs%ast(tuv)]vw)bwx)mxy,tyz,yz{-O{|-X|}-^}!O-c!O!P._!P!Q/m!Q!R/r!R![0p![!]:f!^!_:u!_!`;S!`!a;i!c!j-y!j!k;v!k!u-y!u!v?R!v!}-y!}#OBT#P#QBY#Q#RB_#R#S-y#S#TBd#T#[-y#[#]Cz#]#g-y#g#hFo#h#o-y#o#pHa#p#qHf#q#rHq#y#z$X$f$g$X#BY#BZ$X$IS$I_$X$I|$JO$X$JT$JU$X$KV$KW$X&FU&FV$X~$^Y%
|
|
272
|
+
tokenData: "Hv~R!QX^$Xpq$Xqr$|rs%ast(tuv)]vw)bwx)mxy,tyz,yz{-O{|-X|}-^}!O-c!O!P._!P!Q/m!Q!R/r!R![0p![!]:f!^!_:u!_!`;S!`!a;i!c!j-y!j!k;v!k!u-y!u!v?R!v!}-y!}#OBT#P#QBY#Q#RB_#R#S-y#S#TBd#T#[-y#[#]Cz#]#g-y#g#hFo#h#o-y#o#pHa#p#qHf#q#rHq#y#z$X$f$g$X#BY#BZ$X$IS$I_$X$I|$JO$X$JT$JU$X$KV$KW$X&FU&FV$X~$^Y%h~X^$Xpq$X#y#z$X$f$g$X#BY#BZ$X$IS$I_$X$I|$JO$X$JT$JU$X$KV$KW$X&FU&FV$X~%PQ!_!`%V#r#s%[~%[O$Y~~%aO$_~o%hY%qd#YZOY&WZr&Wrs&usz&Wz{(O{#O&W#O#P&z#P;'S&W;'S;=`'x<%lO&WZ&]W#YZOY&WZr&Wrs&us#O&W#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![-y!c!j-y!j!k?m!k!}-y#R#S-y#T#o-y~?rV#W~}!O-y!Q![-y!c!q-y!q!r@X!r!}-y#R#S-y#T#o-y~@^V#W~}!O-y!Q![-y!c!y-y!y!z@s!z!}-y#R#S-y#T#o-y~@xT#W~}!O-y!Q![-y!c!}-y#R#SAX#T#o-y~A^T#W~}!O-y!Q![Am!c!}Am#R#SAm#T#oAm~AtT$w~#W~}!O-y!Q![Am!c!}Am#R#SAm#T#oAm~BYO%m~~B_O%n~~BdO#a~oBiV%pdOzCOz{Ch{#SCO#S#T&u#T;'SCO;'S;=`Cb<%lOCOZCRTO#SCO#S#T&u#T;'SCO;'S;=`Cb<%lOCOZCeP;=`<%lCOZCkTO#SCO#S#T(m#T;'SCO;'S;=`Cb<%lOCO~DPU#W~}!O-y!Q![-y!c!}-y#R#S-y#T#UDc#U#o-y~DhV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#j-y#j#kD}#k#o-y~ESV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#]-y#]#^Ei#^#o-y~EnV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#b-y#b#cFT#c#o-y~FYV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#Z-y#Z#[>k#[#o-y~FtV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#[-y#[#]GZ#]#o-y~G`V#W~}!O-y!Q![-y!c!}-y#R#S-y#T#c-y#c#dGu#d#o-y~GzV#W~}!O-y!Q![-y!c!}-y#R#S-y#T#k-y#k#l@s#l#o-y~HfO%r~~HiP#p#qHl~HqO$]~~HvO%s~",
|
|
269
273
|
tokenizers: [0, 1, 2, 3, 4, 5],
|
|
270
|
-
topRules: {"DQL":[0,
|
|
271
|
-
specialized: [{term:
|
|
272
|
-
tokenPrec:
|
|
274
|
+
topRules: {"DQL":[0,94],"DQLFragment":[1,178]},
|
|
275
|
+
specialized: [{term: 100, get: (value, stack) => (specializeIdentifier(value) << 1), external: specializeIdentifier},{term: 100, get: (value, stack) => (rollupIndentifier(value) << 1) | 1, external: rollupIndentifier, extend: true},{term: 100, get: (value, stack) => (funcIndentifier(value) << 1) | 1, external: funcIndentifier, extend: true},{term: 100, get: (value, stack) => (extendIdentifier(value) << 1) | 1, external: extendIdentifier, extend: true}],
|
|
276
|
+
tokenPrec: 3680
|
|
273
277
|
});
|
|
274
278
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
275
279
|
const SOffset = 1,
|
|
@@ -293,173 +297,175 @@ const SOffset = 1,
|
|
|
293
297
|
Rate = 19,
|
|
294
298
|
Irate = 20,
|
|
295
299
|
RateOverCount = 21,
|
|
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
|
-
|
|
300
|
+
RateOverSum = 22,
|
|
301
|
+
Deriv = 23,
|
|
302
|
+
Increase = 24,
|
|
303
|
+
Log = 25,
|
|
304
|
+
Log10 = 26,
|
|
305
|
+
Log2 = 27,
|
|
306
|
+
Max = 28,
|
|
307
|
+
Min = 29,
|
|
308
|
+
Mode = 30,
|
|
309
|
+
NonNegativeDerivative = 31,
|
|
310
|
+
NonNegativeDifference = 32,
|
|
311
|
+
Round = 33,
|
|
312
|
+
Spread = 34,
|
|
313
|
+
Stddev = 35,
|
|
314
|
+
Sum = 36,
|
|
315
|
+
Schema = 37,
|
|
316
|
+
DistinctByCollapse = 38,
|
|
317
|
+
Default = 39,
|
|
318
|
+
Fill = 40,
|
|
319
|
+
CountFilter = 41,
|
|
320
|
+
Count = 42,
|
|
321
|
+
First = 43,
|
|
322
|
+
Any = 44,
|
|
323
|
+
Last = 45,
|
|
324
|
+
LastRow = 46,
|
|
325
|
+
Bottom = 47,
|
|
326
|
+
Top = 48,
|
|
327
|
+
MovingAverage = 49,
|
|
328
|
+
Percentile = 50,
|
|
329
|
+
Median = 51,
|
|
330
|
+
Set = 52,
|
|
331
|
+
Int = 53,
|
|
332
|
+
Float = 54,
|
|
333
|
+
String = 55,
|
|
334
|
+
Md5 = 56,
|
|
335
|
+
Histogram = 57,
|
|
336
|
+
Exists = 58,
|
|
337
|
+
Cidr = 59,
|
|
338
|
+
Match = 60,
|
|
339
|
+
Regex = 61,
|
|
340
|
+
Re = 62,
|
|
341
|
+
Regexp = 63,
|
|
342
|
+
RegexpExtract = 64,
|
|
343
|
+
RegexpExtractAll = 65,
|
|
344
|
+
Collect = 66,
|
|
345
|
+
Concat = 67,
|
|
346
|
+
Drain = 68,
|
|
347
|
+
Wildcard = 69,
|
|
348
|
+
QueryString = 70,
|
|
349
|
+
Querystring = 71,
|
|
350
|
+
WithLabels = 72,
|
|
351
|
+
WithoutLabels = 73,
|
|
352
|
+
Unwrap = 74,
|
|
353
|
+
Now = 75,
|
|
354
|
+
Cumsum = 76,
|
|
355
|
+
Window = 77,
|
|
356
|
+
Dbscan = 78,
|
|
357
|
+
Eval = 79,
|
|
358
|
+
Search = 80,
|
|
359
|
+
Order = 81,
|
|
360
|
+
SOrder = 82,
|
|
361
|
+
Limit = 83,
|
|
362
|
+
Slimit = 84,
|
|
363
|
+
Asc = 85,
|
|
364
|
+
Desc = 86,
|
|
365
|
+
In = 87,
|
|
366
|
+
Not = 88,
|
|
367
|
+
NotIn = 89,
|
|
368
|
+
By = 90,
|
|
369
|
+
And = 91,
|
|
370
|
+
Or = 92,
|
|
371
|
+
LineComment = 93,
|
|
372
|
+
DQL = 94,
|
|
373
|
+
QueryExpr = 95,
|
|
374
|
+
EvalExpr = 96,
|
|
375
|
+
EvalIdentifier = 97,
|
|
376
|
+
EvalCallBody = 98,
|
|
377
|
+
ArgItem = 99,
|
|
378
|
+
Identifier = 100,
|
|
379
|
+
EqlSingle = 101,
|
|
380
|
+
StringLiteral = 102,
|
|
381
|
+
Number = 103,
|
|
382
|
+
FunctionCall = 104,
|
|
383
|
+
FunctionIdentifier = 105,
|
|
384
|
+
FunctionCallBody = 106,
|
|
385
|
+
Expr = 107,
|
|
386
|
+
SingleExpr = 108,
|
|
387
|
+
Pow = 109,
|
|
388
|
+
Mul = 110,
|
|
389
|
+
Div = 111,
|
|
390
|
+
Mod = 112,
|
|
391
|
+
Add = 113,
|
|
392
|
+
Sub = 114,
|
|
393
|
+
Eql = 115,
|
|
394
|
+
Gte = 116,
|
|
395
|
+
Gtr = 117,
|
|
396
|
+
Lte = 118,
|
|
397
|
+
Lss = 119,
|
|
398
|
+
InValue = 120,
|
|
399
|
+
AsExpr = 121,
|
|
400
|
+
OuterArgItem = 122,
|
|
401
|
+
Queted = 123,
|
|
402
|
+
Query = 124,
|
|
403
|
+
Namespace = 125,
|
|
404
|
+
IndexExpr = 126,
|
|
405
|
+
IndexItem = 127,
|
|
406
|
+
DColon = 128,
|
|
407
|
+
DataSourceList = 129,
|
|
408
|
+
DataSourceItem = 130,
|
|
409
|
+
Star = 131,
|
|
410
|
+
QuerySource = 132,
|
|
411
|
+
QueryClause = 133,
|
|
412
|
+
TargetClause = 134,
|
|
413
|
+
Comma = 135,
|
|
414
|
+
Projection = 136,
|
|
415
|
+
ProjectionItem = 137,
|
|
416
|
+
ProjectionField = 138,
|
|
417
|
+
FieldName = 139,
|
|
418
|
+
ProjectionExpr = 140,
|
|
419
|
+
SingleFieldExpr = 141,
|
|
420
|
+
Duration = 142,
|
|
421
|
+
DurationExpr = 143,
|
|
422
|
+
FilterClause = 144,
|
|
423
|
+
FilterExpr = 145,
|
|
424
|
+
InFieldValue = 146,
|
|
425
|
+
BinaryExpr = 147,
|
|
426
|
+
Neq = 148,
|
|
427
|
+
NotInSeq = 149,
|
|
428
|
+
DAnd = 150,
|
|
429
|
+
DOr = 151,
|
|
430
|
+
EqlRegex = 152,
|
|
431
|
+
NeqRegex = 153,
|
|
432
|
+
FilterSubExpr = 154,
|
|
433
|
+
HavingClause = 155,
|
|
434
|
+
Having = 156,
|
|
435
|
+
HavingExpr = 157,
|
|
436
|
+
SingleHavingExpr = 158,
|
|
437
|
+
LimitClause = 159,
|
|
438
|
+
TimeClause = 160,
|
|
439
|
+
TimeRange = 161,
|
|
440
|
+
TimeExpr = 162,
|
|
441
|
+
RollupIdentifier = 163,
|
|
442
|
+
ByClause = 164,
|
|
443
|
+
ByExpr = 165,
|
|
444
|
+
ByListExpr = 166,
|
|
445
|
+
ByItem = 167,
|
|
446
|
+
FieldCall = 168,
|
|
447
|
+
OrderClause = 169,
|
|
448
|
+
OffsetClause = 170,
|
|
449
|
+
SLimitClause = 171,
|
|
450
|
+
SOffsetClause = 172,
|
|
451
|
+
SOrderClause = 173,
|
|
452
|
+
OuterFunctionCall = 174,
|
|
453
|
+
OuterFunctionCallBody = 175,
|
|
454
|
+
ShowExpr = 176,
|
|
455
|
+
ShowIdentifier = 177,
|
|
456
|
+
DQLFragment = 178,
|
|
457
|
+
QueryFragment = 179,
|
|
458
|
+
FilterFragmentExpr = 180,
|
|
459
|
+
LogicalFragmentExpr = 181,
|
|
460
|
+
ComparisonExpr = 182,
|
|
461
|
+
Operator = 183,
|
|
462
|
+
LogicOp = 184,
|
|
463
|
+
DataSourceListFragment = 185,
|
|
464
|
+
DataSourceItemFragment = 186,
|
|
465
|
+
ProjectionFragment = 187,
|
|
466
|
+
ProjectionItemFragment = 188,
|
|
467
|
+
ProjectionFieldFragment = 189,
|
|
468
|
+
QueryFragmentClause = 190;
|
|
463
469
|
|
|
464
470
|
exports.Abs = Abs;
|
|
465
471
|
exports.Add = Add;
|
|
@@ -612,6 +618,7 @@ exports.Querystring = Querystring;
|
|
|
612
618
|
exports.Queted = Queted;
|
|
613
619
|
exports.Rate = Rate;
|
|
614
620
|
exports.RateOverCount = RateOverCount;
|
|
621
|
+
exports.RateOverSum = RateOverSum;
|
|
615
622
|
exports.Re = Re;
|
|
616
623
|
exports.Regex = Regex;
|
|
617
624
|
exports.Regexp = Regexp;
|
|
@@ -625,6 +632,7 @@ exports.SOffsetClause = SOffsetClause;
|
|
|
625
632
|
exports.SOrder = SOrder;
|
|
626
633
|
exports.SOrderClause = SOrderClause;
|
|
627
634
|
exports.Schema = Schema;
|
|
635
|
+
exports.Search = Search;
|
|
628
636
|
exports.Set = Set;
|
|
629
637
|
exports.ShowExpr = ShowExpr;
|
|
630
638
|
exports.ShowIdentifier = ShowIdentifier;
|