dt-sql-parser 4.1.2-beta.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -0
- package/dist/lib/flink/FlinkSqlLexer.d.ts +5 -5
- package/dist/lib/flink/FlinkSqlLexer.js +1991 -1992
- package/dist/lib/flink/FlinkSqlParser.d.ts +240 -230
- package/dist/lib/flink/FlinkSqlParser.js +3036 -2978
- package/dist/lib/flink/FlinkSqlParserListener.d.ts +81 -70
- package/dist/lib/flink/FlinkSqlParserVisitor.d.ts +49 -42
- package/dist/lib/hive/HiveSqlParser.d.ts +251 -231
- package/dist/lib/hive/HiveSqlParser.js +6264 -5674
- package/dist/lib/hive/HiveSqlParserListener.d.ts +32 -10
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +20 -6
- package/dist/lib/impala/ImpalaSqlLexer.d.ts +2 -2
- package/dist/lib/impala/ImpalaSqlLexer.js +587 -588
- package/dist/lib/impala/ImpalaSqlParser.d.ts +151 -113
- package/dist/lib/impala/ImpalaSqlParser.js +3464 -3250
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +49 -5
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +31 -3
- package/dist/lib/mysql/MySqlLexer.d.ts +2 -2
- package/dist/lib/mysql/MySqlLexer.js +3515 -3516
- package/dist/lib/mysql/MySqlParser.d.ts +138 -138
- package/dist/lib/mysql/MySqlParser.js +511 -511
- package/dist/lib/mysql/MySqlParserListener.d.ts +105 -105
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +63 -63
- package/dist/lib/postgresql/PostgreSqlLexer.d.ts +14 -15
- package/dist/lib/postgresql/PostgreSqlLexer.js +2077 -2092
- package/dist/lib/postgresql/PostgreSqlParser.d.ts +2860 -2980
- package/dist/lib/postgresql/PostgreSqlParser.js +20155 -20660
- package/dist/lib/postgresql/PostgreSqlParserListener.d.ts +2110 -2181
- package/dist/lib/postgresql/PostgreSqlParserVisitor.d.ts +1261 -1301
- package/dist/lib/spark/SparkSqlLexer.d.ts +2 -2
- package/dist/lib/spark/SparkSqlLexer.js +949 -950
- package/dist/lib/spark/SparkSqlParser.d.ts +413 -645
- package/dist/lib/spark/SparkSqlParser.js +6840 -8200
- package/dist/lib/spark/SparkSqlParserListener.d.ts +68 -356
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +42 -225
- package/dist/lib/trino/TrinoSqlLexer.d.ts +2 -2
- package/dist/lib/trino/TrinoSqlLexer.js +319 -321
- package/dist/lib/trino/TrinoSqlListener.d.ts +67 -23
- package/dist/lib/trino/TrinoSqlParser.d.ts +210 -181
- package/dist/lib/trino/TrinoSqlParser.js +4854 -4695
- package/dist/lib/trino/TrinoSqlVisitor.d.ts +42 -14
- package/dist/parser/common/basicSQL.d.ts +43 -9
- package/dist/parser/common/basicSQL.js +147 -40
- package/dist/parser/common/semanticContextCollector.d.ts +50 -0
- package/dist/parser/common/semanticContextCollector.js +202 -0
- package/dist/parser/common/tokenUtils.d.ts +12 -0
- package/dist/parser/common/tokenUtils.js +38 -0
- package/dist/parser/common/types.d.ts +25 -0
- package/dist/parser/common/types.js +7 -0
- package/dist/parser/flink/flinkErrorListener.js +14 -2
- package/dist/parser/flink/flinkSemanticContextCollector.d.ts +9 -0
- package/dist/parser/flink/flinkSemanticContextCollector.js +14 -0
- package/dist/parser/flink/index.d.ts +4 -2
- package/dist/parser/flink/index.js +22 -14
- package/dist/parser/hive/hiveErrorListener.js +9 -3
- package/dist/parser/hive/hiveSemanticContextCollector.d.ts +9 -0
- package/dist/parser/hive/hiveSemanticContextCollector.js +14 -0
- package/dist/parser/hive/index.d.ts +4 -2
- package/dist/parser/hive/index.js +29 -14
- package/dist/parser/impala/ImpalaErrorListener.js +8 -2
- package/dist/parser/impala/impalaSemanticContextCollector.d.ts +9 -0
- package/dist/parser/impala/impalaSemanticContextCollector.js +14 -0
- package/dist/parser/impala/index.d.ts +4 -2
- package/dist/parser/impala/index.js +21 -14
- package/dist/parser/mysql/index.d.ts +4 -2
- package/dist/parser/mysql/index.js +10 -14
- package/dist/parser/mysql/mysqlErrorListener.js +6 -2
- package/dist/parser/mysql/mysqlSemanticContextCollector.d.ts +9 -0
- package/dist/parser/mysql/mysqlSemanticContextCollector.js +14 -0
- package/dist/parser/postgresql/index.d.ts +4 -2
- package/dist/parser/postgresql/index.js +51 -42
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +5 -5
- package/dist/parser/postgresql/postgreEntityCollector.js +7 -7
- package/dist/parser/postgresql/postgreErrorListener.js +36 -30
- package/dist/parser/postgresql/postgreSemanticContextCollector.d.ts +9 -0
- package/dist/parser/postgresql/postgreSemanticContextCollector.js +14 -0
- package/dist/parser/spark/index.d.ts +4 -2
- package/dist/parser/spark/index.js +26 -14
- package/dist/parser/spark/sparkErrorListener.js +9 -3
- package/dist/parser/spark/sparkSemanticContextCollector.d.ts +9 -0
- package/dist/parser/spark/sparkSemanticContextCollector.js +14 -0
- package/dist/parser/trino/index.d.ts +4 -2
- package/dist/parser/trino/index.js +22 -14
- package/dist/parser/trino/trinoErrorListener.js +9 -3
- package/dist/parser/trino/trinoSemanticContextCollector.d.ts +9 -0
- package/dist/parser/trino/trinoSemanticContextCollector.js +14 -0
- package/package.json +2 -1
|
@@ -393,210 +393,185 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
393
393
|
static readonly BIGDECIMAL_LITERAL = 387;
|
|
394
394
|
static readonly IDENTIFIER = 388;
|
|
395
395
|
static readonly BACKQUOTED_IDENTIFIER = 389;
|
|
396
|
-
static readonly
|
|
396
|
+
static readonly LINE_COMMENT = 390;
|
|
397
397
|
static readonly BRACKETED_COMMENT = 391;
|
|
398
|
-
static readonly
|
|
398
|
+
static readonly WHITE_SPACE = 392;
|
|
399
399
|
static readonly UNRECOGNIZED = 393;
|
|
400
400
|
static readonly RULE_program = 0;
|
|
401
401
|
static readonly RULE_singleStatement = 1;
|
|
402
402
|
static readonly RULE_statement = 2;
|
|
403
|
-
static readonly
|
|
404
|
-
static readonly
|
|
405
|
-
static readonly
|
|
406
|
-
static readonly
|
|
407
|
-
static readonly
|
|
408
|
-
static readonly
|
|
409
|
-
static readonly
|
|
410
|
-
static readonly
|
|
411
|
-
static readonly
|
|
412
|
-
static readonly
|
|
413
|
-
static readonly
|
|
414
|
-
static readonly
|
|
415
|
-
static readonly
|
|
416
|
-
static readonly
|
|
417
|
-
static readonly
|
|
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 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_commentStr = 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;
|
|
403
|
+
static readonly RULE_unsupportedHiveNativeCommands = 3;
|
|
404
|
+
static readonly RULE_bucketSpec = 4;
|
|
405
|
+
static readonly RULE_skewSpec = 5;
|
|
406
|
+
static readonly RULE_locationSpec = 6;
|
|
407
|
+
static readonly RULE_commentSpec = 7;
|
|
408
|
+
static readonly RULE_query = 8;
|
|
409
|
+
static readonly RULE_insertInto = 9;
|
|
410
|
+
static readonly RULE_partitionSpecLocation = 10;
|
|
411
|
+
static readonly RULE_partitionSpec = 11;
|
|
412
|
+
static readonly RULE_partitionVal = 12;
|
|
413
|
+
static readonly RULE_namespace = 13;
|
|
414
|
+
static readonly RULE_describeFuncName = 14;
|
|
415
|
+
static readonly RULE_describeColName = 15;
|
|
416
|
+
static readonly RULE_ctes = 16;
|
|
417
|
+
static readonly RULE_namedQuery = 17;
|
|
418
|
+
static readonly RULE_tableProvider = 18;
|
|
419
|
+
static readonly RULE_createTableClauses = 19;
|
|
420
|
+
static readonly RULE_tableLifecycle = 20;
|
|
421
|
+
static readonly RULE_propertyList = 21;
|
|
422
|
+
static readonly RULE_property = 22;
|
|
423
|
+
static readonly RULE_propertyKey = 23;
|
|
424
|
+
static readonly RULE_propertyValue = 24;
|
|
425
|
+
static readonly RULE_expressionPropertyList = 25;
|
|
426
|
+
static readonly RULE_expressionProperty = 26;
|
|
427
|
+
static readonly RULE_constantList = 27;
|
|
428
|
+
static readonly RULE_nestedConstantList = 28;
|
|
429
|
+
static readonly RULE_createFileFormat = 29;
|
|
430
|
+
static readonly RULE_fileFormat = 30;
|
|
431
|
+
static readonly RULE_storageHandler = 31;
|
|
432
|
+
static readonly RULE_dmlStatementNoWith = 32;
|
|
433
|
+
static readonly RULE_namespaceName = 33;
|
|
434
|
+
static readonly RULE_namespaceNameCreate = 34;
|
|
435
|
+
static readonly RULE_tableNameCreate = 35;
|
|
436
|
+
static readonly RULE_tableName = 36;
|
|
437
|
+
static readonly RULE_viewNameCreate = 37;
|
|
438
|
+
static readonly RULE_viewName = 38;
|
|
439
|
+
static readonly RULE_columnName = 39;
|
|
440
|
+
static readonly RULE_columnNamePath = 40;
|
|
441
|
+
static readonly RULE_columnNameSeq = 41;
|
|
442
|
+
static readonly RULE_columnNameCreate = 42;
|
|
443
|
+
static readonly RULE_identifierReference = 43;
|
|
444
|
+
static readonly RULE_queryOrganization = 44;
|
|
445
|
+
static readonly RULE_limitClause = 45;
|
|
446
|
+
static readonly RULE_orderOrSortByClause = 46;
|
|
447
|
+
static readonly RULE_clusterOrDistributeBy = 47;
|
|
448
|
+
static readonly RULE_queryTerm = 48;
|
|
449
|
+
static readonly RULE_queryPrimary = 49;
|
|
450
|
+
static readonly RULE_sortItem = 50;
|
|
451
|
+
static readonly RULE_fromStatementBody = 51;
|
|
452
|
+
static readonly RULE_querySpecification = 52;
|
|
453
|
+
static readonly RULE_transformClause = 53;
|
|
454
|
+
static readonly RULE_selectClause = 54;
|
|
455
|
+
static readonly RULE_setClause = 55;
|
|
456
|
+
static readonly RULE_matchedClause = 56;
|
|
457
|
+
static readonly RULE_notMatchedClause = 57;
|
|
458
|
+
static readonly RULE_notMatchedBySourceClause = 58;
|
|
459
|
+
static readonly RULE_notMatchedAction = 59;
|
|
460
|
+
static readonly RULE_assignmentList = 60;
|
|
461
|
+
static readonly RULE_assignment = 61;
|
|
462
|
+
static readonly RULE_whereClause = 62;
|
|
463
|
+
static readonly RULE_havingClause = 63;
|
|
464
|
+
static readonly RULE_hint = 64;
|
|
465
|
+
static readonly RULE_hintStatement = 65;
|
|
466
|
+
static readonly RULE_fromClause = 66;
|
|
467
|
+
static readonly RULE_temporalClause = 67;
|
|
468
|
+
static readonly RULE_aggregationClause = 68;
|
|
469
|
+
static readonly RULE_groupByClause = 69;
|
|
470
|
+
static readonly RULE_groupingAnalytics = 70;
|
|
471
|
+
static readonly RULE_groupingSet = 71;
|
|
472
|
+
static readonly RULE_pivotClause = 72;
|
|
473
|
+
static readonly RULE_pivotColumn = 73;
|
|
474
|
+
static readonly RULE_pivotValue = 74;
|
|
475
|
+
static readonly RULE_unPivotClause = 75;
|
|
476
|
+
static readonly RULE_unPivotSingleValueColumnClause = 76;
|
|
477
|
+
static readonly RULE_unPivotMultiValueColumnClause = 77;
|
|
478
|
+
static readonly RULE_unPivotColumnSet = 78;
|
|
479
|
+
static readonly RULE_unPivotColumnAndAlias = 79;
|
|
480
|
+
static readonly RULE_ifNotExists = 80;
|
|
481
|
+
static readonly RULE_ifExists = 81;
|
|
482
|
+
static readonly RULE_lateralView = 82;
|
|
483
|
+
static readonly RULE_setQuantifier = 83;
|
|
484
|
+
static readonly RULE_relation = 84;
|
|
485
|
+
static readonly RULE_joinRelation = 85;
|
|
486
|
+
static readonly RULE_joinType = 86;
|
|
487
|
+
static readonly RULE_joinCriteria = 87;
|
|
488
|
+
static readonly RULE_sample = 88;
|
|
489
|
+
static readonly RULE_sampleMethod = 89;
|
|
490
|
+
static readonly RULE_identifierList = 90;
|
|
491
|
+
static readonly RULE_identifierSeq = 91;
|
|
492
|
+
static readonly RULE_orderedIdentifierList = 92;
|
|
493
|
+
static readonly RULE_orderedIdentifier = 93;
|
|
494
|
+
static readonly RULE_identifierCommentList = 94;
|
|
495
|
+
static readonly RULE_identifierComment = 95;
|
|
496
|
+
static readonly RULE_relationPrimary = 96;
|
|
497
|
+
static readonly RULE_functionTableSubqueryArgument = 97;
|
|
498
|
+
static readonly RULE_tableArgumentPartitioning = 98;
|
|
499
|
+
static readonly RULE_functionTableNamedArgumentExpression = 99;
|
|
500
|
+
static readonly RULE_functionTableReferenceArgument = 100;
|
|
501
|
+
static readonly RULE_functionTableArgument = 101;
|
|
502
|
+
static readonly RULE_tableAlias = 102;
|
|
503
|
+
static readonly RULE_rowFormat = 103;
|
|
504
|
+
static readonly RULE_multipartIdentifierList = 104;
|
|
505
|
+
static readonly RULE_multipartIdentifier = 105;
|
|
506
|
+
static readonly RULE_multipartIdentifierPropertyList = 106;
|
|
507
|
+
static readonly RULE_multipartIdentifierProperty = 107;
|
|
508
|
+
static readonly RULE_tableIdentifier = 108;
|
|
509
|
+
static readonly RULE_viewIdentifier = 109;
|
|
510
|
+
static readonly RULE_namedExpression = 110;
|
|
511
|
+
static readonly RULE_namedExpressionSeq = 111;
|
|
512
|
+
static readonly RULE_partitionFieldList = 112;
|
|
513
|
+
static readonly RULE_partitionField = 113;
|
|
514
|
+
static readonly RULE_transform = 114;
|
|
515
|
+
static readonly RULE_transformArgument = 115;
|
|
516
|
+
static readonly RULE_expression = 116;
|
|
517
|
+
static readonly RULE_namedArgumentExpression = 117;
|
|
518
|
+
static readonly RULE_functionArgument = 118;
|
|
519
|
+
static readonly RULE_expressionSeq = 119;
|
|
520
|
+
static readonly RULE_booleanExpression = 120;
|
|
521
|
+
static readonly RULE_predicate = 121;
|
|
522
|
+
static readonly RULE_valueExpression = 122;
|
|
523
|
+
static readonly RULE_datetimeUnit = 123;
|
|
524
|
+
static readonly RULE_primaryExpression = 124;
|
|
525
|
+
static readonly RULE_literalType = 125;
|
|
526
|
+
static readonly RULE_constant = 126;
|
|
527
|
+
static readonly RULE_comparisonOperator = 127;
|
|
528
|
+
static readonly RULE_arithmeticOperator = 128;
|
|
529
|
+
static readonly RULE_predicateOperator = 129;
|
|
530
|
+
static readonly RULE_booleanValue = 130;
|
|
531
|
+
static readonly RULE_interval = 131;
|
|
532
|
+
static readonly RULE_errorCapturingMultiUnitsInterval = 132;
|
|
533
|
+
static readonly RULE_multiUnitsInterval = 133;
|
|
534
|
+
static readonly RULE_errorCapturingUnitToUnitInterval = 134;
|
|
535
|
+
static readonly RULE_unitToUnitInterval = 135;
|
|
536
|
+
static readonly RULE_intervalValue = 136;
|
|
537
|
+
static readonly RULE_unitInMultiUnits = 137;
|
|
538
|
+
static readonly RULE_unitInUnitToUnit = 138;
|
|
539
|
+
static readonly RULE_colPosition = 139;
|
|
540
|
+
static readonly RULE_type = 140;
|
|
541
|
+
static readonly RULE_dataType = 141;
|
|
542
|
+
static readonly RULE_qualifiedColTypeWithPositionSeqForAdd = 142;
|
|
543
|
+
static readonly RULE_qualifiedColTypeWithPositionForAdd = 143;
|
|
544
|
+
static readonly RULE_qualifiedColTypeWithPositionSeqForReplace = 144;
|
|
545
|
+
static readonly RULE_qualifiedColTypeWithPositionForReplace = 145;
|
|
546
|
+
static readonly RULE_colDefinitionDescriptorWithPosition = 146;
|
|
547
|
+
static readonly RULE_variableDefaultExpression = 147;
|
|
548
|
+
static readonly RULE_colTypeList = 148;
|
|
549
|
+
static readonly RULE_columnType = 149;
|
|
550
|
+
static readonly RULE_createOrReplaceTableColTypeList = 150;
|
|
551
|
+
static readonly RULE_createOrReplaceTableColType = 151;
|
|
552
|
+
static readonly RULE_colDefinitionOption = 152;
|
|
553
|
+
static readonly RULE_complexColType = 153;
|
|
554
|
+
static readonly RULE_whenClause = 154;
|
|
555
|
+
static readonly RULE_windowClause = 155;
|
|
556
|
+
static readonly RULE_zOrderClause = 156;
|
|
557
|
+
static readonly RULE_windowSpec = 157;
|
|
558
|
+
static readonly RULE_windowFrame = 158;
|
|
559
|
+
static readonly RULE_frameBound = 159;
|
|
560
|
+
static readonly RULE_qualifiedNameList = 160;
|
|
561
|
+
static readonly RULE_functionName = 161;
|
|
562
|
+
static readonly RULE_functionNameCreate = 162;
|
|
563
|
+
static readonly RULE_qualifiedName = 163;
|
|
564
|
+
static readonly RULE_errorCapturingIdentifier = 164;
|
|
565
|
+
static readonly RULE_errorCapturingIdentifierExtra = 165;
|
|
566
|
+
static readonly RULE_identifier = 166;
|
|
567
|
+
static readonly RULE_strictIdentifier = 167;
|
|
568
|
+
static readonly RULE_quotedIdentifier = 168;
|
|
569
|
+
static readonly RULE_number = 169;
|
|
570
|
+
static readonly RULE_alterColumnAction = 170;
|
|
571
|
+
static readonly RULE_stringLit = 171;
|
|
572
|
+
static readonly RULE_ansiNonReserved = 172;
|
|
573
|
+
static readonly RULE_strictNonReserved = 173;
|
|
574
|
+
static readonly RULE_nonReserved = 174;
|
|
600
575
|
static readonly literalNames: (string | null)[];
|
|
601
576
|
static readonly symbolicNames: (string | null)[];
|
|
602
577
|
static readonly ruleNames: string[];
|
|
@@ -610,12 +585,7 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
610
585
|
program(): ProgramContext;
|
|
611
586
|
singleStatement(): SingleStatementContext;
|
|
612
587
|
statement(): StatementContext;
|
|
613
|
-
timezone(): TimezoneContext;
|
|
614
|
-
configKey(): ConfigKeyContext;
|
|
615
|
-
configValue(): ConfigValueContext;
|
|
616
588
|
unsupportedHiveNativeCommands(): UnsupportedHiveNativeCommandsContext;
|
|
617
|
-
createTableHeader(): CreateTableHeaderContext;
|
|
618
|
-
replaceTableHeader(): ReplaceTableHeaderContext;
|
|
619
589
|
bucketSpec(): BucketSpecContext;
|
|
620
590
|
skewSpec(): SkewSpecContext;
|
|
621
591
|
locationSpec(): LocationSpecContext;
|
|
@@ -626,7 +596,6 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
626
596
|
partitionSpec(): PartitionSpecContext;
|
|
627
597
|
partitionVal(): PartitionValContext;
|
|
628
598
|
namespace(): NamespaceContext;
|
|
629
|
-
namespaces(): NamespacesContext;
|
|
630
599
|
describeFuncName(): DescribeFuncNameContext;
|
|
631
600
|
describeColName(): DescribeColNameContext;
|
|
632
601
|
ctes(): CtesContext;
|
|
@@ -645,7 +614,6 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
645
614
|
createFileFormat(): CreateFileFormatContext;
|
|
646
615
|
fileFormat(): FileFormatContext;
|
|
647
616
|
storageHandler(): StorageHandlerContext;
|
|
648
|
-
resource(): ResourceContext;
|
|
649
617
|
dmlStatementNoWith(): DmlStatementNoWithContext;
|
|
650
618
|
namespaceName(): NamespaceNameContext;
|
|
651
619
|
namespaceNameCreate(): NamespaceNameCreateContext;
|
|
@@ -654,16 +622,18 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
654
622
|
viewNameCreate(): ViewNameCreateContext;
|
|
655
623
|
viewName(): ViewNameContext;
|
|
656
624
|
columnName(): ColumnNameContext;
|
|
625
|
+
columnNamePath(): ColumnNamePathContext;
|
|
657
626
|
columnNameSeq(): ColumnNameSeqContext;
|
|
658
627
|
columnNameCreate(): ColumnNameCreateContext;
|
|
659
628
|
identifierReference(): IdentifierReferenceContext;
|
|
660
629
|
queryOrganization(): QueryOrganizationContext;
|
|
661
|
-
|
|
630
|
+
limitClause(): LimitClauseContext;
|
|
631
|
+
orderOrSortByClause(): OrderOrSortByClauseContext;
|
|
632
|
+
clusterOrDistributeBy(): ClusterOrDistributeByContext;
|
|
662
633
|
queryTerm(): QueryTermContext;
|
|
663
634
|
queryTerm(_p: number): QueryTermContext;
|
|
664
635
|
queryPrimary(): QueryPrimaryContext;
|
|
665
636
|
sortItem(): SortItemContext;
|
|
666
|
-
fromStatement(): FromStatementContext;
|
|
667
637
|
fromStatementBody(): FromStatementBodyContext;
|
|
668
638
|
querySpecification(): QuerySpecificationContext;
|
|
669
639
|
transformClause(): TransformClauseContext;
|
|
@@ -672,9 +642,7 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
672
642
|
matchedClause(): MatchedClauseContext;
|
|
673
643
|
notMatchedClause(): NotMatchedClauseContext;
|
|
674
644
|
notMatchedBySourceClause(): NotMatchedBySourceClauseContext;
|
|
675
|
-
matchedAction(): MatchedActionContext;
|
|
676
645
|
notMatchedAction(): NotMatchedActionContext;
|
|
677
|
-
notMatchedBySourceAction(): NotMatchedBySourceActionContext;
|
|
678
646
|
assignmentList(): AssignmentListContext;
|
|
679
647
|
assignment(): AssignmentContext;
|
|
680
648
|
whereClause(): WhereClauseContext;
|
|
@@ -682,33 +650,24 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
682
650
|
hint(): HintContext;
|
|
683
651
|
hintStatement(): HintStatementContext;
|
|
684
652
|
fromClause(): FromClauseContext;
|
|
685
|
-
functionKind(): FunctionKindContext;
|
|
686
653
|
temporalClause(): TemporalClauseContext;
|
|
687
654
|
aggregationClause(): AggregationClauseContext;
|
|
688
655
|
groupByClause(): GroupByClauseContext;
|
|
689
656
|
groupingAnalytics(): GroupingAnalyticsContext;
|
|
690
|
-
groupingElement(): GroupingElementContext;
|
|
691
657
|
groupingSet(): GroupingSetContext;
|
|
692
658
|
pivotClause(): PivotClauseContext;
|
|
693
659
|
pivotColumn(): PivotColumnContext;
|
|
694
660
|
pivotValue(): PivotValueContext;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
unpivotColumnSet(): UnpivotColumnSetContext;
|
|
701
|
-
unpivotValueColumn(): UnpivotValueColumnContext;
|
|
702
|
-
unpivotNameColumn(): UnpivotNameColumnContext;
|
|
703
|
-
unpivotColumnAndAlias(): UnpivotColumnAndAliasContext;
|
|
704
|
-
unpivotColumn(): UnpivotColumnContext;
|
|
705
|
-
unpivotAlias(): UnpivotAliasContext;
|
|
661
|
+
unPivotClause(): UnPivotClauseContext;
|
|
662
|
+
unPivotSingleValueColumnClause(): UnPivotSingleValueColumnClauseContext;
|
|
663
|
+
unPivotMultiValueColumnClause(): UnPivotMultiValueColumnClauseContext;
|
|
664
|
+
unPivotColumnSet(): UnPivotColumnSetContext;
|
|
665
|
+
unPivotColumnAndAlias(): UnPivotColumnAndAliasContext;
|
|
706
666
|
ifNotExists(): IfNotExistsContext;
|
|
707
667
|
ifExists(): IfExistsContext;
|
|
708
668
|
lateralView(): LateralViewContext;
|
|
709
669
|
setQuantifier(): SetQuantifierContext;
|
|
710
670
|
relation(): RelationContext;
|
|
711
|
-
relationExtension(): RelationExtensionContext;
|
|
712
671
|
joinRelation(): JoinRelationContext;
|
|
713
672
|
joinType(): JoinTypeContext;
|
|
714
673
|
joinCriteria(): JoinCriteriaContext;
|
|
@@ -721,13 +680,11 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
721
680
|
identifierCommentList(): IdentifierCommentListContext;
|
|
722
681
|
identifierComment(): IdentifierCommentContext;
|
|
723
682
|
relationPrimary(): RelationPrimaryContext;
|
|
724
|
-
inlineTable(): InlineTableContext;
|
|
725
683
|
functionTableSubqueryArgument(): FunctionTableSubqueryArgumentContext;
|
|
726
684
|
tableArgumentPartitioning(): TableArgumentPartitioningContext;
|
|
727
685
|
functionTableNamedArgumentExpression(): FunctionTableNamedArgumentExpressionContext;
|
|
728
686
|
functionTableReferenceArgument(): FunctionTableReferenceArgumentContext;
|
|
729
687
|
functionTableArgument(): FunctionTableArgumentContext;
|
|
730
|
-
functionTable(): FunctionTableContext;
|
|
731
688
|
tableAlias(): TableAliasContext;
|
|
732
689
|
rowFormat(): RowFormatContext;
|
|
733
690
|
multipartIdentifierList(): MultipartIdentifierListContext;
|
|
@@ -776,20 +733,16 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
776
733
|
qualifiedColTypeWithPositionSeqForReplace(): QualifiedColTypeWithPositionSeqForReplaceContext;
|
|
777
734
|
qualifiedColTypeWithPositionForReplace(): QualifiedColTypeWithPositionForReplaceContext;
|
|
778
735
|
colDefinitionDescriptorWithPosition(): ColDefinitionDescriptorWithPositionContext;
|
|
779
|
-
defaultExpression(): DefaultExpressionContext;
|
|
780
736
|
variableDefaultExpression(): VariableDefaultExpressionContext;
|
|
781
737
|
colTypeList(): ColTypeListContext;
|
|
782
738
|
columnType(): ColumnTypeContext;
|
|
783
739
|
createOrReplaceTableColTypeList(): CreateOrReplaceTableColTypeListContext;
|
|
784
740
|
createOrReplaceTableColType(): CreateOrReplaceTableColTypeContext;
|
|
785
741
|
colDefinitionOption(): ColDefinitionOptionContext;
|
|
786
|
-
generationExpression(): GenerationExpressionContext;
|
|
787
|
-
complexColTypeList(): ComplexColTypeListContext;
|
|
788
742
|
complexColType(): ComplexColTypeContext;
|
|
789
743
|
whenClause(): WhenClauseContext;
|
|
790
744
|
windowClause(): WindowClauseContext;
|
|
791
|
-
|
|
792
|
-
namedWindow(): NamedWindowContext;
|
|
745
|
+
zOrderClause(): ZOrderClauseContext;
|
|
793
746
|
windowSpec(): WindowSpecContext;
|
|
794
747
|
windowFrame(): WindowFrameContext;
|
|
795
748
|
frameBound(): FrameBoundContext;
|
|
@@ -802,12 +755,9 @@ export declare class SparkSqlParser extends SQLParserBase {
|
|
|
802
755
|
identifier(): IdentifierContext;
|
|
803
756
|
strictIdentifier(): StrictIdentifierContext;
|
|
804
757
|
quotedIdentifier(): QuotedIdentifierContext;
|
|
805
|
-
backQuotedIdentifier(): BackQuotedIdentifierContext;
|
|
806
758
|
number_(): NumberContext;
|
|
807
759
|
alterColumnAction(): AlterColumnActionContext;
|
|
808
760
|
stringLit(): StringLitContext;
|
|
809
|
-
commentStr(): CommentStrContext;
|
|
810
|
-
version(): VersionContext;
|
|
811
761
|
ansiNonReserved(): AnsiNonReservedContext;
|
|
812
762
|
strictNonReserved(): StrictNonReservedContext;
|
|
813
763
|
nonReserved(): NonReservedContext;
|
|
@@ -1127,7 +1077,9 @@ export declare class ShowNamespacesContext extends StatementContext {
|
|
|
1127
1077
|
_pattern?: StringLitContext;
|
|
1128
1078
|
constructor(ctx: StatementContext);
|
|
1129
1079
|
KW_SHOW(): antlr.TerminalNode;
|
|
1130
|
-
|
|
1080
|
+
KW_NAMESPACES(): antlr.TerminalNode | null;
|
|
1081
|
+
KW_DATABASES(): antlr.TerminalNode | null;
|
|
1082
|
+
KW_SCHEMAS(): antlr.TerminalNode | null;
|
|
1131
1083
|
multipartIdentifier(): MultipartIdentifierContext | null;
|
|
1132
1084
|
KW_FROM(): antlr.TerminalNode | null;
|
|
1133
1085
|
KW_IN(): antlr.TerminalNode | null;
|
|
@@ -1154,8 +1106,12 @@ export declare class ShowColumnsContext extends StatementContext {
|
|
|
1154
1106
|
}
|
|
1155
1107
|
export declare class ReplaceTableContext extends StatementContext {
|
|
1156
1108
|
constructor(ctx: StatementContext);
|
|
1157
|
-
|
|
1109
|
+
KW_REPLACE(): antlr.TerminalNode;
|
|
1110
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1111
|
+
tableNameCreate(): TableNameCreateContext;
|
|
1158
1112
|
createTableClauses(): CreateTableClausesContext;
|
|
1113
|
+
KW_CREATE(): antlr.TerminalNode | null;
|
|
1114
|
+
KW_OR(): antlr.TerminalNode | null;
|
|
1159
1115
|
LEFT_PAREN(): antlr.TerminalNode | null;
|
|
1160
1116
|
createOrReplaceTableColTypeList(): CreateOrReplaceTableColTypeListContext | null;
|
|
1161
1117
|
RIGHT_PAREN(): antlr.TerminalNode | null;
|
|
@@ -1201,7 +1157,8 @@ export declare class SetNamespaceLocationContext extends StatementContext {
|
|
|
1201
1157
|
namespace(): NamespaceContext;
|
|
1202
1158
|
namespaceName(): NamespaceNameContext;
|
|
1203
1159
|
KW_SET(): antlr.TerminalNode;
|
|
1204
|
-
|
|
1160
|
+
KW_LOCATION(): antlr.TerminalNode;
|
|
1161
|
+
stringLit(): StringLitContext;
|
|
1205
1162
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1206
1163
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1207
1164
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
@@ -1225,7 +1182,7 @@ export declare class SetAnyContext extends StatementContext {
|
|
|
1225
1182
|
export declare class ResetConfigContext extends StatementContext {
|
|
1226
1183
|
constructor(ctx: StatementContext);
|
|
1227
1184
|
KW_RESET(): antlr.TerminalNode;
|
|
1228
|
-
|
|
1185
|
+
quotedIdentifier(): QuotedIdentifierContext;
|
|
1229
1186
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1230
1187
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1231
1188
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
@@ -1234,7 +1191,7 @@ export declare class SetConfigAnyKeyContext extends StatementContext {
|
|
|
1234
1191
|
constructor(ctx: StatementContext);
|
|
1235
1192
|
KW_SET(): antlr.TerminalNode;
|
|
1236
1193
|
EQ(): antlr.TerminalNode;
|
|
1237
|
-
|
|
1194
|
+
BACKQUOTED_IDENTIFIER(): antlr.TerminalNode;
|
|
1238
1195
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1239
1196
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1240
1197
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
@@ -1299,14 +1256,15 @@ export declare class CreateFunctionContext extends StatementContext {
|
|
|
1299
1256
|
KW_FUNCTION(): antlr.TerminalNode;
|
|
1300
1257
|
functionNameCreate(): FunctionNameCreateContext;
|
|
1301
1258
|
KW_AS(): antlr.TerminalNode;
|
|
1302
|
-
stringLit(): StringLitContext;
|
|
1259
|
+
stringLit(): StringLitContext[];
|
|
1260
|
+
stringLit(i: number): StringLitContext | null;
|
|
1303
1261
|
KW_OR(): antlr.TerminalNode | null;
|
|
1304
1262
|
KW_REPLACE(): antlr.TerminalNode | null;
|
|
1305
1263
|
KW_TEMPORARY(): antlr.TerminalNode | null;
|
|
1306
1264
|
ifNotExists(): IfNotExistsContext | null;
|
|
1307
1265
|
KW_USING(): antlr.TerminalNode | null;
|
|
1308
|
-
|
|
1309
|
-
|
|
1266
|
+
identifier(): IdentifierContext[];
|
|
1267
|
+
identifier(i: number): IdentifierContext | null;
|
|
1310
1268
|
COMMA(): antlr.TerminalNode[];
|
|
1311
1269
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
1312
1270
|
enterRule(listener: SparkSqlParserListener): void;
|
|
@@ -1365,22 +1323,15 @@ export declare class AlterTableAddColumnContext extends StatementContext {
|
|
|
1365
1323
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1366
1324
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1367
1325
|
}
|
|
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
|
-
commentStr(): CommentStrContext;
|
|
1376
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
1377
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
1378
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1379
|
-
}
|
|
1380
1326
|
export declare class CreateTableContext extends StatementContext {
|
|
1381
1327
|
constructor(ctx: StatementContext);
|
|
1382
|
-
|
|
1328
|
+
KW_CREATE(): antlr.TerminalNode;
|
|
1329
|
+
KW_TABLE(): antlr.TerminalNode;
|
|
1330
|
+
tableNameCreate(): TableNameCreateContext;
|
|
1383
1331
|
createTableClauses(): CreateTableClausesContext;
|
|
1332
|
+
KW_TEMPORARY(): antlr.TerminalNode | null;
|
|
1333
|
+
KW_EXTERNAL(): antlr.TerminalNode | null;
|
|
1334
|
+
ifNotExists(): IfNotExistsContext | null;
|
|
1384
1335
|
LEFT_PAREN(): antlr.TerminalNode | null;
|
|
1385
1336
|
createOrReplaceTableColTypeList(): CreateOrReplaceTableColTypeListContext | null;
|
|
1386
1337
|
RIGHT_PAREN(): antlr.TerminalNode | null;
|
|
@@ -1429,10 +1380,12 @@ export declare class CreateTableLikeContext extends StatementContext {
|
|
|
1429
1380
|
rowFormat(i: number): RowFormatContext | null;
|
|
1430
1381
|
createFileFormat(): CreateFileFormatContext[];
|
|
1431
1382
|
createFileFormat(i: number): CreateFileFormatContext | null;
|
|
1432
|
-
locationSpec(): LocationSpecContext[];
|
|
1433
|
-
locationSpec(i: number): LocationSpecContext | null;
|
|
1434
1383
|
tableLifecycle(): TableLifecycleContext[];
|
|
1435
1384
|
tableLifecycle(i: number): TableLifecycleContext | null;
|
|
1385
|
+
KW_LOCATION(): antlr.TerminalNode[];
|
|
1386
|
+
KW_LOCATION(i: number): antlr.TerminalNode | null;
|
|
1387
|
+
stringLit(): StringLitContext[];
|
|
1388
|
+
stringLit(i: number): StringLitContext | null;
|
|
1436
1389
|
KW_TBLPROPERTIES(): antlr.TerminalNode[];
|
|
1437
1390
|
KW_TBLPROPERTIES(i: number): antlr.TerminalNode | null;
|
|
1438
1391
|
propertyList(): PropertyListContext[];
|
|
@@ -1539,9 +1492,9 @@ export declare class RenameTableColumnContext extends StatementContext {
|
|
|
1539
1492
|
export declare class SetConfigContext extends StatementContext {
|
|
1540
1493
|
constructor(ctx: StatementContext);
|
|
1541
1494
|
KW_SET(): antlr.TerminalNode;
|
|
1542
|
-
|
|
1495
|
+
quotedIdentifier(): QuotedIdentifierContext;
|
|
1543
1496
|
EQ(): antlr.TerminalNode;
|
|
1544
|
-
|
|
1497
|
+
BACKQUOTED_IDENTIFIER(): antlr.TerminalNode;
|
|
1545
1498
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1546
1499
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1547
1500
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
@@ -1581,7 +1534,7 @@ export declare class OptimizeTableContext extends StatementContext {
|
|
|
1581
1534
|
constructor(ctx: StatementContext);
|
|
1582
1535
|
KW_OPTIMIZE(): antlr.TerminalNode;
|
|
1583
1536
|
tableName(): TableNameContext;
|
|
1584
|
-
|
|
1537
|
+
zOrderClause(): ZOrderClauseContext;
|
|
1585
1538
|
whereClause(): WhereClauseContext | null;
|
|
1586
1539
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1587
1540
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -1592,7 +1545,8 @@ export declare class SetTimeZoneContext extends StatementContext {
|
|
|
1592
1545
|
KW_SET(): antlr.TerminalNode;
|
|
1593
1546
|
KW_TIME(): antlr.TerminalNode;
|
|
1594
1547
|
KW_ZONE(): antlr.TerminalNode;
|
|
1595
|
-
|
|
1548
|
+
stringLit(): StringLitContext | null;
|
|
1549
|
+
KW_LOCAL(): antlr.TerminalNode | null;
|
|
1596
1550
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1597
1551
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1598
1552
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
@@ -1620,7 +1574,7 @@ export declare class TruncateTableContext extends StatementContext {
|
|
|
1620
1574
|
export declare class SetConfigAndValueContext extends StatementContext {
|
|
1621
1575
|
constructor(ctx: StatementContext);
|
|
1622
1576
|
KW_SET(): antlr.TerminalNode;
|
|
1623
|
-
|
|
1577
|
+
quotedIdentifier(): QuotedIdentifierContext;
|
|
1624
1578
|
EQ(): antlr.TerminalNode | null;
|
|
1625
1579
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1626
1580
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -1629,6 +1583,7 @@ export declare class SetConfigAndValueContext extends StatementContext {
|
|
|
1629
1583
|
export declare class CreateMaterializedViewContext extends StatementContext {
|
|
1630
1584
|
_options?: PropertyListContext;
|
|
1631
1585
|
_partitioning?: PartitionFieldListContext;
|
|
1586
|
+
_comment?: StringLitContext;
|
|
1632
1587
|
_tableProps?: PropertyListContext;
|
|
1633
1588
|
constructor(ctx: StatementContext);
|
|
1634
1589
|
KW_CREATE(): antlr.TerminalNode;
|
|
@@ -1647,16 +1602,18 @@ export declare class CreateMaterializedViewContext extends StatementContext {
|
|
|
1647
1602
|
rowFormat(i: number): RowFormatContext | null;
|
|
1648
1603
|
createFileFormat(): CreateFileFormatContext[];
|
|
1649
1604
|
createFileFormat(i: number): CreateFileFormatContext | null;
|
|
1650
|
-
locationSpec(): LocationSpecContext[];
|
|
1651
|
-
locationSpec(i: number): LocationSpecContext | null;
|
|
1652
|
-
commentSpec(): CommentSpecContext[];
|
|
1653
|
-
commentSpec(i: number): CommentSpecContext | null;
|
|
1654
1605
|
KW_OPTIONS(): antlr.TerminalNode[];
|
|
1655
1606
|
KW_OPTIONS(i: number): antlr.TerminalNode | null;
|
|
1656
1607
|
KW_PARTITIONED(): antlr.TerminalNode[];
|
|
1657
1608
|
KW_PARTITIONED(i: number): antlr.TerminalNode | null;
|
|
1658
1609
|
KW_BY(): antlr.TerminalNode[];
|
|
1659
1610
|
KW_BY(i: number): antlr.TerminalNode | null;
|
|
1611
|
+
KW_LOCATION(): antlr.TerminalNode[];
|
|
1612
|
+
KW_LOCATION(i: number): antlr.TerminalNode | null;
|
|
1613
|
+
stringLit(): StringLitContext[];
|
|
1614
|
+
stringLit(i: number): StringLitContext | null;
|
|
1615
|
+
KW_COMMENT(): antlr.TerminalNode[];
|
|
1616
|
+
KW_COMMENT(i: number): antlr.TerminalNode | null;
|
|
1660
1617
|
KW_TBLPROPERTIES(): antlr.TerminalNode[];
|
|
1661
1618
|
KW_TBLPROPERTIES(i: number): antlr.TerminalNode | null;
|
|
1662
1619
|
propertyList(): PropertyListContext[];
|
|
@@ -1684,6 +1641,7 @@ export declare class SetTableSerDeContext extends StatementContext {
|
|
|
1684
1641
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1685
1642
|
}
|
|
1686
1643
|
export declare class CreateViewContext extends StatementContext {
|
|
1644
|
+
_comment?: StringLitContext;
|
|
1687
1645
|
constructor(ctx: StatementContext);
|
|
1688
1646
|
KW_CREATE(): antlr.TerminalNode;
|
|
1689
1647
|
KW_VIEW(): antlr.TerminalNode;
|
|
@@ -1695,8 +1653,8 @@ export declare class CreateViewContext extends StatementContext {
|
|
|
1695
1653
|
KW_TEMPORARY(): antlr.TerminalNode | null;
|
|
1696
1654
|
ifNotExists(): IfNotExistsContext | null;
|
|
1697
1655
|
identifierCommentList(): IdentifierCommentListContext | null;
|
|
1698
|
-
|
|
1699
|
-
|
|
1656
|
+
KW_COMMENT(): antlr.TerminalNode[];
|
|
1657
|
+
KW_COMMENT(i: number): antlr.TerminalNode | null;
|
|
1700
1658
|
KW_PARTITIONED(): antlr.TerminalNode[];
|
|
1701
1659
|
KW_PARTITIONED(i: number): antlr.TerminalNode | null;
|
|
1702
1660
|
KW_ON(): antlr.TerminalNode[];
|
|
@@ -1708,6 +1666,8 @@ export declare class CreateViewContext extends StatementContext {
|
|
|
1708
1666
|
propertyList(): PropertyListContext[];
|
|
1709
1667
|
propertyList(i: number): PropertyListContext | null;
|
|
1710
1668
|
KW_GLOBAL(): antlr.TerminalNode | null;
|
|
1669
|
+
stringLit(): StringLitContext[];
|
|
1670
|
+
stringLit(i: number): StringLitContext | null;
|
|
1711
1671
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1712
1672
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1713
1673
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
@@ -1807,10 +1767,13 @@ export declare class CommentTableContext extends StatementContext {
|
|
|
1807
1767
|
constructor(ctx: StatementContext);
|
|
1808
1768
|
KW_COMMENT(): antlr.TerminalNode;
|
|
1809
1769
|
KW_ON(): antlr.TerminalNode;
|
|
1810
|
-
KW_TABLE(): antlr.TerminalNode;
|
|
1811
|
-
tableName(): TableNameContext;
|
|
1812
1770
|
KW_IS(): antlr.TerminalNode;
|
|
1813
|
-
|
|
1771
|
+
stringLit(): StringLitContext | null;
|
|
1772
|
+
KW_NULL(): antlr.TerminalNode | null;
|
|
1773
|
+
namespace(): NamespaceContext | null;
|
|
1774
|
+
namespaceName(): NamespaceNameContext | null;
|
|
1775
|
+
KW_TABLE(): antlr.TerminalNode | null;
|
|
1776
|
+
tableName(): TableNameContext | null;
|
|
1814
1777
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1815
1778
|
exitRule(listener: SparkSqlParserListener): void;
|
|
1816
1779
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
@@ -1876,15 +1839,18 @@ export declare class DropVariableContext extends StatementContext {
|
|
|
1876
1839
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
1877
1840
|
}
|
|
1878
1841
|
export declare class CreateNamespaceContext extends StatementContext {
|
|
1842
|
+
_comment?: StringLitContext;
|
|
1879
1843
|
constructor(ctx: StatementContext);
|
|
1880
1844
|
KW_CREATE(): antlr.TerminalNode;
|
|
1881
1845
|
namespace(): NamespaceContext;
|
|
1882
1846
|
namespaceNameCreate(): NamespaceNameCreateContext;
|
|
1883
1847
|
ifNotExists(): IfNotExistsContext | null;
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1848
|
+
KW_COMMENT(): antlr.TerminalNode[];
|
|
1849
|
+
KW_COMMENT(i: number): antlr.TerminalNode | null;
|
|
1850
|
+
KW_LOCATION(): antlr.TerminalNode[];
|
|
1851
|
+
KW_LOCATION(i: number): antlr.TerminalNode | null;
|
|
1852
|
+
stringLit(): StringLitContext[];
|
|
1853
|
+
stringLit(i: number): StringLitContext | null;
|
|
1888
1854
|
KW_WITH(): antlr.TerminalNode[];
|
|
1889
1855
|
KW_WITH(i: number): antlr.TerminalNode | null;
|
|
1890
1856
|
propertyList(): PropertyListContext[];
|
|
@@ -1968,7 +1934,8 @@ export declare class SetTableLocationContext extends StatementContext {
|
|
|
1968
1934
|
KW_TABLE(): antlr.TerminalNode;
|
|
1969
1935
|
tableName(): TableNameContext;
|
|
1970
1936
|
KW_SET(): antlr.TerminalNode;
|
|
1971
|
-
|
|
1937
|
+
KW_LOCATION(): antlr.TerminalNode;
|
|
1938
|
+
stringLit(): StringLitContext;
|
|
1972
1939
|
partitionSpec(): PartitionSpecContext | null;
|
|
1973
1940
|
enterRule(listener: SparkSqlParserListener): void;
|
|
1974
1941
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -2010,7 +1977,9 @@ export declare class ShowFunctionsContext extends StatementContext {
|
|
|
2010
1977
|
constructor(ctx: StatementContext);
|
|
2011
1978
|
KW_SHOW(): antlr.TerminalNode;
|
|
2012
1979
|
KW_FUNCTIONS(): antlr.TerminalNode;
|
|
2013
|
-
|
|
1980
|
+
KW_USER(): antlr.TerminalNode | null;
|
|
1981
|
+
KW_SYSTEM(): antlr.TerminalNode | null;
|
|
1982
|
+
KW_ALL(): antlr.TerminalNode | null;
|
|
2014
1983
|
KW_FROM(): antlr.TerminalNode | null;
|
|
2015
1984
|
KW_IN(): antlr.TerminalNode | null;
|
|
2016
1985
|
namespaceName(): NamespaceNameContext | null;
|
|
@@ -2050,31 +2019,6 @@ export declare class SetTablePropertiesContext extends StatementContext {
|
|
|
2050
2019
|
exitRule(listener: SparkSqlParserListener): void;
|
|
2051
2020
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2052
2021
|
}
|
|
2053
|
-
export declare class TimezoneContext extends antlr.ParserRuleContext {
|
|
2054
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2055
|
-
stringLit(): StringLitContext | null;
|
|
2056
|
-
KW_LOCAL(): antlr.TerminalNode | null;
|
|
2057
|
-
get ruleIndex(): number;
|
|
2058
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
2059
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
2060
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2061
|
-
}
|
|
2062
|
-
export declare class ConfigKeyContext extends antlr.ParserRuleContext {
|
|
2063
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2064
|
-
quotedIdentifier(): QuotedIdentifierContext;
|
|
2065
|
-
get ruleIndex(): number;
|
|
2066
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
2067
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
2068
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2069
|
-
}
|
|
2070
|
-
export declare class ConfigValueContext extends antlr.ParserRuleContext {
|
|
2071
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2072
|
-
backQuotedIdentifier(): BackQuotedIdentifierContext;
|
|
2073
|
-
get ruleIndex(): number;
|
|
2074
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
2075
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
2076
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2077
|
-
}
|
|
2078
2022
|
export declare class UnsupportedHiveNativeCommandsContext extends antlr.ParserRuleContext {
|
|
2079
2023
|
_kw1?: Token | null;
|
|
2080
2024
|
_kw2?: Token | null;
|
|
@@ -2083,48 +2027,48 @@ export declare class UnsupportedHiveNativeCommandsContext extends antlr.ParserRu
|
|
|
2083
2027
|
_kw5?: Token | null;
|
|
2084
2028
|
_kw6?: Token | null;
|
|
2085
2029
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2086
|
-
KW_CREATE(): antlr.TerminalNode | null;
|
|
2087
2030
|
KW_ROLE(): antlr.TerminalNode | null;
|
|
2031
|
+
KW_CREATE(): antlr.TerminalNode | null;
|
|
2088
2032
|
KW_DROP(): antlr.TerminalNode | null;
|
|
2089
2033
|
KW_GRANT(): antlr.TerminalNode | null;
|
|
2090
2034
|
KW_REVOKE(): antlr.TerminalNode | null;
|
|
2091
2035
|
KW_SHOW(): antlr.TerminalNode | null;
|
|
2092
2036
|
KW_PRINCIPALS(): antlr.TerminalNode | null;
|
|
2093
|
-
KW_ROLES(): antlr.TerminalNode | null;
|
|
2094
|
-
KW_CURRENT(): antlr.TerminalNode | null;
|
|
2095
|
-
KW_EXPORT(): antlr.TerminalNode | null;
|
|
2096
|
-
KW_TABLE(): antlr.TerminalNode | null;
|
|
2097
|
-
KW_IMPORT(): antlr.TerminalNode | null;
|
|
2098
2037
|
KW_COMPACTIONS(): antlr.TerminalNode | null;
|
|
2099
2038
|
KW_TRANSACTIONS(): antlr.TerminalNode | null;
|
|
2100
2039
|
KW_INDEXES(): antlr.TerminalNode | null;
|
|
2101
2040
|
KW_LOCKS(): antlr.TerminalNode | null;
|
|
2041
|
+
KW_ROLES(): antlr.TerminalNode | null;
|
|
2042
|
+
KW_CURRENT(): antlr.TerminalNode | null;
|
|
2043
|
+
KW_TABLE(): antlr.TerminalNode | null;
|
|
2102
2044
|
KW_INDEX(): antlr.TerminalNode | null;
|
|
2103
2045
|
KW_ALTER(): antlr.TerminalNode | null;
|
|
2046
|
+
KW_EXPORT(): antlr.TerminalNode | null;
|
|
2047
|
+
KW_IMPORT(): antlr.TerminalNode | null;
|
|
2104
2048
|
KW_LOCK(): antlr.TerminalNode | null;
|
|
2105
|
-
KW_DATABASE(): antlr.TerminalNode | null;
|
|
2106
2049
|
KW_UNLOCK(): antlr.TerminalNode | null;
|
|
2050
|
+
KW_DATABASE(): antlr.TerminalNode | null;
|
|
2107
2051
|
KW_TEMPORARY(): antlr.TerminalNode | null;
|
|
2108
2052
|
KW_MACRO(): antlr.TerminalNode | null;
|
|
2109
2053
|
tableName(): TableNameContext | null;
|
|
2110
2054
|
KW_NOT(): antlr.TerminalNode | null;
|
|
2111
2055
|
KW_CLUSTERED(): antlr.TerminalNode | null;
|
|
2112
|
-
KW_BY(): antlr.TerminalNode | null;
|
|
2113
2056
|
KW_SORTED(): antlr.TerminalNode | null;
|
|
2114
2057
|
KW_SKEWED(): antlr.TerminalNode | null;
|
|
2058
|
+
KW_BY(): antlr.TerminalNode | null;
|
|
2115
2059
|
KW_STORED(): antlr.TerminalNode | null;
|
|
2116
2060
|
KW_AS(): antlr.TerminalNode | null;
|
|
2117
2061
|
KW_DIRECTORIES(): antlr.TerminalNode | null;
|
|
2118
2062
|
KW_SET(): antlr.TerminalNode | null;
|
|
2119
2063
|
KW_LOCATION(): antlr.TerminalNode | null;
|
|
2120
|
-
KW_EXCHANGE(): antlr.TerminalNode | null;
|
|
2121
2064
|
KW_PARTITION(): antlr.TerminalNode | null;
|
|
2065
|
+
KW_EXCHANGE(): antlr.TerminalNode | null;
|
|
2122
2066
|
KW_ARCHIVE(): antlr.TerminalNode | null;
|
|
2123
2067
|
KW_UNARCHIVE(): antlr.TerminalNode | null;
|
|
2124
2068
|
KW_TOUCH(): antlr.TerminalNode | null;
|
|
2125
2069
|
KW_COMPACT(): antlr.TerminalNode | null;
|
|
2126
|
-
partitionSpec(): PartitionSpecContext | null;
|
|
2127
2070
|
KW_CONCATENATE(): antlr.TerminalNode | null;
|
|
2071
|
+
partitionSpec(): PartitionSpecContext | null;
|
|
2128
2072
|
KW_FILEFORMAT(): antlr.TerminalNode | null;
|
|
2129
2073
|
KW_REPLACE(): antlr.TerminalNode | null;
|
|
2130
2074
|
KW_COLUMNS(): antlr.TerminalNode | null;
|
|
@@ -2138,31 +2082,6 @@ export declare class UnsupportedHiveNativeCommandsContext extends antlr.ParserRu
|
|
|
2138
2082
|
exitRule(listener: SparkSqlParserListener): void;
|
|
2139
2083
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2140
2084
|
}
|
|
2141
|
-
export declare class CreateTableHeaderContext extends antlr.ParserRuleContext {
|
|
2142
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2143
|
-
KW_CREATE(): antlr.TerminalNode;
|
|
2144
|
-
KW_TABLE(): antlr.TerminalNode;
|
|
2145
|
-
tableNameCreate(): TableNameCreateContext;
|
|
2146
|
-
KW_TEMPORARY(): antlr.TerminalNode | null;
|
|
2147
|
-
KW_EXTERNAL(): antlr.TerminalNode | null;
|
|
2148
|
-
ifNotExists(): IfNotExistsContext | null;
|
|
2149
|
-
get ruleIndex(): number;
|
|
2150
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
2151
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
2152
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2153
|
-
}
|
|
2154
|
-
export declare class ReplaceTableHeaderContext extends antlr.ParserRuleContext {
|
|
2155
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2156
|
-
KW_REPLACE(): antlr.TerminalNode;
|
|
2157
|
-
KW_TABLE(): antlr.TerminalNode;
|
|
2158
|
-
tableNameCreate(): TableNameCreateContext;
|
|
2159
|
-
KW_CREATE(): antlr.TerminalNode | null;
|
|
2160
|
-
KW_OR(): antlr.TerminalNode | null;
|
|
2161
|
-
get ruleIndex(): number;
|
|
2162
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
2163
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
2164
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2165
|
-
}
|
|
2166
2085
|
export declare class BucketSpecContext extends antlr.ParserRuleContext {
|
|
2167
2086
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2168
2087
|
KW_CLUSTERED(): antlr.TerminalNode;
|
|
@@ -2262,7 +2181,8 @@ export declare class InsertIntoContext extends antlr.ParserRuleContext {
|
|
|
2262
2181
|
export declare class PartitionSpecLocationContext extends antlr.ParserRuleContext {
|
|
2263
2182
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2264
2183
|
partitionSpec(): PartitionSpecContext;
|
|
2265
|
-
|
|
2184
|
+
KW_LOCATION(): antlr.TerminalNode | null;
|
|
2185
|
+
stringLit(): StringLitContext | null;
|
|
2266
2186
|
get ruleIndex(): number;
|
|
2267
2187
|
enterRule(listener: SparkSqlParserListener): void;
|
|
2268
2188
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -2303,16 +2223,6 @@ export declare class NamespaceContext extends antlr.ParserRuleContext {
|
|
|
2303
2223
|
exitRule(listener: SparkSqlParserListener): void;
|
|
2304
2224
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2305
2225
|
}
|
|
2306
|
-
export declare class NamespacesContext extends antlr.ParserRuleContext {
|
|
2307
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2308
|
-
KW_NAMESPACES(): antlr.TerminalNode | null;
|
|
2309
|
-
KW_DATABASES(): antlr.TerminalNode | null;
|
|
2310
|
-
KW_SCHEMAS(): antlr.TerminalNode | null;
|
|
2311
|
-
get ruleIndex(): number;
|
|
2312
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
2313
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
2314
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2315
|
-
}
|
|
2316
2226
|
export declare class DescribeFuncNameContext extends antlr.ParserRuleContext {
|
|
2317
2227
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2318
2228
|
identifierReference(): IdentifierReferenceContext | null;
|
|
@@ -2377,6 +2287,7 @@ export declare class TableProviderContext extends antlr.ParserRuleContext {
|
|
|
2377
2287
|
export declare class CreateTableClausesContext extends antlr.ParserRuleContext {
|
|
2378
2288
|
_options?: ExpressionPropertyListContext;
|
|
2379
2289
|
_partitioning?: PartitionFieldListContext;
|
|
2290
|
+
_comment?: StringLitContext;
|
|
2380
2291
|
_tableProps?: PropertyListContext;
|
|
2381
2292
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2382
2293
|
skewSpec(): SkewSpecContext[];
|
|
@@ -2387,10 +2298,12 @@ export declare class CreateTableClausesContext extends antlr.ParserRuleContext {
|
|
|
2387
2298
|
rowFormat(i: number): RowFormatContext | null;
|
|
2388
2299
|
createFileFormat(): CreateFileFormatContext[];
|
|
2389
2300
|
createFileFormat(i: number): CreateFileFormatContext | null;
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2301
|
+
KW_LOCATION(): antlr.TerminalNode[];
|
|
2302
|
+
KW_LOCATION(i: number): antlr.TerminalNode | null;
|
|
2303
|
+
stringLit(): StringLitContext[];
|
|
2304
|
+
stringLit(i: number): StringLitContext | null;
|
|
2305
|
+
KW_COMMENT(): antlr.TerminalNode[];
|
|
2306
|
+
KW_COMMENT(i: number): antlr.TerminalNode | null;
|
|
2394
2307
|
tableLifecycle(): TableLifecycleContext[];
|
|
2395
2308
|
tableLifecycle(i: number): TableLifecycleContext | null;
|
|
2396
2309
|
KW_OPTIONS(): antlr.TerminalNode[];
|
|
@@ -2557,15 +2470,6 @@ export declare class StorageHandlerContext extends antlr.ParserRuleContext {
|
|
|
2557
2470
|
exitRule(listener: SparkSqlParserListener): void;
|
|
2558
2471
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2559
2472
|
}
|
|
2560
|
-
export declare class ResourceContext extends antlr.ParserRuleContext {
|
|
2561
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2562
|
-
identifier(): IdentifierContext;
|
|
2563
|
-
stringLit(): StringLitContext;
|
|
2564
|
-
get ruleIndex(): number;
|
|
2565
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
2566
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
2567
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2568
|
-
}
|
|
2569
2473
|
export declare class DmlStatementNoWithContext extends antlr.ParserRuleContext {
|
|
2570
2474
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2571
2475
|
get ruleIndex(): number;
|
|
@@ -2585,8 +2489,10 @@ export declare class DeleteFromTableContext extends DmlStatementNoWithContext {
|
|
|
2585
2489
|
export declare class MultipleInsertContext extends DmlStatementNoWithContext {
|
|
2586
2490
|
constructor(ctx: DmlStatementNoWithContext);
|
|
2587
2491
|
fromClause(): FromClauseContext;
|
|
2588
|
-
|
|
2589
|
-
|
|
2492
|
+
insertInto(): InsertIntoContext[];
|
|
2493
|
+
insertInto(i: number): InsertIntoContext | null;
|
|
2494
|
+
fromStatementBody(): FromStatementBodyContext[];
|
|
2495
|
+
fromStatementBody(i: number): FromStatementBodyContext | null;
|
|
2590
2496
|
enterRule(listener: SparkSqlParserListener): void;
|
|
2591
2497
|
exitRule(listener: SparkSqlParserListener): void;
|
|
2592
2498
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
@@ -2696,6 +2602,14 @@ export declare class ColumnNameContext extends antlr.ParserRuleContext {
|
|
|
2696
2602
|
exitRule(listener: SparkSqlParserListener): void;
|
|
2697
2603
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2698
2604
|
}
|
|
2605
|
+
export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
|
|
2606
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2607
|
+
multipartIdentifier(): MultipartIdentifierContext;
|
|
2608
|
+
get ruleIndex(): number;
|
|
2609
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2610
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2611
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2612
|
+
}
|
|
2699
2613
|
export declare class ColumnNameSeqContext extends antlr.ParserRuleContext {
|
|
2700
2614
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2701
2615
|
columnName(): ColumnNameContext[];
|
|
@@ -2728,29 +2642,42 @@ export declare class IdentifierReferenceContext extends antlr.ParserRuleContext
|
|
|
2728
2642
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2729
2643
|
}
|
|
2730
2644
|
export declare class QueryOrganizationContext extends antlr.ParserRuleContext {
|
|
2731
|
-
_sortItem?: SortItemContext;
|
|
2732
|
-
_order: SortItemContext[];
|
|
2733
|
-
_expression?: ExpressionContext;
|
|
2734
|
-
_clusterBy: ExpressionContext[];
|
|
2735
|
-
_distributeBy: ExpressionContext[];
|
|
2736
|
-
_sort: SortItemContext[];
|
|
2737
|
-
_limit?: ExpressionContext;
|
|
2738
2645
|
_offset?: ExpressionContext;
|
|
2739
2646
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2740
2647
|
KW_ORDER(): antlr.TerminalNode | null;
|
|
2741
2648
|
KW_BY(): antlr.TerminalNode[];
|
|
2742
2649
|
KW_BY(i: number): antlr.TerminalNode | null;
|
|
2650
|
+
orderOrSortByClause(): OrderOrSortByClauseContext[];
|
|
2651
|
+
orderOrSortByClause(i: number): OrderOrSortByClauseContext | null;
|
|
2743
2652
|
KW_CLUSTER(): antlr.TerminalNode | null;
|
|
2653
|
+
clusterOrDistributeBy(): ClusterOrDistributeByContext[];
|
|
2654
|
+
clusterOrDistributeBy(i: number): ClusterOrDistributeByContext | null;
|
|
2744
2655
|
KW_DISTRIBUTE(): antlr.TerminalNode | null;
|
|
2745
2656
|
KW_SORT(): antlr.TerminalNode | null;
|
|
2746
2657
|
windowClause(): WindowClauseContext | null;
|
|
2747
|
-
|
|
2658
|
+
limitClause(): LimitClauseContext | null;
|
|
2748
2659
|
KW_OFFSET(): antlr.TerminalNode | null;
|
|
2660
|
+
expression(): ExpressionContext | null;
|
|
2661
|
+
get ruleIndex(): number;
|
|
2662
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2663
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2664
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2665
|
+
}
|
|
2666
|
+
export declare class LimitClauseContext extends antlr.ParserRuleContext {
|
|
2667
|
+
_limit?: ExpressionContext;
|
|
2668
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2669
|
+
KW_LIMIT(): antlr.TerminalNode;
|
|
2670
|
+
KW_ALL(): antlr.TerminalNode | null;
|
|
2671
|
+
expression(): ExpressionContext | null;
|
|
2672
|
+
get ruleIndex(): number;
|
|
2673
|
+
enterRule(listener: SparkSqlParserListener): void;
|
|
2674
|
+
exitRule(listener: SparkSqlParserListener): void;
|
|
2675
|
+
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2676
|
+
}
|
|
2677
|
+
export declare class OrderOrSortByClauseContext extends antlr.ParserRuleContext {
|
|
2678
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2749
2679
|
sortItem(): SortItemContext[];
|
|
2750
2680
|
sortItem(i: number): SortItemContext | null;
|
|
2751
|
-
expression(): ExpressionContext[];
|
|
2752
|
-
expression(i: number): ExpressionContext | null;
|
|
2753
|
-
KW_ALL(): antlr.TerminalNode | null;
|
|
2754
2681
|
COMMA(): antlr.TerminalNode[];
|
|
2755
2682
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
2756
2683
|
get ruleIndex(): number;
|
|
@@ -2758,10 +2685,12 @@ export declare class QueryOrganizationContext extends antlr.ParserRuleContext {
|
|
|
2758
2685
|
exitRule(listener: SparkSqlParserListener): void;
|
|
2759
2686
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2760
2687
|
}
|
|
2761
|
-
export declare class
|
|
2688
|
+
export declare class ClusterOrDistributeByContext extends antlr.ParserRuleContext {
|
|
2762
2689
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2763
|
-
|
|
2764
|
-
|
|
2690
|
+
expression(): ExpressionContext[];
|
|
2691
|
+
expression(i: number): ExpressionContext | null;
|
|
2692
|
+
COMMA(): antlr.TerminalNode[];
|
|
2693
|
+
COMMA(i: number): antlr.TerminalNode | null;
|
|
2765
2694
|
get ruleIndex(): number;
|
|
2766
2695
|
enterRule(listener: SparkSqlParserListener): void;
|
|
2767
2696
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -2788,10 +2717,17 @@ export declare class QueryTermContext extends antlr.ParserRuleContext {
|
|
|
2788
2717
|
export declare class QueryPrimaryContext extends antlr.ParserRuleContext {
|
|
2789
2718
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2790
2719
|
querySpecification(): QuerySpecificationContext | null;
|
|
2791
|
-
|
|
2720
|
+
fromClause(): FromClauseContext | null;
|
|
2721
|
+
fromStatementBody(): FromStatementBodyContext[];
|
|
2722
|
+
fromStatementBody(i: number): FromStatementBodyContext | null;
|
|
2792
2723
|
KW_TABLE(): antlr.TerminalNode | null;
|
|
2793
2724
|
tableName(): TableNameContext | null;
|
|
2794
|
-
|
|
2725
|
+
KW_VALUES(): antlr.TerminalNode | null;
|
|
2726
|
+
expression(): ExpressionContext[];
|
|
2727
|
+
expression(i: number): ExpressionContext | null;
|
|
2728
|
+
tableAlias(): TableAliasContext | null;
|
|
2729
|
+
COMMA(): antlr.TerminalNode[];
|
|
2730
|
+
COMMA(i: number): antlr.TerminalNode | null;
|
|
2795
2731
|
LEFT_PAREN(): antlr.TerminalNode | null;
|
|
2796
2732
|
query(): QueryContext | null;
|
|
2797
2733
|
RIGHT_PAREN(): antlr.TerminalNode | null;
|
|
@@ -2816,16 +2752,6 @@ export declare class SortItemContext extends antlr.ParserRuleContext {
|
|
|
2816
2752
|
exitRule(listener: SparkSqlParserListener): void;
|
|
2817
2753
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2818
2754
|
}
|
|
2819
|
-
export declare class FromStatementContext extends antlr.ParserRuleContext {
|
|
2820
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2821
|
-
fromClause(): FromClauseContext;
|
|
2822
|
-
fromStatementBody(): FromStatementBodyContext[];
|
|
2823
|
-
fromStatementBody(i: number): FromStatementBodyContext | null;
|
|
2824
|
-
get ruleIndex(): number;
|
|
2825
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
2826
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
2827
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2828
|
-
}
|
|
2829
2755
|
export declare class FromStatementBodyContext extends antlr.ParserRuleContext {
|
|
2830
2756
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2831
2757
|
transformClause(): TransformClauseContext | null;
|
|
@@ -2920,9 +2846,13 @@ export declare class MatchedClauseContext extends antlr.ParserRuleContext {
|
|
|
2920
2846
|
KW_WHEN(): antlr.TerminalNode;
|
|
2921
2847
|
KW_MATCHED(): antlr.TerminalNode;
|
|
2922
2848
|
KW_THEN(): antlr.TerminalNode;
|
|
2923
|
-
|
|
2849
|
+
KW_DELETE(): antlr.TerminalNode | null;
|
|
2850
|
+
KW_UPDATE(): antlr.TerminalNode | null;
|
|
2851
|
+
KW_SET(): antlr.TerminalNode | null;
|
|
2924
2852
|
KW_AND(): antlr.TerminalNode | null;
|
|
2925
2853
|
booleanExpression(): BooleanExpressionContext | null;
|
|
2854
|
+
ASTERISK(): antlr.TerminalNode | null;
|
|
2855
|
+
assignmentList(): AssignmentListContext | null;
|
|
2926
2856
|
get ruleIndex(): number;
|
|
2927
2857
|
enterRule(listener: SparkSqlParserListener): void;
|
|
2928
2858
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -2954,21 +2884,12 @@ export declare class NotMatchedBySourceClauseContext extends antlr.ParserRuleCon
|
|
|
2954
2884
|
KW_BY(): antlr.TerminalNode;
|
|
2955
2885
|
KW_SOURCE(): antlr.TerminalNode;
|
|
2956
2886
|
KW_THEN(): antlr.TerminalNode;
|
|
2957
|
-
notMatchedBySourceAction(): NotMatchedBySourceActionContext;
|
|
2958
|
-
KW_AND(): antlr.TerminalNode | null;
|
|
2959
|
-
booleanExpression(): BooleanExpressionContext | null;
|
|
2960
|
-
get ruleIndex(): number;
|
|
2961
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
2962
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
2963
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2964
|
-
}
|
|
2965
|
-
export declare class MatchedActionContext extends antlr.ParserRuleContext {
|
|
2966
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2967
2887
|
KW_DELETE(): antlr.TerminalNode | null;
|
|
2968
2888
|
KW_UPDATE(): antlr.TerminalNode | null;
|
|
2969
2889
|
KW_SET(): antlr.TerminalNode | null;
|
|
2970
|
-
ASTERISK(): antlr.TerminalNode | null;
|
|
2971
2890
|
assignmentList(): AssignmentListContext | null;
|
|
2891
|
+
KW_AND(): antlr.TerminalNode | null;
|
|
2892
|
+
booleanExpression(): BooleanExpressionContext | null;
|
|
2972
2893
|
get ruleIndex(): number;
|
|
2973
2894
|
enterRule(listener: SparkSqlParserListener): void;
|
|
2974
2895
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -2993,17 +2914,6 @@ export declare class NotMatchedActionContext extends antlr.ParserRuleContext {
|
|
|
2993
2914
|
exitRule(listener: SparkSqlParserListener): void;
|
|
2994
2915
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
2995
2916
|
}
|
|
2996
|
-
export declare class NotMatchedBySourceActionContext extends antlr.ParserRuleContext {
|
|
2997
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2998
|
-
KW_DELETE(): antlr.TerminalNode | null;
|
|
2999
|
-
KW_UPDATE(): antlr.TerminalNode | null;
|
|
3000
|
-
KW_SET(): antlr.TerminalNode | null;
|
|
3001
|
-
assignmentList(): AssignmentListContext | null;
|
|
3002
|
-
get ruleIndex(): number;
|
|
3003
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3004
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3005
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3006
|
-
}
|
|
3007
2917
|
export declare class AssignmentListContext extends antlr.ParserRuleContext {
|
|
3008
2918
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3009
2919
|
assignment(): AssignmentContext[];
|
|
@@ -3087,17 +2997,7 @@ export declare class FromClauseContext extends antlr.ParserRuleContext {
|
|
|
3087
2997
|
lateralView(): LateralViewContext[];
|
|
3088
2998
|
lateralView(i: number): LateralViewContext | null;
|
|
3089
2999
|
pivotClause(): PivotClauseContext | null;
|
|
3090
|
-
|
|
3091
|
-
get ruleIndex(): number;
|
|
3092
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3093
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3094
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3095
|
-
}
|
|
3096
|
-
export declare class FunctionKindContext extends antlr.ParserRuleContext {
|
|
3097
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3098
|
-
KW_USER(): antlr.TerminalNode | null;
|
|
3099
|
-
KW_SYSTEM(): antlr.TerminalNode | null;
|
|
3100
|
-
KW_ALL(): antlr.TerminalNode | null;
|
|
3000
|
+
unPivotClause(): UnPivotClauseContext | null;
|
|
3101
3001
|
get ruleIndex(): number;
|
|
3102
3002
|
enterRule(listener: SparkSqlParserListener): void;
|
|
3103
3003
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -3108,9 +3008,10 @@ export declare class TemporalClauseContext extends antlr.ParserRuleContext {
|
|
|
3108
3008
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3109
3009
|
KW_AS(): antlr.TerminalNode;
|
|
3110
3010
|
KW_OF(): antlr.TerminalNode;
|
|
3111
|
-
version(): VersionContext | null;
|
|
3112
3011
|
KW_SYSTEM_VERSION(): antlr.TerminalNode | null;
|
|
3113
3012
|
KW_VERSION(): antlr.TerminalNode | null;
|
|
3013
|
+
INTEGER_VALUE(): antlr.TerminalNode | null;
|
|
3014
|
+
stringLit(): StringLitContext | null;
|
|
3114
3015
|
KW_FOR(): antlr.TerminalNode | null;
|
|
3115
3016
|
KW_SYSTEM_TIME(): antlr.TerminalNode | null;
|
|
3116
3017
|
KW_TIMESTAMP(): antlr.TerminalNode | null;
|
|
@@ -3171,17 +3072,8 @@ export declare class GroupingAnalyticsContext extends antlr.ParserRuleContext {
|
|
|
3171
3072
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
3172
3073
|
KW_GROUPING(): antlr.TerminalNode | null;
|
|
3173
3074
|
KW_SETS(): antlr.TerminalNode | null;
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
get ruleIndex(): number;
|
|
3177
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3178
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3179
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3180
|
-
}
|
|
3181
|
-
export declare class GroupingElementContext extends antlr.ParserRuleContext {
|
|
3182
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3183
|
-
groupingAnalytics(): GroupingAnalyticsContext | null;
|
|
3184
|
-
groupingSet(): GroupingSetContext | null;
|
|
3075
|
+
groupingAnalytics(): GroupingAnalyticsContext[];
|
|
3076
|
+
groupingAnalytics(i: number): GroupingAnalyticsContext | null;
|
|
3185
3077
|
get ruleIndex(): number;
|
|
3186
3078
|
enterRule(listener: SparkSqlParserListener): void;
|
|
3187
3079
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -3250,53 +3142,35 @@ export declare class PivotValueContext extends antlr.ParserRuleContext {
|
|
|
3250
3142
|
exitRule(listener: SparkSqlParserListener): void;
|
|
3251
3143
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3252
3144
|
}
|
|
3253
|
-
export declare class
|
|
3254
|
-
_nullOperator?: UnpivotNullClauseContext;
|
|
3255
|
-
_operator?: UnpivotOperatorContext;
|
|
3145
|
+
export declare class UnPivotClauseContext extends antlr.ParserRuleContext {
|
|
3256
3146
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3257
3147
|
KW_UNPIVOT(): antlr.TerminalNode;
|
|
3258
3148
|
LEFT_PAREN(): antlr.TerminalNode;
|
|
3259
3149
|
RIGHT_PAREN(): antlr.TerminalNode;
|
|
3260
|
-
|
|
3150
|
+
unPivotSingleValueColumnClause(): UnPivotSingleValueColumnClauseContext | null;
|
|
3151
|
+
unPivotMultiValueColumnClause(): UnPivotMultiValueColumnClauseContext | null;
|
|
3152
|
+
KW_NULLS(): antlr.TerminalNode | null;
|
|
3261
3153
|
identifier(): IdentifierContext | null;
|
|
3262
|
-
unpivotNullClause(): UnpivotNullClauseContext | null;
|
|
3263
|
-
KW_AS(): antlr.TerminalNode | null;
|
|
3264
|
-
get ruleIndex(): number;
|
|
3265
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3266
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3267
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3268
|
-
}
|
|
3269
|
-
export declare class UnpivotNullClauseContext extends antlr.ParserRuleContext {
|
|
3270
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3271
|
-
KW_NULLS(): antlr.TerminalNode;
|
|
3272
3154
|
KW_INCLUDE(): antlr.TerminalNode | null;
|
|
3273
3155
|
KW_EXCLUDE(): antlr.TerminalNode | null;
|
|
3156
|
+
KW_AS(): antlr.TerminalNode | null;
|
|
3274
3157
|
get ruleIndex(): number;
|
|
3275
3158
|
enterRule(listener: SparkSqlParserListener): void;
|
|
3276
3159
|
exitRule(listener: SparkSqlParserListener): void;
|
|
3277
3160
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3278
3161
|
}
|
|
3279
|
-
export declare class
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
unpivotMultiValueColumnClause(): UnpivotMultiValueColumnClauseContext | null;
|
|
3283
|
-
get ruleIndex(): number;
|
|
3284
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3285
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3286
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3287
|
-
}
|
|
3288
|
-
export declare class UnpivotSingleValueColumnClauseContext extends antlr.ParserRuleContext {
|
|
3289
|
-
_unpivotColumnAndAlias?: UnpivotColumnAndAliasContext;
|
|
3290
|
-
_unpivotColumns: UnpivotColumnAndAliasContext[];
|
|
3162
|
+
export declare class UnPivotSingleValueColumnClauseContext extends antlr.ParserRuleContext {
|
|
3163
|
+
_unPivotColumnAndAlias?: UnPivotColumnAndAliasContext;
|
|
3164
|
+
_unPivotColumns: UnPivotColumnAndAliasContext[];
|
|
3291
3165
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3292
|
-
|
|
3166
|
+
identifier(): IdentifierContext[];
|
|
3167
|
+
identifier(i: number): IdentifierContext | null;
|
|
3293
3168
|
KW_FOR(): antlr.TerminalNode;
|
|
3294
|
-
unpivotNameColumn(): UnpivotNameColumnContext;
|
|
3295
3169
|
KW_IN(): antlr.TerminalNode;
|
|
3296
3170
|
LEFT_PAREN(): antlr.TerminalNode;
|
|
3297
3171
|
RIGHT_PAREN(): antlr.TerminalNode;
|
|
3298
|
-
|
|
3299
|
-
|
|
3172
|
+
unPivotColumnAndAlias(): UnPivotColumnAndAliasContext[];
|
|
3173
|
+
unPivotColumnAndAlias(i: number): UnPivotColumnAndAliasContext | null;
|
|
3300
3174
|
COMMA(): antlr.TerminalNode[];
|
|
3301
3175
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
3302
3176
|
get ruleIndex(): number;
|
|
@@ -3304,23 +3178,22 @@ export declare class UnpivotSingleValueColumnClauseContext extends antlr.ParserR
|
|
|
3304
3178
|
exitRule(listener: SparkSqlParserListener): void;
|
|
3305
3179
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3306
3180
|
}
|
|
3307
|
-
export declare class
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3181
|
+
export declare class UnPivotMultiValueColumnClauseContext extends antlr.ParserRuleContext {
|
|
3182
|
+
_identifier?: IdentifierContext;
|
|
3183
|
+
_unPivotValueColumns: IdentifierContext[];
|
|
3184
|
+
_unPivotColumnSet?: UnPivotColumnSetContext;
|
|
3185
|
+
_unPivotColumnSets: UnPivotColumnSetContext[];
|
|
3312
3186
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3313
3187
|
LEFT_PAREN(): antlr.TerminalNode[];
|
|
3314
3188
|
LEFT_PAREN(i: number): antlr.TerminalNode | null;
|
|
3315
3189
|
RIGHT_PAREN(): antlr.TerminalNode[];
|
|
3316
3190
|
RIGHT_PAREN(i: number): antlr.TerminalNode | null;
|
|
3317
3191
|
KW_FOR(): antlr.TerminalNode;
|
|
3318
|
-
|
|
3192
|
+
identifier(): IdentifierContext[];
|
|
3193
|
+
identifier(i: number): IdentifierContext | null;
|
|
3319
3194
|
KW_IN(): antlr.TerminalNode;
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
unpivotColumnSet(): UnpivotColumnSetContext[];
|
|
3323
|
-
unpivotColumnSet(i: number): UnpivotColumnSetContext | null;
|
|
3195
|
+
unPivotColumnSet(): UnPivotColumnSetContext[];
|
|
3196
|
+
unPivotColumnSet(i: number): UnPivotColumnSetContext | null;
|
|
3324
3197
|
COMMA(): antlr.TerminalNode[];
|
|
3325
3198
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
3326
3199
|
get ruleIndex(): number;
|
|
@@ -3328,58 +3201,27 @@ export declare class UnpivotMultiValueColumnClauseContext extends antlr.ParserRu
|
|
|
3328
3201
|
exitRule(listener: SparkSqlParserListener): void;
|
|
3329
3202
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3330
3203
|
}
|
|
3331
|
-
export declare class
|
|
3332
|
-
|
|
3333
|
-
|
|
3204
|
+
export declare class UnPivotColumnSetContext extends antlr.ParserRuleContext {
|
|
3205
|
+
_multipartIdentifier?: MultipartIdentifierContext;
|
|
3206
|
+
_unPivotColumns: MultipartIdentifierContext[];
|
|
3334
3207
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3335
3208
|
LEFT_PAREN(): antlr.TerminalNode;
|
|
3336
3209
|
RIGHT_PAREN(): antlr.TerminalNode;
|
|
3337
|
-
|
|
3338
|
-
|
|
3210
|
+
multipartIdentifier(): MultipartIdentifierContext[];
|
|
3211
|
+
multipartIdentifier(i: number): MultipartIdentifierContext | null;
|
|
3339
3212
|
COMMA(): antlr.TerminalNode[];
|
|
3340
3213
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3344
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3345
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3346
|
-
}
|
|
3347
|
-
export declare class UnpivotValueColumnContext extends antlr.ParserRuleContext {
|
|
3348
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3349
|
-
identifier(): IdentifierContext;
|
|
3350
|
-
get ruleIndex(): number;
|
|
3351
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3352
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3353
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3354
|
-
}
|
|
3355
|
-
export declare class UnpivotNameColumnContext extends antlr.ParserRuleContext {
|
|
3356
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3357
|
-
identifier(): IdentifierContext;
|
|
3358
|
-
get ruleIndex(): number;
|
|
3359
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3360
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3361
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3362
|
-
}
|
|
3363
|
-
export declare class UnpivotColumnAndAliasContext extends antlr.ParserRuleContext {
|
|
3364
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3365
|
-
unpivotColumn(): UnpivotColumnContext;
|
|
3366
|
-
unpivotAlias(): UnpivotAliasContext | null;
|
|
3214
|
+
identifier(): IdentifierContext | null;
|
|
3215
|
+
KW_AS(): antlr.TerminalNode | null;
|
|
3367
3216
|
get ruleIndex(): number;
|
|
3368
3217
|
enterRule(listener: SparkSqlParserListener): void;
|
|
3369
3218
|
exitRule(listener: SparkSqlParserListener): void;
|
|
3370
3219
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3371
3220
|
}
|
|
3372
|
-
export declare class
|
|
3221
|
+
export declare class UnPivotColumnAndAliasContext extends antlr.ParserRuleContext {
|
|
3373
3222
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3374
3223
|
multipartIdentifier(): MultipartIdentifierContext;
|
|
3375
|
-
|
|
3376
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3377
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3378
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3379
|
-
}
|
|
3380
|
-
export declare class UnpivotAliasContext extends antlr.ParserRuleContext {
|
|
3381
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3382
|
-
identifier(): IdentifierContext;
|
|
3224
|
+
identifier(): IdentifierContext | null;
|
|
3383
3225
|
KW_AS(): antlr.TerminalNode | null;
|
|
3384
3226
|
get ruleIndex(): number;
|
|
3385
3227
|
enterRule(listener: SparkSqlParserListener): void;
|
|
@@ -3442,18 +3284,12 @@ export declare class RelationContext extends antlr.ParserRuleContext {
|
|
|
3442
3284
|
tableName(): TableNameContext | null;
|
|
3443
3285
|
relationPrimary(): RelationPrimaryContext | null;
|
|
3444
3286
|
KW_LATERAL(): antlr.TerminalNode | null;
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
}
|
|
3452
|
-
export declare class RelationExtensionContext extends antlr.ParserRuleContext {
|
|
3453
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3454
|
-
joinRelation(): JoinRelationContext | null;
|
|
3455
|
-
pivotClause(): PivotClauseContext | null;
|
|
3456
|
-
unpivotClause(): UnpivotClauseContext | null;
|
|
3287
|
+
joinRelation(): JoinRelationContext[];
|
|
3288
|
+
joinRelation(i: number): JoinRelationContext | null;
|
|
3289
|
+
pivotClause(): PivotClauseContext[];
|
|
3290
|
+
pivotClause(i: number): PivotClauseContext | null;
|
|
3291
|
+
unPivotClause(): UnPivotClauseContext[];
|
|
3292
|
+
unPivotClause(i: number): UnPivotClauseContext | null;
|
|
3457
3293
|
get ruleIndex(): number;
|
|
3458
3294
|
enterRule(listener: SparkSqlParserListener): void;
|
|
3459
3295
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -3480,9 +3316,9 @@ export declare class JoinTypeContext extends antlr.ParserRuleContext {
|
|
|
3480
3316
|
KW_LEFT(): antlr.TerminalNode | null;
|
|
3481
3317
|
KW_OUTER(): antlr.TerminalNode | null;
|
|
3482
3318
|
KW_SEMI(): antlr.TerminalNode | null;
|
|
3319
|
+
KW_ANTI(): antlr.TerminalNode | null;
|
|
3483
3320
|
KW_RIGHT(): antlr.TerminalNode | null;
|
|
3484
3321
|
KW_FULL(): antlr.TerminalNode | null;
|
|
3485
|
-
KW_ANTI(): antlr.TerminalNode | null;
|
|
3486
3322
|
get ruleIndex(): number;
|
|
3487
3323
|
enterRule(listener: SparkSqlParserListener): void;
|
|
3488
3324
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -3605,9 +3441,11 @@ export declare class IdentifierCommentListContext extends antlr.ParserRuleContex
|
|
|
3605
3441
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3606
3442
|
}
|
|
3607
3443
|
export declare class IdentifierCommentContext extends antlr.ParserRuleContext {
|
|
3444
|
+
_comment?: StringLitContext;
|
|
3608
3445
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3609
3446
|
columnNameCreate(): ColumnNameCreateContext;
|
|
3610
|
-
|
|
3447
|
+
KW_COMMENT(): antlr.TerminalNode | null;
|
|
3448
|
+
stringLit(): StringLitContext | null;
|
|
3611
3449
|
get ruleIndex(): number;
|
|
3612
3450
|
enterRule(listener: SparkSqlParserListener): void;
|
|
3613
3451
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -3615,7 +3453,7 @@ export declare class IdentifierCommentContext extends antlr.ParserRuleContext {
|
|
|
3615
3453
|
}
|
|
3616
3454
|
export declare class RelationPrimaryContext extends antlr.ParserRuleContext {
|
|
3617
3455
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3618
|
-
tableAlias(): TableAliasContext
|
|
3456
|
+
tableAlias(): TableAliasContext;
|
|
3619
3457
|
tableName(): TableNameContext | null;
|
|
3620
3458
|
viewName(): ViewNameContext | null;
|
|
3621
3459
|
identifierReference(): IdentifierReferenceContext | null;
|
|
@@ -3625,21 +3463,14 @@ export declare class RelationPrimaryContext extends antlr.ParserRuleContext {
|
|
|
3625
3463
|
query(): QueryContext | null;
|
|
3626
3464
|
RIGHT_PAREN(): antlr.TerminalNode | null;
|
|
3627
3465
|
relation(): RelationContext | null;
|
|
3628
|
-
|
|
3629
|
-
functionTable(): FunctionTableContext | null;
|
|
3630
|
-
get ruleIndex(): number;
|
|
3631
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3632
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3633
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3634
|
-
}
|
|
3635
|
-
export declare class InlineTableContext extends antlr.ParserRuleContext {
|
|
3636
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3637
|
-
KW_VALUES(): antlr.TerminalNode;
|
|
3466
|
+
KW_VALUES(): antlr.TerminalNode | null;
|
|
3638
3467
|
expression(): ExpressionContext[];
|
|
3639
3468
|
expression(i: number): ExpressionContext | null;
|
|
3640
|
-
tableAlias(): TableAliasContext;
|
|
3641
3469
|
COMMA(): antlr.TerminalNode[];
|
|
3642
3470
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
3471
|
+
functionName(): FunctionNameContext | null;
|
|
3472
|
+
functionTableArgument(): FunctionTableArgumentContext[];
|
|
3473
|
+
functionTableArgument(i: number): FunctionTableArgumentContext | null;
|
|
3643
3474
|
get ruleIndex(): number;
|
|
3644
3475
|
enterRule(listener: SparkSqlParserListener): void;
|
|
3645
3476
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -3672,10 +3503,10 @@ export declare class TableArgumentPartitioningContext extends antlr.ParserRuleCo
|
|
|
3672
3503
|
KW_DISTRIBUTE(): antlr.TerminalNode | null;
|
|
3673
3504
|
expression(): ExpressionContext[];
|
|
3674
3505
|
expression(i: number): ExpressionContext | null;
|
|
3675
|
-
sortItem(): SortItemContext
|
|
3676
|
-
sortItem(i: number): SortItemContext | null;
|
|
3506
|
+
sortItem(): SortItemContext | null;
|
|
3677
3507
|
LEFT_PAREN(): antlr.TerminalNode[];
|
|
3678
3508
|
LEFT_PAREN(i: number): antlr.TerminalNode | null;
|
|
3509
|
+
orderOrSortByClause(): OrderOrSortByClauseContext | null;
|
|
3679
3510
|
RIGHT_PAREN(): antlr.TerminalNode[];
|
|
3680
3511
|
RIGHT_PAREN(i: number): antlr.TerminalNode | null;
|
|
3681
3512
|
COMMA(): antlr.TerminalNode[];
|
|
@@ -3715,21 +3546,6 @@ export declare class FunctionTableArgumentContext extends antlr.ParserRuleContex
|
|
|
3715
3546
|
exitRule(listener: SparkSqlParserListener): void;
|
|
3716
3547
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3717
3548
|
}
|
|
3718
|
-
export declare class FunctionTableContext extends antlr.ParserRuleContext {
|
|
3719
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3720
|
-
functionName(): FunctionNameContext;
|
|
3721
|
-
LEFT_PAREN(): antlr.TerminalNode;
|
|
3722
|
-
RIGHT_PAREN(): antlr.TerminalNode;
|
|
3723
|
-
tableAlias(): TableAliasContext;
|
|
3724
|
-
functionTableArgument(): FunctionTableArgumentContext[];
|
|
3725
|
-
functionTableArgument(i: number): FunctionTableArgumentContext | null;
|
|
3726
|
-
COMMA(): antlr.TerminalNode[];
|
|
3727
|
-
COMMA(i: number): antlr.TerminalNode | null;
|
|
3728
|
-
get ruleIndex(): number;
|
|
3729
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
3730
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
3731
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
3732
|
-
}
|
|
3733
3549
|
export declare class TableAliasContext extends antlr.ParserRuleContext {
|
|
3734
3550
|
_alias?: StrictIdentifierContext;
|
|
3735
3551
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
@@ -4162,6 +3978,7 @@ export declare class PrimaryExpressionContext extends antlr.ParserRuleContext {
|
|
|
4162
3978
|
identifier(): IdentifierContext[];
|
|
4163
3979
|
identifier(i: number): IdentifierContext | null;
|
|
4164
3980
|
ARROW(): antlr.TerminalNode | null;
|
|
3981
|
+
columnNamePath(): ColumnNamePathContext | null;
|
|
4165
3982
|
KW_EXTRACT(): antlr.TerminalNode | null;
|
|
4166
3983
|
KW_FROM(): antlr.TerminalNode | null;
|
|
4167
3984
|
KW_SUBSTR(): antlr.TerminalNode | null;
|
|
@@ -4446,7 +4263,8 @@ export declare class DataTypeContext extends antlr.ParserRuleContext {
|
|
|
4446
4263
|
KW_MAP(): antlr.TerminalNode | null;
|
|
4447
4264
|
KW_STRUCT(): antlr.TerminalNode | null;
|
|
4448
4265
|
NEQ(): antlr.TerminalNode | null;
|
|
4449
|
-
|
|
4266
|
+
complexColType(): ComplexColTypeContext[];
|
|
4267
|
+
complexColType(i: number): ComplexColTypeContext | null;
|
|
4450
4268
|
KW_INTERVAL(): antlr.TerminalNode | null;
|
|
4451
4269
|
KW_YEAR(): antlr.TerminalNode | null;
|
|
4452
4270
|
KW_MONTH(): antlr.TerminalNode[];
|
|
@@ -4516,26 +4334,20 @@ export declare class QualifiedColTypeWithPositionForReplaceContext extends antlr
|
|
|
4516
4334
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4517
4335
|
}
|
|
4518
4336
|
export declare class ColDefinitionDescriptorWithPositionContext extends antlr.ParserRuleContext {
|
|
4337
|
+
_comment?: StringLitContext;
|
|
4519
4338
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4520
4339
|
KW_NOT(): antlr.TerminalNode | null;
|
|
4521
4340
|
KW_NULL(): antlr.TerminalNode | null;
|
|
4522
|
-
|
|
4523
|
-
|
|
4341
|
+
KW_DEFAULT(): antlr.TerminalNode | null;
|
|
4342
|
+
expression(): ExpressionContext | null;
|
|
4343
|
+
KW_COMMENT(): antlr.TerminalNode | null;
|
|
4344
|
+
stringLit(): StringLitContext | null;
|
|
4524
4345
|
colPosition(): ColPositionContext | null;
|
|
4525
4346
|
get ruleIndex(): number;
|
|
4526
4347
|
enterRule(listener: SparkSqlParserListener): void;
|
|
4527
4348
|
exitRule(listener: SparkSqlParserListener): void;
|
|
4528
4349
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4529
4350
|
}
|
|
4530
|
-
export declare class DefaultExpressionContext extends antlr.ParserRuleContext {
|
|
4531
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4532
|
-
KW_DEFAULT(): antlr.TerminalNode;
|
|
4533
|
-
expression(): ExpressionContext;
|
|
4534
|
-
get ruleIndex(): number;
|
|
4535
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
4536
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
4537
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4538
|
-
}
|
|
4539
4351
|
export declare class VariableDefaultExpressionContext extends antlr.ParserRuleContext {
|
|
4540
4352
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4541
4353
|
expression(): ExpressionContext;
|
|
@@ -4559,12 +4371,14 @@ export declare class ColTypeListContext extends antlr.ParserRuleContext {
|
|
|
4559
4371
|
}
|
|
4560
4372
|
export declare class ColumnTypeContext extends antlr.ParserRuleContext {
|
|
4561
4373
|
_colName?: ErrorCapturingIdentifierContext;
|
|
4374
|
+
_comment?: StringLitContext;
|
|
4562
4375
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4563
4376
|
dataType(): DataTypeContext;
|
|
4564
4377
|
errorCapturingIdentifier(): ErrorCapturingIdentifierContext;
|
|
4565
4378
|
KW_NOT(): antlr.TerminalNode | null;
|
|
4566
4379
|
KW_NULL(): antlr.TerminalNode | null;
|
|
4567
|
-
|
|
4380
|
+
KW_COMMENT(): antlr.TerminalNode | null;
|
|
4381
|
+
stringLit(): StringLitContext | null;
|
|
4568
4382
|
get ruleIndex(): number;
|
|
4569
4383
|
enterRule(listener: SparkSqlParserListener): void;
|
|
4570
4384
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -4595,49 +4409,34 @@ export declare class CreateOrReplaceTableColTypeContext extends antlr.ParserRule
|
|
|
4595
4409
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4596
4410
|
}
|
|
4597
4411
|
export declare class ColDefinitionOptionContext extends antlr.ParserRuleContext {
|
|
4412
|
+
_comment?: StringLitContext;
|
|
4598
4413
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4599
4414
|
KW_NOT(): antlr.TerminalNode | null;
|
|
4600
4415
|
KW_NULL(): antlr.TerminalNode | null;
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4611
|
-
KW_GENERATED(): antlr.TerminalNode;
|
|
4612
|
-
KW_ALWAYS(): antlr.TerminalNode;
|
|
4613
|
-
KW_AS(): antlr.TerminalNode;
|
|
4614
|
-
LEFT_PAREN(): antlr.TerminalNode;
|
|
4615
|
-
expression(): ExpressionContext;
|
|
4616
|
-
RIGHT_PAREN(): antlr.TerminalNode;
|
|
4617
|
-
get ruleIndex(): number;
|
|
4618
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
4619
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
4620
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4621
|
-
}
|
|
4622
|
-
export declare class ComplexColTypeListContext extends antlr.ParserRuleContext {
|
|
4623
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4624
|
-
complexColType(): ComplexColTypeContext[];
|
|
4625
|
-
complexColType(i: number): ComplexColTypeContext | null;
|
|
4626
|
-
COMMA(): antlr.TerminalNode[];
|
|
4627
|
-
COMMA(i: number): antlr.TerminalNode | null;
|
|
4416
|
+
KW_DEFAULT(): antlr.TerminalNode | null;
|
|
4417
|
+
expression(): ExpressionContext | null;
|
|
4418
|
+
KW_GENERATED(): antlr.TerminalNode | null;
|
|
4419
|
+
KW_ALWAYS(): antlr.TerminalNode | null;
|
|
4420
|
+
KW_AS(): antlr.TerminalNode | null;
|
|
4421
|
+
LEFT_PAREN(): antlr.TerminalNode | null;
|
|
4422
|
+
RIGHT_PAREN(): antlr.TerminalNode | null;
|
|
4423
|
+
KW_COMMENT(): antlr.TerminalNode | null;
|
|
4424
|
+
stringLit(): StringLitContext | null;
|
|
4628
4425
|
get ruleIndex(): number;
|
|
4629
4426
|
enterRule(listener: SparkSqlParserListener): void;
|
|
4630
4427
|
exitRule(listener: SparkSqlParserListener): void;
|
|
4631
4428
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4632
4429
|
}
|
|
4633
4430
|
export declare class ComplexColTypeContext extends antlr.ParserRuleContext {
|
|
4431
|
+
_comment?: StringLitContext;
|
|
4634
4432
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4635
4433
|
identifier(): IdentifierContext;
|
|
4636
4434
|
dataType(): DataTypeContext;
|
|
4637
4435
|
COLON(): antlr.TerminalNode | null;
|
|
4638
4436
|
KW_NOT(): antlr.TerminalNode | null;
|
|
4639
4437
|
KW_NULL(): antlr.TerminalNode | null;
|
|
4640
|
-
|
|
4438
|
+
KW_COMMENT(): antlr.TerminalNode | null;
|
|
4439
|
+
stringLit(): StringLitContext | null;
|
|
4641
4440
|
get ruleIndex(): number;
|
|
4642
4441
|
enterRule(listener: SparkSqlParserListener): void;
|
|
4643
4442
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -4657,10 +4456,15 @@ export declare class WhenClauseContext extends antlr.ParserRuleContext {
|
|
|
4657
4456
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4658
4457
|
}
|
|
4659
4458
|
export declare class WindowClauseContext extends antlr.ParserRuleContext {
|
|
4459
|
+
_name?: ErrorCapturingIdentifierContext;
|
|
4660
4460
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4661
4461
|
KW_WINDOW(): antlr.TerminalNode;
|
|
4662
|
-
|
|
4663
|
-
|
|
4462
|
+
KW_AS(): antlr.TerminalNode[];
|
|
4463
|
+
KW_AS(i: number): antlr.TerminalNode | null;
|
|
4464
|
+
windowSpec(): WindowSpecContext[];
|
|
4465
|
+
windowSpec(i: number): WindowSpecContext | null;
|
|
4466
|
+
errorCapturingIdentifier(): ErrorCapturingIdentifierContext[];
|
|
4467
|
+
errorCapturingIdentifier(i: number): ErrorCapturingIdentifierContext | null;
|
|
4664
4468
|
COMMA(): antlr.TerminalNode[];
|
|
4665
4469
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
4666
4470
|
get ruleIndex(): number;
|
|
@@ -4668,7 +4472,7 @@ export declare class WindowClauseContext extends antlr.ParserRuleContext {
|
|
|
4668
4472
|
exitRule(listener: SparkSqlParserListener): void;
|
|
4669
4473
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4670
4474
|
}
|
|
4671
|
-
export declare class
|
|
4475
|
+
export declare class ZOrderClauseContext extends antlr.ParserRuleContext {
|
|
4672
4476
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4673
4477
|
KW_ZORDER(): antlr.TerminalNode;
|
|
4674
4478
|
KW_BY(): antlr.TerminalNode;
|
|
@@ -4678,17 +4482,6 @@ export declare class ZorderClauseContext extends antlr.ParserRuleContext {
|
|
|
4678
4482
|
exitRule(listener: SparkSqlParserListener): void;
|
|
4679
4483
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4680
4484
|
}
|
|
4681
|
-
export declare class NamedWindowContext extends antlr.ParserRuleContext {
|
|
4682
|
-
_name?: ErrorCapturingIdentifierContext;
|
|
4683
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4684
|
-
KW_AS(): antlr.TerminalNode;
|
|
4685
|
-
windowSpec(): WindowSpecContext;
|
|
4686
|
-
errorCapturingIdentifier(): ErrorCapturingIdentifierContext;
|
|
4687
|
-
get ruleIndex(): number;
|
|
4688
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
4689
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
4690
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4691
|
-
}
|
|
4692
4485
|
export declare class WindowSpecContext extends antlr.ParserRuleContext {
|
|
4693
4486
|
_name?: ErrorCapturingIdentifierContext;
|
|
4694
4487
|
_expression?: ExpressionContext;
|
|
@@ -4705,8 +4498,7 @@ export declare class WindowSpecContext extends antlr.ParserRuleContext {
|
|
|
4705
4498
|
windowFrame(): WindowFrameContext | null;
|
|
4706
4499
|
COMMA(): antlr.TerminalNode[];
|
|
4707
4500
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
4708
|
-
|
|
4709
|
-
sortItem(i: number): SortItemContext | null;
|
|
4501
|
+
orderOrSortByClause(): OrderOrSortByClauseContext | null;
|
|
4710
4502
|
KW_PARTITION(): antlr.TerminalNode | null;
|
|
4711
4503
|
KW_DISTRIBUTE(): antlr.TerminalNode | null;
|
|
4712
4504
|
KW_ORDER(): antlr.TerminalNode | null;
|
|
@@ -4721,9 +4513,9 @@ export declare class WindowFrameContext extends antlr.ParserRuleContext {
|
|
|
4721
4513
|
_start_?: FrameBoundContext;
|
|
4722
4514
|
_end?: FrameBoundContext;
|
|
4723
4515
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4724
|
-
KW_RANGE(): antlr.TerminalNode | null;
|
|
4725
4516
|
frameBound(): FrameBoundContext[];
|
|
4726
4517
|
frameBound(i: number): FrameBoundContext | null;
|
|
4518
|
+
KW_RANGE(): antlr.TerminalNode | null;
|
|
4727
4519
|
KW_ROWS(): antlr.TerminalNode | null;
|
|
4728
4520
|
KW_BETWEEN(): antlr.TerminalNode | null;
|
|
4729
4521
|
KW_AND(): antlr.TerminalNode | null;
|
|
@@ -4840,18 +4632,9 @@ export declare class QuotedIdentifierContext extends antlr.ParserRuleContext {
|
|
|
4840
4632
|
exitRule(listener: SparkSqlParserListener): void;
|
|
4841
4633
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4842
4634
|
}
|
|
4843
|
-
export declare class BackQuotedIdentifierContext extends antlr.ParserRuleContext {
|
|
4844
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4845
|
-
BACKQUOTED_IDENTIFIER(): antlr.TerminalNode;
|
|
4846
|
-
get ruleIndex(): number;
|
|
4847
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
4848
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
4849
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4850
|
-
}
|
|
4851
4635
|
export declare class NumberContext extends antlr.ParserRuleContext {
|
|
4852
4636
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4853
4637
|
EXPONENT_VALUE(): antlr.TerminalNode | null;
|
|
4854
|
-
MINUS(): antlr.TerminalNode | null;
|
|
4855
4638
|
DECIMAL_VALUE(): antlr.TerminalNode | null;
|
|
4856
4639
|
INTEGER_VALUE(): antlr.TerminalNode | null;
|
|
4857
4640
|
BIGINT_LITERAL(): antlr.TerminalNode | null;
|
|
@@ -4860,25 +4643,28 @@ export declare class NumberContext extends antlr.ParserRuleContext {
|
|
|
4860
4643
|
DOUBLE_LITERAL(): antlr.TerminalNode | null;
|
|
4861
4644
|
FLOAT_LITERAL(): antlr.TerminalNode | null;
|
|
4862
4645
|
BIGDECIMAL_LITERAL(): antlr.TerminalNode | null;
|
|
4646
|
+
MINUS(): antlr.TerminalNode | null;
|
|
4863
4647
|
get ruleIndex(): number;
|
|
4864
4648
|
enterRule(listener: SparkSqlParserListener): void;
|
|
4865
4649
|
exitRule(listener: SparkSqlParserListener): void;
|
|
4866
4650
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4867
4651
|
}
|
|
4868
4652
|
export declare class AlterColumnActionContext extends antlr.ParserRuleContext {
|
|
4653
|
+
_comment?: StringLitContext;
|
|
4869
4654
|
_setOrDrop?: Token | null;
|
|
4870
4655
|
_dropDefault?: Token | null;
|
|
4871
4656
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4872
4657
|
KW_TYPE(): antlr.TerminalNode | null;
|
|
4873
4658
|
dataType(): DataTypeContext | null;
|
|
4874
|
-
|
|
4659
|
+
KW_COMMENT(): antlr.TerminalNode | null;
|
|
4660
|
+
stringLit(): StringLitContext | null;
|
|
4875
4661
|
colPosition(): ColPositionContext | null;
|
|
4876
4662
|
KW_NOT(): antlr.TerminalNode | null;
|
|
4877
4663
|
KW_NULL(): antlr.TerminalNode | null;
|
|
4878
4664
|
KW_SET(): antlr.TerminalNode | null;
|
|
4879
4665
|
KW_DROP(): antlr.TerminalNode | null;
|
|
4880
|
-
defaultExpression(): DefaultExpressionContext | null;
|
|
4881
4666
|
KW_DEFAULT(): antlr.TerminalNode | null;
|
|
4667
|
+
expression(): ExpressionContext | null;
|
|
4882
4668
|
get ruleIndex(): number;
|
|
4883
4669
|
enterRule(listener: SparkSqlParserListener): void;
|
|
4884
4670
|
exitRule(listener: SparkSqlParserListener): void;
|
|
@@ -4893,24 +4679,6 @@ export declare class StringLitContext extends antlr.ParserRuleContext {
|
|
|
4893
4679
|
exitRule(listener: SparkSqlParserListener): void;
|
|
4894
4680
|
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4895
4681
|
}
|
|
4896
|
-
export declare class CommentStrContext extends antlr.ParserRuleContext {
|
|
4897
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4898
|
-
stringLit(): StringLitContext | null;
|
|
4899
|
-
KW_NULL(): antlr.TerminalNode | null;
|
|
4900
|
-
get ruleIndex(): number;
|
|
4901
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
4902
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
4903
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4904
|
-
}
|
|
4905
|
-
export declare class VersionContext extends antlr.ParserRuleContext {
|
|
4906
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4907
|
-
INTEGER_VALUE(): antlr.TerminalNode | null;
|
|
4908
|
-
stringLit(): StringLitContext | null;
|
|
4909
|
-
get ruleIndex(): number;
|
|
4910
|
-
enterRule(listener: SparkSqlParserListener): void;
|
|
4911
|
-
exitRule(listener: SparkSqlParserListener): void;
|
|
4912
|
-
accept<Result>(visitor: SparkSqlParserVisitor<Result>): Result | null;
|
|
4913
|
-
}
|
|
4914
4682
|
export declare class AnsiNonReservedContext extends antlr.ParserRuleContext {
|
|
4915
4683
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
4916
4684
|
KW_ADD(): antlr.TerminalNode | null;
|