@elastic/esql 4.1.0 → 4.2.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/lib/embedded_languages/promql/ast/builder/builder.d.ts +3 -2
- package/lib/embedded_languages/promql/ast/builder/builder.d.ts.map +1 -1
- package/lib/embedded_languages/promql/parser/cst_to_ast_converter.d.ts +2 -0
- package/lib/embedded_languages/promql/parser/cst_to_ast_converter.d.ts.map +1 -1
- package/lib/embedded_languages/promql/pretty_print/basic_pretty_printer.d.ts +2 -1
- package/lib/embedded_languages/promql/pretty_print/basic_pretty_printer.d.ts.map +1 -1
- package/lib/embedded_languages/promql/pretty_print/wrapping_pretty_printer.d.ts +1 -0
- package/lib/embedded_languages/promql/pretty_print/wrapping_pretty_printer.d.ts.map +1 -1
- package/lib/embedded_languages/promql/types.d.ts +23 -4
- package/lib/embedded_languages/promql/types.d.ts.map +1 -1
- package/lib/index.js +12821 -12021
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +12821 -12021
- package/lib/index.mjs.map +1 -1
- package/lib/parser/antlr/esql_lexer.d.ts +172 -169
- package/lib/parser/antlr/esql_lexer.d.ts.map +1 -1
- package/lib/parser/antlr/esql_parser.d.ts +301 -268
- package/lib/parser/antlr/esql_parser.d.ts.map +1 -1
- package/lib/parser/antlr/esql_parser_listener.d.ts +33 -0
- package/lib/parser/antlr/esql_parser_listener.d.ts.map +1 -1
- package/lib/parser/antlr/promql_parser.d.ts +22 -12
- package/lib/parser/antlr/promql_parser.d.ts.map +1 -1
- package/lib/parser/antlr/promql_parser_listener.d.ts +11 -0
- package/lib/parser/antlr/promql_parser_listener.d.ts.map +1 -1
- package/lib/parser/core/cst_to_ast_converter.d.ts.map +1 -1
- package/lib/pretty_print/helpers.d.ts.map +1 -1
- package/lib/pretty_print/wrapping_pretty_printer.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -6,175 +6,177 @@ export default class esql_parser extends parser_config {
|
|
|
6
6
|
static readonly MULTILINE_COMMENT = 2;
|
|
7
7
|
static readonly WS = 3;
|
|
8
8
|
static readonly CHANGE_POINT = 4;
|
|
9
|
-
static readonly
|
|
10
|
-
static readonly
|
|
11
|
-
static readonly
|
|
12
|
-
static readonly
|
|
13
|
-
static readonly
|
|
14
|
-
static readonly
|
|
15
|
-
static readonly
|
|
16
|
-
static readonly
|
|
17
|
-
static readonly
|
|
18
|
-
static readonly
|
|
19
|
-
static readonly
|
|
20
|
-
static readonly
|
|
21
|
-
static readonly
|
|
22
|
-
static readonly
|
|
23
|
-
static readonly
|
|
24
|
-
static readonly
|
|
25
|
-
static readonly
|
|
26
|
-
static readonly
|
|
27
|
-
static readonly
|
|
28
|
-
static readonly
|
|
29
|
-
static readonly
|
|
30
|
-
static readonly
|
|
31
|
-
static readonly
|
|
32
|
-
static readonly
|
|
33
|
-
static readonly
|
|
34
|
-
static readonly
|
|
35
|
-
static readonly
|
|
36
|
-
static readonly
|
|
37
|
-
static readonly
|
|
38
|
-
static readonly
|
|
39
|
-
static readonly
|
|
40
|
-
static readonly
|
|
41
|
-
static readonly
|
|
42
|
-
static readonly
|
|
43
|
-
static readonly
|
|
44
|
-
static readonly
|
|
45
|
-
static readonly
|
|
46
|
-
static readonly
|
|
47
|
-
static readonly
|
|
48
|
-
static readonly
|
|
49
|
-
static readonly
|
|
50
|
-
static readonly
|
|
51
|
-
static readonly
|
|
52
|
-
static readonly
|
|
53
|
-
static readonly
|
|
54
|
-
static readonly
|
|
55
|
-
static readonly
|
|
56
|
-
static readonly
|
|
57
|
-
static readonly
|
|
58
|
-
static readonly
|
|
59
|
-
static readonly
|
|
60
|
-
static readonly
|
|
61
|
-
static readonly
|
|
62
|
-
static readonly
|
|
63
|
-
static readonly
|
|
64
|
-
static readonly
|
|
65
|
-
static readonly
|
|
66
|
-
static readonly
|
|
67
|
-
static readonly
|
|
68
|
-
static readonly
|
|
69
|
-
static readonly
|
|
70
|
-
static readonly
|
|
71
|
-
static readonly
|
|
72
|
-
static readonly
|
|
73
|
-
static readonly
|
|
74
|
-
static readonly
|
|
75
|
-
static readonly
|
|
76
|
-
static readonly
|
|
77
|
-
static readonly
|
|
78
|
-
static readonly
|
|
79
|
-
static readonly
|
|
80
|
-
static readonly
|
|
81
|
-
static readonly
|
|
82
|
-
static readonly
|
|
83
|
-
static readonly
|
|
84
|
-
static readonly
|
|
85
|
-
static readonly
|
|
86
|
-
static readonly
|
|
87
|
-
static readonly
|
|
88
|
-
static readonly
|
|
89
|
-
static readonly
|
|
90
|
-
static readonly
|
|
91
|
-
static readonly
|
|
92
|
-
static readonly
|
|
93
|
-
static readonly
|
|
94
|
-
static readonly
|
|
95
|
-
static readonly
|
|
96
|
-
static readonly
|
|
97
|
-
static readonly
|
|
98
|
-
static readonly
|
|
99
|
-
static readonly
|
|
100
|
-
static readonly
|
|
101
|
-
static readonly
|
|
102
|
-
static readonly
|
|
103
|
-
static readonly
|
|
104
|
-
static readonly
|
|
105
|
-
static readonly
|
|
106
|
-
static readonly
|
|
107
|
-
static readonly
|
|
108
|
-
static readonly
|
|
109
|
-
static readonly
|
|
110
|
-
static readonly
|
|
111
|
-
static readonly
|
|
112
|
-
static readonly
|
|
113
|
-
static readonly
|
|
114
|
-
static readonly
|
|
115
|
-
static readonly
|
|
116
|
-
static readonly
|
|
117
|
-
static readonly
|
|
118
|
-
static readonly
|
|
119
|
-
static readonly
|
|
120
|
-
static readonly
|
|
121
|
-
static readonly
|
|
122
|
-
static readonly
|
|
123
|
-
static readonly
|
|
124
|
-
static readonly
|
|
125
|
-
static readonly
|
|
126
|
-
static readonly
|
|
127
|
-
static readonly
|
|
128
|
-
static readonly
|
|
129
|
-
static readonly
|
|
130
|
-
static readonly
|
|
131
|
-
static readonly
|
|
132
|
-
static readonly
|
|
133
|
-
static readonly
|
|
134
|
-
static readonly
|
|
135
|
-
static readonly
|
|
136
|
-
static readonly
|
|
137
|
-
static readonly
|
|
138
|
-
static readonly
|
|
139
|
-
static readonly
|
|
140
|
-
static readonly
|
|
141
|
-
static readonly
|
|
142
|
-
static readonly
|
|
143
|
-
static readonly
|
|
144
|
-
static readonly
|
|
145
|
-
static readonly
|
|
146
|
-
static readonly
|
|
147
|
-
static readonly
|
|
148
|
-
static readonly
|
|
149
|
-
static readonly
|
|
150
|
-
static readonly
|
|
151
|
-
static readonly
|
|
152
|
-
static readonly
|
|
153
|
-
static readonly
|
|
154
|
-
static readonly
|
|
155
|
-
static readonly
|
|
156
|
-
static readonly
|
|
157
|
-
static readonly
|
|
158
|
-
static readonly
|
|
159
|
-
static readonly
|
|
160
|
-
static readonly
|
|
161
|
-
static readonly
|
|
162
|
-
static readonly
|
|
163
|
-
static readonly
|
|
164
|
-
static readonly
|
|
165
|
-
static readonly
|
|
166
|
-
static readonly
|
|
167
|
-
static readonly
|
|
168
|
-
static readonly
|
|
169
|
-
static readonly
|
|
170
|
-
static readonly
|
|
171
|
-
static readonly
|
|
172
|
-
static readonly
|
|
173
|
-
static readonly
|
|
174
|
-
static readonly
|
|
175
|
-
static readonly
|
|
176
|
-
static readonly
|
|
177
|
-
static readonly
|
|
9
|
+
static readonly DEV_DEDUP = 5;
|
|
10
|
+
static readonly ENRICH = 6;
|
|
11
|
+
static readonly DEV_EXPLAIN = 7;
|
|
12
|
+
static readonly COMPLETION = 8;
|
|
13
|
+
static readonly DISSECT = 9;
|
|
14
|
+
static readonly EVAL = 10;
|
|
15
|
+
static readonly GROK = 11;
|
|
16
|
+
static readonly LIMIT = 12;
|
|
17
|
+
static readonly RERANK = 13;
|
|
18
|
+
static readonly ROW = 14;
|
|
19
|
+
static readonly SAMPLE = 15;
|
|
20
|
+
static readonly SORT = 16;
|
|
21
|
+
static readonly STATS = 17;
|
|
22
|
+
static readonly WHERE = 18;
|
|
23
|
+
static readonly URI_PARTS = 19;
|
|
24
|
+
static readonly METRICS_INFO = 20;
|
|
25
|
+
static readonly REGISTERED_DOMAIN = 21;
|
|
26
|
+
static readonly TS_INFO = 22;
|
|
27
|
+
static readonly USER_AGENT = 23;
|
|
28
|
+
static readonly TS_COLLAPSE = 24;
|
|
29
|
+
static readonly FROM = 25;
|
|
30
|
+
static readonly TS = 26;
|
|
31
|
+
static readonly DEV_EXTERNAL = 27;
|
|
32
|
+
static readonly FORK = 28;
|
|
33
|
+
static readonly FUSE = 29;
|
|
34
|
+
static readonly INLINE = 30;
|
|
35
|
+
static readonly INLINESTATS = 31;
|
|
36
|
+
static readonly JOIN_LOOKUP = 32;
|
|
37
|
+
static readonly DEV_JOIN_FULL = 33;
|
|
38
|
+
static readonly DEV_JOIN_LEFT = 34;
|
|
39
|
+
static readonly DEV_JOIN_RIGHT = 35;
|
|
40
|
+
static readonly DEV_LOOKUP = 36;
|
|
41
|
+
static readonly MMR = 37;
|
|
42
|
+
static readonly MV_EXPAND = 38;
|
|
43
|
+
static readonly DROP = 39;
|
|
44
|
+
static readonly KEEP = 40;
|
|
45
|
+
static readonly DEV_INSIST = 41;
|
|
46
|
+
static readonly PROMQL = 42;
|
|
47
|
+
static readonly RENAME = 43;
|
|
48
|
+
static readonly SET = 44;
|
|
49
|
+
static readonly SHOW = 45;
|
|
50
|
+
static readonly UNKNOWN_CMD = 46;
|
|
51
|
+
static readonly CHANGE_POINT_LINE_COMMENT = 47;
|
|
52
|
+
static readonly CHANGE_POINT_MULTILINE_COMMENT = 48;
|
|
53
|
+
static readonly CHANGE_POINT_WS = 49;
|
|
54
|
+
static readonly ENRICH_POLICY_NAME = 50;
|
|
55
|
+
static readonly ENRICH_LINE_COMMENT = 51;
|
|
56
|
+
static readonly ENRICH_MULTILINE_COMMENT = 52;
|
|
57
|
+
static readonly ENRICH_WS = 53;
|
|
58
|
+
static readonly ENRICH_FIELD_LINE_COMMENT = 54;
|
|
59
|
+
static readonly ENRICH_FIELD_MULTILINE_COMMENT = 55;
|
|
60
|
+
static readonly ENRICH_FIELD_WS = 56;
|
|
61
|
+
static readonly EXPLAIN_WS = 57;
|
|
62
|
+
static readonly EXPLAIN_LINE_COMMENT = 58;
|
|
63
|
+
static readonly EXPLAIN_MULTILINE_COMMENT = 59;
|
|
64
|
+
static readonly PIPE = 60;
|
|
65
|
+
static readonly QUOTED_STRING = 61;
|
|
66
|
+
static readonly INTEGER_LITERAL = 62;
|
|
67
|
+
static readonly DECIMAL_LITERAL = 63;
|
|
68
|
+
static readonly AND = 64;
|
|
69
|
+
static readonly ASC = 65;
|
|
70
|
+
static readonly ASSIGN = 66;
|
|
71
|
+
static readonly BY = 67;
|
|
72
|
+
static readonly CAST_OP = 68;
|
|
73
|
+
static readonly COLON = 69;
|
|
74
|
+
static readonly SEMICOLON = 70;
|
|
75
|
+
static readonly COMMA = 71;
|
|
76
|
+
static readonly DESC = 72;
|
|
77
|
+
static readonly DOT = 73;
|
|
78
|
+
static readonly FALSE = 74;
|
|
79
|
+
static readonly FIRST = 75;
|
|
80
|
+
static readonly IN = 76;
|
|
81
|
+
static readonly IS = 77;
|
|
82
|
+
static readonly LAST = 78;
|
|
83
|
+
static readonly LIKE = 79;
|
|
84
|
+
static readonly NOT = 80;
|
|
85
|
+
static readonly NULL = 81;
|
|
86
|
+
static readonly NULLS = 82;
|
|
87
|
+
static readonly ON = 83;
|
|
88
|
+
static readonly OR = 84;
|
|
89
|
+
static readonly PARAM = 85;
|
|
90
|
+
static readonly RLIKE = 86;
|
|
91
|
+
static readonly TRUE = 87;
|
|
92
|
+
static readonly WITH = 88;
|
|
93
|
+
static readonly EQ = 89;
|
|
94
|
+
static readonly CIEQ = 90;
|
|
95
|
+
static readonly NEQ = 91;
|
|
96
|
+
static readonly LT = 92;
|
|
97
|
+
static readonly LTE = 93;
|
|
98
|
+
static readonly GT = 94;
|
|
99
|
+
static readonly GTE = 95;
|
|
100
|
+
static readonly PLUS = 96;
|
|
101
|
+
static readonly MINUS = 97;
|
|
102
|
+
static readonly ASTERISK = 98;
|
|
103
|
+
static readonly SLASH = 99;
|
|
104
|
+
static readonly PERCENT = 100;
|
|
105
|
+
static readonly LEFT_BRACES = 101;
|
|
106
|
+
static readonly RIGHT_BRACES = 102;
|
|
107
|
+
static readonly DOUBLE_PARAMS = 103;
|
|
108
|
+
static readonly NAMED_OR_POSITIONAL_PARAM = 104;
|
|
109
|
+
static readonly NAMED_OR_POSITIONAL_DOUBLE_PARAMS = 105;
|
|
110
|
+
static readonly OPENING_BRACKET = 106;
|
|
111
|
+
static readonly CLOSING_BRACKET = 107;
|
|
112
|
+
static readonly LP = 108;
|
|
113
|
+
static readonly RP = 109;
|
|
114
|
+
static readonly UNQUOTED_IDENTIFIER = 110;
|
|
115
|
+
static readonly QUOTED_IDENTIFIER = 111;
|
|
116
|
+
static readonly EXPR_LINE_COMMENT = 112;
|
|
117
|
+
static readonly EXPR_MULTILINE_COMMENT = 113;
|
|
118
|
+
static readonly EXPR_WS = 114;
|
|
119
|
+
static readonly METADATA = 115;
|
|
120
|
+
static readonly UNQUOTED_SOURCE = 116;
|
|
121
|
+
static readonly FROM_LINE_COMMENT = 117;
|
|
122
|
+
static readonly FROM_MULTILINE_COMMENT = 118;
|
|
123
|
+
static readonly FROM_WS = 119;
|
|
124
|
+
static readonly FORK_WS = 120;
|
|
125
|
+
static readonly FORK_LINE_COMMENT = 121;
|
|
126
|
+
static readonly FORK_MULTILINE_COMMENT = 122;
|
|
127
|
+
static readonly GROUP = 123;
|
|
128
|
+
static readonly SCORE = 124;
|
|
129
|
+
static readonly KEY = 125;
|
|
130
|
+
static readonly FUSE_LINE_COMMENT = 126;
|
|
131
|
+
static readonly FUSE_MULTILINE_COMMENT = 127;
|
|
132
|
+
static readonly FUSE_WS = 128;
|
|
133
|
+
static readonly INLINE_STATS = 129;
|
|
134
|
+
static readonly INLINE_LINE_COMMENT = 130;
|
|
135
|
+
static readonly INLINE_MULTILINE_COMMENT = 131;
|
|
136
|
+
static readonly INLINE_WS = 132;
|
|
137
|
+
static readonly AFTER_IN_LINE_COMMENT = 133;
|
|
138
|
+
static readonly AFTER_IN_MULTILINE_COMMENT = 134;
|
|
139
|
+
static readonly AFTER_IN_WS = 135;
|
|
140
|
+
static readonly IN_EXPR_FALLBACK = 136;
|
|
141
|
+
static readonly JOIN = 137;
|
|
142
|
+
static readonly USING = 138;
|
|
143
|
+
static readonly JOIN_LINE_COMMENT = 139;
|
|
144
|
+
static readonly JOIN_MULTILINE_COMMENT = 140;
|
|
145
|
+
static readonly JOIN_WS = 141;
|
|
146
|
+
static readonly LOOKUP_LINE_COMMENT = 142;
|
|
147
|
+
static readonly LOOKUP_MULTILINE_COMMENT = 143;
|
|
148
|
+
static readonly LOOKUP_WS = 144;
|
|
149
|
+
static readonly LOOKUP_FIELD_LINE_COMMENT = 145;
|
|
150
|
+
static readonly LOOKUP_FIELD_MULTILINE_COMMENT = 146;
|
|
151
|
+
static readonly LOOKUP_FIELD_WS = 147;
|
|
152
|
+
static readonly MMR_LIMIT = 148;
|
|
153
|
+
static readonly MMR_LINE_COMMENT = 149;
|
|
154
|
+
static readonly MMR_MULTILINE_COMMENT = 150;
|
|
155
|
+
static readonly MMR_WS = 151;
|
|
156
|
+
static readonly MVEXPAND_LINE_COMMENT = 152;
|
|
157
|
+
static readonly MVEXPAND_MULTILINE_COMMENT = 153;
|
|
158
|
+
static readonly MVEXPAND_WS = 154;
|
|
159
|
+
static readonly ID_PATTERN = 155;
|
|
160
|
+
static readonly PROJECT_LINE_COMMENT = 156;
|
|
161
|
+
static readonly PROJECT_MULTILINE_COMMENT = 157;
|
|
162
|
+
static readonly PROJECT_WS = 158;
|
|
163
|
+
static readonly PROMQL_PARAMS_LINE_COMMENT = 159;
|
|
164
|
+
static readonly PROMQL_PARAMS_MULTILINE_COMMENT = 160;
|
|
165
|
+
static readonly PROMQL_PARAMS_WS = 161;
|
|
166
|
+
static readonly PROMQL_QUERY_COMMENT = 162;
|
|
167
|
+
static readonly PROMQL_SINGLE_QUOTED_STRING = 163;
|
|
168
|
+
static readonly PROMQL_OTHER_QUERY_CONTENT = 164;
|
|
169
|
+
static readonly AS = 165;
|
|
170
|
+
static readonly RENAME_LINE_COMMENT = 166;
|
|
171
|
+
static readonly RENAME_MULTILINE_COMMENT = 167;
|
|
172
|
+
static readonly RENAME_WS = 168;
|
|
173
|
+
static readonly SET_LINE_COMMENT = 169;
|
|
174
|
+
static readonly SET_MULTILINE_COMMENT = 170;
|
|
175
|
+
static readonly SET_WS = 171;
|
|
176
|
+
static readonly INFO = 172;
|
|
177
|
+
static readonly SHOW_LINE_COMMENT = 173;
|
|
178
|
+
static readonly SHOW_MULTILINE_COMMENT = 174;
|
|
179
|
+
static readonly SHOW_WS = 175;
|
|
178
180
|
static readonly EOF: number;
|
|
179
181
|
static readonly RULE_statements = 0;
|
|
180
182
|
static readonly RULE_singleStatement = 1;
|
|
@@ -192,104 +194,107 @@ export default class esql_parser extends parser_config {
|
|
|
192
194
|
static readonly RULE_indexPatternAndMetadataFields = 13;
|
|
193
195
|
static readonly RULE_indexPatternOrSubquery = 14;
|
|
194
196
|
static readonly RULE_subquery = 15;
|
|
195
|
-
static readonly
|
|
196
|
-
static readonly
|
|
197
|
-
static readonly
|
|
198
|
-
static readonly
|
|
199
|
-
static readonly
|
|
200
|
-
static readonly
|
|
201
|
-
static readonly
|
|
202
|
-
static readonly
|
|
203
|
-
static readonly
|
|
204
|
-
static readonly
|
|
205
|
-
static readonly
|
|
206
|
-
static readonly
|
|
207
|
-
static readonly
|
|
208
|
-
static readonly
|
|
209
|
-
static readonly
|
|
210
|
-
static readonly
|
|
211
|
-
static readonly
|
|
212
|
-
static readonly
|
|
213
|
-
static readonly
|
|
214
|
-
static readonly
|
|
215
|
-
static readonly
|
|
216
|
-
static readonly
|
|
217
|
-
static readonly
|
|
218
|
-
static readonly
|
|
219
|
-
static readonly
|
|
220
|
-
static readonly
|
|
221
|
-
static readonly
|
|
222
|
-
static readonly
|
|
223
|
-
static readonly
|
|
224
|
-
static readonly
|
|
225
|
-
static readonly
|
|
226
|
-
static readonly
|
|
227
|
-
static readonly
|
|
228
|
-
static readonly
|
|
229
|
-
static readonly
|
|
230
|
-
static readonly
|
|
231
|
-
static readonly
|
|
232
|
-
static readonly
|
|
233
|
-
static readonly
|
|
234
|
-
static readonly
|
|
235
|
-
static readonly
|
|
236
|
-
static readonly
|
|
237
|
-
static readonly
|
|
238
|
-
static readonly
|
|
239
|
-
static readonly
|
|
240
|
-
static readonly
|
|
241
|
-
static readonly
|
|
242
|
-
static readonly
|
|
243
|
-
static readonly
|
|
244
|
-
static readonly
|
|
245
|
-
static readonly
|
|
246
|
-
static readonly
|
|
247
|
-
static readonly
|
|
248
|
-
static readonly
|
|
249
|
-
static readonly
|
|
250
|
-
static readonly
|
|
251
|
-
static readonly
|
|
252
|
-
static readonly
|
|
253
|
-
static readonly
|
|
254
|
-
static readonly
|
|
255
|
-
static readonly
|
|
256
|
-
static readonly
|
|
257
|
-
static readonly
|
|
258
|
-
static readonly
|
|
259
|
-
static readonly
|
|
260
|
-
static readonly
|
|
261
|
-
static readonly
|
|
262
|
-
static readonly
|
|
263
|
-
static readonly
|
|
264
|
-
static readonly
|
|
265
|
-
static readonly
|
|
266
|
-
static readonly
|
|
267
|
-
static readonly
|
|
268
|
-
static readonly
|
|
269
|
-
static readonly
|
|
270
|
-
static readonly
|
|
271
|
-
static readonly
|
|
272
|
-
static readonly
|
|
273
|
-
static readonly
|
|
274
|
-
static readonly
|
|
275
|
-
static readonly
|
|
276
|
-
static readonly
|
|
277
|
-
static readonly
|
|
278
|
-
static readonly
|
|
279
|
-
static readonly
|
|
280
|
-
static readonly
|
|
281
|
-
static readonly
|
|
282
|
-
static readonly
|
|
283
|
-
static readonly
|
|
284
|
-
static readonly
|
|
285
|
-
static readonly
|
|
286
|
-
static readonly
|
|
287
|
-
static readonly
|
|
288
|
-
static readonly
|
|
289
|
-
static readonly
|
|
290
|
-
static readonly
|
|
291
|
-
static readonly
|
|
292
|
-
static readonly
|
|
197
|
+
static readonly RULE_subquerySourceCommand = 16;
|
|
198
|
+
static readonly RULE_indexPattern = 17;
|
|
199
|
+
static readonly RULE_clusterString = 18;
|
|
200
|
+
static readonly RULE_selectorString = 19;
|
|
201
|
+
static readonly RULE_unquotedIndexString = 20;
|
|
202
|
+
static readonly RULE_indexString = 21;
|
|
203
|
+
static readonly RULE_metadata = 22;
|
|
204
|
+
static readonly RULE_evalCommand = 23;
|
|
205
|
+
static readonly RULE_statsCommand = 24;
|
|
206
|
+
static readonly RULE_aggFields = 25;
|
|
207
|
+
static readonly RULE_aggField = 26;
|
|
208
|
+
static readonly RULE_qualifiedName = 27;
|
|
209
|
+
static readonly RULE_fieldName = 28;
|
|
210
|
+
static readonly RULE_qualifiedNamePattern = 29;
|
|
211
|
+
static readonly RULE_fieldNamePattern = 30;
|
|
212
|
+
static readonly RULE_qualifiedNamePatterns = 31;
|
|
213
|
+
static readonly RULE_identifier = 32;
|
|
214
|
+
static readonly RULE_identifierPattern = 33;
|
|
215
|
+
static readonly RULE_parameter = 34;
|
|
216
|
+
static readonly RULE_doubleParameter = 35;
|
|
217
|
+
static readonly RULE_identifierOrParameter = 36;
|
|
218
|
+
static readonly RULE_stringOrParameter = 37;
|
|
219
|
+
static readonly RULE_limitCommand = 38;
|
|
220
|
+
static readonly RULE_limitByGroupKey = 39;
|
|
221
|
+
static readonly RULE_sortCommand = 40;
|
|
222
|
+
static readonly RULE_orderExpression = 41;
|
|
223
|
+
static readonly RULE_keepCommand = 42;
|
|
224
|
+
static readonly RULE_dropCommand = 43;
|
|
225
|
+
static readonly RULE_renameCommand = 44;
|
|
226
|
+
static readonly RULE_renameClause = 45;
|
|
227
|
+
static readonly RULE_dissectCommand = 46;
|
|
228
|
+
static readonly RULE_dissectCommandOptions = 47;
|
|
229
|
+
static readonly RULE_dissectCommandOption = 48;
|
|
230
|
+
static readonly RULE_commandNamedParameters = 49;
|
|
231
|
+
static readonly RULE_grokCommand = 50;
|
|
232
|
+
static readonly RULE_mvExpandCommand = 51;
|
|
233
|
+
static readonly RULE_explainCommand = 52;
|
|
234
|
+
static readonly RULE_subqueryExpression = 53;
|
|
235
|
+
static readonly RULE_showCommand = 54;
|
|
236
|
+
static readonly RULE_enrichCommand = 55;
|
|
237
|
+
static readonly RULE_enrichPolicyName = 56;
|
|
238
|
+
static readonly RULE_enrichWithClause = 57;
|
|
239
|
+
static readonly RULE_sampleCommand = 58;
|
|
240
|
+
static readonly RULE_changePointCommand = 59;
|
|
241
|
+
static readonly RULE_forkCommand = 60;
|
|
242
|
+
static readonly RULE_forkSubQueries = 61;
|
|
243
|
+
static readonly RULE_forkSubQuery = 62;
|
|
244
|
+
static readonly RULE_forkSubQueryCommand = 63;
|
|
245
|
+
static readonly RULE_forkSubQueryProcessingCommand = 64;
|
|
246
|
+
static readonly RULE_rerankCommand = 65;
|
|
247
|
+
static readonly RULE_completionCommand = 66;
|
|
248
|
+
static readonly RULE_inlineStatsCommand = 67;
|
|
249
|
+
static readonly RULE_fuseCommand = 68;
|
|
250
|
+
static readonly RULE_fuseConfiguration = 69;
|
|
251
|
+
static readonly RULE_fuseKeyByFields = 70;
|
|
252
|
+
static readonly RULE_metricsInfoCommand = 71;
|
|
253
|
+
static readonly RULE_tsInfoCommand = 72;
|
|
254
|
+
static readonly RULE_tsCollapseCommand = 73;
|
|
255
|
+
static readonly RULE_lookupCommand = 74;
|
|
256
|
+
static readonly RULE_insistCommand = 75;
|
|
257
|
+
static readonly RULE_dedupCommand = 76;
|
|
258
|
+
static readonly RULE_uriPartsCommand = 77;
|
|
259
|
+
static readonly RULE_registeredDomainCommand = 78;
|
|
260
|
+
static readonly RULE_userAgentCommand = 79;
|
|
261
|
+
static readonly RULE_setCommand = 80;
|
|
262
|
+
static readonly RULE_setField = 81;
|
|
263
|
+
static readonly RULE_mmrCommand = 82;
|
|
264
|
+
static readonly RULE_mmrQueryVectorParams = 83;
|
|
265
|
+
static readonly RULE_booleanExpression = 84;
|
|
266
|
+
static readonly RULE_regexBooleanExpression = 85;
|
|
267
|
+
static readonly RULE_matchBooleanExpression = 86;
|
|
268
|
+
static readonly RULE_valueExpression = 87;
|
|
269
|
+
static readonly RULE_operatorExpression = 88;
|
|
270
|
+
static readonly RULE_primaryExpression = 89;
|
|
271
|
+
static readonly RULE_functionExpression = 90;
|
|
272
|
+
static readonly RULE_functionName = 91;
|
|
273
|
+
static readonly RULE_mapExpression = 92;
|
|
274
|
+
static readonly RULE_entryExpression = 93;
|
|
275
|
+
static readonly RULE_mapValue = 94;
|
|
276
|
+
static readonly RULE_constant = 95;
|
|
277
|
+
static readonly RULE_booleanValue = 96;
|
|
278
|
+
static readonly RULE_numericValue = 97;
|
|
279
|
+
static readonly RULE_decimalValue = 98;
|
|
280
|
+
static readonly RULE_integerValue = 99;
|
|
281
|
+
static readonly RULE_string = 100;
|
|
282
|
+
static readonly RULE_comparisonOperator = 101;
|
|
283
|
+
static readonly RULE_joinCommand = 102;
|
|
284
|
+
static readonly RULE_joinTarget = 103;
|
|
285
|
+
static readonly RULE_joinCondition = 104;
|
|
286
|
+
static readonly RULE_promqlCommand = 105;
|
|
287
|
+
static readonly RULE_valueName = 106;
|
|
288
|
+
static readonly RULE_promqlParam = 107;
|
|
289
|
+
static readonly RULE_promqlParamName = 108;
|
|
290
|
+
static readonly RULE_promqlParamValue = 109;
|
|
291
|
+
static readonly RULE_promqlQueryContent = 110;
|
|
292
|
+
static readonly RULE_promqlQueryPart = 111;
|
|
293
|
+
static readonly RULE_promqlIndexPattern = 112;
|
|
294
|
+
static readonly RULE_promqlClusterString = 113;
|
|
295
|
+
static readonly RULE_promqlSelectorString = 114;
|
|
296
|
+
static readonly RULE_promqlUnquotedIndexString = 115;
|
|
297
|
+
static readonly RULE_promqlIndexString = 116;
|
|
293
298
|
static readonly literalNames: (string | null)[];
|
|
294
299
|
static readonly symbolicNames: (string | null)[];
|
|
295
300
|
static readonly ruleNames: string[];
|
|
@@ -317,6 +322,7 @@ export default class esql_parser extends parser_config {
|
|
|
317
322
|
indexPatternAndMetadataFields(): IndexPatternAndMetadataFieldsContext;
|
|
318
323
|
indexPatternOrSubquery(): IndexPatternOrSubqueryContext;
|
|
319
324
|
subquery(): SubqueryContext;
|
|
325
|
+
subquerySourceCommand(): SubquerySourceCommandContext;
|
|
320
326
|
indexPattern(): IndexPatternContext;
|
|
321
327
|
clusterString(): ClusterStringContext;
|
|
322
328
|
selectorString(): SelectorStringContext;
|
|
@@ -374,8 +380,10 @@ export default class esql_parser extends parser_config {
|
|
|
374
380
|
fuseKeyByFields(): FuseKeyByFieldsContext;
|
|
375
381
|
metricsInfoCommand(): MetricsInfoCommandContext;
|
|
376
382
|
tsInfoCommand(): TsInfoCommandContext;
|
|
383
|
+
tsCollapseCommand(): TsCollapseCommandContext;
|
|
377
384
|
lookupCommand(): LookupCommandContext;
|
|
378
385
|
insistCommand(): InsistCommandContext;
|
|
386
|
+
dedupCommand(): DedupCommandContext;
|
|
379
387
|
uriPartsCommand(): UriPartsCommandContext;
|
|
380
388
|
registeredDomainCommand(): RegisteredDomainCommandContext;
|
|
381
389
|
userAgentCommand(): UserAgentCommandContext;
|
|
@@ -423,6 +431,7 @@ export default class esql_parser extends parser_config {
|
|
|
423
431
|
private query_sempred;
|
|
424
432
|
private sourceCommand_sempred;
|
|
425
433
|
private processingCommand_sempred;
|
|
434
|
+
private subquerySourceCommand_sempred;
|
|
426
435
|
private qualifiedName_sempred;
|
|
427
436
|
private qualifiedNamePattern_sempred;
|
|
428
437
|
private forkSubQueryCommand_sempred;
|
|
@@ -512,9 +521,11 @@ export declare class ProcessingCommandContext extends ParserRuleContext {
|
|
|
512
521
|
registeredDomainCommand(): RegisteredDomainCommandContext;
|
|
513
522
|
tsInfoCommand(): TsInfoCommandContext;
|
|
514
523
|
userAgentCommand(): UserAgentCommandContext;
|
|
524
|
+
tsCollapseCommand(): TsCollapseCommandContext;
|
|
515
525
|
mmrCommand(): MmrCommandContext;
|
|
516
526
|
lookupCommand(): LookupCommandContext;
|
|
517
527
|
insistCommand(): InsistCommandContext;
|
|
528
|
+
dedupCommand(): DedupCommandContext;
|
|
518
529
|
get ruleIndex(): number;
|
|
519
530
|
enterRule(listener: esql_parserListener): void;
|
|
520
531
|
exitRule(listener: esql_parserListener): void;
|
|
@@ -612,7 +623,7 @@ export declare class IndexPatternOrSubqueryContext extends ParserRuleContext {
|
|
|
612
623
|
export declare class SubqueryContext extends ParserRuleContext {
|
|
613
624
|
constructor(parser?: esql_parser, parent?: ParserRuleContext, invokingState?: number);
|
|
614
625
|
LP(): TerminalNode;
|
|
615
|
-
|
|
626
|
+
subquerySourceCommand(): SubquerySourceCommandContext;
|
|
616
627
|
RP(): TerminalNode;
|
|
617
628
|
PIPE_list(): TerminalNode[];
|
|
618
629
|
PIPE(i: number): TerminalNode;
|
|
@@ -622,6 +633,14 @@ export declare class SubqueryContext extends ParserRuleContext {
|
|
|
622
633
|
enterRule(listener: esql_parserListener): void;
|
|
623
634
|
exitRule(listener: esql_parserListener): void;
|
|
624
635
|
}
|
|
636
|
+
export declare class SubquerySourceCommandContext extends ParserRuleContext {
|
|
637
|
+
constructor(parser?: esql_parser, parent?: ParserRuleContext, invokingState?: number);
|
|
638
|
+
fromCommand(): FromCommandContext;
|
|
639
|
+
rowCommand(): RowCommandContext;
|
|
640
|
+
get ruleIndex(): number;
|
|
641
|
+
enterRule(listener: esql_parserListener): void;
|
|
642
|
+
exitRule(listener: esql_parserListener): void;
|
|
643
|
+
}
|
|
625
644
|
export declare class IndexPatternContext extends ParserRuleContext {
|
|
626
645
|
constructor(parser?: esql_parser, parent?: ParserRuleContext, invokingState?: number);
|
|
627
646
|
unquotedIndexString(): UnquotedIndexStringContext;
|
|
@@ -1225,6 +1244,13 @@ export declare class TsInfoCommandContext extends ParserRuleContext {
|
|
|
1225
1244
|
enterRule(listener: esql_parserListener): void;
|
|
1226
1245
|
exitRule(listener: esql_parserListener): void;
|
|
1227
1246
|
}
|
|
1247
|
+
export declare class TsCollapseCommandContext extends ParserRuleContext {
|
|
1248
|
+
constructor(parser?: esql_parser, parent?: ParserRuleContext, invokingState?: number);
|
|
1249
|
+
TS_COLLAPSE(): TerminalNode;
|
|
1250
|
+
get ruleIndex(): number;
|
|
1251
|
+
enterRule(listener: esql_parserListener): void;
|
|
1252
|
+
exitRule(listener: esql_parserListener): void;
|
|
1253
|
+
}
|
|
1228
1254
|
export declare class LookupCommandContext extends ParserRuleContext {
|
|
1229
1255
|
_tableName: IndexPatternContext;
|
|
1230
1256
|
_matchFields: QualifiedNamePatternsContext;
|
|
@@ -1245,6 +1271,13 @@ export declare class InsistCommandContext extends ParserRuleContext {
|
|
|
1245
1271
|
enterRule(listener: esql_parserListener): void;
|
|
1246
1272
|
exitRule(listener: esql_parserListener): void;
|
|
1247
1273
|
}
|
|
1274
|
+
export declare class DedupCommandContext extends ParserRuleContext {
|
|
1275
|
+
constructor(parser?: esql_parser, parent?: ParserRuleContext, invokingState?: number);
|
|
1276
|
+
DEV_DEDUP(): TerminalNode;
|
|
1277
|
+
get ruleIndex(): number;
|
|
1278
|
+
enterRule(listener: esql_parserListener): void;
|
|
1279
|
+
exitRule(listener: esql_parserListener): void;
|
|
1280
|
+
}
|
|
1248
1281
|
export declare class UriPartsCommandContext extends ParserRuleContext {
|
|
1249
1282
|
constructor(parser?: esql_parser, parent?: ParserRuleContext, invokingState?: number);
|
|
1250
1283
|
URI_PARTS(): TerminalNode;
|