-
Notifications
You must be signed in to change notification settings - Fork 2
/
SparkSQLListener.py
2487 lines (1659 loc) · 85.5 KB
/
SparkSQLListener.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Generated from SparkSQL/SparkSQL.g4 by ANTLR 4.8
from antlr4 import *
if __name__ is not None and "." in __name__:
from .SparkSQLParser import SparkSQLParser
else:
from SparkSQLParser import SparkSQLParser
# This class defines a complete listener for a parse tree produced by SparkSQLParser.
class SparkSQLListener(ParseTreeListener):
# Enter a parse tree produced by SparkSQLParser#singleStatement.
def enterSingleStatement(self, ctx:SparkSQLParser.SingleStatementContext):
pass
# Exit a parse tree produced by SparkSQLParser#singleStatement.
def exitSingleStatement(self, ctx:SparkSQLParser.SingleStatementContext):
pass
# Enter a parse tree produced by SparkSQLParser#singleExpression.
def enterSingleExpression(self, ctx:SparkSQLParser.SingleExpressionContext):
pass
# Exit a parse tree produced by SparkSQLParser#singleExpression.
def exitSingleExpression(self, ctx:SparkSQLParser.SingleExpressionContext):
pass
# Enter a parse tree produced by SparkSQLParser#singleTableIdentifier.
def enterSingleTableIdentifier(self, ctx:SparkSQLParser.SingleTableIdentifierContext):
pass
# Exit a parse tree produced by SparkSQLParser#singleTableIdentifier.
def exitSingleTableIdentifier(self, ctx:SparkSQLParser.SingleTableIdentifierContext):
pass
# Enter a parse tree produced by SparkSQLParser#singleMultipartIdentifier.
def enterSingleMultipartIdentifier(self, ctx:SparkSQLParser.SingleMultipartIdentifierContext):
pass
# Exit a parse tree produced by SparkSQLParser#singleMultipartIdentifier.
def exitSingleMultipartIdentifier(self, ctx:SparkSQLParser.SingleMultipartIdentifierContext):
pass
# Enter a parse tree produced by SparkSQLParser#singleFunctionIdentifier.
def enterSingleFunctionIdentifier(self, ctx:SparkSQLParser.SingleFunctionIdentifierContext):
pass
# Exit a parse tree produced by SparkSQLParser#singleFunctionIdentifier.
def exitSingleFunctionIdentifier(self, ctx:SparkSQLParser.SingleFunctionIdentifierContext):
pass
# Enter a parse tree produced by SparkSQLParser#singleDataType.
def enterSingleDataType(self, ctx:SparkSQLParser.SingleDataTypeContext):
pass
# Exit a parse tree produced by SparkSQLParser#singleDataType.
def exitSingleDataType(self, ctx:SparkSQLParser.SingleDataTypeContext):
pass
# Enter a parse tree produced by SparkSQLParser#singleTableSchema.
def enterSingleTableSchema(self, ctx:SparkSQLParser.SingleTableSchemaContext):
pass
# Exit a parse tree produced by SparkSQLParser#singleTableSchema.
def exitSingleTableSchema(self, ctx:SparkSQLParser.SingleTableSchemaContext):
pass
# Enter a parse tree produced by SparkSQLParser#statementDefault.
def enterStatementDefault(self, ctx:SparkSQLParser.StatementDefaultContext):
pass
# Exit a parse tree produced by SparkSQLParser#statementDefault.
def exitStatementDefault(self, ctx:SparkSQLParser.StatementDefaultContext):
pass
# Enter a parse tree produced by SparkSQLParser#dmlStatement.
def enterDmlStatement(self, ctx:SparkSQLParser.DmlStatementContext):
pass
# Exit a parse tree produced by SparkSQLParser#dmlStatement.
def exitDmlStatement(self, ctx:SparkSQLParser.DmlStatementContext):
pass
# Enter a parse tree produced by SparkSQLParser#use.
def enterUse(self, ctx:SparkSQLParser.UseContext):
pass
# Exit a parse tree produced by SparkSQLParser#use.
def exitUse(self, ctx:SparkSQLParser.UseContext):
pass
# Enter a parse tree produced by SparkSQLParser#createNamespace.
def enterCreateNamespace(self, ctx:SparkSQLParser.CreateNamespaceContext):
pass
# Exit a parse tree produced by SparkSQLParser#createNamespace.
def exitCreateNamespace(self, ctx:SparkSQLParser.CreateNamespaceContext):
pass
# Enter a parse tree produced by SparkSQLParser#setNamespaceProperties.
def enterSetNamespaceProperties(self, ctx:SparkSQLParser.SetNamespacePropertiesContext):
pass
# Exit a parse tree produced by SparkSQLParser#setNamespaceProperties.
def exitSetNamespaceProperties(self, ctx:SparkSQLParser.SetNamespacePropertiesContext):
pass
# Enter a parse tree produced by SparkSQLParser#setNamespaceLocation.
def enterSetNamespaceLocation(self, ctx:SparkSQLParser.SetNamespaceLocationContext):
pass
# Exit a parse tree produced by SparkSQLParser#setNamespaceLocation.
def exitSetNamespaceLocation(self, ctx:SparkSQLParser.SetNamespaceLocationContext):
pass
# Enter a parse tree produced by SparkSQLParser#dropNamespace.
def enterDropNamespace(self, ctx:SparkSQLParser.DropNamespaceContext):
pass
# Exit a parse tree produced by SparkSQLParser#dropNamespace.
def exitDropNamespace(self, ctx:SparkSQLParser.DropNamespaceContext):
pass
# Enter a parse tree produced by SparkSQLParser#showNamespaces.
def enterShowNamespaces(self, ctx:SparkSQLParser.ShowNamespacesContext):
pass
# Exit a parse tree produced by SparkSQLParser#showNamespaces.
def exitShowNamespaces(self, ctx:SparkSQLParser.ShowNamespacesContext):
pass
# Enter a parse tree produced by SparkSQLParser#createTable.
def enterCreateTable(self, ctx:SparkSQLParser.CreateTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#createTable.
def exitCreateTable(self, ctx:SparkSQLParser.CreateTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#createHiveTable.
def enterCreateHiveTable(self, ctx:SparkSQLParser.CreateHiveTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#createHiveTable.
def exitCreateHiveTable(self, ctx:SparkSQLParser.CreateHiveTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#createTableLike.
def enterCreateTableLike(self, ctx:SparkSQLParser.CreateTableLikeContext):
pass
# Exit a parse tree produced by SparkSQLParser#createTableLike.
def exitCreateTableLike(self, ctx:SparkSQLParser.CreateTableLikeContext):
pass
# Enter a parse tree produced by SparkSQLParser#replaceTable.
def enterReplaceTable(self, ctx:SparkSQLParser.ReplaceTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#replaceTable.
def exitReplaceTable(self, ctx:SparkSQLParser.ReplaceTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#analyze.
def enterAnalyze(self, ctx:SparkSQLParser.AnalyzeContext):
pass
# Exit a parse tree produced by SparkSQLParser#analyze.
def exitAnalyze(self, ctx:SparkSQLParser.AnalyzeContext):
pass
# Enter a parse tree produced by SparkSQLParser#addTableColumns.
def enterAddTableColumns(self, ctx:SparkSQLParser.AddTableColumnsContext):
pass
# Exit a parse tree produced by SparkSQLParser#addTableColumns.
def exitAddTableColumns(self, ctx:SparkSQLParser.AddTableColumnsContext):
pass
# Enter a parse tree produced by SparkSQLParser#renameTableColumn.
def enterRenameTableColumn(self, ctx:SparkSQLParser.RenameTableColumnContext):
pass
# Exit a parse tree produced by SparkSQLParser#renameTableColumn.
def exitRenameTableColumn(self, ctx:SparkSQLParser.RenameTableColumnContext):
pass
# Enter a parse tree produced by SparkSQLParser#dropTableColumns.
def enterDropTableColumns(self, ctx:SparkSQLParser.DropTableColumnsContext):
pass
# Exit a parse tree produced by SparkSQLParser#dropTableColumns.
def exitDropTableColumns(self, ctx:SparkSQLParser.DropTableColumnsContext):
pass
# Enter a parse tree produced by SparkSQLParser#renameTable.
def enterRenameTable(self, ctx:SparkSQLParser.RenameTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#renameTable.
def exitRenameTable(self, ctx:SparkSQLParser.RenameTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#setTableProperties.
def enterSetTableProperties(self, ctx:SparkSQLParser.SetTablePropertiesContext):
pass
# Exit a parse tree produced by SparkSQLParser#setTableProperties.
def exitSetTableProperties(self, ctx:SparkSQLParser.SetTablePropertiesContext):
pass
# Enter a parse tree produced by SparkSQLParser#unsetTableProperties.
def enterUnsetTableProperties(self, ctx:SparkSQLParser.UnsetTablePropertiesContext):
pass
# Exit a parse tree produced by SparkSQLParser#unsetTableProperties.
def exitUnsetTableProperties(self, ctx:SparkSQLParser.UnsetTablePropertiesContext):
pass
# Enter a parse tree produced by SparkSQLParser#alterTableAlterColumn.
def enterAlterTableAlterColumn(self, ctx:SparkSQLParser.AlterTableAlterColumnContext):
pass
# Exit a parse tree produced by SparkSQLParser#alterTableAlterColumn.
def exitAlterTableAlterColumn(self, ctx:SparkSQLParser.AlterTableAlterColumnContext):
pass
# Enter a parse tree produced by SparkSQLParser#hiveChangeColumn.
def enterHiveChangeColumn(self, ctx:SparkSQLParser.HiveChangeColumnContext):
pass
# Exit a parse tree produced by SparkSQLParser#hiveChangeColumn.
def exitHiveChangeColumn(self, ctx:SparkSQLParser.HiveChangeColumnContext):
pass
# Enter a parse tree produced by SparkSQLParser#hiveReplaceColumns.
def enterHiveReplaceColumns(self, ctx:SparkSQLParser.HiveReplaceColumnsContext):
pass
# Exit a parse tree produced by SparkSQLParser#hiveReplaceColumns.
def exitHiveReplaceColumns(self, ctx:SparkSQLParser.HiveReplaceColumnsContext):
pass
# Enter a parse tree produced by SparkSQLParser#setTableSerDe.
def enterSetTableSerDe(self, ctx:SparkSQLParser.SetTableSerDeContext):
pass
# Exit a parse tree produced by SparkSQLParser#setTableSerDe.
def exitSetTableSerDe(self, ctx:SparkSQLParser.SetTableSerDeContext):
pass
# Enter a parse tree produced by SparkSQLParser#addTablePartition.
def enterAddTablePartition(self, ctx:SparkSQLParser.AddTablePartitionContext):
pass
# Exit a parse tree produced by SparkSQLParser#addTablePartition.
def exitAddTablePartition(self, ctx:SparkSQLParser.AddTablePartitionContext):
pass
# Enter a parse tree produced by SparkSQLParser#renameTablePartition.
def enterRenameTablePartition(self, ctx:SparkSQLParser.RenameTablePartitionContext):
pass
# Exit a parse tree produced by SparkSQLParser#renameTablePartition.
def exitRenameTablePartition(self, ctx:SparkSQLParser.RenameTablePartitionContext):
pass
# Enter a parse tree produced by SparkSQLParser#dropTablePartitions.
def enterDropTablePartitions(self, ctx:SparkSQLParser.DropTablePartitionsContext):
pass
# Exit a parse tree produced by SparkSQLParser#dropTablePartitions.
def exitDropTablePartitions(self, ctx:SparkSQLParser.DropTablePartitionsContext):
pass
# Enter a parse tree produced by SparkSQLParser#setTableLocation.
def enterSetTableLocation(self, ctx:SparkSQLParser.SetTableLocationContext):
pass
# Exit a parse tree produced by SparkSQLParser#setTableLocation.
def exitSetTableLocation(self, ctx:SparkSQLParser.SetTableLocationContext):
pass
# Enter a parse tree produced by SparkSQLParser#recoverPartitions.
def enterRecoverPartitions(self, ctx:SparkSQLParser.RecoverPartitionsContext):
pass
# Exit a parse tree produced by SparkSQLParser#recoverPartitions.
def exitRecoverPartitions(self, ctx:SparkSQLParser.RecoverPartitionsContext):
pass
# Enter a parse tree produced by SparkSQLParser#dropTable.
def enterDropTable(self, ctx:SparkSQLParser.DropTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#dropTable.
def exitDropTable(self, ctx:SparkSQLParser.DropTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#dropView.
def enterDropView(self, ctx:SparkSQLParser.DropViewContext):
pass
# Exit a parse tree produced by SparkSQLParser#dropView.
def exitDropView(self, ctx:SparkSQLParser.DropViewContext):
pass
# Enter a parse tree produced by SparkSQLParser#createView.
def enterCreateView(self, ctx:SparkSQLParser.CreateViewContext):
pass
# Exit a parse tree produced by SparkSQLParser#createView.
def exitCreateView(self, ctx:SparkSQLParser.CreateViewContext):
pass
# Enter a parse tree produced by SparkSQLParser#createTempViewUsing.
def enterCreateTempViewUsing(self, ctx:SparkSQLParser.CreateTempViewUsingContext):
pass
# Exit a parse tree produced by SparkSQLParser#createTempViewUsing.
def exitCreateTempViewUsing(self, ctx:SparkSQLParser.CreateTempViewUsingContext):
pass
# Enter a parse tree produced by SparkSQLParser#alterViewQuery.
def enterAlterViewQuery(self, ctx:SparkSQLParser.AlterViewQueryContext):
pass
# Exit a parse tree produced by SparkSQLParser#alterViewQuery.
def exitAlterViewQuery(self, ctx:SparkSQLParser.AlterViewQueryContext):
pass
# Enter a parse tree produced by SparkSQLParser#createFunction.
def enterCreateFunction(self, ctx:SparkSQLParser.CreateFunctionContext):
pass
# Exit a parse tree produced by SparkSQLParser#createFunction.
def exitCreateFunction(self, ctx:SparkSQLParser.CreateFunctionContext):
pass
# Enter a parse tree produced by SparkSQLParser#dropFunction.
def enterDropFunction(self, ctx:SparkSQLParser.DropFunctionContext):
pass
# Exit a parse tree produced by SparkSQLParser#dropFunction.
def exitDropFunction(self, ctx:SparkSQLParser.DropFunctionContext):
pass
# Enter a parse tree produced by SparkSQLParser#explain.
def enterExplain(self, ctx:SparkSQLParser.ExplainContext):
pass
# Exit a parse tree produced by SparkSQLParser#explain.
def exitExplain(self, ctx:SparkSQLParser.ExplainContext):
pass
# Enter a parse tree produced by SparkSQLParser#showTables.
def enterShowTables(self, ctx:SparkSQLParser.ShowTablesContext):
pass
# Exit a parse tree produced by SparkSQLParser#showTables.
def exitShowTables(self, ctx:SparkSQLParser.ShowTablesContext):
pass
# Enter a parse tree produced by SparkSQLParser#showTable.
def enterShowTable(self, ctx:SparkSQLParser.ShowTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#showTable.
def exitShowTable(self, ctx:SparkSQLParser.ShowTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#showTblProperties.
def enterShowTblProperties(self, ctx:SparkSQLParser.ShowTblPropertiesContext):
pass
# Exit a parse tree produced by SparkSQLParser#showTblProperties.
def exitShowTblProperties(self, ctx:SparkSQLParser.ShowTblPropertiesContext):
pass
# Enter a parse tree produced by SparkSQLParser#showColumns.
def enterShowColumns(self, ctx:SparkSQLParser.ShowColumnsContext):
pass
# Exit a parse tree produced by SparkSQLParser#showColumns.
def exitShowColumns(self, ctx:SparkSQLParser.ShowColumnsContext):
pass
# Enter a parse tree produced by SparkSQLParser#showViews.
def enterShowViews(self, ctx:SparkSQLParser.ShowViewsContext):
pass
# Exit a parse tree produced by SparkSQLParser#showViews.
def exitShowViews(self, ctx:SparkSQLParser.ShowViewsContext):
pass
# Enter a parse tree produced by SparkSQLParser#showPartitions.
def enterShowPartitions(self, ctx:SparkSQLParser.ShowPartitionsContext):
pass
# Exit a parse tree produced by SparkSQLParser#showPartitions.
def exitShowPartitions(self, ctx:SparkSQLParser.ShowPartitionsContext):
pass
# Enter a parse tree produced by SparkSQLParser#showFunctions.
def enterShowFunctions(self, ctx:SparkSQLParser.ShowFunctionsContext):
pass
# Exit a parse tree produced by SparkSQLParser#showFunctions.
def exitShowFunctions(self, ctx:SparkSQLParser.ShowFunctionsContext):
pass
# Enter a parse tree produced by SparkSQLParser#showCreateTable.
def enterShowCreateTable(self, ctx:SparkSQLParser.ShowCreateTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#showCreateTable.
def exitShowCreateTable(self, ctx:SparkSQLParser.ShowCreateTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#showCurrentNamespace.
def enterShowCurrentNamespace(self, ctx:SparkSQLParser.ShowCurrentNamespaceContext):
pass
# Exit a parse tree produced by SparkSQLParser#showCurrentNamespace.
def exitShowCurrentNamespace(self, ctx:SparkSQLParser.ShowCurrentNamespaceContext):
pass
# Enter a parse tree produced by SparkSQLParser#describeFunction.
def enterDescribeFunction(self, ctx:SparkSQLParser.DescribeFunctionContext):
pass
# Exit a parse tree produced by SparkSQLParser#describeFunction.
def exitDescribeFunction(self, ctx:SparkSQLParser.DescribeFunctionContext):
pass
# Enter a parse tree produced by SparkSQLParser#describeNamespace.
def enterDescribeNamespace(self, ctx:SparkSQLParser.DescribeNamespaceContext):
pass
# Exit a parse tree produced by SparkSQLParser#describeNamespace.
def exitDescribeNamespace(self, ctx:SparkSQLParser.DescribeNamespaceContext):
pass
# Enter a parse tree produced by SparkSQLParser#describeRelation.
def enterDescribeRelation(self, ctx:SparkSQLParser.DescribeRelationContext):
pass
# Exit a parse tree produced by SparkSQLParser#describeRelation.
def exitDescribeRelation(self, ctx:SparkSQLParser.DescribeRelationContext):
pass
# Enter a parse tree produced by SparkSQLParser#describeQuery.
def enterDescribeQuery(self, ctx:SparkSQLParser.DescribeQueryContext):
pass
# Exit a parse tree produced by SparkSQLParser#describeQuery.
def exitDescribeQuery(self, ctx:SparkSQLParser.DescribeQueryContext):
pass
# Enter a parse tree produced by SparkSQLParser#commentNamespace.
def enterCommentNamespace(self, ctx:SparkSQLParser.CommentNamespaceContext):
pass
# Exit a parse tree produced by SparkSQLParser#commentNamespace.
def exitCommentNamespace(self, ctx:SparkSQLParser.CommentNamespaceContext):
pass
# Enter a parse tree produced by SparkSQLParser#commentTable.
def enterCommentTable(self, ctx:SparkSQLParser.CommentTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#commentTable.
def exitCommentTable(self, ctx:SparkSQLParser.CommentTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#refreshTable.
def enterRefreshTable(self, ctx:SparkSQLParser.RefreshTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#refreshTable.
def exitRefreshTable(self, ctx:SparkSQLParser.RefreshTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#refreshFunction.
def enterRefreshFunction(self, ctx:SparkSQLParser.RefreshFunctionContext):
pass
# Exit a parse tree produced by SparkSQLParser#refreshFunction.
def exitRefreshFunction(self, ctx:SparkSQLParser.RefreshFunctionContext):
pass
# Enter a parse tree produced by SparkSQLParser#refreshResource.
def enterRefreshResource(self, ctx:SparkSQLParser.RefreshResourceContext):
pass
# Exit a parse tree produced by SparkSQLParser#refreshResource.
def exitRefreshResource(self, ctx:SparkSQLParser.RefreshResourceContext):
pass
# Enter a parse tree produced by SparkSQLParser#cacheTable.
def enterCacheTable(self, ctx:SparkSQLParser.CacheTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#cacheTable.
def exitCacheTable(self, ctx:SparkSQLParser.CacheTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#uncacheTable.
def enterUncacheTable(self, ctx:SparkSQLParser.UncacheTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#uncacheTable.
def exitUncacheTable(self, ctx:SparkSQLParser.UncacheTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#clearCache.
def enterClearCache(self, ctx:SparkSQLParser.ClearCacheContext):
pass
# Exit a parse tree produced by SparkSQLParser#clearCache.
def exitClearCache(self, ctx:SparkSQLParser.ClearCacheContext):
pass
# Enter a parse tree produced by SparkSQLParser#loadData.
def enterLoadData(self, ctx:SparkSQLParser.LoadDataContext):
pass
# Exit a parse tree produced by SparkSQLParser#loadData.
def exitLoadData(self, ctx:SparkSQLParser.LoadDataContext):
pass
# Enter a parse tree produced by SparkSQLParser#truncateTable.
def enterTruncateTable(self, ctx:SparkSQLParser.TruncateTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#truncateTable.
def exitTruncateTable(self, ctx:SparkSQLParser.TruncateTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#repairTable.
def enterRepairTable(self, ctx:SparkSQLParser.RepairTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#repairTable.
def exitRepairTable(self, ctx:SparkSQLParser.RepairTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#manageResource.
def enterManageResource(self, ctx:SparkSQLParser.ManageResourceContext):
pass
# Exit a parse tree produced by SparkSQLParser#manageResource.
def exitManageResource(self, ctx:SparkSQLParser.ManageResourceContext):
pass
# Enter a parse tree produced by SparkSQLParser#failNativeCommand.
def enterFailNativeCommand(self, ctx:SparkSQLParser.FailNativeCommandContext):
pass
# Exit a parse tree produced by SparkSQLParser#failNativeCommand.
def exitFailNativeCommand(self, ctx:SparkSQLParser.FailNativeCommandContext):
pass
# Enter a parse tree produced by SparkSQLParser#setTimeZone.
def enterSetTimeZone(self, ctx:SparkSQLParser.SetTimeZoneContext):
pass
# Exit a parse tree produced by SparkSQLParser#setTimeZone.
def exitSetTimeZone(self, ctx:SparkSQLParser.SetTimeZoneContext):
pass
# Enter a parse tree produced by SparkSQLParser#setQuotedConfiguration.
def enterSetQuotedConfiguration(self, ctx:SparkSQLParser.SetQuotedConfigurationContext):
pass
# Exit a parse tree produced by SparkSQLParser#setQuotedConfiguration.
def exitSetQuotedConfiguration(self, ctx:SparkSQLParser.SetQuotedConfigurationContext):
pass
# Enter a parse tree produced by SparkSQLParser#setConfiguration.
def enterSetConfiguration(self, ctx:SparkSQLParser.SetConfigurationContext):
pass
# Exit a parse tree produced by SparkSQLParser#setConfiguration.
def exitSetConfiguration(self, ctx:SparkSQLParser.SetConfigurationContext):
pass
# Enter a parse tree produced by SparkSQLParser#resetQuotedConfiguration.
def enterResetQuotedConfiguration(self, ctx:SparkSQLParser.ResetQuotedConfigurationContext):
pass
# Exit a parse tree produced by SparkSQLParser#resetQuotedConfiguration.
def exitResetQuotedConfiguration(self, ctx:SparkSQLParser.ResetQuotedConfigurationContext):
pass
# Enter a parse tree produced by SparkSQLParser#resetConfiguration.
def enterResetConfiguration(self, ctx:SparkSQLParser.ResetConfigurationContext):
pass
# Exit a parse tree produced by SparkSQLParser#resetConfiguration.
def exitResetConfiguration(self, ctx:SparkSQLParser.ResetConfigurationContext):
pass
# Enter a parse tree produced by SparkSQLParser#configKey.
def enterConfigKey(self, ctx:SparkSQLParser.ConfigKeyContext):
pass
# Exit a parse tree produced by SparkSQLParser#configKey.
def exitConfigKey(self, ctx:SparkSQLParser.ConfigKeyContext):
pass
# Enter a parse tree produced by SparkSQLParser#unsupportedHiveNativeCommands.
def enterUnsupportedHiveNativeCommands(self, ctx:SparkSQLParser.UnsupportedHiveNativeCommandsContext):
pass
# Exit a parse tree produced by SparkSQLParser#unsupportedHiveNativeCommands.
def exitUnsupportedHiveNativeCommands(self, ctx:SparkSQLParser.UnsupportedHiveNativeCommandsContext):
pass
# Enter a parse tree produced by SparkSQLParser#createTableHeader.
def enterCreateTableHeader(self, ctx:SparkSQLParser.CreateTableHeaderContext):
pass
# Exit a parse tree produced by SparkSQLParser#createTableHeader.
def exitCreateTableHeader(self, ctx:SparkSQLParser.CreateTableHeaderContext):
pass
# Enter a parse tree produced by SparkSQLParser#replaceTableHeader.
def enterReplaceTableHeader(self, ctx:SparkSQLParser.ReplaceTableHeaderContext):
pass
# Exit a parse tree produced by SparkSQLParser#replaceTableHeader.
def exitReplaceTableHeader(self, ctx:SparkSQLParser.ReplaceTableHeaderContext):
pass
# Enter a parse tree produced by SparkSQLParser#bucketSpec.
def enterBucketSpec(self, ctx:SparkSQLParser.BucketSpecContext):
pass
# Exit a parse tree produced by SparkSQLParser#bucketSpec.
def exitBucketSpec(self, ctx:SparkSQLParser.BucketSpecContext):
pass
# Enter a parse tree produced by SparkSQLParser#skewSpec.
def enterSkewSpec(self, ctx:SparkSQLParser.SkewSpecContext):
pass
# Exit a parse tree produced by SparkSQLParser#skewSpec.
def exitSkewSpec(self, ctx:SparkSQLParser.SkewSpecContext):
pass
# Enter a parse tree produced by SparkSQLParser#locationSpec.
def enterLocationSpec(self, ctx:SparkSQLParser.LocationSpecContext):
pass
# Exit a parse tree produced by SparkSQLParser#locationSpec.
def exitLocationSpec(self, ctx:SparkSQLParser.LocationSpecContext):
pass
# Enter a parse tree produced by SparkSQLParser#commentSpec.
def enterCommentSpec(self, ctx:SparkSQLParser.CommentSpecContext):
pass
# Exit a parse tree produced by SparkSQLParser#commentSpec.
def exitCommentSpec(self, ctx:SparkSQLParser.CommentSpecContext):
pass
# Enter a parse tree produced by SparkSQLParser#query.
def enterQuery(self, ctx:SparkSQLParser.QueryContext):
pass
# Exit a parse tree produced by SparkSQLParser#query.
def exitQuery(self, ctx:SparkSQLParser.QueryContext):
pass
# Enter a parse tree produced by SparkSQLParser#insertOverwriteTable.
def enterInsertOverwriteTable(self, ctx:SparkSQLParser.InsertOverwriteTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#insertOverwriteTable.
def exitInsertOverwriteTable(self, ctx:SparkSQLParser.InsertOverwriteTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#insertIntoTable.
def enterInsertIntoTable(self, ctx:SparkSQLParser.InsertIntoTableContext):
pass
# Exit a parse tree produced by SparkSQLParser#insertIntoTable.
def exitInsertIntoTable(self, ctx:SparkSQLParser.InsertIntoTableContext):
pass
# Enter a parse tree produced by SparkSQLParser#insertOverwriteHiveDir.
def enterInsertOverwriteHiveDir(self, ctx:SparkSQLParser.InsertOverwriteHiveDirContext):
pass
# Exit a parse tree produced by SparkSQLParser#insertOverwriteHiveDir.
def exitInsertOverwriteHiveDir(self, ctx:SparkSQLParser.InsertOverwriteHiveDirContext):
pass
# Enter a parse tree produced by SparkSQLParser#insertOverwriteDir.
def enterInsertOverwriteDir(self, ctx:SparkSQLParser.InsertOverwriteDirContext):
pass
# Exit a parse tree produced by SparkSQLParser#insertOverwriteDir.
def exitInsertOverwriteDir(self, ctx:SparkSQLParser.InsertOverwriteDirContext):
pass
# Enter a parse tree produced by SparkSQLParser#partitionSpecLocation.
def enterPartitionSpecLocation(self, ctx:SparkSQLParser.PartitionSpecLocationContext):
pass
# Exit a parse tree produced by SparkSQLParser#partitionSpecLocation.
def exitPartitionSpecLocation(self, ctx:SparkSQLParser.PartitionSpecLocationContext):
pass
# Enter a parse tree produced by SparkSQLParser#partitionSpec.
def enterPartitionSpec(self, ctx:SparkSQLParser.PartitionSpecContext):
pass
# Exit a parse tree produced by SparkSQLParser#partitionSpec.
def exitPartitionSpec(self, ctx:SparkSQLParser.PartitionSpecContext):
pass
# Enter a parse tree produced by SparkSQLParser#partitionVal.
def enterPartitionVal(self, ctx:SparkSQLParser.PartitionValContext):
pass
# Exit a parse tree produced by SparkSQLParser#partitionVal.
def exitPartitionVal(self, ctx:SparkSQLParser.PartitionValContext):
pass
# Enter a parse tree produced by SparkSQLParser#namespace.
def enterNamespace(self, ctx:SparkSQLParser.NamespaceContext):
pass
# Exit a parse tree produced by SparkSQLParser#namespace.
def exitNamespace(self, ctx:SparkSQLParser.NamespaceContext):
pass
# Enter a parse tree produced by SparkSQLParser#describeFuncName.
def enterDescribeFuncName(self, ctx:SparkSQLParser.DescribeFuncNameContext):
pass
# Exit a parse tree produced by SparkSQLParser#describeFuncName.
def exitDescribeFuncName(self, ctx:SparkSQLParser.DescribeFuncNameContext):
pass
# Enter a parse tree produced by SparkSQLParser#describeColName.
def enterDescribeColName(self, ctx:SparkSQLParser.DescribeColNameContext):
pass
# Exit a parse tree produced by SparkSQLParser#describeColName.
def exitDescribeColName(self, ctx:SparkSQLParser.DescribeColNameContext):
pass
# Enter a parse tree produced by SparkSQLParser#ctes.
def enterCtes(self, ctx:SparkSQLParser.CtesContext):
pass
# Exit a parse tree produced by SparkSQLParser#ctes.
def exitCtes(self, ctx:SparkSQLParser.CtesContext):
pass
# Enter a parse tree produced by SparkSQLParser#namedQuery.
def enterNamedQuery(self, ctx:SparkSQLParser.NamedQueryContext):
pass
# Exit a parse tree produced by SparkSQLParser#namedQuery.
def exitNamedQuery(self, ctx:SparkSQLParser.NamedQueryContext):
pass
# Enter a parse tree produced by SparkSQLParser#tableProvider.
def enterTableProvider(self, ctx:SparkSQLParser.TableProviderContext):
pass
# Exit a parse tree produced by SparkSQLParser#tableProvider.
def exitTableProvider(self, ctx:SparkSQLParser.TableProviderContext):
pass
# Enter a parse tree produced by SparkSQLParser#createTableClauses.
def enterCreateTableClauses(self, ctx:SparkSQLParser.CreateTableClausesContext):
pass
# Exit a parse tree produced by SparkSQLParser#createTableClauses.
def exitCreateTableClauses(self, ctx:SparkSQLParser.CreateTableClausesContext):
pass
# Enter a parse tree produced by SparkSQLParser#tablePropertyList.
def enterTablePropertyList(self, ctx:SparkSQLParser.TablePropertyListContext):
pass
# Exit a parse tree produced by SparkSQLParser#tablePropertyList.
def exitTablePropertyList(self, ctx:SparkSQLParser.TablePropertyListContext):
pass
# Enter a parse tree produced by SparkSQLParser#tableProperty.
def enterTableProperty(self, ctx:SparkSQLParser.TablePropertyContext):
pass
# Exit a parse tree produced by SparkSQLParser#tableProperty.
def exitTableProperty(self, ctx:SparkSQLParser.TablePropertyContext):
pass
# Enter a parse tree produced by SparkSQLParser#tablePropertyKey.
def enterTablePropertyKey(self, ctx:SparkSQLParser.TablePropertyKeyContext):
pass
# Exit a parse tree produced by SparkSQLParser#tablePropertyKey.
def exitTablePropertyKey(self, ctx:SparkSQLParser.TablePropertyKeyContext):
pass
# Enter a parse tree produced by SparkSQLParser#tablePropertyValue.
def enterTablePropertyValue(self, ctx:SparkSQLParser.TablePropertyValueContext):
pass
# Exit a parse tree produced by SparkSQLParser#tablePropertyValue.
def exitTablePropertyValue(self, ctx:SparkSQLParser.TablePropertyValueContext):
pass
# Enter a parse tree produced by SparkSQLParser#constantList.
def enterConstantList(self, ctx:SparkSQLParser.ConstantListContext):
pass
# Exit a parse tree produced by SparkSQLParser#constantList.
def exitConstantList(self, ctx:SparkSQLParser.ConstantListContext):
pass
# Enter a parse tree produced by SparkSQLParser#nestedConstantList.
def enterNestedConstantList(self, ctx:SparkSQLParser.NestedConstantListContext):
pass
# Exit a parse tree produced by SparkSQLParser#nestedConstantList.
def exitNestedConstantList(self, ctx:SparkSQLParser.NestedConstantListContext):
pass
# Enter a parse tree produced by SparkSQLParser#createFileFormat.
def enterCreateFileFormat(self, ctx:SparkSQLParser.CreateFileFormatContext):
pass
# Exit a parse tree produced by SparkSQLParser#createFileFormat.
def exitCreateFileFormat(self, ctx:SparkSQLParser.CreateFileFormatContext):
pass
# Enter a parse tree produced by SparkSQLParser#tableFileFormat.
def enterTableFileFormat(self, ctx:SparkSQLParser.TableFileFormatContext):
pass
# Exit a parse tree produced by SparkSQLParser#tableFileFormat.
def exitTableFileFormat(self, ctx:SparkSQLParser.TableFileFormatContext):
pass
# Enter a parse tree produced by SparkSQLParser#genericFileFormat.
def enterGenericFileFormat(self, ctx:SparkSQLParser.GenericFileFormatContext):
pass
# Exit a parse tree produced by SparkSQLParser#genericFileFormat.
def exitGenericFileFormat(self, ctx:SparkSQLParser.GenericFileFormatContext):
pass
# Enter a parse tree produced by SparkSQLParser#storageHandler.
def enterStorageHandler(self, ctx:SparkSQLParser.StorageHandlerContext):
pass
# Exit a parse tree produced by SparkSQLParser#storageHandler.
def exitStorageHandler(self, ctx:SparkSQLParser.StorageHandlerContext):
pass
# Enter a parse tree produced by SparkSQLParser#resource.
def enterResource(self, ctx:SparkSQLParser.ResourceContext):
pass
# Exit a parse tree produced by SparkSQLParser#resource.
def exitResource(self, ctx:SparkSQLParser.ResourceContext):
pass
# Enter a parse tree produced by SparkSQLParser#singleInsertQuery.
def enterSingleInsertQuery(self, ctx:SparkSQLParser.SingleInsertQueryContext):
pass
# Exit a parse tree produced by SparkSQLParser#singleInsertQuery.
def exitSingleInsertQuery(self, ctx:SparkSQLParser.SingleInsertQueryContext):
pass
# Enter a parse tree produced by SparkSQLParser#multiInsertQuery.
def enterMultiInsertQuery(self, ctx:SparkSQLParser.MultiInsertQueryContext):
pass
# Exit a parse tree produced by SparkSQLParser#multiInsertQuery.
def exitMultiInsertQuery(self, ctx:SparkSQLParser.MultiInsertQueryContext):
pass