@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.
@@ -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 FROM = 23;
28
- static readonly TS = 24;
29
- static readonly DEV_EXTERNAL = 25;
30
- static readonly FORK = 26;
31
- static readonly FUSE = 27;
32
- static readonly INLINE = 28;
33
- static readonly INLINESTATS = 29;
34
- static readonly JOIN_LOOKUP = 30;
35
- static readonly DEV_JOIN_FULL = 31;
36
- static readonly DEV_JOIN_LEFT = 32;
37
- static readonly DEV_JOIN_RIGHT = 33;
38
- static readonly DEV_LOOKUP = 34;
39
- static readonly MMR = 35;
40
- static readonly MV_EXPAND = 36;
41
- static readonly DROP = 37;
42
- static readonly KEEP = 38;
43
- static readonly DEV_INSIST = 39;
44
- static readonly PROMQL = 40;
45
- static readonly RENAME = 41;
46
- static readonly SET = 42;
47
- static readonly SHOW = 43;
48
- static readonly UNKNOWN_CMD = 44;
49
- static readonly CHANGE_POINT_LINE_COMMENT = 45;
50
- static readonly CHANGE_POINT_MULTILINE_COMMENT = 46;
51
- static readonly CHANGE_POINT_WS = 47;
52
- static readonly ENRICH_POLICY_NAME = 48;
53
- static readonly ENRICH_LINE_COMMENT = 49;
54
- static readonly ENRICH_MULTILINE_COMMENT = 50;
55
- static readonly ENRICH_WS = 51;
56
- static readonly ENRICH_FIELD_LINE_COMMENT = 52;
57
- static readonly ENRICH_FIELD_MULTILINE_COMMENT = 53;
58
- static readonly ENRICH_FIELD_WS = 54;
59
- static readonly EXPLAIN_WS = 55;
60
- static readonly EXPLAIN_LINE_COMMENT = 56;
61
- static readonly EXPLAIN_MULTILINE_COMMENT = 57;
62
- static readonly PIPE = 58;
63
- static readonly QUOTED_STRING = 59;
64
- static readonly INTEGER_LITERAL = 60;
65
- static readonly DECIMAL_LITERAL = 61;
66
- static readonly AND = 62;
67
- static readonly ASC = 63;
68
- static readonly ASSIGN = 64;
69
- static readonly BY = 65;
70
- static readonly CAST_OP = 66;
71
- static readonly COLON = 67;
72
- static readonly SEMICOLON = 68;
73
- static readonly COMMA = 69;
74
- static readonly DESC = 70;
75
- static readonly DOT = 71;
76
- static readonly FALSE = 72;
77
- static readonly FIRST = 73;
78
- static readonly IN = 74;
79
- static readonly IS = 75;
80
- static readonly LAST = 76;
81
- static readonly LIKE = 77;
82
- static readonly NOT = 78;
83
- static readonly NULL = 79;
84
- static readonly NULLS = 80;
85
- static readonly ON = 81;
86
- static readonly OR = 82;
87
- static readonly PARAM = 83;
88
- static readonly RLIKE = 84;
89
- static readonly TRUE = 85;
90
- static readonly WITH = 86;
91
- static readonly EQ = 87;
92
- static readonly CIEQ = 88;
93
- static readonly NEQ = 89;
94
- static readonly LT = 90;
95
- static readonly LTE = 91;
96
- static readonly GT = 92;
97
- static readonly GTE = 93;
98
- static readonly PLUS = 94;
99
- static readonly MINUS = 95;
100
- static readonly ASTERISK = 96;
101
- static readonly SLASH = 97;
102
- static readonly PERCENT = 98;
103
- static readonly LEFT_BRACES = 99;
104
- static readonly RIGHT_BRACES = 100;
105
- static readonly DOUBLE_PARAMS = 101;
106
- static readonly NAMED_OR_POSITIONAL_PARAM = 102;
107
- static readonly NAMED_OR_POSITIONAL_DOUBLE_PARAMS = 103;
108
- static readonly OPENING_BRACKET = 104;
109
- static readonly CLOSING_BRACKET = 105;
110
- static readonly LP = 106;
111
- static readonly RP = 107;
112
- static readonly UNQUOTED_IDENTIFIER = 108;
113
- static readonly QUOTED_IDENTIFIER = 109;
114
- static readonly EXPR_LINE_COMMENT = 110;
115
- static readonly EXPR_MULTILINE_COMMENT = 111;
116
- static readonly EXPR_WS = 112;
117
- static readonly METADATA = 113;
118
- static readonly UNQUOTED_SOURCE = 114;
119
- static readonly FROM_LINE_COMMENT = 115;
120
- static readonly FROM_MULTILINE_COMMENT = 116;
121
- static readonly FROM_WS = 117;
122
- static readonly FORK_WS = 118;
123
- static readonly FORK_LINE_COMMENT = 119;
124
- static readonly FORK_MULTILINE_COMMENT = 120;
125
- static readonly GROUP = 121;
126
- static readonly SCORE = 122;
127
- static readonly KEY = 123;
128
- static readonly FUSE_LINE_COMMENT = 124;
129
- static readonly FUSE_MULTILINE_COMMENT = 125;
130
- static readonly FUSE_WS = 126;
131
- static readonly INLINE_STATS = 127;
132
- static readonly INLINE_LINE_COMMENT = 128;
133
- static readonly INLINE_MULTILINE_COMMENT = 129;
134
- static readonly INLINE_WS = 130;
135
- static readonly AFTER_IN_LINE_COMMENT = 131;
136
- static readonly AFTER_IN_MULTILINE_COMMENT = 132;
137
- static readonly AFTER_IN_WS = 133;
138
- static readonly IN_EXPR_FALLBACK = 134;
139
- static readonly JOIN = 135;
140
- static readonly USING = 136;
141
- static readonly JOIN_LINE_COMMENT = 137;
142
- static readonly JOIN_MULTILINE_COMMENT = 138;
143
- static readonly JOIN_WS = 139;
144
- static readonly LOOKUP_LINE_COMMENT = 140;
145
- static readonly LOOKUP_MULTILINE_COMMENT = 141;
146
- static readonly LOOKUP_WS = 142;
147
- static readonly LOOKUP_FIELD_LINE_COMMENT = 143;
148
- static readonly LOOKUP_FIELD_MULTILINE_COMMENT = 144;
149
- static readonly LOOKUP_FIELD_WS = 145;
150
- static readonly MMR_LIMIT = 146;
151
- static readonly MMR_LINE_COMMENT = 147;
152
- static readonly MMR_MULTILINE_COMMENT = 148;
153
- static readonly MMR_WS = 149;
154
- static readonly MVEXPAND_LINE_COMMENT = 150;
155
- static readonly MVEXPAND_MULTILINE_COMMENT = 151;
156
- static readonly MVEXPAND_WS = 152;
157
- static readonly ID_PATTERN = 153;
158
- static readonly PROJECT_LINE_COMMENT = 154;
159
- static readonly PROJECT_MULTILINE_COMMENT = 155;
160
- static readonly PROJECT_WS = 156;
161
- static readonly PROMQL_PARAMS_LINE_COMMENT = 157;
162
- static readonly PROMQL_PARAMS_MULTILINE_COMMENT = 158;
163
- static readonly PROMQL_PARAMS_WS = 159;
164
- static readonly PROMQL_QUERY_COMMENT = 160;
165
- static readonly PROMQL_SINGLE_QUOTED_STRING = 161;
166
- static readonly PROMQL_OTHER_QUERY_CONTENT = 162;
167
- static readonly AS = 163;
168
- static readonly RENAME_LINE_COMMENT = 164;
169
- static readonly RENAME_MULTILINE_COMMENT = 165;
170
- static readonly RENAME_WS = 166;
171
- static readonly SET_LINE_COMMENT = 167;
172
- static readonly SET_MULTILINE_COMMENT = 168;
173
- static readonly SET_WS = 169;
174
- static readonly INFO = 170;
175
- static readonly SHOW_LINE_COMMENT = 171;
176
- static readonly SHOW_MULTILINE_COMMENT = 172;
177
- static readonly SHOW_WS = 173;
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 RULE_indexPattern = 16;
196
- static readonly RULE_clusterString = 17;
197
- static readonly RULE_selectorString = 18;
198
- static readonly RULE_unquotedIndexString = 19;
199
- static readonly RULE_indexString = 20;
200
- static readonly RULE_metadata = 21;
201
- static readonly RULE_evalCommand = 22;
202
- static readonly RULE_statsCommand = 23;
203
- static readonly RULE_aggFields = 24;
204
- static readonly RULE_aggField = 25;
205
- static readonly RULE_qualifiedName = 26;
206
- static readonly RULE_fieldName = 27;
207
- static readonly RULE_qualifiedNamePattern = 28;
208
- static readonly RULE_fieldNamePattern = 29;
209
- static readonly RULE_qualifiedNamePatterns = 30;
210
- static readonly RULE_identifier = 31;
211
- static readonly RULE_identifierPattern = 32;
212
- static readonly RULE_parameter = 33;
213
- static readonly RULE_doubleParameter = 34;
214
- static readonly RULE_identifierOrParameter = 35;
215
- static readonly RULE_stringOrParameter = 36;
216
- static readonly RULE_limitCommand = 37;
217
- static readonly RULE_limitByGroupKey = 38;
218
- static readonly RULE_sortCommand = 39;
219
- static readonly RULE_orderExpression = 40;
220
- static readonly RULE_keepCommand = 41;
221
- static readonly RULE_dropCommand = 42;
222
- static readonly RULE_renameCommand = 43;
223
- static readonly RULE_renameClause = 44;
224
- static readonly RULE_dissectCommand = 45;
225
- static readonly RULE_dissectCommandOptions = 46;
226
- static readonly RULE_dissectCommandOption = 47;
227
- static readonly RULE_commandNamedParameters = 48;
228
- static readonly RULE_grokCommand = 49;
229
- static readonly RULE_mvExpandCommand = 50;
230
- static readonly RULE_explainCommand = 51;
231
- static readonly RULE_subqueryExpression = 52;
232
- static readonly RULE_showCommand = 53;
233
- static readonly RULE_enrichCommand = 54;
234
- static readonly RULE_enrichPolicyName = 55;
235
- static readonly RULE_enrichWithClause = 56;
236
- static readonly RULE_sampleCommand = 57;
237
- static readonly RULE_changePointCommand = 58;
238
- static readonly RULE_forkCommand = 59;
239
- static readonly RULE_forkSubQueries = 60;
240
- static readonly RULE_forkSubQuery = 61;
241
- static readonly RULE_forkSubQueryCommand = 62;
242
- static readonly RULE_forkSubQueryProcessingCommand = 63;
243
- static readonly RULE_rerankCommand = 64;
244
- static readonly RULE_completionCommand = 65;
245
- static readonly RULE_inlineStatsCommand = 66;
246
- static readonly RULE_fuseCommand = 67;
247
- static readonly RULE_fuseConfiguration = 68;
248
- static readonly RULE_fuseKeyByFields = 69;
249
- static readonly RULE_metricsInfoCommand = 70;
250
- static readonly RULE_tsInfoCommand = 71;
251
- static readonly RULE_lookupCommand = 72;
252
- static readonly RULE_insistCommand = 73;
253
- static readonly RULE_uriPartsCommand = 74;
254
- static readonly RULE_registeredDomainCommand = 75;
255
- static readonly RULE_userAgentCommand = 76;
256
- static readonly RULE_setCommand = 77;
257
- static readonly RULE_setField = 78;
258
- static readonly RULE_mmrCommand = 79;
259
- static readonly RULE_mmrQueryVectorParams = 80;
260
- static readonly RULE_booleanExpression = 81;
261
- static readonly RULE_regexBooleanExpression = 82;
262
- static readonly RULE_matchBooleanExpression = 83;
263
- static readonly RULE_valueExpression = 84;
264
- static readonly RULE_operatorExpression = 85;
265
- static readonly RULE_primaryExpression = 86;
266
- static readonly RULE_functionExpression = 87;
267
- static readonly RULE_functionName = 88;
268
- static readonly RULE_mapExpression = 89;
269
- static readonly RULE_entryExpression = 90;
270
- static readonly RULE_mapValue = 91;
271
- static readonly RULE_constant = 92;
272
- static readonly RULE_booleanValue = 93;
273
- static readonly RULE_numericValue = 94;
274
- static readonly RULE_decimalValue = 95;
275
- static readonly RULE_integerValue = 96;
276
- static readonly RULE_string = 97;
277
- static readonly RULE_comparisonOperator = 98;
278
- static readonly RULE_joinCommand = 99;
279
- static readonly RULE_joinTarget = 100;
280
- static readonly RULE_joinCondition = 101;
281
- static readonly RULE_promqlCommand = 102;
282
- static readonly RULE_valueName = 103;
283
- static readonly RULE_promqlParam = 104;
284
- static readonly RULE_promqlParamName = 105;
285
- static readonly RULE_promqlParamValue = 106;
286
- static readonly RULE_promqlQueryContent = 107;
287
- static readonly RULE_promqlQueryPart = 108;
288
- static readonly RULE_promqlIndexPattern = 109;
289
- static readonly RULE_promqlClusterString = 110;
290
- static readonly RULE_promqlSelectorString = 111;
291
- static readonly RULE_promqlUnquotedIndexString = 112;
292
- static readonly RULE_promqlIndexString = 113;
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
- fromCommand(): FromCommandContext;
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;