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