dt-sql-parser 4.0.0-ng.2 → 4.0.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/README.md +119 -112
- package/dist/index.d.ts +14 -6
- package/dist/index.js +11 -4
- package/dist/lib/SQLParserBase.d.ts +8 -0
- package/dist/lib/SQLParserBase.js +14 -0
- package/dist/lib/{flinksql → flink}/FlinkSqlLexer.d.ts +2 -2
- package/dist/lib/{flinksql → flink}/FlinkSqlLexer.js +2 -1
- package/dist/lib/{flinksql → flink}/FlinkSqlParser.d.ts +5 -11
- package/dist/lib/{flinksql → flink}/FlinkSqlParser.js +2065 -2054
- package/dist/lib/{flinksql → flink}/FlinkSqlParserListener.d.ts +0 -13
- package/dist/lib/{flinksql → flink}/FlinkSqlParserListener.js +1 -1
- package/dist/lib/{flinksql → flink}/FlinkSqlParserVisitor.d.ts +0 -8
- package/dist/lib/{flinksql → flink}/FlinkSqlParserVisitor.js +2 -1
- package/dist/lib/hive/HiveSqlLexer.d.ts +258 -257
- package/dist/lib/hive/HiveSqlLexer.js +1794 -1786
- package/dist/lib/hive/HiveSqlParser.d.ts +1266 -3176
- package/dist/lib/hive/HiveSqlParser.js +23046 -33454
- package/dist/lib/hive/HiveSqlParserListener.d.ts +141 -2036
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +151 -1358
- package/dist/lib/hive/HiveSqlParserVisitor.js +1 -0
- package/dist/lib/impala/ImpalaSqlLexer.d.ts +170 -154
- package/dist/lib/impala/ImpalaSqlLexer.js +1179 -1099
- package/dist/lib/impala/ImpalaSqlParser.d.ts +282 -240
- package/dist/lib/impala/ImpalaSqlParser.js +3881 -3744
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +22 -11
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +14 -7
- package/dist/lib/impala/ImpalaSqlParserVisitor.js +1 -0
- package/dist/lib/index.d.ts +6 -6
- package/dist/lib/index.js +6 -6
- package/dist/lib/mysql/MySqlLexer.d.ts +2 -2
- package/dist/lib/mysql/MySqlLexer.js +1 -0
- package/dist/lib/mysql/MySqlParser.d.ts +347 -418
- package/dist/lib/mysql/MySqlParser.js +10484 -11099
- package/dist/lib/mysql/MySqlParserListener.d.ts +41 -126
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +23 -76
- package/dist/lib/mysql/MySqlParserVisitor.js +1 -0
- package/dist/lib/plsql/PlSqlBaseLexer.d.ts +1 -2
- package/dist/lib/plsql/PlSqlBaseLexer.js +1 -1
- package/dist/lib/plsql/PlSqlBaseParser.d.ts +3 -2
- package/dist/lib/plsql/PlSqlBaseParser.js +2 -2
- package/dist/lib/plsql/PlSqlLexer.d.ts +3 -3
- package/dist/lib/plsql/PlSqlLexer.js +2 -1
- package/dist/lib/plsql/PlSqlParser.d.ts +3 -3
- package/dist/lib/plsql/PlSqlParser.js +2 -1
- package/dist/lib/plsql/PlSqlParserVisitor.js +1 -0
- package/dist/lib/{pgsql/PostgreSQLLexer.d.ts → postgresql/PostgreSqlLexer.d.ts} +3 -3
- package/dist/lib/{pgsql/PostgreSQLLexer.js → postgresql/PostgreSqlLexer.js} +618 -617
- package/dist/lib/{pgsql/PostgreSQLParser.d.ts → postgresql/PostgreSqlParser.d.ts} +3598 -3484
- package/dist/lib/{pgsql/PostgreSQLParser.js → postgresql/PostgreSqlParser.js} +41502 -42831
- package/dist/lib/{pgsql/PostgreSQLParserListener.d.ts → postgresql/PostgreSqlParserListener.d.ts} +2797 -2730
- package/dist/lib/{pgsql/PostgreSQLParserListener.js → postgresql/PostgreSqlParserListener.js} +3 -3
- package/dist/lib/{pgsql/PostgreSQLParserVisitor.d.ts → postgresql/PostgreSqlParserVisitor.d.ts} +1845 -1810
- package/dist/lib/{pgsql/PostgreSQLParserVisitor.js → postgresql/PostgreSqlParserVisitor.js} +4 -3
- package/dist/lib/spark/SparkSqlLexer.d.ts +305 -298
- package/dist/lib/spark/SparkSqlLexer.js +1777 -1735
- package/dist/lib/spark/SparkSqlParser.d.ts +1764 -669
- package/dist/lib/spark/SparkSqlParser.js +15460 -10769
- package/dist/lib/spark/SparkSqlParserListener.d.ts +1285 -35
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +790 -21
- package/dist/lib/spark/SparkSqlParserVisitor.js +1 -0
- package/dist/lib/{trinosql → trino}/TrinoSqlLexer.d.ts +2 -2
- package/dist/lib/{trinosql → trino}/TrinoSqlLexer.js +2 -1
- package/dist/lib/{trinosql → trino}/TrinoSqlListener.d.ts +7 -5
- package/dist/lib/{trinosql → trino}/TrinoSqlListener.js +1 -1
- package/dist/lib/{trinosql → trino}/TrinoSqlParser.d.ts +11 -5
- package/dist/lib/{trinosql → trino}/TrinoSqlParser.js +360 -320
- package/dist/lib/{trinosql → trino}/TrinoSqlVisitor.d.ts +4 -3
- package/dist/lib/{trinosql → trino}/TrinoSqlVisitor.js +2 -1
- package/dist/parser/common/{basicParser.d.ts → basicSQL.d.ts} +22 -19
- package/dist/parser/common/{basicParser.js → basicSQL.js} +52 -34
- package/dist/parser/common/entityCollector.d.ts +78 -0
- package/dist/parser/common/entityCollector.js +191 -0
- package/dist/parser/common/{utils/findCaretTokenIndex.d.ts → findCaretTokenIndex.d.ts} +2 -2
- package/dist/parser/common/{utils/findCaretTokenIndex.js → findCaretTokenIndex.js} +3 -2
- package/dist/parser/common/parseErrorListener.d.ts +6 -6
- package/dist/parser/common/parseErrorListener.js +1 -1
- package/dist/parser/common/simpleStack.d.ts +10 -0
- package/dist/parser/common/simpleStack.js +23 -0
- package/dist/parser/common/splitListener.d.ts +8 -0
- package/dist/parser/common/splitListener.js +12 -0
- package/dist/parser/common/textAndWord.d.ts +52 -0
- package/dist/parser/common/textAndWord.js +58 -0
- package/dist/parser/common/{basic-parser-types.d.ts → types.d.ts} +4 -31
- package/dist/parser/common/types.js +34 -0
- package/dist/parser/flink/flinkEntityCollector.d.ts +33 -0
- package/dist/parser/flink/flinkEntityCollector.js +84 -0
- package/dist/parser/flink/flinkSplitListener.d.ts +6 -0
- package/dist/parser/flink/flinkSplitListener.js +6 -0
- package/dist/parser/flink/index.d.ts +17 -0
- package/dist/parser/{flinksql.js → flink/index.js} +26 -37
- package/dist/parser/hive/hiveEntityCollector.d.ts +35 -0
- package/dist/parser/hive/hiveEntityCollector.js +90 -0
- package/dist/parser/hive/hiveSplitListener.d.ts +6 -0
- package/dist/parser/hive/hiveSplitListener.js +6 -0
- package/dist/parser/hive/index.d.ts +17 -0
- package/dist/parser/{hive.js → hive/index.js} +24 -34
- package/dist/parser/impala/impalaEntityCollector.d.ts +35 -0
- package/dist/parser/impala/impalaEntityCollector.js +90 -0
- package/dist/parser/impala/impalaSplitListener.d.ts +6 -0
- package/dist/parser/impala/impalaSplitListener.js +6 -0
- package/dist/parser/impala/index.d.ts +17 -0
- package/dist/parser/{impala.js → impala/index.js} +24 -34
- package/dist/parser/index.d.ts +8 -8
- package/dist/parser/index.js +8 -8
- package/dist/parser/mysql/index.d.ts +17 -0
- package/dist/parser/{mysql.js → mysql/index.js} +24 -34
- package/dist/parser/mysql/mysqlEntityCollector.d.ts +37 -0
- package/dist/parser/mysql/mysqlEntityCollector.js +96 -0
- package/dist/parser/mysql/mysqlSplitListener.d.ts +6 -0
- package/dist/parser/mysql/mysqlSplitListener.js +6 -0
- package/dist/parser/plsql.d.ts +7 -6
- package/dist/parser/plsql.js +6 -4
- package/dist/parser/postgresql/index.d.ts +17 -0
- package/dist/parser/postgresql/index.js +130 -0
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +37 -0
- package/dist/parser/postgresql/postgreEntityCollector.js +96 -0
- package/dist/parser/postgresql/postgreSplitListener.d.ts +6 -0
- package/dist/parser/postgresql/postgreSplitListener.js +6 -0
- package/dist/parser/spark/index.d.ts +17 -0
- package/dist/parser/{spark.js → spark/index.js} +29 -40
- package/dist/parser/spark/sparkEntityCollector.d.ts +37 -0
- package/dist/parser/spark/sparkEntityCollector.js +96 -0
- package/dist/parser/spark/sparkSplitListener.d.ts +6 -0
- package/dist/parser/spark/sparkSplitListener.js +6 -0
- package/dist/parser/trino/index.d.ts +17 -0
- package/dist/parser/{trinosql.js → trino/index.js} +25 -36
- package/dist/parser/trino/trinoEntityCollector.d.ts +30 -0
- package/dist/parser/trino/trinoEntityCollector.js +75 -0
- package/dist/parser/trino/trinoSplitListener.d.ts +6 -0
- package/dist/parser/trino/trinoSplitListener.js +6 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/token.d.ts +1 -1
- package/package.json +1 -1
- package/dist/parser/common/basic-parser-types.js +0 -34
- package/dist/parser/flinksql.d.ts +0 -23
- package/dist/parser/hive.d.ts +0 -23
- package/dist/parser/impala.d.ts +0 -23
- package/dist/parser/mysql.d.ts +0 -23
- package/dist/parser/pgsql.d.ts +0 -23
- package/dist/parser/pgsql.js +0 -140
- package/dist/parser/spark.d.ts +0 -23
- package/dist/parser/trinosql.d.ts +0 -23
|
@@ -2,7 +2,8 @@ import * as antlr from "antlr4ng";
|
|
|
2
2
|
import { Token } from "antlr4ng";
|
|
3
3
|
import { SparkSqlParserListener } from "./SparkSqlParserListener.js";
|
|
4
4
|
import { SparkSqlParserVisitor } from "./SparkSqlParserVisitor.js";
|
|
5
|
-
|
|
5
|
+
import { SQLParserBase } from '../SQLParserBase';
|
|
6
|
+
export declare class SparkSqlParser extends SQLParserBase {
|
|
6
7
|
static readonly SEMICOLON = 1;
|
|
7
8
|
static readonly LEFT_PAREN = 2;
|
|
8
9
|
static readonly RIGHT_PAREN = 3;
|
|
@@ -93,302 +94,309 @@ export declare class SparkSqlParser extends antlr.Parser {
|
|
|
93
94
|
static readonly KW_DFS = 88;
|
|
94
95
|
static readonly KW_DIRECTORIES = 89;
|
|
95
96
|
static readonly KW_DIRECTORY = 90;
|
|
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
|
|
178
|
-
static readonly
|
|
179
|
-
static readonly
|
|
180
|
-
static readonly
|
|
181
|
-
static readonly
|
|
182
|
-
static readonly
|
|
183
|
-
static readonly
|
|
184
|
-
static readonly
|
|
185
|
-
static readonly
|
|
186
|
-
static readonly
|
|
187
|
-
static readonly
|
|
188
|
-
static readonly
|
|
189
|
-
static readonly
|
|
190
|
-
static readonly
|
|
191
|
-
static readonly
|
|
192
|
-
static readonly
|
|
193
|
-
static readonly
|
|
194
|
-
static readonly
|
|
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
|
|
293
|
-
static readonly
|
|
294
|
-
static readonly
|
|
295
|
-
static readonly
|
|
296
|
-
static readonly
|
|
297
|
-
static readonly
|
|
298
|
-
static readonly
|
|
299
|
-
static readonly
|
|
300
|
-
static readonly
|
|
301
|
-
static readonly
|
|
302
|
-
static readonly
|
|
303
|
-
static readonly
|
|
304
|
-
static readonly
|
|
305
|
-
static readonly
|
|
306
|
-
static readonly
|
|
307
|
-
static readonly
|
|
308
|
-
static readonly
|
|
309
|
-
static readonly
|
|
310
|
-
static readonly
|
|
311
|
-
static readonly
|
|
312
|
-
static readonly
|
|
313
|
-
static readonly
|
|
314
|
-
static readonly
|
|
315
|
-
static readonly
|
|
316
|
-
static readonly
|
|
317
|
-
static readonly
|
|
318
|
-
static readonly
|
|
319
|
-
static readonly
|
|
320
|
-
static readonly
|
|
321
|
-
static readonly
|
|
322
|
-
static readonly
|
|
323
|
-
static readonly
|
|
324
|
-
static readonly
|
|
325
|
-
static readonly
|
|
326
|
-
static readonly
|
|
327
|
-
static readonly
|
|
328
|
-
static readonly
|
|
329
|
-
static readonly
|
|
330
|
-
static readonly
|
|
331
|
-
static readonly
|
|
332
|
-
static readonly
|
|
333
|
-
static readonly
|
|
334
|
-
static readonly
|
|
335
|
-
static readonly
|
|
336
|
-
static readonly
|
|
337
|
-
static readonly
|
|
338
|
-
static readonly
|
|
339
|
-
static readonly
|
|
340
|
-
static readonly
|
|
341
|
-
static readonly
|
|
342
|
-
static readonly
|
|
343
|
-
static readonly
|
|
344
|
-
static readonly
|
|
345
|
-
static readonly
|
|
346
|
-
static readonly
|
|
347
|
-
static readonly
|
|
348
|
-
static readonly
|
|
349
|
-
static readonly
|
|
350
|
-
static readonly
|
|
351
|
-
static readonly
|
|
352
|
-
static readonly
|
|
353
|
-
static readonly
|
|
354
|
-
static readonly
|
|
355
|
-
static readonly
|
|
356
|
-
static readonly
|
|
357
|
-
static readonly
|
|
358
|
-
static readonly
|
|
359
|
-
static readonly
|
|
360
|
-
static readonly
|
|
361
|
-
static readonly
|
|
362
|
-
static readonly
|
|
363
|
-
static readonly
|
|
364
|
-
static readonly
|
|
365
|
-
static readonly
|
|
366
|
-
static readonly
|
|
367
|
-
static readonly
|
|
368
|
-
static readonly
|
|
369
|
-
static readonly
|
|
370
|
-
static readonly
|
|
371
|
-
static readonly
|
|
372
|
-
static readonly
|
|
373
|
-
static readonly
|
|
374
|
-
static readonly
|
|
375
|
-
static readonly
|
|
376
|
-
static readonly
|
|
377
|
-
static readonly
|
|
378
|
-
static readonly
|
|
379
|
-
static readonly
|
|
380
|
-
static readonly
|
|
381
|
-
static readonly
|
|
382
|
-
static readonly
|
|
383
|
-
static readonly
|
|
384
|
-
static readonly
|
|
385
|
-
static readonly
|
|
386
|
-
static readonly
|
|
387
|
-
static readonly
|
|
388
|
-
static readonly
|
|
389
|
-
static readonly
|
|
390
|
-
static readonly
|
|
391
|
-
static readonly
|
|
97
|
+
static readonly KW_DISABLE = 91;
|
|
98
|
+
static readonly KW_DISTINCT = 92;
|
|
99
|
+
static readonly KW_DISTRIBUTE = 93;
|
|
100
|
+
static readonly KW_DIV = 94;
|
|
101
|
+
static readonly KW_DOUBLE = 95;
|
|
102
|
+
static readonly KW_DROP = 96;
|
|
103
|
+
static readonly KW_ELSE = 97;
|
|
104
|
+
static readonly KW_ENABLE = 98;
|
|
105
|
+
static readonly KW_END = 99;
|
|
106
|
+
static readonly KW_ESCAPE = 100;
|
|
107
|
+
static readonly KW_ESCAPED = 101;
|
|
108
|
+
static readonly KW_EXCEPT = 102;
|
|
109
|
+
static readonly KW_EXCHANGE = 103;
|
|
110
|
+
static readonly KW_EXCLUDE = 104;
|
|
111
|
+
static readonly KW_EXISTS = 105;
|
|
112
|
+
static readonly KW_EXPLAIN = 106;
|
|
113
|
+
static readonly KW_EXPORT = 107;
|
|
114
|
+
static readonly KW_EXTENDED = 108;
|
|
115
|
+
static readonly KW_EXTERNAL = 109;
|
|
116
|
+
static readonly KW_EXTRACT = 110;
|
|
117
|
+
static readonly KW_FALSE = 111;
|
|
118
|
+
static readonly KW_FETCH = 112;
|
|
119
|
+
static readonly KW_FIELDS = 113;
|
|
120
|
+
static readonly KW_FILTER = 114;
|
|
121
|
+
static readonly KW_FILEFORMAT = 115;
|
|
122
|
+
static readonly KW_FIRST = 116;
|
|
123
|
+
static readonly KW_FLOAT = 117;
|
|
124
|
+
static readonly KW_FOLLOWING = 118;
|
|
125
|
+
static readonly KW_FOR = 119;
|
|
126
|
+
static readonly KW_FOREIGN = 120;
|
|
127
|
+
static readonly KW_FORMAT = 121;
|
|
128
|
+
static readonly KW_FORMATTED = 122;
|
|
129
|
+
static readonly KW_FROM = 123;
|
|
130
|
+
static readonly KW_FULL = 124;
|
|
131
|
+
static readonly KW_FUNCTION = 125;
|
|
132
|
+
static readonly KW_FUNCTIONS = 126;
|
|
133
|
+
static readonly KW_GENERATED = 127;
|
|
134
|
+
static readonly KW_GLOBAL = 128;
|
|
135
|
+
static readonly KW_GRANT = 129;
|
|
136
|
+
static readonly KW_GROUP = 130;
|
|
137
|
+
static readonly KW_GROUPING = 131;
|
|
138
|
+
static readonly KW_HAVING = 132;
|
|
139
|
+
static readonly KW_BINARY_HEX = 133;
|
|
140
|
+
static readonly KW_HOUR = 134;
|
|
141
|
+
static readonly KW_HOURS = 135;
|
|
142
|
+
static readonly KW_IDENTIFIER = 136;
|
|
143
|
+
static readonly KW_IF = 137;
|
|
144
|
+
static readonly KW_IGNORE = 138;
|
|
145
|
+
static readonly KW_IMPORT = 139;
|
|
146
|
+
static readonly KW_IN = 140;
|
|
147
|
+
static readonly KW_INCLUDE = 141;
|
|
148
|
+
static readonly KW_INDEX = 142;
|
|
149
|
+
static readonly KW_INDEXES = 143;
|
|
150
|
+
static readonly KW_INNER = 144;
|
|
151
|
+
static readonly KW_INPATH = 145;
|
|
152
|
+
static readonly KW_INPUTFORMAT = 146;
|
|
153
|
+
static readonly KW_INSERT = 147;
|
|
154
|
+
static readonly KW_INTERSECT = 148;
|
|
155
|
+
static readonly KW_INTERVAL = 149;
|
|
156
|
+
static readonly KW_INT = 150;
|
|
157
|
+
static readonly KW_INTEGER = 151;
|
|
158
|
+
static readonly KW_INTO = 152;
|
|
159
|
+
static readonly KW_IS = 153;
|
|
160
|
+
static readonly KW_ITEMS = 154;
|
|
161
|
+
static readonly KW_JOIN = 155;
|
|
162
|
+
static readonly KW_KEYS = 156;
|
|
163
|
+
static readonly KW_LAST = 157;
|
|
164
|
+
static readonly KW_LATERAL = 158;
|
|
165
|
+
static readonly KW_LAZY = 159;
|
|
166
|
+
static readonly KW_LEADING = 160;
|
|
167
|
+
static readonly KW_LEFT = 161;
|
|
168
|
+
static readonly KW_LIFECYCLE = 162;
|
|
169
|
+
static readonly KW_LIKE = 163;
|
|
170
|
+
static readonly KW_ILIKE = 164;
|
|
171
|
+
static readonly KW_LIMIT = 165;
|
|
172
|
+
static readonly KW_LINES = 166;
|
|
173
|
+
static readonly KW_LIST = 167;
|
|
174
|
+
static readonly KW_LOAD = 168;
|
|
175
|
+
static readonly KW_LOCAL = 169;
|
|
176
|
+
static readonly KW_LOCATION = 170;
|
|
177
|
+
static readonly KW_LOCK = 171;
|
|
178
|
+
static readonly KW_LOCKS = 172;
|
|
179
|
+
static readonly KW_LOGICAL = 173;
|
|
180
|
+
static readonly KW_LONG = 174;
|
|
181
|
+
static readonly KW_MACRO = 175;
|
|
182
|
+
static readonly KW_MATERIALIZED = 176;
|
|
183
|
+
static readonly KW_MAP = 177;
|
|
184
|
+
static readonly KW_MATCHED = 178;
|
|
185
|
+
static readonly KW_MERGE = 179;
|
|
186
|
+
static readonly KW_MICROSECOND = 180;
|
|
187
|
+
static readonly KW_MICROSECONDS = 181;
|
|
188
|
+
static readonly KW_MILLISECOND = 182;
|
|
189
|
+
static readonly KW_MILLISECONDS = 183;
|
|
190
|
+
static readonly KW_MINUTE = 184;
|
|
191
|
+
static readonly KW_MINUTES = 185;
|
|
192
|
+
static readonly KW_MONTH = 186;
|
|
193
|
+
static readonly KW_MONTHS = 187;
|
|
194
|
+
static readonly KW_MSCK = 188;
|
|
195
|
+
static readonly KW_NAME = 189;
|
|
196
|
+
static readonly KW_NAMESPACE = 190;
|
|
197
|
+
static readonly KW_NAMESPACES = 191;
|
|
198
|
+
static readonly KW_NANOSECOND = 192;
|
|
199
|
+
static readonly KW_NANOSECONDS = 193;
|
|
200
|
+
static readonly KW_NATURAL = 194;
|
|
201
|
+
static readonly KW_NO = 195;
|
|
202
|
+
static readonly KW_NOSCAN = 196;
|
|
203
|
+
static readonly KW_NOT = 197;
|
|
204
|
+
static readonly KW_NULL = 198;
|
|
205
|
+
static readonly KW_NULLS = 199;
|
|
206
|
+
static readonly KW_NUMERIC = 200;
|
|
207
|
+
static readonly KW_OF = 201;
|
|
208
|
+
static readonly KW_OFFSET = 202;
|
|
209
|
+
static readonly KW_ON = 203;
|
|
210
|
+
static readonly KW_ONLY = 204;
|
|
211
|
+
static readonly KW_OPTIMIZE = 205;
|
|
212
|
+
static readonly KW_OPTION = 206;
|
|
213
|
+
static readonly KW_OPTIONS = 207;
|
|
214
|
+
static readonly KW_OR = 208;
|
|
215
|
+
static readonly KW_ORDER = 209;
|
|
216
|
+
static readonly KW_OUT = 210;
|
|
217
|
+
static readonly KW_OUTER = 211;
|
|
218
|
+
static readonly KW_OUTPUTFORMAT = 212;
|
|
219
|
+
static readonly KW_OVER = 213;
|
|
220
|
+
static readonly KW_OVERLAPS = 214;
|
|
221
|
+
static readonly KW_OVERLAY = 215;
|
|
222
|
+
static readonly KW_OVERWRITE = 216;
|
|
223
|
+
static readonly KW_PARTITION = 217;
|
|
224
|
+
static readonly KW_PARTITIONED = 218;
|
|
225
|
+
static readonly KW_PARTITIONS = 219;
|
|
226
|
+
static readonly KW_PERCENTILE_CONT = 220;
|
|
227
|
+
static readonly KW_PERCENTILE_DISC = 221;
|
|
228
|
+
static readonly KW_PERCENTLIT = 222;
|
|
229
|
+
static readonly KW_PIVOT = 223;
|
|
230
|
+
static readonly KW_PLACING = 224;
|
|
231
|
+
static readonly KW_POSITION = 225;
|
|
232
|
+
static readonly KW_PRECEDING = 226;
|
|
233
|
+
static readonly KW_PRIMARY = 227;
|
|
234
|
+
static readonly KW_PRINCIPALS = 228;
|
|
235
|
+
static readonly KW_PROPERTIES = 229;
|
|
236
|
+
static readonly KW_PURGE = 230;
|
|
237
|
+
static readonly KW_QUARTER = 231;
|
|
238
|
+
static readonly KW_QUERY = 232;
|
|
239
|
+
static readonly KW_RANGE = 233;
|
|
240
|
+
static readonly KW_REAL = 234;
|
|
241
|
+
static readonly KW_RECORDREADER = 235;
|
|
242
|
+
static readonly KW_RECORDWRITER = 236;
|
|
243
|
+
static readonly KW_RECOVER = 237;
|
|
244
|
+
static readonly KW_REDUCE = 238;
|
|
245
|
+
static readonly KW_REFERENCES = 239;
|
|
246
|
+
static readonly KW_REFRESH = 240;
|
|
247
|
+
static readonly KW_RENAME = 241;
|
|
248
|
+
static readonly KW_REPAIR = 242;
|
|
249
|
+
static readonly KW_REPEATABLE = 243;
|
|
250
|
+
static readonly KW_REPLACE = 244;
|
|
251
|
+
static readonly KW_RESET = 245;
|
|
252
|
+
static readonly KW_RESPECT = 246;
|
|
253
|
+
static readonly KW_RESTRICT = 247;
|
|
254
|
+
static readonly KW_REWRITE = 248;
|
|
255
|
+
static readonly KW_REVOKE = 249;
|
|
256
|
+
static readonly KW_RIGHT = 250;
|
|
257
|
+
static readonly KW_RLIKE = 251;
|
|
258
|
+
static readonly KW_REGEXP = 252;
|
|
259
|
+
static readonly KW_ROLE = 253;
|
|
260
|
+
static readonly KW_ROLES = 254;
|
|
261
|
+
static readonly KW_ROLLBACK = 255;
|
|
262
|
+
static readonly KW_ROLLUP = 256;
|
|
263
|
+
static readonly KW_ROW = 257;
|
|
264
|
+
static readonly KW_ROWS = 258;
|
|
265
|
+
static readonly KW_SECOND = 259;
|
|
266
|
+
static readonly KW_SECONDS = 260;
|
|
267
|
+
static readonly KW_SCHEMA = 261;
|
|
268
|
+
static readonly KW_SCHEMAS = 262;
|
|
269
|
+
static readonly KW_SELECT = 263;
|
|
270
|
+
static readonly KW_SEMI = 264;
|
|
271
|
+
static readonly KW_SEPARATED = 265;
|
|
272
|
+
static readonly KW_SERDE = 266;
|
|
273
|
+
static readonly KW_SERDEPROPERTIES = 267;
|
|
274
|
+
static readonly KW_SESSION_USER = 268;
|
|
275
|
+
static readonly KW_SET = 269;
|
|
276
|
+
static readonly KW_MINUS = 270;
|
|
277
|
+
static readonly KW_SETS = 271;
|
|
278
|
+
static readonly KW_SHORT = 272;
|
|
279
|
+
static readonly KW_SHOW = 273;
|
|
280
|
+
static readonly KW_SINGLE = 274;
|
|
281
|
+
static readonly KW_SKEWED = 275;
|
|
282
|
+
static readonly KW_SMALLINT = 276;
|
|
283
|
+
static readonly KW_SOME = 277;
|
|
284
|
+
static readonly KW_SORT = 278;
|
|
285
|
+
static readonly KW_SORTED = 279;
|
|
286
|
+
static readonly KW_SOURCE = 280;
|
|
287
|
+
static readonly KW_START = 281;
|
|
288
|
+
static readonly KW_STATISTICS = 282;
|
|
289
|
+
static readonly KW_STORED = 283;
|
|
290
|
+
static readonly KW_STRATIFY = 284;
|
|
291
|
+
static readonly KW_STRING = 285;
|
|
292
|
+
static readonly KW_STRUCT = 286;
|
|
293
|
+
static readonly KW_SUBSTR = 287;
|
|
294
|
+
static readonly KW_SUBSTRING = 288;
|
|
295
|
+
static readonly KW_SYNC = 289;
|
|
296
|
+
static readonly KW_SYSTEM = 290;
|
|
297
|
+
static readonly KW_SYSTEM_TIME = 291;
|
|
298
|
+
static readonly KW_SYSTEM_VERSION = 292;
|
|
299
|
+
static readonly KW_TABLE = 293;
|
|
300
|
+
static readonly KW_TABLES = 294;
|
|
301
|
+
static readonly KW_TABLESAMPLE = 295;
|
|
302
|
+
static readonly KW_TARGET = 296;
|
|
303
|
+
static readonly KW_TBLPROPERTIES = 297;
|
|
304
|
+
static readonly KW_TEMPORARY = 298;
|
|
305
|
+
static readonly KW_TERMINATED = 299;
|
|
306
|
+
static readonly KW_THEN = 300;
|
|
307
|
+
static readonly KW_TIME = 301;
|
|
308
|
+
static readonly KW_TIMEDIFF = 302;
|
|
309
|
+
static readonly KW_TIMESTAMP = 303;
|
|
310
|
+
static readonly KW_TIMESTAMP_LTZ = 304;
|
|
311
|
+
static readonly KW_TIMESTAMP_NTZ = 305;
|
|
312
|
+
static readonly KW_TIMESTAMPADD = 306;
|
|
313
|
+
static readonly KW_TIMESTAMPDIFF = 307;
|
|
314
|
+
static readonly KW_TINYINT = 308;
|
|
315
|
+
static readonly KW_TO = 309;
|
|
316
|
+
static readonly KW_TOUCH = 310;
|
|
317
|
+
static readonly KW_TRAILING = 311;
|
|
318
|
+
static readonly KW_TRANSACTION = 312;
|
|
319
|
+
static readonly KW_TRANSACTIONS = 313;
|
|
320
|
+
static readonly KW_TRANSFORM = 314;
|
|
321
|
+
static readonly KW_TRIM = 315;
|
|
322
|
+
static readonly KW_TRUE = 316;
|
|
323
|
+
static readonly KW_TRUNCATE = 317;
|
|
324
|
+
static readonly KW_TRY_CAST = 318;
|
|
325
|
+
static readonly KW_TYPE = 319;
|
|
326
|
+
static readonly KW_UNARCHIVE = 320;
|
|
327
|
+
static readonly KW_UNBOUNDED = 321;
|
|
328
|
+
static readonly KW_UNCACHE = 322;
|
|
329
|
+
static readonly KW_UNION = 323;
|
|
330
|
+
static readonly KW_UNIQUE = 324;
|
|
331
|
+
static readonly KW_UNKNOWN = 325;
|
|
332
|
+
static readonly KW_UNLOCK = 326;
|
|
333
|
+
static readonly KW_UNPIVOT = 327;
|
|
334
|
+
static readonly KW_UNSET = 328;
|
|
335
|
+
static readonly KW_UPDATE = 329;
|
|
336
|
+
static readonly KW_USE = 330;
|
|
337
|
+
static readonly KW_USER = 331;
|
|
338
|
+
static readonly KW_USING = 332;
|
|
339
|
+
static readonly KW_VALUES = 333;
|
|
340
|
+
static readonly KW_VARCHAR = 334;
|
|
341
|
+
static readonly KW_VAR = 335;
|
|
342
|
+
static readonly KW_VARIABLE = 336;
|
|
343
|
+
static readonly KW_VERSION = 337;
|
|
344
|
+
static readonly KW_VIEW = 338;
|
|
345
|
+
static readonly KW_VIEWS = 339;
|
|
346
|
+
static readonly KW_VOID = 340;
|
|
347
|
+
static readonly KW_WEEK = 341;
|
|
348
|
+
static readonly KW_WEEKS = 342;
|
|
349
|
+
static readonly KW_WHEN = 343;
|
|
350
|
+
static readonly KW_WHERE = 344;
|
|
351
|
+
static readonly KW_WINDOW = 345;
|
|
352
|
+
static readonly KW_WITH = 346;
|
|
353
|
+
static readonly KW_WITHIN = 347;
|
|
354
|
+
static readonly KW_YEAR = 348;
|
|
355
|
+
static readonly KW_YEARS = 349;
|
|
356
|
+
static readonly KW_ZONE = 350;
|
|
357
|
+
static readonly KW_ZORDER = 351;
|
|
358
|
+
static readonly EQ = 352;
|
|
359
|
+
static readonly NSEQ = 353;
|
|
360
|
+
static readonly NEQ = 354;
|
|
361
|
+
static readonly NEQJ = 355;
|
|
362
|
+
static readonly LT = 356;
|
|
363
|
+
static readonly LTE = 357;
|
|
364
|
+
static readonly GT = 358;
|
|
365
|
+
static readonly GTE = 359;
|
|
366
|
+
static readonly NOT = 360;
|
|
367
|
+
static readonly PLUS = 361;
|
|
368
|
+
static readonly MINUS = 362;
|
|
369
|
+
static readonly ASTERISK = 363;
|
|
370
|
+
static readonly SLASH = 364;
|
|
371
|
+
static readonly PERCENT = 365;
|
|
372
|
+
static readonly TILDE = 366;
|
|
373
|
+
static readonly AMPERSAND = 367;
|
|
374
|
+
static readonly PIPE = 368;
|
|
375
|
+
static readonly CONCAT_PIPE = 369;
|
|
376
|
+
static readonly HAT = 370;
|
|
377
|
+
static readonly COLON = 371;
|
|
378
|
+
static readonly ARROW = 372;
|
|
379
|
+
static readonly FAT_ARROW = 373;
|
|
380
|
+
static readonly HENT_START = 374;
|
|
381
|
+
static readonly HENT_END = 375;
|
|
382
|
+
static readonly QUESTION = 376;
|
|
383
|
+
static readonly STRING_LITERAL = 377;
|
|
384
|
+
static readonly DOUBLEQUOTED_STRING = 378;
|
|
385
|
+
static readonly BIGINT_LITERAL = 379;
|
|
386
|
+
static readonly SMALLINT_LITERAL = 380;
|
|
387
|
+
static readonly TINYINT_LITERAL = 381;
|
|
388
|
+
static readonly INTEGER_VALUE = 382;
|
|
389
|
+
static readonly EXPONENT_VALUE = 383;
|
|
390
|
+
static readonly DECIMAL_VALUE = 384;
|
|
391
|
+
static readonly FLOAT_LITERAL = 385;
|
|
392
|
+
static readonly DOUBLE_LITERAL = 386;
|
|
393
|
+
static readonly BIGDECIMAL_LITERAL = 387;
|
|
394
|
+
static readonly IDENTIFIER = 388;
|
|
395
|
+
static readonly BACKQUOTED_IDENTIFIER = 389;
|
|
396
|
+
static readonly SIMPLE_COMMENT = 390;
|
|
397
|
+
static readonly BRACKETED_COMMENT = 391;
|
|
398
|
+
static readonly WS = 392;
|
|
399
|
+
static readonly UNRECOGNIZED = 393;
|
|
392
400
|
static readonly RULE_program = 0;
|
|
393
401
|
static readonly RULE_singleStatement = 1;
|
|
394
402
|
static readonly RULE_statement = 2;
|
|
@@ -407,188 +415,190 @@ export declare class SparkSqlParser extends antlr.Parser {
|
|
|
407
415
|
static readonly RULE_partitionSpecLocation = 15;
|
|
408
416
|
static readonly RULE_partitionSpec = 16;
|
|
409
417
|
static readonly RULE_partitionVal = 17;
|
|
410
|
-
static readonly
|
|
411
|
-
static readonly
|
|
418
|
+
static readonly RULE_namespace = 18;
|
|
419
|
+
static readonly RULE_namespaces = 19;
|
|
412
420
|
static readonly RULE_describeFuncName = 20;
|
|
413
421
|
static readonly RULE_describeColName = 21;
|
|
414
422
|
static readonly RULE_ctes = 22;
|
|
415
423
|
static readonly RULE_namedQuery = 23;
|
|
416
424
|
static readonly RULE_tableProvider = 24;
|
|
417
425
|
static readonly RULE_createTableClauses = 25;
|
|
418
|
-
static readonly
|
|
419
|
-
static readonly
|
|
420
|
-
static readonly
|
|
421
|
-
static readonly
|
|
422
|
-
static readonly
|
|
423
|
-
static readonly
|
|
424
|
-
static readonly
|
|
425
|
-
static readonly
|
|
426
|
-
static readonly
|
|
427
|
-
static readonly
|
|
428
|
-
static readonly
|
|
429
|
-
static readonly
|
|
430
|
-
static readonly
|
|
431
|
-
static readonly
|
|
432
|
-
static readonly
|
|
433
|
-
static readonly
|
|
434
|
-
static readonly
|
|
435
|
-
static readonly
|
|
436
|
-
static readonly
|
|
437
|
-
static readonly
|
|
438
|
-
static readonly
|
|
439
|
-
static readonly
|
|
440
|
-
static readonly
|
|
441
|
-
static readonly
|
|
442
|
-
static readonly
|
|
443
|
-
static readonly
|
|
444
|
-
static readonly
|
|
445
|
-
static readonly
|
|
446
|
-
static readonly
|
|
447
|
-
static readonly
|
|
448
|
-
static readonly
|
|
449
|
-
static readonly
|
|
450
|
-
static readonly
|
|
451
|
-
static readonly
|
|
452
|
-
static readonly
|
|
453
|
-
static readonly
|
|
454
|
-
static readonly
|
|
455
|
-
static readonly
|
|
456
|
-
static readonly
|
|
457
|
-
static readonly
|
|
458
|
-
static readonly
|
|
459
|
-
static readonly
|
|
460
|
-
static readonly
|
|
461
|
-
static readonly
|
|
462
|
-
static readonly
|
|
463
|
-
static readonly
|
|
464
|
-
static readonly
|
|
465
|
-
static readonly
|
|
466
|
-
static readonly
|
|
467
|
-
static readonly
|
|
468
|
-
static readonly
|
|
469
|
-
static readonly
|
|
470
|
-
static readonly
|
|
471
|
-
static readonly
|
|
472
|
-
static readonly
|
|
473
|
-
static readonly
|
|
474
|
-
static readonly
|
|
475
|
-
static readonly
|
|
476
|
-
static readonly
|
|
477
|
-
static readonly
|
|
478
|
-
static readonly
|
|
479
|
-
static readonly
|
|
480
|
-
static readonly
|
|
481
|
-
static readonly
|
|
482
|
-
static readonly
|
|
483
|
-
static readonly
|
|
484
|
-
static readonly
|
|
485
|
-
static readonly
|
|
486
|
-
static readonly
|
|
487
|
-
static readonly
|
|
488
|
-
static readonly
|
|
489
|
-
static readonly
|
|
490
|
-
static readonly
|
|
491
|
-
static readonly
|
|
492
|
-
static readonly
|
|
493
|
-
static readonly
|
|
494
|
-
static readonly
|
|
495
|
-
static readonly
|
|
496
|
-
static readonly
|
|
497
|
-
static readonly
|
|
498
|
-
static readonly
|
|
499
|
-
static readonly
|
|
500
|
-
static readonly
|
|
501
|
-
static readonly
|
|
502
|
-
static readonly
|
|
503
|
-
static readonly
|
|
504
|
-
static readonly
|
|
505
|
-
static readonly
|
|
506
|
-
static readonly
|
|
507
|
-
static readonly
|
|
508
|
-
static readonly
|
|
509
|
-
static readonly
|
|
510
|
-
static readonly
|
|
511
|
-
static readonly
|
|
512
|
-
static readonly
|
|
513
|
-
static readonly
|
|
514
|
-
static readonly
|
|
515
|
-
static readonly
|
|
516
|
-
static readonly
|
|
517
|
-
static readonly
|
|
518
|
-
static readonly
|
|
519
|
-
static readonly
|
|
520
|
-
static readonly
|
|
521
|
-
static readonly
|
|
522
|
-
static readonly
|
|
523
|
-
static readonly
|
|
524
|
-
static readonly
|
|
525
|
-
static readonly
|
|
526
|
-
static readonly
|
|
527
|
-
static readonly
|
|
528
|
-
static readonly
|
|
529
|
-
static readonly
|
|
530
|
-
static readonly
|
|
531
|
-
static readonly
|
|
532
|
-
static readonly
|
|
533
|
-
static readonly
|
|
534
|
-
static readonly
|
|
535
|
-
static readonly
|
|
536
|
-
static readonly
|
|
537
|
-
static readonly
|
|
538
|
-
static readonly
|
|
539
|
-
static readonly
|
|
540
|
-
static readonly
|
|
541
|
-
static readonly
|
|
542
|
-
static readonly
|
|
543
|
-
static readonly
|
|
544
|
-
static readonly
|
|
545
|
-
static readonly
|
|
546
|
-
static readonly
|
|
547
|
-
static readonly
|
|
548
|
-
static readonly
|
|
549
|
-
static readonly
|
|
550
|
-
static readonly
|
|
551
|
-
static readonly
|
|
552
|
-
static readonly
|
|
553
|
-
static readonly
|
|
554
|
-
static readonly
|
|
555
|
-
static readonly
|
|
556
|
-
static readonly
|
|
557
|
-
static readonly
|
|
558
|
-
static readonly
|
|
559
|
-
static readonly
|
|
560
|
-
static readonly
|
|
561
|
-
static readonly
|
|
562
|
-
static readonly
|
|
563
|
-
static readonly
|
|
564
|
-
static readonly
|
|
565
|
-
static readonly
|
|
566
|
-
static readonly
|
|
567
|
-
static readonly
|
|
568
|
-
static readonly
|
|
569
|
-
static readonly
|
|
570
|
-
static readonly
|
|
571
|
-
static readonly
|
|
572
|
-
static readonly
|
|
573
|
-
static readonly
|
|
574
|
-
static readonly
|
|
575
|
-
static readonly
|
|
576
|
-
static readonly
|
|
577
|
-
static readonly
|
|
578
|
-
static readonly
|
|
579
|
-
static readonly
|
|
580
|
-
static readonly
|
|
581
|
-
static readonly
|
|
582
|
-
static readonly
|
|
583
|
-
static readonly
|
|
584
|
-
static readonly
|
|
585
|
-
static readonly
|
|
586
|
-
static readonly
|
|
587
|
-
static readonly
|
|
588
|
-
static readonly
|
|
589
|
-
static readonly
|
|
590
|
-
static readonly
|
|
591
|
-
static readonly
|
|
426
|
+
static readonly RULE_tableLifecycle = 26;
|
|
427
|
+
static readonly RULE_propertyList = 27;
|
|
428
|
+
static readonly RULE_property = 28;
|
|
429
|
+
static readonly RULE_propertyKey = 29;
|
|
430
|
+
static readonly RULE_propertyValue = 30;
|
|
431
|
+
static readonly RULE_expressionPropertyList = 31;
|
|
432
|
+
static readonly RULE_expressionProperty = 32;
|
|
433
|
+
static readonly RULE_constantList = 33;
|
|
434
|
+
static readonly RULE_nestedConstantList = 34;
|
|
435
|
+
static readonly RULE_createFileFormat = 35;
|
|
436
|
+
static readonly RULE_fileFormat = 36;
|
|
437
|
+
static readonly RULE_storageHandler = 37;
|
|
438
|
+
static readonly RULE_resource = 38;
|
|
439
|
+
static readonly RULE_dmlStatementNoWith = 39;
|
|
440
|
+
static readonly RULE_namespaceName = 40;
|
|
441
|
+
static readonly RULE_namespaceNameCreate = 41;
|
|
442
|
+
static readonly RULE_tableNameCreate = 42;
|
|
443
|
+
static readonly RULE_tableName = 43;
|
|
444
|
+
static readonly RULE_viewNameCreate = 44;
|
|
445
|
+
static readonly RULE_viewName = 45;
|
|
446
|
+
static readonly RULE_columnName = 46;
|
|
447
|
+
static readonly RULE_columnNameSeq = 47;
|
|
448
|
+
static readonly RULE_columnNameCreate = 48;
|
|
449
|
+
static readonly RULE_identifierReference = 49;
|
|
450
|
+
static readonly RULE_queryOrganization = 50;
|
|
451
|
+
static readonly RULE_multiInsertQueryBody = 51;
|
|
452
|
+
static readonly RULE_queryTerm = 52;
|
|
453
|
+
static readonly RULE_queryPrimary = 53;
|
|
454
|
+
static readonly RULE_sortItem = 54;
|
|
455
|
+
static readonly RULE_fromStatement = 55;
|
|
456
|
+
static readonly RULE_fromStatementBody = 56;
|
|
457
|
+
static readonly RULE_querySpecification = 57;
|
|
458
|
+
static readonly RULE_transformClause = 58;
|
|
459
|
+
static readonly RULE_selectClause = 59;
|
|
460
|
+
static readonly RULE_setClause = 60;
|
|
461
|
+
static readonly RULE_matchedClause = 61;
|
|
462
|
+
static readonly RULE_notMatchedClause = 62;
|
|
463
|
+
static readonly RULE_notMatchedBySourceClause = 63;
|
|
464
|
+
static readonly RULE_matchedAction = 64;
|
|
465
|
+
static readonly RULE_notMatchedAction = 65;
|
|
466
|
+
static readonly RULE_notMatchedBySourceAction = 66;
|
|
467
|
+
static readonly RULE_assignmentList = 67;
|
|
468
|
+
static readonly RULE_assignment = 68;
|
|
469
|
+
static readonly RULE_whereClause = 69;
|
|
470
|
+
static readonly RULE_havingClause = 70;
|
|
471
|
+
static readonly RULE_hint = 71;
|
|
472
|
+
static readonly RULE_hintStatement = 72;
|
|
473
|
+
static readonly RULE_fromClause = 73;
|
|
474
|
+
static readonly RULE_functionKind = 74;
|
|
475
|
+
static readonly RULE_temporalClause = 75;
|
|
476
|
+
static readonly RULE_aggregationClause = 76;
|
|
477
|
+
static readonly RULE_groupByClause = 77;
|
|
478
|
+
static readonly RULE_groupingAnalytics = 78;
|
|
479
|
+
static readonly RULE_groupingElement = 79;
|
|
480
|
+
static readonly RULE_groupingSet = 80;
|
|
481
|
+
static readonly RULE_pivotClause = 81;
|
|
482
|
+
static readonly RULE_pivotColumn = 82;
|
|
483
|
+
static readonly RULE_pivotValue = 83;
|
|
484
|
+
static readonly RULE_unpivotClause = 84;
|
|
485
|
+
static readonly RULE_unpivotNullClause = 85;
|
|
486
|
+
static readonly RULE_unpivotOperator = 86;
|
|
487
|
+
static readonly RULE_unpivotSingleValueColumnClause = 87;
|
|
488
|
+
static readonly RULE_unpivotMultiValueColumnClause = 88;
|
|
489
|
+
static readonly RULE_unpivotColumnSet = 89;
|
|
490
|
+
static readonly RULE_unpivotValueColumn = 90;
|
|
491
|
+
static readonly RULE_unpivotNameColumn = 91;
|
|
492
|
+
static readonly RULE_unpivotColumnAndAlias = 92;
|
|
493
|
+
static readonly RULE_unpivotColumn = 93;
|
|
494
|
+
static readonly RULE_unpivotAlias = 94;
|
|
495
|
+
static readonly RULE_ifNotExists = 95;
|
|
496
|
+
static readonly RULE_ifExists = 96;
|
|
497
|
+
static readonly RULE_lateralView = 97;
|
|
498
|
+
static readonly RULE_setQuantifier = 98;
|
|
499
|
+
static readonly RULE_relation = 99;
|
|
500
|
+
static readonly RULE_relationExtension = 100;
|
|
501
|
+
static readonly RULE_joinRelation = 101;
|
|
502
|
+
static readonly RULE_joinType = 102;
|
|
503
|
+
static readonly RULE_joinCriteria = 103;
|
|
504
|
+
static readonly RULE_sample = 104;
|
|
505
|
+
static readonly RULE_sampleMethod = 105;
|
|
506
|
+
static readonly RULE_identifierList = 106;
|
|
507
|
+
static readonly RULE_identifierSeq = 107;
|
|
508
|
+
static readonly RULE_orderedIdentifierList = 108;
|
|
509
|
+
static readonly RULE_orderedIdentifier = 109;
|
|
510
|
+
static readonly RULE_identifierCommentList = 110;
|
|
511
|
+
static readonly RULE_identifierComment = 111;
|
|
512
|
+
static readonly RULE_relationPrimary = 112;
|
|
513
|
+
static readonly RULE_inlineTable = 113;
|
|
514
|
+
static readonly RULE_functionTableSubqueryArgument = 114;
|
|
515
|
+
static readonly RULE_tableArgumentPartitioning = 115;
|
|
516
|
+
static readonly RULE_functionTableNamedArgumentExpression = 116;
|
|
517
|
+
static readonly RULE_functionTableReferenceArgument = 117;
|
|
518
|
+
static readonly RULE_functionTableArgument = 118;
|
|
519
|
+
static readonly RULE_functionTable = 119;
|
|
520
|
+
static readonly RULE_tableAlias = 120;
|
|
521
|
+
static readonly RULE_rowFormat = 121;
|
|
522
|
+
static readonly RULE_multipartIdentifierList = 122;
|
|
523
|
+
static readonly RULE_multipartIdentifier = 123;
|
|
524
|
+
static readonly RULE_multipartIdentifierPropertyList = 124;
|
|
525
|
+
static readonly RULE_multipartIdentifierProperty = 125;
|
|
526
|
+
static readonly RULE_tableIdentifier = 126;
|
|
527
|
+
static readonly RULE_viewIdentifier = 127;
|
|
528
|
+
static readonly RULE_namedExpression = 128;
|
|
529
|
+
static readonly RULE_namedExpressionSeq = 129;
|
|
530
|
+
static readonly RULE_partitionFieldList = 130;
|
|
531
|
+
static readonly RULE_partitionField = 131;
|
|
532
|
+
static readonly RULE_transform = 132;
|
|
533
|
+
static readonly RULE_transformArgument = 133;
|
|
534
|
+
static readonly RULE_expression = 134;
|
|
535
|
+
static readonly RULE_namedArgumentExpression = 135;
|
|
536
|
+
static readonly RULE_functionArgument = 136;
|
|
537
|
+
static readonly RULE_expressionSeq = 137;
|
|
538
|
+
static readonly RULE_booleanExpression = 138;
|
|
539
|
+
static readonly RULE_predicate = 139;
|
|
540
|
+
static readonly RULE_valueExpression = 140;
|
|
541
|
+
static readonly RULE_datetimeUnit = 141;
|
|
542
|
+
static readonly RULE_primaryExpression = 142;
|
|
543
|
+
static readonly RULE_literalType = 143;
|
|
544
|
+
static readonly RULE_constant = 144;
|
|
545
|
+
static readonly RULE_comparisonOperator = 145;
|
|
546
|
+
static readonly RULE_arithmeticOperator = 146;
|
|
547
|
+
static readonly RULE_predicateOperator = 147;
|
|
548
|
+
static readonly RULE_booleanValue = 148;
|
|
549
|
+
static readonly RULE_interval = 149;
|
|
550
|
+
static readonly RULE_errorCapturingMultiUnitsInterval = 150;
|
|
551
|
+
static readonly RULE_multiUnitsInterval = 151;
|
|
552
|
+
static readonly RULE_errorCapturingUnitToUnitInterval = 152;
|
|
553
|
+
static readonly RULE_unitToUnitInterval = 153;
|
|
554
|
+
static readonly RULE_intervalValue = 154;
|
|
555
|
+
static readonly RULE_unitInMultiUnits = 155;
|
|
556
|
+
static readonly RULE_unitInUnitToUnit = 156;
|
|
557
|
+
static readonly RULE_colPosition = 157;
|
|
558
|
+
static readonly RULE_type = 158;
|
|
559
|
+
static readonly RULE_dataType = 159;
|
|
560
|
+
static readonly RULE_qualifiedColTypeWithPositionSeqForAdd = 160;
|
|
561
|
+
static readonly RULE_qualifiedColTypeWithPositionForAdd = 161;
|
|
562
|
+
static readonly RULE_qualifiedColTypeWithPositionSeqForReplace = 162;
|
|
563
|
+
static readonly RULE_qualifiedColTypeWithPositionForReplace = 163;
|
|
564
|
+
static readonly RULE_colDefinitionDescriptorWithPosition = 164;
|
|
565
|
+
static readonly RULE_defaultExpression = 165;
|
|
566
|
+
static readonly RULE_variableDefaultExpression = 166;
|
|
567
|
+
static readonly RULE_colTypeList = 167;
|
|
568
|
+
static readonly RULE_colType = 168;
|
|
569
|
+
static readonly RULE_createOrReplaceTableColTypeList = 169;
|
|
570
|
+
static readonly RULE_createOrReplaceTableColType = 170;
|
|
571
|
+
static readonly RULE_colDefinitionOption = 171;
|
|
572
|
+
static readonly RULE_generationExpression = 172;
|
|
573
|
+
static readonly RULE_complexColTypeList = 173;
|
|
574
|
+
static readonly RULE_complexColType = 174;
|
|
575
|
+
static readonly RULE_whenClause = 175;
|
|
576
|
+
static readonly RULE_windowClause = 176;
|
|
577
|
+
static readonly RULE_zorderClause = 177;
|
|
578
|
+
static readonly RULE_namedWindow = 178;
|
|
579
|
+
static readonly RULE_windowSpec = 179;
|
|
580
|
+
static readonly RULE_windowFrame = 180;
|
|
581
|
+
static readonly RULE_frameBound = 181;
|
|
582
|
+
static readonly RULE_qualifiedNameList = 182;
|
|
583
|
+
static readonly RULE_functionName = 183;
|
|
584
|
+
static readonly RULE_functionNameCreate = 184;
|
|
585
|
+
static readonly RULE_qualifiedName = 185;
|
|
586
|
+
static readonly RULE_errorCapturingIdentifier = 186;
|
|
587
|
+
static readonly RULE_errorCapturingIdentifierExtra = 187;
|
|
588
|
+
static readonly RULE_identifier = 188;
|
|
589
|
+
static readonly RULE_strictIdentifier = 189;
|
|
590
|
+
static readonly RULE_quotedIdentifier = 190;
|
|
591
|
+
static readonly RULE_backQuotedIdentifier = 191;
|
|
592
|
+
static readonly RULE_number = 192;
|
|
593
|
+
static readonly RULE_alterColumnAction = 193;
|
|
594
|
+
static readonly RULE_stringLit = 194;
|
|
595
|
+
static readonly RULE_comment = 195;
|
|
596
|
+
static readonly RULE_version = 196;
|
|
597
|
+
static readonly RULE_ansiNonReserved = 197;
|
|
598
|
+
static readonly RULE_strictNonReserved = 198;
|
|
599
|
+
static readonly RULE_nonReserved = 199;
|
|
600
|
+
static readonly literalNames: (string | null)[];
|
|
601
|
+
static readonly symbolicNames: (string | null)[];
|
|
592
602
|
static readonly ruleNames: string[];
|
|
593
603
|
get grammarFileName(): string;
|
|
594
604
|
get literalNames(): (string | null)[];
|
|
@@ -615,14 +625,15 @@ export declare class SparkSqlParser extends antlr.Parser {
|
|
|
615
625
|
partitionSpecLocation(): PartitionSpecLocationContext;
|
|
616
626
|
partitionSpec(): PartitionSpecContext;
|
|
617
627
|
partitionVal(): PartitionValContext;
|
|
618
|
-
|
|
619
|
-
|
|
628
|
+
namespace(): NamespaceContext;
|
|
629
|
+
namespaces(): NamespacesContext;
|
|
620
630
|
describeFuncName(): DescribeFuncNameContext;
|
|
621
631
|
describeColName(): DescribeColNameContext;
|
|
622
632
|
ctes(): CtesContext;
|
|
623
633
|
namedQuery(): NamedQueryContext;
|
|
624
634
|
tableProvider(): TableProviderContext;
|
|
625
635
|
createTableClauses(): CreateTableClausesContext;
|
|
636
|
+
tableLifecycle(): TableLifecycleContext;
|
|
626
637
|
propertyList(): PropertyListContext;
|
|
627
638
|
property(): PropertyContext;
|
|
628
639
|
propertyKey(): PropertyKeyContext;
|
|
@@ -636,8 +647,8 @@ export declare class SparkSqlParser extends antlr.Parser {
|
|
|
636
647
|
storageHandler(): StorageHandlerContext;
|
|
637
648
|
resource(): ResourceContext;
|
|
638
649
|
dmlStatementNoWith(): DmlStatementNoWithContext;
|
|
639
|
-
|
|
640
|
-
|
|
650
|
+
namespaceName(): NamespaceNameContext;
|
|
651
|
+
namespaceNameCreate(): NamespaceNameCreateContext;
|
|
641
652
|
tableNameCreate(): TableNameCreateContext;
|
|
642
653
|
tableName(): TableNameContext;
|
|
643
654
|
viewNameCreate(): ViewNameCreateContext;
|
|
@@ -777,6 +788,7 @@ export declare class SparkSqlParser extends antlr.Parser {
|
|
|
777
788
|
complexColType(): ComplexColTypeContext;
|
|
778
789
|
whenClause(): WhenClauseContext;
|
|
779
790
|
windowClause(): WindowClauseContext;
|
|
791
|
+
zorderClause(): ZorderClauseContext;
|
|
780
792
|
namedWindow(): NamedWindowContext;
|
|
781
793
|
windowSpec(): WindowSpecContext;
|
|
782
794
|
windowFrame(): WindowFrameContext;
|
|
@@ -800,6 +812,7 @@ export declare class SparkSqlParser extends antlr.Parser {
|
|
|
800
812
|
strictNonReserved(): StrictNonReservedContext;
|
|
801
813
|
nonReserved(): NonReservedContext;
|
|
802
814
|
sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean;
|
|
815
|
+
private columnName_sempred;
|
|
803
816
|
private queryTerm_sempred;
|
|
804
817
|
private booleanExpression_sempred;
|
|
805
818
|
private valueExpression_sempred;
|
|
@@ -831,36 +844,1042 @@ export declare class SingleStatementContext extends antlr.ParserRuleContext {
|
|
|
831
844
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
832
845
|
}
|
|
833
846
|
export declare class StatementContext extends antlr.ParserRuleContext {
|
|
847
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
848
|
+
get ruleIndex(): number;
|
|
849
|
+
copyFrom(ctx: StatementContext): void;
|
|
850
|
+
}
|
|
851
|
+
export declare class ResetAnyContext extends StatementContext {
|
|
852
|
+
constructor(ctx: StatementContext);
|
|
853
|
+
KW_RESET(): antlr.TerminalNode;
|
|
854
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
855
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
856
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
857
|
+
}
|
|
858
|
+
export declare class AlterTableDropColumnContext extends StatementContext {
|
|
859
|
+
constructor(ctx: StatementContext);
|
|
860
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
861
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
862
|
+
tableName(): TableNameContext;
|
|
863
|
+
KW_DROP(): antlr.TerminalNode;
|
|
864
|
+
KW_COLUMN(): antlr.TerminalNode;
|
|
865
|
+
columnName(): ColumnNameContext;
|
|
866
|
+
ifExists(): IfExistsContext | null;
|
|
867
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
868
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
869
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
870
|
+
}
|
|
871
|
+
export declare class DropMaterializedViewContext extends StatementContext {
|
|
872
|
+
constructor(ctx: StatementContext);
|
|
873
|
+
KW_DROP(): antlr.TerminalNode;
|
|
874
|
+
KW_MATERIALIZED(): antlr.TerminalNode;
|
|
875
|
+
KW_VIEW(): antlr.TerminalNode;
|
|
876
|
+
viewName(): ViewNameContext;
|
|
877
|
+
ifExists(): IfExistsContext | null;
|
|
878
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
879
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
880
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
881
|
+
}
|
|
882
|
+
export declare class AlterViewQueryContext extends StatementContext {
|
|
883
|
+
constructor(ctx: StatementContext);
|
|
884
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
885
|
+
KW_VIEW(): antlr.TerminalNode;
|
|
886
|
+
viewName(): ViewNameContext;
|
|
887
|
+
query(): QueryContext;
|
|
888
|
+
KW_AS(): antlr.TerminalNode | null;
|
|
889
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
890
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
891
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
892
|
+
}
|
|
893
|
+
export declare class DropNamespaceContext extends StatementContext {
|
|
894
|
+
constructor(ctx: StatementContext);
|
|
895
|
+
KW_DROP(): antlr.TerminalNode;
|
|
896
|
+
namespace(): NamespaceContext;
|
|
897
|
+
namespaceName(): NamespaceNameContext;
|
|
898
|
+
ifExists(): IfExistsContext | null;
|
|
899
|
+
KW_RESTRICT(): antlr.TerminalNode | null;
|
|
900
|
+
KW_CASCADE(): antlr.TerminalNode | null;
|
|
901
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
902
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
903
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
904
|
+
}
|
|
905
|
+
export declare class CreateTempViewUsingContext extends StatementContext {
|
|
906
|
+
constructor(ctx: StatementContext);
|
|
907
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
908
|
+
KW_TEMPORARY(): antlr.TerminalNode;
|
|
909
|
+
KW_VIEW(): antlr.TerminalNode;
|
|
910
|
+
viewNameCreate(): ViewNameCreateContext;
|
|
911
|
+
tableProvider(): TableProviderContext;
|
|
912
|
+
KW_OR(): antlr.TerminalNode | null;
|
|
913
|
+
KW_REPLACE(): antlr.TerminalNode | null;
|
|
914
|
+
KW_GLOBAL(): antlr.TerminalNode | null;
|
|
915
|
+
LEFT_PAREN(): antlr.TerminalNode | null;
|
|
916
|
+
colTypeList(): ColTypeListContext | null;
|
|
917
|
+
RIGHT_PAREN(): antlr.TerminalNode | null;
|
|
918
|
+
KW_OPTIONS(): antlr.TerminalNode | null;
|
|
919
|
+
propertyList(): PropertyListContext | null;
|
|
920
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
921
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
922
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
923
|
+
}
|
|
924
|
+
export declare class RenameTableContext extends StatementContext {
|
|
925
|
+
constructor(ctx: StatementContext);
|
|
926
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
927
|
+
KW_RENAME(): antlr.TerminalNode;
|
|
928
|
+
KW_TO(): antlr.TerminalNode;
|
|
929
|
+
multipartIdentifier(): MultipartIdentifierContext;
|
|
930
|
+
KW_TABLE(): antlr.TerminalNode | null;
|
|
931
|
+
tableName(): TableNameContext | null;
|
|
932
|
+
KW_VIEW(): antlr.TerminalNode | null;
|
|
933
|
+
viewName(): ViewNameContext | null;
|
|
934
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
935
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
936
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
937
|
+
}
|
|
938
|
+
export declare class DeclareVariableContext extends StatementContext {
|
|
939
|
+
constructor(ctx: StatementContext);
|
|
940
|
+
KW_DECLARE(): antlr.TerminalNode;
|
|
941
|
+
functionName(): FunctionNameContext;
|
|
942
|
+
KW_OR(): antlr.TerminalNode | null;
|
|
943
|
+
KW_REPLACE(): antlr.TerminalNode | null;
|
|
944
|
+
KW_VARIABLE(): antlr.TerminalNode | null;
|
|
945
|
+
dataType(): DataTypeContext | null;
|
|
946
|
+
variableDefaultExpression(): VariableDefaultExpressionContext | null;
|
|
947
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
948
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
949
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
950
|
+
}
|
|
951
|
+
export declare class FailNativeCommandContext extends StatementContext {
|
|
952
|
+
constructor(ctx: StatementContext);
|
|
953
|
+
KW_SET(): antlr.TerminalNode;
|
|
954
|
+
KW_ROLE(): antlr.TerminalNode;
|
|
955
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
956
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
957
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
958
|
+
}
|
|
959
|
+
export declare class SetCatalogContext extends StatementContext {
|
|
960
|
+
constructor(ctx: StatementContext);
|
|
961
|
+
KW_SET(): antlr.TerminalNode;
|
|
962
|
+
KW_CATALOG(): antlr.TerminalNode;
|
|
963
|
+
identifier(): IdentifierContext | null;
|
|
964
|
+
stringLit(): StringLitContext | null;
|
|
965
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
966
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
967
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
968
|
+
}
|
|
969
|
+
export declare class AlterMaterializedViewPropertiesContext extends StatementContext {
|
|
970
|
+
constructor(ctx: StatementContext);
|
|
971
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
972
|
+
KW_MATERIALIZED(): antlr.TerminalNode;
|
|
973
|
+
KW_VIEW(): antlr.TerminalNode;
|
|
974
|
+
viewName(): ViewNameContext;
|
|
975
|
+
KW_SET(): antlr.TerminalNode;
|
|
976
|
+
KW_TBLPROPERTIES(): antlr.TerminalNode;
|
|
977
|
+
propertyList(): PropertyListContext;
|
|
978
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
979
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
980
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
981
|
+
}
|
|
982
|
+
export declare class ClearCacheContext extends StatementContext {
|
|
983
|
+
constructor(ctx: StatementContext);
|
|
984
|
+
KW_CLEAR(): antlr.TerminalNode;
|
|
985
|
+
KW_CACHE(): antlr.TerminalNode;
|
|
986
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
987
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
988
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
989
|
+
}
|
|
990
|
+
export declare class DropViewContext extends StatementContext {
|
|
991
|
+
constructor(ctx: StatementContext);
|
|
992
|
+
KW_DROP(): antlr.TerminalNode;
|
|
993
|
+
KW_VIEW(): antlr.TerminalNode;
|
|
994
|
+
viewName(): ViewNameContext;
|
|
995
|
+
ifExists(): IfExistsContext | null;
|
|
996
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
997
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
998
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
999
|
+
}
|
|
1000
|
+
export declare class ShowTablesContext extends StatementContext {
|
|
834
1001
|
_pattern?: StringLitContext;
|
|
1002
|
+
constructor(ctx: StatementContext);
|
|
1003
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1004
|
+
KW_TABLES(): antlr.TerminalNode;
|
|
1005
|
+
namespaceName(): NamespaceNameContext | null;
|
|
1006
|
+
KW_FROM(): antlr.TerminalNode | null;
|
|
1007
|
+
KW_IN(): antlr.TerminalNode | null;
|
|
1008
|
+
stringLit(): StringLitContext | null;
|
|
1009
|
+
KW_LIKE(): antlr.TerminalNode | null;
|
|
1010
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1011
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1012
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1013
|
+
}
|
|
1014
|
+
export declare class RecoverPartitionsContext extends StatementContext {
|
|
1015
|
+
constructor(ctx: StatementContext);
|
|
1016
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1017
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1018
|
+
tableName(): TableNameContext;
|
|
1019
|
+
KW_RECOVER(): antlr.TerminalNode;
|
|
1020
|
+
KW_PARTITIONS(): antlr.TerminalNode;
|
|
1021
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1022
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1023
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1024
|
+
}
|
|
1025
|
+
export declare class DropIndexContext extends StatementContext {
|
|
1026
|
+
constructor(ctx: StatementContext);
|
|
1027
|
+
KW_DROP(): antlr.TerminalNode;
|
|
1028
|
+
KW_INDEX(): antlr.TerminalNode;
|
|
1029
|
+
identifier(): IdentifierContext;
|
|
1030
|
+
KW_ON(): antlr.TerminalNode;
|
|
1031
|
+
tableName(): TableNameContext;
|
|
1032
|
+
ifExists(): IfExistsContext | null;
|
|
1033
|
+
KW_TABLE(): antlr.TerminalNode | null;
|
|
1034
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1035
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1036
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1037
|
+
}
|
|
1038
|
+
export declare class SetTimeZoneIntervalContext extends StatementContext {
|
|
1039
|
+
constructor(ctx: StatementContext);
|
|
1040
|
+
KW_SET(): antlr.TerminalNode;
|
|
1041
|
+
KW_TIME(): antlr.TerminalNode;
|
|
1042
|
+
KW_ZONE(): antlr.TerminalNode;
|
|
1043
|
+
interval(): IntervalContext;
|
|
1044
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1045
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1046
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1047
|
+
}
|
|
1048
|
+
export declare class ShowCatalogsContext extends StatementContext {
|
|
1049
|
+
_pattern?: StringLitContext;
|
|
1050
|
+
constructor(ctx: StatementContext);
|
|
1051
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1052
|
+
KW_CATALOGS(): antlr.TerminalNode;
|
|
1053
|
+
stringLit(): StringLitContext | null;
|
|
1054
|
+
KW_LIKE(): antlr.TerminalNode | null;
|
|
1055
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1056
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1057
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1058
|
+
}
|
|
1059
|
+
export declare class ShowCurrentNamespaceContext extends StatementContext {
|
|
1060
|
+
constructor(ctx: StatementContext);
|
|
1061
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1062
|
+
KW_CURRENT(): antlr.TerminalNode;
|
|
1063
|
+
namespace(): NamespaceContext;
|
|
1064
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1065
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1066
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1067
|
+
}
|
|
1068
|
+
export declare class RenameTablePartitionContext extends StatementContext {
|
|
1069
|
+
constructor(ctx: StatementContext);
|
|
1070
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1071
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1072
|
+
tableName(): TableNameContext;
|
|
1073
|
+
partitionSpec(): PartitionSpecContext[];
|
|
1074
|
+
partitionSpec(i: number): PartitionSpecContext | null;
|
|
1075
|
+
KW_RENAME(): antlr.TerminalNode;
|
|
1076
|
+
KW_TO(): antlr.TerminalNode;
|
|
1077
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1078
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1079
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1080
|
+
}
|
|
1081
|
+
export declare class RepairTableContext extends StatementContext {
|
|
1082
|
+
_option?: Token | null;
|
|
1083
|
+
constructor(ctx: StatementContext);
|
|
1084
|
+
KW_REPAIR(): antlr.TerminalNode;
|
|
1085
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1086
|
+
tableName(): TableNameContext;
|
|
1087
|
+
KW_MSCK(): antlr.TerminalNode | null;
|
|
1088
|
+
KW_PARTITIONS(): antlr.TerminalNode | null;
|
|
1089
|
+
KW_ADD(): antlr.TerminalNode | null;
|
|
1090
|
+
KW_DROP(): antlr.TerminalNode | null;
|
|
1091
|
+
KW_SYNC(): antlr.TerminalNode | null;
|
|
1092
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1093
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1094
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1095
|
+
}
|
|
1096
|
+
export declare class RefreshResourceContext extends StatementContext {
|
|
1097
|
+
constructor(ctx: StatementContext);
|
|
1098
|
+
KW_REFRESH(): antlr.TerminalNode;
|
|
1099
|
+
stringLit(): StringLitContext | null;
|
|
1100
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1101
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1102
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1103
|
+
}
|
|
1104
|
+
export declare class SetVariableAssignmentContext extends StatementContext {
|
|
1105
|
+
constructor(ctx: StatementContext);
|
|
1106
|
+
KW_SET(): antlr.TerminalNode;
|
|
1107
|
+
assignmentList(): AssignmentListContext;
|
|
1108
|
+
KW_VARIABLE(): antlr.TerminalNode | null;
|
|
1109
|
+
KW_VAR(): antlr.TerminalNode | null;
|
|
1110
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1111
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1112
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1113
|
+
}
|
|
1114
|
+
export declare class ShowCreateTableContext extends StatementContext {
|
|
1115
|
+
constructor(ctx: StatementContext);
|
|
1116
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1117
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
1118
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1119
|
+
tableName(): TableNameContext;
|
|
1120
|
+
KW_AS(): antlr.TerminalNode | null;
|
|
1121
|
+
KW_SERDE(): antlr.TerminalNode | null;
|
|
1122
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1123
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1124
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1125
|
+
}
|
|
1126
|
+
export declare class ShowNamespacesContext extends StatementContext {
|
|
1127
|
+
_pattern?: StringLitContext;
|
|
1128
|
+
constructor(ctx: StatementContext);
|
|
1129
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1130
|
+
namespaces(): NamespacesContext;
|
|
1131
|
+
multipartIdentifier(): MultipartIdentifierContext | null;
|
|
1132
|
+
KW_FROM(): antlr.TerminalNode | null;
|
|
1133
|
+
KW_IN(): antlr.TerminalNode | null;
|
|
1134
|
+
stringLit(): StringLitContext | null;
|
|
1135
|
+
KW_LIKE(): antlr.TerminalNode | null;
|
|
1136
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1137
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1138
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1139
|
+
}
|
|
1140
|
+
export declare class ShowColumnsContext extends StatementContext {
|
|
1141
|
+
_table?: TableNameContext;
|
|
1142
|
+
constructor(ctx: StatementContext);
|
|
1143
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1144
|
+
KW_COLUMNS(): antlr.TerminalNode;
|
|
1145
|
+
KW_FROM(): antlr.TerminalNode[];
|
|
1146
|
+
KW_FROM(i: number): antlr.TerminalNode | null;
|
|
1147
|
+
KW_IN(): antlr.TerminalNode[];
|
|
1148
|
+
KW_IN(i: number): antlr.TerminalNode | null;
|
|
1149
|
+
tableName(): TableNameContext;
|
|
1150
|
+
namespaceName(): NamespaceNameContext | null;
|
|
1151
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1152
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1153
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1154
|
+
}
|
|
1155
|
+
export declare class ReplaceTableContext extends StatementContext {
|
|
1156
|
+
constructor(ctx: StatementContext);
|
|
1157
|
+
replaceTableHeader(): ReplaceTableHeaderContext;
|
|
1158
|
+
createTableClauses(): CreateTableClausesContext;
|
|
1159
|
+
LEFT_PAREN(): antlr.TerminalNode | null;
|
|
1160
|
+
createOrReplaceTableColTypeList(): CreateOrReplaceTableColTypeListContext | null;
|
|
1161
|
+
RIGHT_PAREN(): antlr.TerminalNode | null;
|
|
1162
|
+
tableProvider(): TableProviderContext | null;
|
|
1163
|
+
query(): QueryContext | null;
|
|
1164
|
+
KW_AS(): antlr.TerminalNode | null;
|
|
1165
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1166
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1167
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1168
|
+
}
|
|
1169
|
+
export declare class AnalyzeTablesContext extends StatementContext {
|
|
1170
|
+
constructor(ctx: StatementContext);
|
|
1171
|
+
KW_ANALYZE(): antlr.TerminalNode;
|
|
1172
|
+
KW_TABLES(): antlr.TerminalNode;
|
|
1173
|
+
KW_COMPUTE(): antlr.TerminalNode;
|
|
1174
|
+
KW_STATISTICS(): antlr.TerminalNode;
|
|
1175
|
+
namespaceName(): NamespaceNameContext | null;
|
|
1176
|
+
KW_NOSCAN(): antlr.TerminalNode | null;
|
|
1177
|
+
KW_FROM(): antlr.TerminalNode | null;
|
|
1178
|
+
KW_IN(): antlr.TerminalNode | null;
|
|
1179
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1180
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1181
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1182
|
+
}
|
|
1183
|
+
export declare class AddTablePartitionContext extends StatementContext {
|
|
1184
|
+
constructor(ctx: StatementContext);
|
|
1185
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1186
|
+
KW_ADD(): antlr.TerminalNode;
|
|
1187
|
+
KW_TABLE(): antlr.TerminalNode | null;
|
|
1188
|
+
tableName(): TableNameContext | null;
|
|
1189
|
+
KW_VIEW(): antlr.TerminalNode | null;
|
|
1190
|
+
viewName(): ViewNameContext | null;
|
|
1191
|
+
ifNotExists(): IfNotExistsContext | null;
|
|
1192
|
+
partitionSpecLocation(): PartitionSpecLocationContext[];
|
|
1193
|
+
partitionSpecLocation(i: number): PartitionSpecLocationContext | null;
|
|
1194
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1195
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1196
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1197
|
+
}
|
|
1198
|
+
export declare class SetNamespaceLocationContext extends StatementContext {
|
|
1199
|
+
constructor(ctx: StatementContext);
|
|
1200
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1201
|
+
namespace(): NamespaceContext;
|
|
1202
|
+
namespaceName(): NamespaceNameContext;
|
|
1203
|
+
KW_SET(): antlr.TerminalNode;
|
|
1204
|
+
locationSpec(): LocationSpecContext;
|
|
1205
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1206
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1207
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1208
|
+
}
|
|
1209
|
+
export declare class RefreshTableContext extends StatementContext {
|
|
1210
|
+
constructor(ctx: StatementContext);
|
|
1211
|
+
KW_REFRESH(): antlr.TerminalNode;
|
|
1212
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1213
|
+
tableName(): TableNameContext;
|
|
1214
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1215
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1216
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1217
|
+
}
|
|
1218
|
+
export declare class SetAnyContext extends StatementContext {
|
|
1219
|
+
constructor(ctx: StatementContext);
|
|
1220
|
+
KW_SET(): antlr.TerminalNode;
|
|
1221
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1222
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1223
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1224
|
+
}
|
|
1225
|
+
export declare class ResetConfigContext extends StatementContext {
|
|
1226
|
+
constructor(ctx: StatementContext);
|
|
1227
|
+
KW_RESET(): antlr.TerminalNode;
|
|
1228
|
+
configKey(): ConfigKeyContext;
|
|
1229
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1230
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1231
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1232
|
+
}
|
|
1233
|
+
export declare class SetConfigAnyKeyContext extends StatementContext {
|
|
1234
|
+
constructor(ctx: StatementContext);
|
|
1235
|
+
KW_SET(): antlr.TerminalNode;
|
|
1236
|
+
EQ(): antlr.TerminalNode;
|
|
1237
|
+
configValue(): ConfigValueContext;
|
|
1238
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1239
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1240
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1241
|
+
}
|
|
1242
|
+
export declare class SetNamespacePropertiesContext extends StatementContext {
|
|
1243
|
+
constructor(ctx: StatementContext);
|
|
1244
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1245
|
+
namespace(): NamespaceContext;
|
|
1246
|
+
namespaceName(): NamespaceNameContext;
|
|
1247
|
+
KW_SET(): antlr.TerminalNode;
|
|
1248
|
+
propertyList(): PropertyListContext;
|
|
1249
|
+
KW_DBPROPERTIES(): antlr.TerminalNode | null;
|
|
1250
|
+
KW_PROPERTIES(): antlr.TerminalNode | null;
|
|
1251
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1252
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1253
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1254
|
+
}
|
|
1255
|
+
export declare class ManageResourceContext extends StatementContext {
|
|
1256
|
+
_op?: Token | null;
|
|
1257
|
+
constructor(ctx: StatementContext);
|
|
1258
|
+
identifier(): IdentifierContext;
|
|
1259
|
+
KW_ADD(): antlr.TerminalNode | null;
|
|
1260
|
+
KW_LIST(): antlr.TerminalNode | null;
|
|
1261
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1262
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1263
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1264
|
+
}
|
|
1265
|
+
export declare class ExplainStatementContext extends StatementContext {
|
|
1266
|
+
constructor(ctx: StatementContext);
|
|
1267
|
+
KW_EXPLAIN(): antlr.TerminalNode;
|
|
1268
|
+
statement(): StatementContext;
|
|
1269
|
+
KW_LOGICAL(): antlr.TerminalNode | null;
|
|
1270
|
+
KW_FORMATTED(): antlr.TerminalNode | null;
|
|
1271
|
+
KW_EXTENDED(): antlr.TerminalNode | null;
|
|
1272
|
+
KW_CODEGEN(): antlr.TerminalNode | null;
|
|
1273
|
+
KW_COST(): antlr.TerminalNode | null;
|
|
1274
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1275
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1276
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1277
|
+
}
|
|
1278
|
+
export declare class AnalyzeContext extends StatementContext {
|
|
1279
|
+
constructor(ctx: StatementContext);
|
|
1280
|
+
KW_ANALYZE(): antlr.TerminalNode;
|
|
1281
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1282
|
+
tableName(): TableNameContext;
|
|
1283
|
+
KW_COMPUTE(): antlr.TerminalNode;
|
|
1284
|
+
KW_STATISTICS(): antlr.TerminalNode;
|
|
1285
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1286
|
+
KW_NOSCAN(): antlr.TerminalNode | null;
|
|
1287
|
+
KW_FOR(): antlr.TerminalNode | null;
|
|
1288
|
+
KW_COLUMNS(): antlr.TerminalNode | null;
|
|
1289
|
+
columnNameSeq(): ColumnNameSeqContext | null;
|
|
1290
|
+
KW_ALL(): antlr.TerminalNode | null;
|
|
1291
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1292
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1293
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1294
|
+
}
|
|
1295
|
+
export declare class CreateFunctionContext extends StatementContext {
|
|
1296
|
+
_className?: StringLitContext;
|
|
1297
|
+
constructor(ctx: StatementContext);
|
|
1298
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
1299
|
+
KW_FUNCTION(): antlr.TerminalNode;
|
|
1300
|
+
functionNameCreate(): FunctionNameCreateContext;
|
|
1301
|
+
KW_AS(): antlr.TerminalNode;
|
|
1302
|
+
stringLit(): StringLitContext;
|
|
1303
|
+
KW_OR(): antlr.TerminalNode | null;
|
|
1304
|
+
KW_REPLACE(): antlr.TerminalNode | null;
|
|
1305
|
+
KW_TEMPORARY(): antlr.TerminalNode | null;
|
|
1306
|
+
ifNotExists(): IfNotExistsContext | null;
|
|
1307
|
+
KW_USING(): antlr.TerminalNode | null;
|
|
1308
|
+
resource(): ResourceContext[];
|
|
1309
|
+
resource(i: number): ResourceContext | null;
|
|
1310
|
+
COMMA(): antlr.TerminalNode[];
|
|
1311
|
+
COMMA(i: number): antlr.TerminalNode | null;
|
|
1312
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1313
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1314
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1315
|
+
}
|
|
1316
|
+
export declare class UnCacheTableContext extends StatementContext {
|
|
1317
|
+
constructor(ctx: StatementContext);
|
|
1318
|
+
KW_UNCACHE(): antlr.TerminalNode;
|
|
1319
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1320
|
+
tableName(): TableNameContext;
|
|
1321
|
+
ifExists(): IfExistsContext | null;
|
|
1322
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1323
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1324
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1325
|
+
}
|
|
1326
|
+
export declare class AlterTableAddColumnsContext extends StatementContext {
|
|
1327
|
+
constructor(ctx: StatementContext);
|
|
1328
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1329
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1330
|
+
tableName(): TableNameContext;
|
|
1331
|
+
KW_ADD(): antlr.TerminalNode;
|
|
1332
|
+
KW_COLUMNS(): antlr.TerminalNode;
|
|
1333
|
+
LEFT_PAREN(): antlr.TerminalNode;
|
|
1334
|
+
qualifiedColTypeWithPositionSeqForAdd(): QualifiedColTypeWithPositionSeqForAddContext;
|
|
1335
|
+
RIGHT_PAREN(): antlr.TerminalNode;
|
|
1336
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1337
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1338
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1339
|
+
}
|
|
1340
|
+
export declare class HiveReplaceColumnsContext extends StatementContext {
|
|
1341
|
+
_table?: TableNameContext;
|
|
1342
|
+
constructor(ctx: StatementContext);
|
|
1343
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1344
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1345
|
+
KW_REPLACE(): antlr.TerminalNode;
|
|
1346
|
+
KW_COLUMNS(): antlr.TerminalNode;
|
|
1347
|
+
LEFT_PAREN(): antlr.TerminalNode;
|
|
1348
|
+
qualifiedColTypeWithPositionSeqForReplace(): QualifiedColTypeWithPositionSeqForReplaceContext;
|
|
1349
|
+
RIGHT_PAREN(): antlr.TerminalNode;
|
|
1350
|
+
tableName(): TableNameContext;
|
|
1351
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1352
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1353
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1354
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1355
|
+
}
|
|
1356
|
+
export declare class AlterTableAddColumnContext extends StatementContext {
|
|
1357
|
+
constructor(ctx: StatementContext);
|
|
1358
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1359
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1360
|
+
tableName(): TableNameContext;
|
|
1361
|
+
KW_ADD(): antlr.TerminalNode;
|
|
1362
|
+
KW_COLUMN(): antlr.TerminalNode;
|
|
1363
|
+
qualifiedColTypeWithPositionForAdd(): QualifiedColTypeWithPositionForAddContext;
|
|
1364
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1365
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1366
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1367
|
+
}
|
|
1368
|
+
export declare class CommentNamespaceContext extends StatementContext {
|
|
1369
|
+
constructor(ctx: StatementContext);
|
|
1370
|
+
KW_COMMENT(): antlr.TerminalNode;
|
|
1371
|
+
KW_ON(): antlr.TerminalNode;
|
|
1372
|
+
namespace(): NamespaceContext;
|
|
1373
|
+
namespaceName(): NamespaceNameContext;
|
|
1374
|
+
KW_IS(): antlr.TerminalNode;
|
|
1375
|
+
comment(): CommentContext;
|
|
1376
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1377
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1378
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1379
|
+
}
|
|
1380
|
+
export declare class CreateTableContext extends StatementContext {
|
|
1381
|
+
constructor(ctx: StatementContext);
|
|
1382
|
+
createTableHeader(): CreateTableHeaderContext;
|
|
1383
|
+
createTableClauses(): CreateTableClausesContext;
|
|
1384
|
+
LEFT_PAREN(): antlr.TerminalNode | null;
|
|
1385
|
+
createOrReplaceTableColTypeList(): CreateOrReplaceTableColTypeListContext | null;
|
|
1386
|
+
RIGHT_PAREN(): antlr.TerminalNode | null;
|
|
1387
|
+
tableProvider(): TableProviderContext | null;
|
|
1388
|
+
query(): QueryContext | null;
|
|
1389
|
+
KW_AS(): antlr.TerminalNode | null;
|
|
1390
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1391
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1392
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1393
|
+
}
|
|
1394
|
+
export declare class DmlStatementContext extends StatementContext {
|
|
1395
|
+
constructor(ctx: StatementContext);
|
|
1396
|
+
dmlStatementNoWith(): DmlStatementNoWithContext;
|
|
1397
|
+
ctes(): CtesContext | null;
|
|
1398
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1399
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1400
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1401
|
+
}
|
|
1402
|
+
export declare class AlterMaterializedViewRewriteContext extends StatementContext {
|
|
1403
|
+
constructor(ctx: StatementContext);
|
|
1404
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1405
|
+
KW_MATERIALIZED(): antlr.TerminalNode;
|
|
1406
|
+
KW_VIEW(): antlr.TerminalNode;
|
|
1407
|
+
viewName(): ViewNameContext;
|
|
1408
|
+
KW_REWRITE(): antlr.TerminalNode;
|
|
1409
|
+
KW_ENABLE(): antlr.TerminalNode | null;
|
|
1410
|
+
KW_DISABLE(): antlr.TerminalNode | null;
|
|
1411
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1412
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1413
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1414
|
+
}
|
|
1415
|
+
export declare class CreateTableLikeContext extends StatementContext {
|
|
835
1416
|
_target?: TableNameCreateContext;
|
|
836
1417
|
_source?: TableNameContext;
|
|
837
1418
|
_tableProps?: PropertyListContext;
|
|
1419
|
+
constructor(ctx: StatementContext);
|
|
1420
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
1421
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1422
|
+
KW_LIKE(): antlr.TerminalNode;
|
|
1423
|
+
tableNameCreate(): TableNameCreateContext;
|
|
1424
|
+
tableName(): TableNameContext;
|
|
1425
|
+
ifNotExists(): IfNotExistsContext | null;
|
|
1426
|
+
tableProvider(): TableProviderContext[];
|
|
1427
|
+
tableProvider(i: number): TableProviderContext | null;
|
|
1428
|
+
rowFormat(): RowFormatContext[];
|
|
1429
|
+
rowFormat(i: number): RowFormatContext | null;
|
|
1430
|
+
createFileFormat(): CreateFileFormatContext[];
|
|
1431
|
+
createFileFormat(i: number): CreateFileFormatContext | null;
|
|
1432
|
+
locationSpec(): LocationSpecContext[];
|
|
1433
|
+
locationSpec(i: number): LocationSpecContext | null;
|
|
1434
|
+
tableLifecycle(): TableLifecycleContext[];
|
|
1435
|
+
tableLifecycle(i: number): TableLifecycleContext | null;
|
|
1436
|
+
KW_TBLPROPERTIES(): antlr.TerminalNode[];
|
|
1437
|
+
KW_TBLPROPERTIES(i: number): antlr.TerminalNode | null;
|
|
1438
|
+
propertyList(): PropertyListContext[];
|
|
1439
|
+
propertyList(i: number): PropertyListContext | null;
|
|
1440
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1441
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1442
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1443
|
+
}
|
|
1444
|
+
export declare class DropFunctionContext extends StatementContext {
|
|
1445
|
+
constructor(ctx: StatementContext);
|
|
1446
|
+
KW_DROP(): antlr.TerminalNode;
|
|
1447
|
+
KW_FUNCTION(): antlr.TerminalNode;
|
|
1448
|
+
functionName(): FunctionNameContext;
|
|
1449
|
+
KW_TEMPORARY(): antlr.TerminalNode | null;
|
|
1450
|
+
ifExists(): IfExistsContext | null;
|
|
1451
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1452
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1453
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1454
|
+
}
|
|
1455
|
+
export declare class SetVariableMultiAssignmentContext extends StatementContext {
|
|
1456
|
+
constructor(ctx: StatementContext);
|
|
1457
|
+
KW_SET(): antlr.TerminalNode;
|
|
1458
|
+
LEFT_PAREN(): antlr.TerminalNode[];
|
|
1459
|
+
LEFT_PAREN(i: number): antlr.TerminalNode | null;
|
|
1460
|
+
multipartIdentifierList(): MultipartIdentifierListContext;
|
|
1461
|
+
RIGHT_PAREN(): antlr.TerminalNode[];
|
|
1462
|
+
RIGHT_PAREN(i: number): antlr.TerminalNode | null;
|
|
1463
|
+
EQ(): antlr.TerminalNode;
|
|
1464
|
+
query(): QueryContext;
|
|
1465
|
+
KW_VARIABLE(): antlr.TerminalNode | null;
|
|
1466
|
+
KW_VAR(): antlr.TerminalNode | null;
|
|
1467
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1468
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1469
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1470
|
+
}
|
|
1471
|
+
export declare class DescribeRelationContext extends StatementContext {
|
|
1472
|
+
_option?: Token | null;
|
|
1473
|
+
constructor(ctx: StatementContext);
|
|
1474
|
+
tableName(): TableNameContext;
|
|
1475
|
+
KW_DESC(): antlr.TerminalNode | null;
|
|
1476
|
+
KW_DESCRIBE(): antlr.TerminalNode | null;
|
|
1477
|
+
KW_TABLE(): antlr.TerminalNode | null;
|
|
1478
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1479
|
+
describeColName(): DescribeColNameContext | null;
|
|
1480
|
+
KW_EXTENDED(): antlr.TerminalNode | null;
|
|
1481
|
+
KW_FORMATTED(): antlr.TerminalNode | null;
|
|
1482
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1483
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1484
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1485
|
+
}
|
|
1486
|
+
export declare class LoadDataContext extends StatementContext {
|
|
1487
|
+
_path?: StringLitContext;
|
|
1488
|
+
constructor(ctx: StatementContext);
|
|
1489
|
+
KW_LOAD(): antlr.TerminalNode;
|
|
1490
|
+
KW_DATA(): antlr.TerminalNode;
|
|
1491
|
+
KW_INPATH(): antlr.TerminalNode;
|
|
1492
|
+
KW_INTO(): antlr.TerminalNode;
|
|
1493
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1494
|
+
tableName(): TableNameContext;
|
|
1495
|
+
stringLit(): StringLitContext;
|
|
1496
|
+
KW_LOCAL(): antlr.TerminalNode | null;
|
|
1497
|
+
KW_OVERWRITE(): antlr.TerminalNode | null;
|
|
1498
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1499
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1500
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1501
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1502
|
+
}
|
|
1503
|
+
export declare class ShowPartitionsContext extends StatementContext {
|
|
1504
|
+
constructor(ctx: StatementContext);
|
|
1505
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1506
|
+
KW_PARTITIONS(): antlr.TerminalNode;
|
|
1507
|
+
tableName(): TableNameContext;
|
|
1508
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1509
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1510
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1511
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1512
|
+
}
|
|
1513
|
+
export declare class DescribeFunctionContext extends StatementContext {
|
|
1514
|
+
constructor(ctx: StatementContext);
|
|
1515
|
+
KW_FUNCTION(): antlr.TerminalNode;
|
|
1516
|
+
describeFuncName(): DescribeFuncNameContext;
|
|
1517
|
+
KW_DESC(): antlr.TerminalNode | null;
|
|
1518
|
+
KW_DESCRIBE(): antlr.TerminalNode | null;
|
|
1519
|
+
KW_EXTENDED(): antlr.TerminalNode | null;
|
|
1520
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1521
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1522
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1523
|
+
}
|
|
1524
|
+
export declare class RenameTableColumnContext extends StatementContext {
|
|
1525
|
+
_table?: TableNameContext;
|
|
1526
|
+
constructor(ctx: StatementContext);
|
|
1527
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1528
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1529
|
+
KW_RENAME(): antlr.TerminalNode;
|
|
1530
|
+
KW_COLUMN(): antlr.TerminalNode;
|
|
1531
|
+
columnName(): ColumnNameContext;
|
|
1532
|
+
KW_TO(): antlr.TerminalNode;
|
|
1533
|
+
columnNameCreate(): ColumnNameCreateContext;
|
|
1534
|
+
tableName(): TableNameContext;
|
|
1535
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1536
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1537
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1538
|
+
}
|
|
1539
|
+
export declare class SetConfigContext extends StatementContext {
|
|
1540
|
+
constructor(ctx: StatementContext);
|
|
1541
|
+
KW_SET(): antlr.TerminalNode;
|
|
1542
|
+
configKey(): ConfigKeyContext;
|
|
1543
|
+
EQ(): antlr.TerminalNode;
|
|
1544
|
+
configValue(): ConfigValueContext;
|
|
1545
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1546
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1547
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1548
|
+
}
|
|
1549
|
+
export declare class UnsupportHiveCommandsContext extends StatementContext {
|
|
1550
|
+
constructor(ctx: StatementContext);
|
|
1551
|
+
unsupportedHiveNativeCommands(): UnsupportedHiveNativeCommandsContext;
|
|
1552
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1553
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1554
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1555
|
+
}
|
|
1556
|
+
export declare class StatementDefaultContext extends StatementContext {
|
|
1557
|
+
constructor(ctx: StatementContext);
|
|
1558
|
+
query(): QueryContext;
|
|
1559
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1560
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1561
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1562
|
+
}
|
|
1563
|
+
export declare class HiveChangeColumnContext extends StatementContext {
|
|
1564
|
+
_table?: TableNameContext;
|
|
1565
|
+
_colName?: ColumnNameContext;
|
|
1566
|
+
constructor(ctx: StatementContext);
|
|
1567
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1568
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1569
|
+
KW_CHANGE(): antlr.TerminalNode;
|
|
1570
|
+
colType(): ColTypeContext;
|
|
1571
|
+
tableName(): TableNameContext;
|
|
1572
|
+
columnName(): ColumnNameContext;
|
|
1573
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1574
|
+
KW_COLUMN(): antlr.TerminalNode | null;
|
|
1575
|
+
colPosition(): ColPositionContext | null;
|
|
1576
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1577
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1578
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1579
|
+
}
|
|
1580
|
+
export declare class OptimizeTableContext extends StatementContext {
|
|
1581
|
+
constructor(ctx: StatementContext);
|
|
1582
|
+
KW_OPTIMIZE(): antlr.TerminalNode;
|
|
1583
|
+
tableName(): TableNameContext;
|
|
1584
|
+
zorderClause(): ZorderClauseContext;
|
|
1585
|
+
whereClause(): WhereClauseContext | null;
|
|
1586
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1587
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1588
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1589
|
+
}
|
|
1590
|
+
export declare class SetTimeZoneContext extends StatementContext {
|
|
1591
|
+
constructor(ctx: StatementContext);
|
|
1592
|
+
KW_SET(): antlr.TerminalNode;
|
|
1593
|
+
KW_TIME(): antlr.TerminalNode;
|
|
1594
|
+
KW_ZONE(): antlr.TerminalNode;
|
|
1595
|
+
timezone(): TimezoneContext;
|
|
1596
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1597
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1598
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1599
|
+
}
|
|
1600
|
+
export declare class DescribeQueryContext extends StatementContext {
|
|
1601
|
+
constructor(ctx: StatementContext);
|
|
1602
|
+
query(): QueryContext;
|
|
1603
|
+
KW_DESC(): antlr.TerminalNode | null;
|
|
1604
|
+
KW_DESCRIBE(): antlr.TerminalNode | null;
|
|
1605
|
+
KW_QUERY(): antlr.TerminalNode | null;
|
|
1606
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1607
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1608
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1609
|
+
}
|
|
1610
|
+
export declare class TruncateTableContext extends StatementContext {
|
|
1611
|
+
constructor(ctx: StatementContext);
|
|
1612
|
+
KW_TRUNCATE(): antlr.TerminalNode;
|
|
1613
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1614
|
+
tableName(): TableNameContext;
|
|
1615
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1616
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1617
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1618
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1619
|
+
}
|
|
1620
|
+
export declare class SetConfigAndValueContext extends StatementContext {
|
|
1621
|
+
constructor(ctx: StatementContext);
|
|
1622
|
+
KW_SET(): antlr.TerminalNode;
|
|
1623
|
+
configKey(): ConfigKeyContext;
|
|
1624
|
+
EQ(): antlr.TerminalNode | null;
|
|
1625
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1626
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1627
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1628
|
+
}
|
|
1629
|
+
export declare class CreateMaterializedViewContext extends StatementContext {
|
|
1630
|
+
_options?: PropertyListContext;
|
|
1631
|
+
_partitioning?: PartitionFieldListContext;
|
|
1632
|
+
_tableProps?: PropertyListContext;
|
|
1633
|
+
constructor(ctx: StatementContext);
|
|
1634
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
1635
|
+
KW_MATERIALIZED(): antlr.TerminalNode;
|
|
1636
|
+
KW_VIEW(): antlr.TerminalNode;
|
|
1637
|
+
viewNameCreate(): ViewNameCreateContext;
|
|
1638
|
+
KW_AS(): antlr.TerminalNode;
|
|
1639
|
+
query(): QueryContext;
|
|
1640
|
+
ifNotExists(): IfNotExistsContext | null;
|
|
1641
|
+
tableProvider(): TableProviderContext | null;
|
|
1642
|
+
skewSpec(): SkewSpecContext[];
|
|
1643
|
+
skewSpec(i: number): SkewSpecContext | null;
|
|
1644
|
+
bucketSpec(): BucketSpecContext[];
|
|
1645
|
+
bucketSpec(i: number): BucketSpecContext | null;
|
|
1646
|
+
rowFormat(): RowFormatContext[];
|
|
1647
|
+
rowFormat(i: number): RowFormatContext | null;
|
|
1648
|
+
createFileFormat(): CreateFileFormatContext[];
|
|
1649
|
+
createFileFormat(i: number): CreateFileFormatContext | null;
|
|
1650
|
+
locationSpec(): LocationSpecContext[];
|
|
1651
|
+
locationSpec(i: number): LocationSpecContext | null;
|
|
1652
|
+
commentSpec(): CommentSpecContext[];
|
|
1653
|
+
commentSpec(i: number): CommentSpecContext | null;
|
|
1654
|
+
KW_OPTIONS(): antlr.TerminalNode[];
|
|
1655
|
+
KW_OPTIONS(i: number): antlr.TerminalNode | null;
|
|
1656
|
+
KW_PARTITIONED(): antlr.TerminalNode[];
|
|
1657
|
+
KW_PARTITIONED(i: number): antlr.TerminalNode | null;
|
|
1658
|
+
KW_BY(): antlr.TerminalNode[];
|
|
1659
|
+
KW_BY(i: number): antlr.TerminalNode | null;
|
|
1660
|
+
KW_TBLPROPERTIES(): antlr.TerminalNode[];
|
|
1661
|
+
KW_TBLPROPERTIES(i: number): antlr.TerminalNode | null;
|
|
1662
|
+
propertyList(): PropertyListContext[];
|
|
1663
|
+
propertyList(i: number): PropertyListContext | null;
|
|
1664
|
+
partitionFieldList(): PartitionFieldListContext[];
|
|
1665
|
+
partitionFieldList(i: number): PartitionFieldListContext | null;
|
|
1666
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1667
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1668
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1669
|
+
}
|
|
1670
|
+
export declare class SetTableSerDeContext extends StatementContext {
|
|
1671
|
+
constructor(ctx: StatementContext);
|
|
1672
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1673
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1674
|
+
tableName(): TableNameContext;
|
|
1675
|
+
KW_SET(): antlr.TerminalNode;
|
|
1676
|
+
KW_SERDE(): antlr.TerminalNode;
|
|
1677
|
+
stringLit(): StringLitContext;
|
|
1678
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1679
|
+
KW_WITH(): antlr.TerminalNode | null;
|
|
1680
|
+
KW_SERDEPROPERTIES(): antlr.TerminalNode | null;
|
|
1681
|
+
propertyList(): PropertyListContext | null;
|
|
1682
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1683
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1684
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1685
|
+
}
|
|
1686
|
+
export declare class CreateViewContext extends StatementContext {
|
|
1687
|
+
constructor(ctx: StatementContext);
|
|
1688
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
1689
|
+
KW_VIEW(): antlr.TerminalNode;
|
|
1690
|
+
viewNameCreate(): ViewNameCreateContext;
|
|
1691
|
+
KW_AS(): antlr.TerminalNode;
|
|
1692
|
+
query(): QueryContext;
|
|
1693
|
+
KW_OR(): antlr.TerminalNode | null;
|
|
1694
|
+
KW_REPLACE(): antlr.TerminalNode | null;
|
|
1695
|
+
KW_TEMPORARY(): antlr.TerminalNode | null;
|
|
1696
|
+
ifNotExists(): IfNotExistsContext | null;
|
|
1697
|
+
identifierCommentList(): IdentifierCommentListContext | null;
|
|
1698
|
+
commentSpec(): CommentSpecContext[];
|
|
1699
|
+
commentSpec(i: number): CommentSpecContext | null;
|
|
1700
|
+
KW_PARTITIONED(): antlr.TerminalNode[];
|
|
1701
|
+
KW_PARTITIONED(i: number): antlr.TerminalNode | null;
|
|
1702
|
+
KW_ON(): antlr.TerminalNode[];
|
|
1703
|
+
KW_ON(i: number): antlr.TerminalNode | null;
|
|
1704
|
+
identifierList(): IdentifierListContext[];
|
|
1705
|
+
identifierList(i: number): IdentifierListContext | null;
|
|
1706
|
+
KW_TBLPROPERTIES(): antlr.TerminalNode[];
|
|
1707
|
+
KW_TBLPROPERTIES(i: number): antlr.TerminalNode | null;
|
|
1708
|
+
propertyList(): PropertyListContext[];
|
|
1709
|
+
propertyList(i: number): PropertyListContext | null;
|
|
1710
|
+
KW_GLOBAL(): antlr.TerminalNode | null;
|
|
1711
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1712
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1713
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1714
|
+
}
|
|
1715
|
+
export declare class SetTimeZoneAnyContext extends StatementContext {
|
|
1716
|
+
constructor(ctx: StatementContext);
|
|
1717
|
+
KW_SET(): antlr.TerminalNode;
|
|
1718
|
+
KW_TIME(): antlr.TerminalNode;
|
|
1719
|
+
KW_ZONE(): antlr.TerminalNode;
|
|
1720
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1721
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1722
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1723
|
+
}
|
|
1724
|
+
export declare class DropTablePartitionsContext extends StatementContext {
|
|
1725
|
+
constructor(ctx: StatementContext);
|
|
1726
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1727
|
+
KW_DROP(): antlr.TerminalNode;
|
|
1728
|
+
partitionSpec(): PartitionSpecContext[];
|
|
1729
|
+
partitionSpec(i: number): PartitionSpecContext | null;
|
|
1730
|
+
KW_TABLE(): antlr.TerminalNode | null;
|
|
1731
|
+
tableName(): TableNameContext | null;
|
|
1732
|
+
KW_VIEW(): antlr.TerminalNode | null;
|
|
1733
|
+
viewName(): ViewNameContext | null;
|
|
1734
|
+
ifExists(): IfExistsContext | null;
|
|
1735
|
+
COMMA(): antlr.TerminalNode[];
|
|
1736
|
+
COMMA(i: number): antlr.TerminalNode | null;
|
|
1737
|
+
KW_PURGE(): antlr.TerminalNode | null;
|
|
1738
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1739
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1740
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1741
|
+
}
|
|
1742
|
+
export declare class DropTableContext extends StatementContext {
|
|
1743
|
+
constructor(ctx: StatementContext);
|
|
1744
|
+
KW_DROP(): antlr.TerminalNode;
|
|
1745
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1746
|
+
tableName(): TableNameContext;
|
|
1747
|
+
ifExists(): IfExistsContext | null;
|
|
1748
|
+
KW_PURGE(): antlr.TerminalNode | null;
|
|
1749
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1750
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1751
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1752
|
+
}
|
|
1753
|
+
export declare class ShowTableExtendedContext extends StatementContext {
|
|
1754
|
+
_ns?: NamespaceNameContext;
|
|
1755
|
+
_pattern?: StringLitContext;
|
|
1756
|
+
constructor(ctx: StatementContext);
|
|
1757
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1758
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1759
|
+
KW_EXTENDED(): antlr.TerminalNode;
|
|
1760
|
+
KW_LIKE(): antlr.TerminalNode;
|
|
1761
|
+
stringLit(): StringLitContext;
|
|
1762
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1763
|
+
KW_FROM(): antlr.TerminalNode | null;
|
|
1764
|
+
KW_IN(): antlr.TerminalNode | null;
|
|
1765
|
+
namespaceName(): NamespaceNameContext | null;
|
|
1766
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1767
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1768
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1769
|
+
}
|
|
1770
|
+
export declare class DescribeNamespaceContext extends StatementContext {
|
|
1771
|
+
constructor(ctx: StatementContext);
|
|
1772
|
+
KW_DATABASE(): antlr.TerminalNode;
|
|
1773
|
+
namespaceName(): NamespaceNameContext;
|
|
1774
|
+
KW_DESC(): antlr.TerminalNode | null;
|
|
1775
|
+
KW_DESCRIBE(): antlr.TerminalNode | null;
|
|
1776
|
+
KW_EXTENDED(): antlr.TerminalNode | null;
|
|
1777
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1778
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1779
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1780
|
+
}
|
|
1781
|
+
export declare class AlterTableAlterColumnContext extends StatementContext {
|
|
838
1782
|
_table?: TableNameContext;
|
|
839
1783
|
_column?: ColumnNameContext;
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
1784
|
+
constructor(ctx: StatementContext);
|
|
1785
|
+
KW_ALTER(): antlr.TerminalNode[];
|
|
1786
|
+
KW_ALTER(i: number): antlr.TerminalNode | null;
|
|
1787
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1788
|
+
tableName(): TableNameContext;
|
|
1789
|
+
KW_CHANGE(): antlr.TerminalNode | null;
|
|
1790
|
+
columnName(): ColumnNameContext;
|
|
1791
|
+
KW_COLUMN(): antlr.TerminalNode | null;
|
|
1792
|
+
alterColumnAction(): AlterColumnActionContext | null;
|
|
1793
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1794
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1795
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1796
|
+
}
|
|
1797
|
+
export declare class RefreshFunctionContext extends StatementContext {
|
|
1798
|
+
constructor(ctx: StatementContext);
|
|
1799
|
+
KW_REFRESH(): antlr.TerminalNode;
|
|
1800
|
+
KW_FUNCTION(): antlr.TerminalNode;
|
|
1801
|
+
functionName(): FunctionNameContext;
|
|
1802
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1803
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1804
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1805
|
+
}
|
|
1806
|
+
export declare class CommentTableContext extends StatementContext {
|
|
1807
|
+
constructor(ctx: StatementContext);
|
|
1808
|
+
KW_COMMENT(): antlr.TerminalNode;
|
|
1809
|
+
KW_ON(): antlr.TerminalNode;
|
|
1810
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1811
|
+
tableName(): TableNameContext;
|
|
1812
|
+
KW_IS(): antlr.TerminalNode;
|
|
1813
|
+
comment(): CommentContext;
|
|
1814
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1815
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1816
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1817
|
+
}
|
|
1818
|
+
export declare class ShowMaterializedViewsContext extends StatementContext {
|
|
1819
|
+
_db_name?: NamespaceNameContext;
|
|
1820
|
+
_pattern?: StringLitContext;
|
|
1821
|
+
constructor(ctx: StatementContext);
|
|
1822
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1823
|
+
KW_MATERIALIZED(): antlr.TerminalNode;
|
|
1824
|
+
KW_VIEWS(): antlr.TerminalNode;
|
|
1825
|
+
KW_FROM(): antlr.TerminalNode | null;
|
|
1826
|
+
KW_IN(): antlr.TerminalNode | null;
|
|
1827
|
+
namespaceName(): NamespaceNameContext | null;
|
|
1828
|
+
stringLit(): StringLitContext | null;
|
|
1829
|
+
KW_LIKE(): antlr.TerminalNode | null;
|
|
1830
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1831
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1832
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1833
|
+
}
|
|
1834
|
+
export declare class CreateIndexContext extends StatementContext {
|
|
849
1835
|
_indexType?: IdentifierContext;
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
KW_USE(): antlr.TerminalNode | null;
|
|
855
|
-
dbSchemaName(): DbSchemaNameContext | null;
|
|
856
|
-
dbSchema(): DbSchemaContext | null;
|
|
857
|
-
KW_SET(): antlr.TerminalNode | null;
|
|
858
|
-
KW_CATALOG(): antlr.TerminalNode | null;
|
|
1836
|
+
_options?: PropertyListContext;
|
|
1837
|
+
constructor(ctx: StatementContext);
|
|
1838
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
1839
|
+
KW_INDEX(): antlr.TerminalNode;
|
|
859
1840
|
identifier(): IdentifierContext[];
|
|
860
1841
|
identifier(i: number): IdentifierContext | null;
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
1842
|
+
KW_ON(): antlr.TerminalNode;
|
|
1843
|
+
tableName(): TableNameContext;
|
|
1844
|
+
LEFT_PAREN(): antlr.TerminalNode;
|
|
1845
|
+
multipartIdentifierPropertyList(): MultipartIdentifierPropertyListContext;
|
|
1846
|
+
RIGHT_PAREN(): antlr.TerminalNode;
|
|
1847
|
+
ifNotExists(): IfNotExistsContext | null;
|
|
1848
|
+
KW_TABLE(): antlr.TerminalNode | null;
|
|
1849
|
+
KW_USING(): antlr.TerminalNode | null;
|
|
1850
|
+
KW_OPTIONS(): antlr.TerminalNode | null;
|
|
1851
|
+
propertyList(): PropertyListContext | null;
|
|
1852
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1853
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1854
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1855
|
+
}
|
|
1856
|
+
export declare class UseNamespaceContext extends StatementContext {
|
|
1857
|
+
constructor(ctx: StatementContext);
|
|
1858
|
+
KW_USE(): antlr.TerminalNode;
|
|
1859
|
+
namespaceName(): NamespaceNameContext;
|
|
1860
|
+
namespace(): NamespaceContext | null;
|
|
1861
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1862
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1863
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1864
|
+
}
|
|
1865
|
+
export declare class DropVariableContext extends StatementContext {
|
|
1866
|
+
constructor(ctx: StatementContext);
|
|
1867
|
+
KW_DROP(): antlr.TerminalNode;
|
|
1868
|
+
KW_TEMPORARY(): antlr.TerminalNode;
|
|
1869
|
+
KW_VARIABLE(): antlr.TerminalNode;
|
|
1870
|
+
tableName(): TableNameContext | null;
|
|
1871
|
+
viewName(): ViewNameContext | null;
|
|
1872
|
+
functionName(): FunctionNameContext | null;
|
|
1873
|
+
ifExists(): IfExistsContext | null;
|
|
1874
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1875
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1876
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1877
|
+
}
|
|
1878
|
+
export declare class CreateNamespaceContext extends StatementContext {
|
|
1879
|
+
constructor(ctx: StatementContext);
|
|
1880
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
1881
|
+
namespace(): NamespaceContext;
|
|
1882
|
+
namespaceNameCreate(): NamespaceNameCreateContext;
|
|
864
1883
|
ifNotExists(): IfNotExistsContext | null;
|
|
865
1884
|
commentSpec(): CommentSpecContext[];
|
|
866
1885
|
commentSpec(i: number): CommentSpecContext | null;
|
|
@@ -874,154 +1893,159 @@ export declare class StatementContext extends antlr.ParserRuleContext {
|
|
|
874
1893
|
KW_DBPROPERTIES(i: number): antlr.TerminalNode | null;
|
|
875
1894
|
KW_PROPERTIES(): antlr.TerminalNode[];
|
|
876
1895
|
KW_PROPERTIES(i: number): antlr.TerminalNode | null;
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
1896
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1897
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1898
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1899
|
+
}
|
|
1900
|
+
export declare class SetTableSerDePropertiesContext extends StatementContext {
|
|
1901
|
+
constructor(ctx: StatementContext);
|
|
1902
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1903
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1904
|
+
tableName(): TableNameContext;
|
|
1905
|
+
KW_SET(): antlr.TerminalNode;
|
|
1906
|
+
KW_SERDEPROPERTIES(): antlr.TerminalNode;
|
|
1907
|
+
propertyList(): PropertyListContext;
|
|
1908
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1909
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1910
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1911
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1912
|
+
}
|
|
1913
|
+
export declare class RefreshMaterializedViewContext extends StatementContext {
|
|
1914
|
+
constructor(ctx: StatementContext);
|
|
1915
|
+
KW_REFRESH(): antlr.TerminalNode;
|
|
1916
|
+
KW_MATERIALIZED(): antlr.TerminalNode;
|
|
1917
|
+
KW_VIEW(): antlr.TerminalNode;
|
|
1918
|
+
viewName(): ViewNameContext;
|
|
1919
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1920
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1921
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1922
|
+
}
|
|
1923
|
+
export declare class ShowTblPropertiesContext extends StatementContext {
|
|
1924
|
+
_table?: TableNameContext;
|
|
1925
|
+
_key?: PropertyKeyContext;
|
|
1926
|
+
constructor(ctx: StatementContext);
|
|
1927
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1928
|
+
KW_TBLPROPERTIES(): antlr.TerminalNode;
|
|
1929
|
+
tableName(): TableNameContext;
|
|
1930
|
+
LEFT_PAREN(): antlr.TerminalNode | null;
|
|
1931
|
+
RIGHT_PAREN(): antlr.TerminalNode | null;
|
|
1932
|
+
propertyKey(): PropertyKeyContext | null;
|
|
1933
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1934
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1935
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1936
|
+
}
|
|
1937
|
+
export declare class ShowCreateMaterializedViewContext extends StatementContext {
|
|
1938
|
+
constructor(ctx: StatementContext);
|
|
1939
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1940
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
1941
|
+
KW_MATERIALIZED(): antlr.TerminalNode;
|
|
1942
|
+
KW_VIEW(): antlr.TerminalNode;
|
|
1943
|
+
viewName(): ViewNameContext;
|
|
900
1944
|
KW_AS(): antlr.TerminalNode | null;
|
|
1945
|
+
KW_SERDE(): antlr.TerminalNode | null;
|
|
1946
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1947
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1948
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1949
|
+
}
|
|
1950
|
+
export declare class UnsetTablePropertiesContext extends StatementContext {
|
|
1951
|
+
constructor(ctx: StatementContext);
|
|
1952
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1953
|
+
KW_UNSET(): antlr.TerminalNode;
|
|
1954
|
+
KW_TBLPROPERTIES(): antlr.TerminalNode;
|
|
1955
|
+
propertyList(): PropertyListContext;
|
|
901
1956
|
KW_TABLE(): antlr.TerminalNode | null;
|
|
902
|
-
tableNameCreate(): TableNameCreateContext | null;
|
|
903
1957
|
tableName(): TableNameContext | null;
|
|
904
|
-
rowFormat(): RowFormatContext[];
|
|
905
|
-
rowFormat(i: number): RowFormatContext | null;
|
|
906
|
-
createFileFormat(): CreateFileFormatContext[];
|
|
907
|
-
createFileFormat(i: number): CreateFileFormatContext | null;
|
|
908
|
-
KW_TBLPROPERTIES(): antlr.TerminalNode[];
|
|
909
|
-
KW_TBLPROPERTIES(i: number): antlr.TerminalNode | null;
|
|
910
|
-
replaceTableHeader(): ReplaceTableHeaderContext | null;
|
|
911
|
-
KW_ANALYZE(): antlr.TerminalNode | null;
|
|
912
|
-
KW_COMPUTE(): antlr.TerminalNode | null;
|
|
913
|
-
KW_STATISTICS(): antlr.TerminalNode | null;
|
|
914
|
-
partitionSpec(): PartitionSpecContext[];
|
|
915
|
-
partitionSpec(i: number): PartitionSpecContext | null;
|
|
916
|
-
KW_NOSCAN(): antlr.TerminalNode | null;
|
|
917
|
-
KW_FOR(): antlr.TerminalNode | null;
|
|
918
|
-
KW_COLUMNS(): antlr.TerminalNode | null;
|
|
919
|
-
columnNameSeq(): ColumnNameSeqContext | null;
|
|
920
|
-
KW_ALL(): antlr.TerminalNode | null;
|
|
921
|
-
KW_TABLES(): antlr.TerminalNode | null;
|
|
922
|
-
KW_ADD(): antlr.TerminalNode | null;
|
|
923
|
-
KW_COLUMN(): antlr.TerminalNode | null;
|
|
924
|
-
qualifiedColTypeWithPositionForAdd(): QualifiedColTypeWithPositionForAddContext | null;
|
|
925
|
-
qualifiedColTypeWithPositionSeqForAdd(): QualifiedColTypeWithPositionSeqForAddContext | null;
|
|
926
|
-
KW_RENAME(): antlr.TerminalNode | null;
|
|
927
|
-
columnName(): ColumnNameContext | null;
|
|
928
|
-
KW_TO(): antlr.TerminalNode | null;
|
|
929
|
-
columnNameCreate(): ColumnNameCreateContext | null;
|
|
930
1958
|
KW_VIEW(): antlr.TerminalNode | null;
|
|
931
1959
|
viewName(): ViewNameContext | null;
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
1960
|
+
ifExists(): IfExistsContext | null;
|
|
1961
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1962
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1963
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1964
|
+
}
|
|
1965
|
+
export declare class SetTableLocationContext extends StatementContext {
|
|
1966
|
+
constructor(ctx: StatementContext);
|
|
1967
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1968
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1969
|
+
tableName(): TableNameContext;
|
|
1970
|
+
KW_SET(): antlr.TerminalNode;
|
|
1971
|
+
locationSpec(): LocationSpecContext;
|
|
1972
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
1973
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1974
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1975
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1976
|
+
}
|
|
1977
|
+
export declare class DropTableColumnsContext extends StatementContext {
|
|
1978
|
+
constructor(ctx: StatementContext);
|
|
1979
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
1980
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1981
|
+
tableName(): TableNameContext;
|
|
1982
|
+
KW_DROP(): antlr.TerminalNode;
|
|
1983
|
+
KW_COLUMNS(): antlr.TerminalNode;
|
|
1984
|
+
LEFT_PAREN(): antlr.TerminalNode;
|
|
1985
|
+
columnNameSeq(): ColumnNameSeqContext;
|
|
1986
|
+
RIGHT_PAREN(): antlr.TerminalNode;
|
|
1987
|
+
ifExists(): IfExistsContext | null;
|
|
1988
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
1989
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
1990
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1991
|
+
}
|
|
1992
|
+
export declare class ShowViewsContext extends StatementContext {
|
|
1993
|
+
_pattern?: StringLitContext;
|
|
1994
|
+
constructor(ctx: StatementContext);
|
|
1995
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
1996
|
+
KW_VIEWS(): antlr.TerminalNode;
|
|
1997
|
+
namespaceName(): NamespaceNameContext | null;
|
|
1998
|
+
KW_FROM(): antlr.TerminalNode | null;
|
|
1999
|
+
KW_IN(): antlr.TerminalNode | null;
|
|
2000
|
+
stringLit(): StringLitContext | null;
|
|
2001
|
+
KW_LIKE(): antlr.TerminalNode | null;
|
|
2002
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2003
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2004
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2005
|
+
}
|
|
2006
|
+
export declare class ShowFunctionsContext extends StatementContext {
|
|
2007
|
+
_ns?: NamespaceNameContext;
|
|
2008
|
+
_legacy?: MultipartIdentifierContext;
|
|
2009
|
+
_pattern?: StringLitContext;
|
|
2010
|
+
constructor(ctx: StatementContext);
|
|
2011
|
+
KW_SHOW(): antlr.TerminalNode;
|
|
2012
|
+
KW_FUNCTIONS(): antlr.TerminalNode;
|
|
981
2013
|
functionKind(): FunctionKindContext | null;
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
2014
|
+
KW_FROM(): antlr.TerminalNode | null;
|
|
2015
|
+
KW_IN(): antlr.TerminalNode | null;
|
|
2016
|
+
namespaceName(): NamespaceNameContext | null;
|
|
2017
|
+
KW_LIKE(): antlr.TerminalNode | null;
|
|
2018
|
+
multipartIdentifier(): MultipartIdentifierContext | null;
|
|
2019
|
+
stringLit(): StringLitContext | null;
|
|
2020
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2021
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2022
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2023
|
+
}
|
|
2024
|
+
export declare class CacheTableContext extends StatementContext {
|
|
2025
|
+
_options?: PropertyListContext;
|
|
2026
|
+
constructor(ctx: StatementContext);
|
|
2027
|
+
KW_CACHE(): antlr.TerminalNode;
|
|
2028
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
2029
|
+
tableName(): TableNameContext;
|
|
994
2030
|
KW_LAZY(): antlr.TerminalNode | null;
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
timezone(): TimezoneContext | null;
|
|
1014
|
-
assignmentList(): AssignmentListContext | null;
|
|
1015
|
-
KW_VAR(): antlr.TerminalNode | null;
|
|
1016
|
-
multipartIdentifierList(): MultipartIdentifierListContext | null;
|
|
1017
|
-
EQ(): antlr.TerminalNode | null;
|
|
1018
|
-
configKey(): ConfigKeyContext | null;
|
|
1019
|
-
configValue(): ConfigValueContext | null;
|
|
1020
|
-
KW_RESET(): antlr.TerminalNode | null;
|
|
1021
|
-
KW_INDEX(): antlr.TerminalNode | null;
|
|
1022
|
-
multipartIdentifierPropertyList(): MultipartIdentifierPropertyListContext | null;
|
|
1023
|
-
unsupportedHiveNativeCommands(): UnsupportedHiveNativeCommandsContext | null;
|
|
1024
|
-
get ruleIndex(): number;
|
|
2031
|
+
KW_OPTIONS(): antlr.TerminalNode | null;
|
|
2032
|
+
query(): QueryContext | null;
|
|
2033
|
+
propertyList(): PropertyListContext | null;
|
|
2034
|
+
KW_AS(): antlr.TerminalNode | null;
|
|
2035
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2036
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2037
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2038
|
+
}
|
|
2039
|
+
export declare class SetTablePropertiesContext extends StatementContext {
|
|
2040
|
+
constructor(ctx: StatementContext);
|
|
2041
|
+
KW_ALTER(): antlr.TerminalNode;
|
|
2042
|
+
KW_SET(): antlr.TerminalNode;
|
|
2043
|
+
KW_TBLPROPERTIES(): antlr.TerminalNode;
|
|
2044
|
+
propertyList(): PropertyListContext;
|
|
2045
|
+
KW_TABLE(): antlr.TerminalNode | null;
|
|
2046
|
+
tableName(): TableNameContext | null;
|
|
2047
|
+
KW_VIEW(): antlr.TerminalNode | null;
|
|
2048
|
+
viewName(): ViewNameContext | null;
|
|
1025
2049
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1026
2050
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1027
2051
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
@@ -1191,10 +2215,14 @@ export declare class CommentSpecContext extends antlr.ParserRuleContext {
|
|
|
1191
2215
|
}
|
|
1192
2216
|
export declare class QueryContext extends antlr.ParserRuleContext {
|
|
1193
2217
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2218
|
+
get ruleIndex(): number;
|
|
2219
|
+
copyFrom(ctx: QueryContext): void;
|
|
2220
|
+
}
|
|
2221
|
+
export declare class QueryStatementContext extends QueryContext {
|
|
2222
|
+
constructor(ctx: QueryContext);
|
|
1194
2223
|
queryTerm(): QueryTermContext;
|
|
1195
2224
|
queryOrganization(): QueryOrganizationContext;
|
|
1196
2225
|
ctes(): CtesContext | null;
|
|
1197
|
-
get ruleIndex(): number;
|
|
1198
2226
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1199
2227
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1200
2228
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
@@ -1264,7 +2292,7 @@ export declare class PartitionValContext extends antlr.ParserRuleContext {
|
|
|
1264
2292
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1265
2293
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1266
2294
|
}
|
|
1267
|
-
export declare class
|
|
2295
|
+
export declare class NamespaceContext extends antlr.ParserRuleContext {
|
|
1268
2296
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1269
2297
|
KW_NAMESPACE(): antlr.TerminalNode | null;
|
|
1270
2298
|
KW_DATABASE(): antlr.TerminalNode | null;
|
|
@@ -1274,7 +2302,7 @@ export declare class DbSchemaContext extends antlr.ParserRuleContext {
|
|
|
1274
2302
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1275
2303
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1276
2304
|
}
|
|
1277
|
-
export declare class
|
|
2305
|
+
export declare class NamespacesContext extends antlr.ParserRuleContext {
|
|
1278
2306
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1279
2307
|
KW_NAMESPACES(): antlr.TerminalNode | null;
|
|
1280
2308
|
KW_DATABASES(): antlr.TerminalNode | null;
|
|
@@ -1362,6 +2390,8 @@ export declare class CreateTableClausesContext extends antlr.ParserRuleContext {
|
|
|
1362
2390
|
locationSpec(i: number): LocationSpecContext | null;
|
|
1363
2391
|
commentSpec(): CommentSpecContext[];
|
|
1364
2392
|
commentSpec(i: number): CommentSpecContext | null;
|
|
2393
|
+
tableLifecycle(): TableLifecycleContext[];
|
|
2394
|
+
tableLifecycle(i: number): TableLifecycleContext | null;
|
|
1365
2395
|
KW_OPTIONS(): antlr.TerminalNode[];
|
|
1366
2396
|
KW_OPTIONS(i: number): antlr.TerminalNode | null;
|
|
1367
2397
|
KW_PARTITIONED(): antlr.TerminalNode[];
|
|
@@ -1381,6 +2411,15 @@ export declare class CreateTableClausesContext extends antlr.ParserRuleContext {
|
|
|
1381
2411
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1382
2412
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1383
2413
|
}
|
|
2414
|
+
export declare class TableLifecycleContext extends antlr.ParserRuleContext {
|
|
2415
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2416
|
+
KW_LIFECYCLE(): antlr.TerminalNode;
|
|
2417
|
+
INTEGER_VALUE(): antlr.TerminalNode;
|
|
2418
|
+
get ruleIndex(): number;
|
|
2419
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2420
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2421
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2422
|
+
}
|
|
1384
2423
|
export declare class PropertyListContext extends antlr.ParserRuleContext {
|
|
1385
2424
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1386
2425
|
LEFT_PAREN(): antlr.TerminalNode;
|
|
@@ -1527,46 +2566,80 @@ export declare class ResourceContext extends antlr.ParserRuleContext {
|
|
|
1527
2566
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1528
2567
|
}
|
|
1529
2568
|
export declare class DmlStatementNoWithContext extends antlr.ParserRuleContext {
|
|
2569
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2570
|
+
get ruleIndex(): number;
|
|
2571
|
+
copyFrom(ctx: DmlStatementNoWithContext): void;
|
|
2572
|
+
}
|
|
2573
|
+
export declare class DeleteFromTableContext extends DmlStatementNoWithContext {
|
|
2574
|
+
constructor(ctx: DmlStatementNoWithContext);
|
|
2575
|
+
KW_DELETE(): antlr.TerminalNode;
|
|
2576
|
+
KW_FROM(): antlr.TerminalNode;
|
|
2577
|
+
tableName(): TableNameContext;
|
|
2578
|
+
tableAlias(): TableAliasContext;
|
|
2579
|
+
whereClause(): WhereClauseContext | null;
|
|
2580
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2581
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2582
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2583
|
+
}
|
|
2584
|
+
export declare class MultipleInsertContext extends DmlStatementNoWithContext {
|
|
2585
|
+
constructor(ctx: DmlStatementNoWithContext);
|
|
2586
|
+
fromClause(): FromClauseContext;
|
|
2587
|
+
multiInsertQueryBody(): MultiInsertQueryBodyContext[];
|
|
2588
|
+
multiInsertQueryBody(i: number): MultiInsertQueryBodyContext | null;
|
|
2589
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2590
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2591
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2592
|
+
}
|
|
2593
|
+
export declare class UpdateTableContext extends DmlStatementNoWithContext {
|
|
2594
|
+
constructor(ctx: DmlStatementNoWithContext);
|
|
2595
|
+
KW_UPDATE(): antlr.TerminalNode;
|
|
2596
|
+
tableName(): TableNameContext;
|
|
2597
|
+
tableAlias(): TableAliasContext;
|
|
2598
|
+
setClause(): SetClauseContext;
|
|
2599
|
+
whereClause(): WhereClauseContext | null;
|
|
2600
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2601
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2602
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2603
|
+
}
|
|
2604
|
+
export declare class InsertFromQueryContext extends DmlStatementNoWithContext {
|
|
2605
|
+
constructor(ctx: DmlStatementNoWithContext);
|
|
2606
|
+
insertInto(): InsertIntoContext;
|
|
2607
|
+
query(): QueryContext;
|
|
2608
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2609
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2610
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2611
|
+
}
|
|
2612
|
+
export declare class MergeIntoTableContext extends DmlStatementNoWithContext {
|
|
1530
2613
|
_target?: TableNameContext;
|
|
1531
2614
|
_targetAlias?: TableAliasContext;
|
|
1532
2615
|
_source?: IdentifierReferenceContext;
|
|
1533
2616
|
_sourceQuery?: QueryContext;
|
|
1534
2617
|
_sourceAlias?: TableAliasContext;
|
|
1535
2618
|
_mergeCondition?: BooleanExpressionContext;
|
|
1536
|
-
constructor(
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
KW_DELETE(): antlr.TerminalNode | null;
|
|
1543
|
-
KW_FROM(): antlr.TerminalNode | null;
|
|
1544
|
-
tableName(): TableNameContext | null;
|
|
2619
|
+
constructor(ctx: DmlStatementNoWithContext);
|
|
2620
|
+
KW_MERGE(): antlr.TerminalNode;
|
|
2621
|
+
KW_INTO(): antlr.TerminalNode;
|
|
2622
|
+
KW_USING(): antlr.TerminalNode;
|
|
2623
|
+
KW_ON(): antlr.TerminalNode;
|
|
2624
|
+
tableName(): TableNameContext;
|
|
1545
2625
|
tableAlias(): TableAliasContext[];
|
|
1546
2626
|
tableAlias(i: number): TableAliasContext | null;
|
|
1547
|
-
|
|
1548
|
-
KW_UPDATE(): antlr.TerminalNode | null;
|
|
1549
|
-
setClause(): SetClauseContext | null;
|
|
1550
|
-
KW_MERGE(): antlr.TerminalNode | null;
|
|
1551
|
-
KW_INTO(): antlr.TerminalNode | null;
|
|
1552
|
-
KW_USING(): antlr.TerminalNode | null;
|
|
1553
|
-
KW_ON(): antlr.TerminalNode | null;
|
|
1554
|
-
booleanExpression(): BooleanExpressionContext | null;
|
|
2627
|
+
booleanExpression(): BooleanExpressionContext;
|
|
1555
2628
|
LEFT_PAREN(): antlr.TerminalNode | null;
|
|
1556
2629
|
RIGHT_PAREN(): antlr.TerminalNode | null;
|
|
1557
2630
|
identifierReference(): IdentifierReferenceContext | null;
|
|
2631
|
+
query(): QueryContext | null;
|
|
1558
2632
|
matchedClause(): MatchedClauseContext[];
|
|
1559
2633
|
matchedClause(i: number): MatchedClauseContext | null;
|
|
1560
2634
|
notMatchedClause(): NotMatchedClauseContext[];
|
|
1561
2635
|
notMatchedClause(i: number): NotMatchedClauseContext | null;
|
|
1562
2636
|
notMatchedBySourceClause(): NotMatchedBySourceClauseContext[];
|
|
1563
2637
|
notMatchedBySourceClause(i: number): NotMatchedBySourceClauseContext | null;
|
|
1564
|
-
get ruleIndex(): number;
|
|
1565
2638
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1566
2639
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1567
2640
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1568
2641
|
}
|
|
1569
|
-
export declare class
|
|
2642
|
+
export declare class NamespaceNameContext extends antlr.ParserRuleContext {
|
|
1570
2643
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1571
2644
|
identifierReference(): IdentifierReferenceContext;
|
|
1572
2645
|
get ruleIndex(): number;
|
|
@@ -1574,7 +2647,7 @@ export declare class DbSchemaNameContext extends antlr.ParserRuleContext {
|
|
|
1574
2647
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1575
2648
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1576
2649
|
}
|
|
1577
|
-
export declare class
|
|
2650
|
+
export declare class NamespaceNameCreateContext extends antlr.ParserRuleContext {
|
|
1578
2651
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1579
2652
|
identifierReference(): IdentifierReferenceContext;
|
|
1580
2653
|
get ruleIndex(): number;
|
|
@@ -1616,7 +2689,7 @@ export declare class ViewNameContext extends antlr.ParserRuleContext {
|
|
|
1616
2689
|
}
|
|
1617
2690
|
export declare class ColumnNameContext extends antlr.ParserRuleContext {
|
|
1618
2691
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
1619
|
-
multipartIdentifier(): MultipartIdentifierContext;
|
|
2692
|
+
multipartIdentifier(): MultipartIdentifierContext | null;
|
|
1620
2693
|
get ruleIndex(): number;
|
|
1621
2694
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1622
2695
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -2365,11 +3438,11 @@ export declare class SetQuantifierContext extends antlr.ParserRuleContext {
|
|
|
2365
3438
|
}
|
|
2366
3439
|
export declare class RelationContext extends antlr.ParserRuleContext {
|
|
2367
3440
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3441
|
+
tableName(): TableNameContext | null;
|
|
2368
3442
|
relationPrimary(): RelationPrimaryContext | null;
|
|
2369
3443
|
KW_LATERAL(): antlr.TerminalNode | null;
|
|
2370
3444
|
relationExtension(): RelationExtensionContext[];
|
|
2371
3445
|
relationExtension(i: number): RelationExtensionContext | null;
|
|
2372
|
-
tableName(): TableNameContext | null;
|
|
2373
3446
|
get ruleIndex(): number;
|
|
2374
3447
|
enterRule(listener: SparkSqlParserListener): void;
|
|
2375
3448
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -2532,7 +3605,7 @@ export declare class IdentifierCommentListContext extends antlr.ParserRuleContex
|
|
|
2532
3605
|
}
|
|
2533
3606
|
export declare class IdentifierCommentContext extends antlr.ParserRuleContext {
|
|
2534
3607
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2535
|
-
|
|
3608
|
+
columnNameCreate(): ColumnNameCreateContext;
|
|
2536
3609
|
commentSpec(): CommentSpecContext | null;
|
|
2537
3610
|
get ruleIndex(): number;
|
|
2538
3611
|
enterRule(listener: SparkSqlParserListener): void;
|
|
@@ -2541,8 +3614,10 @@ export declare class IdentifierCommentContext extends antlr.ParserRuleContext {
|
|
|
2541
3614
|
}
|
|
2542
3615
|
export declare class RelationPrimaryContext extends antlr.ParserRuleContext {
|
|
2543
3616
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2544
|
-
identifierReference(): IdentifierReferenceContext | null;
|
|
2545
3617
|
tableAlias(): TableAliasContext | null;
|
|
3618
|
+
tableName(): TableNameContext | null;
|
|
3619
|
+
viewName(): ViewNameContext | null;
|
|
3620
|
+
identifierReference(): IdentifierReferenceContext | null;
|
|
2546
3621
|
temporalClause(): TemporalClauseContext | null;
|
|
2547
3622
|
sample(): SampleContext | null;
|
|
2548
3623
|
LEFT_PAREN(): antlr.TerminalNode | null;
|
|
@@ -3590,6 +4665,16 @@ export declare class WindowClauseContext extends antlr.ParserRuleContext {
|
|
|
3590
4665
|
exitRule(listener: SparkSqlParserListener): void;
|
|
3591
4666
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3592
4667
|
}
|
|
4668
|
+
export declare class ZorderClauseContext extends antlr.ParserRuleContext {
|
|
4669
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4670
|
+
KW_ZORDER(): antlr.TerminalNode;
|
|
4671
|
+
KW_BY(): antlr.TerminalNode;
|
|
4672
|
+
columnNameSeq(): ColumnNameSeqContext;
|
|
4673
|
+
get ruleIndex(): number;
|
|
4674
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
4675
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
4676
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4677
|
+
}
|
|
3593
4678
|
export declare class NamedWindowContext extends antlr.ParserRuleContext {
|
|
3594
4679
|
_name?: ErrorCapturingIdentifierContext;
|
|
3595
4680
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
@@ -3891,10 +4976,12 @@ export declare class AnsiNonReservedContext extends antlr.ParserRuleContext {
|
|
|
3891
4976
|
KW_DFS(): antlr.TerminalNode | null;
|
|
3892
4977
|
KW_DIRECTORIES(): antlr.TerminalNode | null;
|
|
3893
4978
|
KW_DIRECTORY(): antlr.TerminalNode | null;
|
|
4979
|
+
KW_DISABLE(): antlr.TerminalNode | null;
|
|
3894
4980
|
KW_DISTRIBUTE(): antlr.TerminalNode | null;
|
|
3895
4981
|
KW_DIV(): antlr.TerminalNode | null;
|
|
3896
4982
|
KW_DOUBLE(): antlr.TerminalNode | null;
|
|
3897
4983
|
KW_DROP(): antlr.TerminalNode | null;
|
|
4984
|
+
KW_ENABLE(): antlr.TerminalNode | null;
|
|
3898
4985
|
KW_ESCAPED(): antlr.TerminalNode | null;
|
|
3899
4986
|
KW_EXCHANGE(): antlr.TerminalNode | null;
|
|
3900
4987
|
KW_EXCLUDE(): antlr.TerminalNode | null;
|
|
@@ -3950,6 +5037,7 @@ export declare class AnsiNonReservedContext extends antlr.ParserRuleContext {
|
|
|
3950
5037
|
KW_MACRO(): antlr.TerminalNode | null;
|
|
3951
5038
|
KW_MAP(): antlr.TerminalNode | null;
|
|
3952
5039
|
KW_MATCHED(): antlr.TerminalNode | null;
|
|
5040
|
+
KW_MATERIALIZED(): antlr.TerminalNode | null;
|
|
3953
5041
|
KW_MERGE(): antlr.TerminalNode | null;
|
|
3954
5042
|
KW_MICROSECOND(): antlr.TerminalNode | null;
|
|
3955
5043
|
KW_MICROSECONDS(): antlr.TerminalNode | null;
|
|
@@ -3969,6 +5057,7 @@ export declare class AnsiNonReservedContext extends antlr.ParserRuleContext {
|
|
|
3969
5057
|
KW_NULLS(): antlr.TerminalNode | null;
|
|
3970
5058
|
KW_NUMERIC(): antlr.TerminalNode | null;
|
|
3971
5059
|
KW_OF(): antlr.TerminalNode | null;
|
|
5060
|
+
KW_OPTIMIZE(): antlr.TerminalNode | null;
|
|
3972
5061
|
KW_OPTION(): antlr.TerminalNode | null;
|
|
3973
5062
|
KW_OPTIONS(): antlr.TerminalNode | null;
|
|
3974
5063
|
KW_OUT(): antlr.TerminalNode | null;
|
|
@@ -4004,6 +5093,7 @@ export declare class AnsiNonReservedContext extends antlr.ParserRuleContext {
|
|
|
4004
5093
|
KW_RESPECT(): antlr.TerminalNode | null;
|
|
4005
5094
|
KW_RESTRICT(): antlr.TerminalNode | null;
|
|
4006
5095
|
KW_REVOKE(): antlr.TerminalNode | null;
|
|
5096
|
+
KW_REWRITE(): antlr.TerminalNode | null;
|
|
4007
5097
|
KW_RLIKE(): antlr.TerminalNode | null;
|
|
4008
5098
|
KW_REGEXP(): antlr.TerminalNode | null;
|
|
4009
5099
|
KW_ROLE(): antlr.TerminalNode | null;
|
|
@@ -4087,6 +5177,7 @@ export declare class AnsiNonReservedContext extends antlr.ParserRuleContext {
|
|
|
4087
5177
|
KW_YEAR(): antlr.TerminalNode | null;
|
|
4088
5178
|
KW_YEARS(): antlr.TerminalNode | null;
|
|
4089
5179
|
KW_ZONE(): antlr.TerminalNode | null;
|
|
5180
|
+
KW_ZORDER(): antlr.TerminalNode | null;
|
|
4090
5181
|
get ruleIndex(): number;
|
|
4091
5182
|
enterRule(listener: SparkSqlParserListener): void;
|
|
4092
5183
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -4199,12 +5290,14 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
4199
5290
|
KW_DFS(): antlr.TerminalNode | null;
|
|
4200
5291
|
KW_DIRECTORIES(): antlr.TerminalNode | null;
|
|
4201
5292
|
KW_DIRECTORY(): antlr.TerminalNode | null;
|
|
5293
|
+
KW_DISABLE(): antlr.TerminalNode | null;
|
|
4202
5294
|
KW_DISTINCT(): antlr.TerminalNode | null;
|
|
4203
5295
|
KW_DISTRIBUTE(): antlr.TerminalNode | null;
|
|
4204
5296
|
KW_DIV(): antlr.TerminalNode | null;
|
|
4205
5297
|
KW_DOUBLE(): antlr.TerminalNode | null;
|
|
4206
5298
|
KW_DROP(): antlr.TerminalNode | null;
|
|
4207
5299
|
KW_ELSE(): antlr.TerminalNode | null;
|
|
5300
|
+
KW_ENABLE(): antlr.TerminalNode | null;
|
|
4208
5301
|
KW_END(): antlr.TerminalNode | null;
|
|
4209
5302
|
KW_ESCAPE(): antlr.TerminalNode | null;
|
|
4210
5303
|
KW_ESCAPED(): antlr.TerminalNode | null;
|
|
@@ -4228,7 +5321,6 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
4228
5321
|
KW_FOREIGN(): antlr.TerminalNode | null;
|
|
4229
5322
|
KW_FORMAT(): antlr.TerminalNode | null;
|
|
4230
5323
|
KW_FORMATTED(): antlr.TerminalNode | null;
|
|
4231
|
-
KW_FROM(): antlr.TerminalNode | null;
|
|
4232
5324
|
KW_FUNCTION(): antlr.TerminalNode | null;
|
|
4233
5325
|
KW_FUNCTIONS(): antlr.TerminalNode | null;
|
|
4234
5326
|
KW_GENERATED(): antlr.TerminalNode | null;
|
|
@@ -4260,6 +5352,7 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
4260
5352
|
KW_LAST(): antlr.TerminalNode | null;
|
|
4261
5353
|
KW_LAZY(): antlr.TerminalNode | null;
|
|
4262
5354
|
KW_LEADING(): antlr.TerminalNode | null;
|
|
5355
|
+
KW_LIFECYCLE(): antlr.TerminalNode | null;
|
|
4263
5356
|
KW_LIKE(): antlr.TerminalNode | null;
|
|
4264
5357
|
KW_LONG(): antlr.TerminalNode | null;
|
|
4265
5358
|
KW_ILIKE(): antlr.TerminalNode | null;
|
|
@@ -4275,6 +5368,7 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
4275
5368
|
KW_MACRO(): antlr.TerminalNode | null;
|
|
4276
5369
|
KW_MAP(): antlr.TerminalNode | null;
|
|
4277
5370
|
KW_MATCHED(): antlr.TerminalNode | null;
|
|
5371
|
+
KW_MATERIALIZED(): antlr.TerminalNode | null;
|
|
4278
5372
|
KW_MERGE(): antlr.TerminalNode | null;
|
|
4279
5373
|
KW_MICROSECOND(): antlr.TerminalNode | null;
|
|
4280
5374
|
KW_MICROSECONDS(): antlr.TerminalNode | null;
|
|
@@ -4298,6 +5392,7 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
4298
5392
|
KW_OF(): antlr.TerminalNode | null;
|
|
4299
5393
|
KW_OFFSET(): antlr.TerminalNode | null;
|
|
4300
5394
|
KW_ONLY(): antlr.TerminalNode | null;
|
|
5395
|
+
KW_OPTIMIZE(): antlr.TerminalNode | null;
|
|
4301
5396
|
KW_OPTION(): antlr.TerminalNode | null;
|
|
4302
5397
|
KW_OPTIONS(): antlr.TerminalNode | null;
|
|
4303
5398
|
KW_OR(): antlr.TerminalNode | null;
|
|
@@ -4341,6 +5436,7 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
4341
5436
|
KW_RESPECT(): antlr.TerminalNode | null;
|
|
4342
5437
|
KW_RESTRICT(): antlr.TerminalNode | null;
|
|
4343
5438
|
KW_REVOKE(): antlr.TerminalNode | null;
|
|
5439
|
+
KW_REWRITE(): antlr.TerminalNode | null;
|
|
4344
5440
|
KW_RLIKE(): antlr.TerminalNode | null;
|
|
4345
5441
|
KW_REGEXP(): antlr.TerminalNode | null;
|
|
4346
5442
|
KW_ROLE(): antlr.TerminalNode | null;
|
|
@@ -4353,7 +5449,6 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
4353
5449
|
KW_SCHEMAS(): antlr.TerminalNode | null;
|
|
4354
5450
|
KW_SECOND(): antlr.TerminalNode | null;
|
|
4355
5451
|
KW_SECONDS(): antlr.TerminalNode | null;
|
|
4356
|
-
KW_SELECT(): antlr.TerminalNode | null;
|
|
4357
5452
|
KW_SEPARATED(): antlr.TerminalNode | null;
|
|
4358
5453
|
KW_SERDE(): antlr.TerminalNode | null;
|
|
4359
5454
|
KW_SERDEPROPERTIES(): antlr.TerminalNode | null;
|
|
@@ -4381,7 +5476,6 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
4381
5476
|
KW_SYSTEM(): antlr.TerminalNode | null;
|
|
4382
5477
|
KW_SYSTEM_TIME(): antlr.TerminalNode | null;
|
|
4383
5478
|
KW_SYSTEM_VERSION(): antlr.TerminalNode | null;
|
|
4384
|
-
KW_TABLE(): antlr.TerminalNode | null;
|
|
4385
5479
|
KW_TABLES(): antlr.TerminalNode | null;
|
|
4386
5480
|
KW_TABLESAMPLE(): antlr.TerminalNode | null;
|
|
4387
5481
|
KW_TARGET(): antlr.TerminalNode | null;
|
|
@@ -4437,6 +5531,7 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
4437
5531
|
KW_YEAR(): antlr.TerminalNode | null;
|
|
4438
5532
|
KW_YEARS(): antlr.TerminalNode | null;
|
|
4439
5533
|
KW_ZONE(): antlr.TerminalNode | null;
|
|
5534
|
+
KW_ZORDER(): antlr.TerminalNode | null;
|
|
4440
5535
|
get ruleIndex(): number;
|
|
4441
5536
|
enterRule(listener: SparkSqlParserListener): void;
|
|
4442
5537
|
exitRule(listener: SparkSqlParserListener): void;
|