-
Notifications
You must be signed in to change notification settings - Fork 7
/
mysqlparser_listener.go
3945 lines (2631 loc) · 165 KB
/
mysqlparser_listener.go
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
// Code generated from MySQLParser.g4 by ANTLR 4.13.2. DO NOT EDIT.
package parser // MySQLParser
import "github.com/antlr4-go/antlr/v4"
// MySQLParserListener is a complete listener for a parse tree produced by MySQLParser.
type MySQLParserListener interface {
antlr.ParseTreeListener
// EnterScript is called when entering the script production.
EnterScript(c *ScriptContext)
// EnterQuery is called when entering the query production.
EnterQuery(c *QueryContext)
// EnterSimpleStatement is called when entering the simpleStatement production.
EnterSimpleStatement(c *SimpleStatementContext)
// EnterAlterStatement is called when entering the alterStatement production.
EnterAlterStatement(c *AlterStatementContext)
// EnterAlterDatabase is called when entering the alterDatabase production.
EnterAlterDatabase(c *AlterDatabaseContext)
// EnterAlterDatabaseOption is called when entering the alterDatabaseOption production.
EnterAlterDatabaseOption(c *AlterDatabaseOptionContext)
// EnterAlterEvent is called when entering the alterEvent production.
EnterAlterEvent(c *AlterEventContext)
// EnterAlterLogfileGroup is called when entering the alterLogfileGroup production.
EnterAlterLogfileGroup(c *AlterLogfileGroupContext)
// EnterAlterLogfileGroupOptions is called when entering the alterLogfileGroupOptions production.
EnterAlterLogfileGroupOptions(c *AlterLogfileGroupOptionsContext)
// EnterAlterLogfileGroupOption is called when entering the alterLogfileGroupOption production.
EnterAlterLogfileGroupOption(c *AlterLogfileGroupOptionContext)
// EnterAlterServer is called when entering the alterServer production.
EnterAlterServer(c *AlterServerContext)
// EnterAlterTable is called when entering the alterTable production.
EnterAlterTable(c *AlterTableContext)
// EnterAlterTableActions is called when entering the alterTableActions production.
EnterAlterTableActions(c *AlterTableActionsContext)
// EnterAlterCommandList is called when entering the alterCommandList production.
EnterAlterCommandList(c *AlterCommandListContext)
// EnterAlterCommandsModifierList is called when entering the alterCommandsModifierList production.
EnterAlterCommandsModifierList(c *AlterCommandsModifierListContext)
// EnterStandaloneAlterCommands is called when entering the standaloneAlterCommands production.
EnterStandaloneAlterCommands(c *StandaloneAlterCommandsContext)
// EnterAlterPartition is called when entering the alterPartition production.
EnterAlterPartition(c *AlterPartitionContext)
// EnterAlterList is called when entering the alterList production.
EnterAlterList(c *AlterListContext)
// EnterAlterCommandsModifier is called when entering the alterCommandsModifier production.
EnterAlterCommandsModifier(c *AlterCommandsModifierContext)
// EnterAlterListItem is called when entering the alterListItem production.
EnterAlterListItem(c *AlterListItemContext)
// EnterPlace is called when entering the place production.
EnterPlace(c *PlaceContext)
// EnterRestrict is called when entering the restrict production.
EnterRestrict(c *RestrictContext)
// EnterAlterOrderList is called when entering the alterOrderList production.
EnterAlterOrderList(c *AlterOrderListContext)
// EnterAlterAlgorithmOption is called when entering the alterAlgorithmOption production.
EnterAlterAlgorithmOption(c *AlterAlgorithmOptionContext)
// EnterAlterLockOption is called when entering the alterLockOption production.
EnterAlterLockOption(c *AlterLockOptionContext)
// EnterIndexLockAndAlgorithm is called when entering the indexLockAndAlgorithm production.
EnterIndexLockAndAlgorithm(c *IndexLockAndAlgorithmContext)
// EnterWithValidation is called when entering the withValidation production.
EnterWithValidation(c *WithValidationContext)
// EnterRemovePartitioning is called when entering the removePartitioning production.
EnterRemovePartitioning(c *RemovePartitioningContext)
// EnterAllOrPartitionNameList is called when entering the allOrPartitionNameList production.
EnterAllOrPartitionNameList(c *AllOrPartitionNameListContext)
// EnterAlterTablespace is called when entering the alterTablespace production.
EnterAlterTablespace(c *AlterTablespaceContext)
// EnterAlterUndoTablespace is called when entering the alterUndoTablespace production.
EnterAlterUndoTablespace(c *AlterUndoTablespaceContext)
// EnterUndoTableSpaceOptions is called when entering the undoTableSpaceOptions production.
EnterUndoTableSpaceOptions(c *UndoTableSpaceOptionsContext)
// EnterUndoTableSpaceOption is called when entering the undoTableSpaceOption production.
EnterUndoTableSpaceOption(c *UndoTableSpaceOptionContext)
// EnterAlterTablespaceOptions is called when entering the alterTablespaceOptions production.
EnterAlterTablespaceOptions(c *AlterTablespaceOptionsContext)
// EnterAlterTablespaceOption is called when entering the alterTablespaceOption production.
EnterAlterTablespaceOption(c *AlterTablespaceOptionContext)
// EnterChangeTablespaceOption is called when entering the changeTablespaceOption production.
EnterChangeTablespaceOption(c *ChangeTablespaceOptionContext)
// EnterAlterView is called when entering the alterView production.
EnterAlterView(c *AlterViewContext)
// EnterViewTail is called when entering the viewTail production.
EnterViewTail(c *ViewTailContext)
// EnterViewSelect is called when entering the viewSelect production.
EnterViewSelect(c *ViewSelectContext)
// EnterViewCheckOption is called when entering the viewCheckOption production.
EnterViewCheckOption(c *ViewCheckOptionContext)
// EnterAlterProcedure is called when entering the alterProcedure production.
EnterAlterProcedure(c *AlterProcedureContext)
// EnterAlterFunction is called when entering the alterFunction production.
EnterAlterFunction(c *AlterFunctionContext)
// EnterCreateStatement is called when entering the createStatement production.
EnterCreateStatement(c *CreateStatementContext)
// EnterCreateDatabase is called when entering the createDatabase production.
EnterCreateDatabase(c *CreateDatabaseContext)
// EnterCreateDatabaseOption is called when entering the createDatabaseOption production.
EnterCreateDatabaseOption(c *CreateDatabaseOptionContext)
// EnterCreateTable is called when entering the createTable production.
EnterCreateTable(c *CreateTableContext)
// EnterTableElementList is called when entering the tableElementList production.
EnterTableElementList(c *TableElementListContext)
// EnterTableElement is called when entering the tableElement production.
EnterTableElement(c *TableElementContext)
// EnterDuplicateAsQueryExpression is called when entering the duplicateAsQueryExpression production.
EnterDuplicateAsQueryExpression(c *DuplicateAsQueryExpressionContext)
// EnterQueryExpressionOrParens is called when entering the queryExpressionOrParens production.
EnterQueryExpressionOrParens(c *QueryExpressionOrParensContext)
// EnterCreateRoutine is called when entering the createRoutine production.
EnterCreateRoutine(c *CreateRoutineContext)
// EnterCreateProcedure is called when entering the createProcedure production.
EnterCreateProcedure(c *CreateProcedureContext)
// EnterCreateFunction is called when entering the createFunction production.
EnterCreateFunction(c *CreateFunctionContext)
// EnterCreateUdf is called when entering the createUdf production.
EnterCreateUdf(c *CreateUdfContext)
// EnterRoutineCreateOption is called when entering the routineCreateOption production.
EnterRoutineCreateOption(c *RoutineCreateOptionContext)
// EnterRoutineAlterOptions is called when entering the routineAlterOptions production.
EnterRoutineAlterOptions(c *RoutineAlterOptionsContext)
// EnterRoutineOption is called when entering the routineOption production.
EnterRoutineOption(c *RoutineOptionContext)
// EnterCreateIndex is called when entering the createIndex production.
EnterCreateIndex(c *CreateIndexContext)
// EnterIndexNameAndType is called when entering the indexNameAndType production.
EnterIndexNameAndType(c *IndexNameAndTypeContext)
// EnterCreateIndexTarget is called when entering the createIndexTarget production.
EnterCreateIndexTarget(c *CreateIndexTargetContext)
// EnterCreateLogfileGroup is called when entering the createLogfileGroup production.
EnterCreateLogfileGroup(c *CreateLogfileGroupContext)
// EnterLogfileGroupOptions is called when entering the logfileGroupOptions production.
EnterLogfileGroupOptions(c *LogfileGroupOptionsContext)
// EnterLogfileGroupOption is called when entering the logfileGroupOption production.
EnterLogfileGroupOption(c *LogfileGroupOptionContext)
// EnterCreateServer is called when entering the createServer production.
EnterCreateServer(c *CreateServerContext)
// EnterServerOptions is called when entering the serverOptions production.
EnterServerOptions(c *ServerOptionsContext)
// EnterServerOption is called when entering the serverOption production.
EnterServerOption(c *ServerOptionContext)
// EnterCreateTablespace is called when entering the createTablespace production.
EnterCreateTablespace(c *CreateTablespaceContext)
// EnterCreateUndoTablespace is called when entering the createUndoTablespace production.
EnterCreateUndoTablespace(c *CreateUndoTablespaceContext)
// EnterTsDataFileName is called when entering the tsDataFileName production.
EnterTsDataFileName(c *TsDataFileNameContext)
// EnterTsDataFile is called when entering the tsDataFile production.
EnterTsDataFile(c *TsDataFileContext)
// EnterTablespaceOptions is called when entering the tablespaceOptions production.
EnterTablespaceOptions(c *TablespaceOptionsContext)
// EnterTablespaceOption is called when entering the tablespaceOption production.
EnterTablespaceOption(c *TablespaceOptionContext)
// EnterTsOptionInitialSize is called when entering the tsOptionInitialSize production.
EnterTsOptionInitialSize(c *TsOptionInitialSizeContext)
// EnterTsOptionUndoRedoBufferSize is called when entering the tsOptionUndoRedoBufferSize production.
EnterTsOptionUndoRedoBufferSize(c *TsOptionUndoRedoBufferSizeContext)
// EnterTsOptionAutoextendSize is called when entering the tsOptionAutoextendSize production.
EnterTsOptionAutoextendSize(c *TsOptionAutoextendSizeContext)
// EnterTsOptionMaxSize is called when entering the tsOptionMaxSize production.
EnterTsOptionMaxSize(c *TsOptionMaxSizeContext)
// EnterTsOptionExtentSize is called when entering the tsOptionExtentSize production.
EnterTsOptionExtentSize(c *TsOptionExtentSizeContext)
// EnterTsOptionNodegroup is called when entering the tsOptionNodegroup production.
EnterTsOptionNodegroup(c *TsOptionNodegroupContext)
// EnterTsOptionEngine is called when entering the tsOptionEngine production.
EnterTsOptionEngine(c *TsOptionEngineContext)
// EnterTsOptionWait is called when entering the tsOptionWait production.
EnterTsOptionWait(c *TsOptionWaitContext)
// EnterTsOptionComment is called when entering the tsOptionComment production.
EnterTsOptionComment(c *TsOptionCommentContext)
// EnterTsOptionFileblockSize is called when entering the tsOptionFileblockSize production.
EnterTsOptionFileblockSize(c *TsOptionFileblockSizeContext)
// EnterTsOptionEncryption is called when entering the tsOptionEncryption production.
EnterTsOptionEncryption(c *TsOptionEncryptionContext)
// EnterCreateView is called when entering the createView production.
EnterCreateView(c *CreateViewContext)
// EnterViewReplaceOrAlgorithm is called when entering the viewReplaceOrAlgorithm production.
EnterViewReplaceOrAlgorithm(c *ViewReplaceOrAlgorithmContext)
// EnterViewAlgorithm is called when entering the viewAlgorithm production.
EnterViewAlgorithm(c *ViewAlgorithmContext)
// EnterViewSuid is called when entering the viewSuid production.
EnterViewSuid(c *ViewSuidContext)
// EnterCreateTrigger is called when entering the createTrigger production.
EnterCreateTrigger(c *CreateTriggerContext)
// EnterTriggerFollowsPrecedesClause is called when entering the triggerFollowsPrecedesClause production.
EnterTriggerFollowsPrecedesClause(c *TriggerFollowsPrecedesClauseContext)
// EnterCreateEvent is called when entering the createEvent production.
EnterCreateEvent(c *CreateEventContext)
// EnterCreateRole is called when entering the createRole production.
EnterCreateRole(c *CreateRoleContext)
// EnterCreateSpatialReference is called when entering the createSpatialReference production.
EnterCreateSpatialReference(c *CreateSpatialReferenceContext)
// EnterSrsAttribute is called when entering the srsAttribute production.
EnterSrsAttribute(c *SrsAttributeContext)
// EnterDropStatement is called when entering the dropStatement production.
EnterDropStatement(c *DropStatementContext)
// EnterDropDatabase is called when entering the dropDatabase production.
EnterDropDatabase(c *DropDatabaseContext)
// EnterDropEvent is called when entering the dropEvent production.
EnterDropEvent(c *DropEventContext)
// EnterDropFunction is called when entering the dropFunction production.
EnterDropFunction(c *DropFunctionContext)
// EnterDropProcedure is called when entering the dropProcedure production.
EnterDropProcedure(c *DropProcedureContext)
// EnterDropIndex is called when entering the dropIndex production.
EnterDropIndex(c *DropIndexContext)
// EnterDropLogfileGroup is called when entering the dropLogfileGroup production.
EnterDropLogfileGroup(c *DropLogfileGroupContext)
// EnterDropLogfileGroupOption is called when entering the dropLogfileGroupOption production.
EnterDropLogfileGroupOption(c *DropLogfileGroupOptionContext)
// EnterDropServer is called when entering the dropServer production.
EnterDropServer(c *DropServerContext)
// EnterDropTable is called when entering the dropTable production.
EnterDropTable(c *DropTableContext)
// EnterDropTableSpace is called when entering the dropTableSpace production.
EnterDropTableSpace(c *DropTableSpaceContext)
// EnterDropTrigger is called when entering the dropTrigger production.
EnterDropTrigger(c *DropTriggerContext)
// EnterDropView is called when entering the dropView production.
EnterDropView(c *DropViewContext)
// EnterDropRole is called when entering the dropRole production.
EnterDropRole(c *DropRoleContext)
// EnterDropSpatialReference is called when entering the dropSpatialReference production.
EnterDropSpatialReference(c *DropSpatialReferenceContext)
// EnterDropUndoTablespace is called when entering the dropUndoTablespace production.
EnterDropUndoTablespace(c *DropUndoTablespaceContext)
// EnterRenameTableStatement is called when entering the renameTableStatement production.
EnterRenameTableStatement(c *RenameTableStatementContext)
// EnterRenamePair is called when entering the renamePair production.
EnterRenamePair(c *RenamePairContext)
// EnterTruncateTableStatement is called when entering the truncateTableStatement production.
EnterTruncateTableStatement(c *TruncateTableStatementContext)
// EnterImportStatement is called when entering the importStatement production.
EnterImportStatement(c *ImportStatementContext)
// EnterCallStatement is called when entering the callStatement production.
EnterCallStatement(c *CallStatementContext)
// EnterDeleteStatement is called when entering the deleteStatement production.
EnterDeleteStatement(c *DeleteStatementContext)
// EnterPartitionDelete is called when entering the partitionDelete production.
EnterPartitionDelete(c *PartitionDeleteContext)
// EnterDeleteStatementOption is called when entering the deleteStatementOption production.
EnterDeleteStatementOption(c *DeleteStatementOptionContext)
// EnterDoStatement is called when entering the doStatement production.
EnterDoStatement(c *DoStatementContext)
// EnterHandlerStatement is called when entering the handlerStatement production.
EnterHandlerStatement(c *HandlerStatementContext)
// EnterHandlerReadOrScan is called when entering the handlerReadOrScan production.
EnterHandlerReadOrScan(c *HandlerReadOrScanContext)
// EnterInsertStatement is called when entering the insertStatement production.
EnterInsertStatement(c *InsertStatementContext)
// EnterInsertLockOption is called when entering the insertLockOption production.
EnterInsertLockOption(c *InsertLockOptionContext)
// EnterInsertFromConstructor is called when entering the insertFromConstructor production.
EnterInsertFromConstructor(c *InsertFromConstructorContext)
// EnterFields is called when entering the fields production.
EnterFields(c *FieldsContext)
// EnterInsertValues is called when entering the insertValues production.
EnterInsertValues(c *InsertValuesContext)
// EnterInsertQueryExpression is called when entering the insertQueryExpression production.
EnterInsertQueryExpression(c *InsertQueryExpressionContext)
// EnterValueList is called when entering the valueList production.
EnterValueList(c *ValueListContext)
// EnterValues is called when entering the values production.
EnterValues(c *ValuesContext)
// EnterValuesReference is called when entering the valuesReference production.
EnterValuesReference(c *ValuesReferenceContext)
// EnterInsertUpdateList is called when entering the insertUpdateList production.
EnterInsertUpdateList(c *InsertUpdateListContext)
// EnterLoadStatement is called when entering the loadStatement production.
EnterLoadStatement(c *LoadStatementContext)
// EnterDataOrXml is called when entering the dataOrXml production.
EnterDataOrXml(c *DataOrXmlContext)
// EnterXmlRowsIdentifiedBy is called when entering the xmlRowsIdentifiedBy production.
EnterXmlRowsIdentifiedBy(c *XmlRowsIdentifiedByContext)
// EnterLoadDataFileTail is called when entering the loadDataFileTail production.
EnterLoadDataFileTail(c *LoadDataFileTailContext)
// EnterLoadDataFileTargetList is called when entering the loadDataFileTargetList production.
EnterLoadDataFileTargetList(c *LoadDataFileTargetListContext)
// EnterFieldOrVariableList is called when entering the fieldOrVariableList production.
EnterFieldOrVariableList(c *FieldOrVariableListContext)
// EnterReplaceStatement is called when entering the replaceStatement production.
EnterReplaceStatement(c *ReplaceStatementContext)
// EnterSelectStatement is called when entering the selectStatement production.
EnterSelectStatement(c *SelectStatementContext)
// EnterSelectStatementWithInto is called when entering the selectStatementWithInto production.
EnterSelectStatementWithInto(c *SelectStatementWithIntoContext)
// EnterQueryExpression is called when entering the queryExpression production.
EnterQueryExpression(c *QueryExpressionContext)
// EnterQueryExpressionBody is called when entering the queryExpressionBody production.
EnterQueryExpressionBody(c *QueryExpressionBodyContext)
// EnterQueryExpressionParens is called when entering the queryExpressionParens production.
EnterQueryExpressionParens(c *QueryExpressionParensContext)
// EnterQueryPrimary is called when entering the queryPrimary production.
EnterQueryPrimary(c *QueryPrimaryContext)
// EnterQuerySpecification is called when entering the querySpecification production.
EnterQuerySpecification(c *QuerySpecificationContext)
// EnterSubquery is called when entering the subquery production.
EnterSubquery(c *SubqueryContext)
// EnterQuerySpecOption is called when entering the querySpecOption production.
EnterQuerySpecOption(c *QuerySpecOptionContext)
// EnterLimitClause is called when entering the limitClause production.
EnterLimitClause(c *LimitClauseContext)
// EnterSimpleLimitClause is called when entering the simpleLimitClause production.
EnterSimpleLimitClause(c *SimpleLimitClauseContext)
// EnterLimitOptions is called when entering the limitOptions production.
EnterLimitOptions(c *LimitOptionsContext)
// EnterLimitOption is called when entering the limitOption production.
EnterLimitOption(c *LimitOptionContext)
// EnterIntoClause is called when entering the intoClause production.
EnterIntoClause(c *IntoClauseContext)
// EnterProcedureAnalyseClause is called when entering the procedureAnalyseClause production.
EnterProcedureAnalyseClause(c *ProcedureAnalyseClauseContext)
// EnterHavingClause is called when entering the havingClause production.
EnterHavingClause(c *HavingClauseContext)
// EnterWindowClause is called when entering the windowClause production.
EnterWindowClause(c *WindowClauseContext)
// EnterWindowDefinition is called when entering the windowDefinition production.
EnterWindowDefinition(c *WindowDefinitionContext)
// EnterWindowSpec is called when entering the windowSpec production.
EnterWindowSpec(c *WindowSpecContext)
// EnterWindowSpecDetails is called when entering the windowSpecDetails production.
EnterWindowSpecDetails(c *WindowSpecDetailsContext)
// EnterWindowFrameClause is called when entering the windowFrameClause production.
EnterWindowFrameClause(c *WindowFrameClauseContext)
// EnterWindowFrameUnits is called when entering the windowFrameUnits production.
EnterWindowFrameUnits(c *WindowFrameUnitsContext)
// EnterWindowFrameExtent is called when entering the windowFrameExtent production.
EnterWindowFrameExtent(c *WindowFrameExtentContext)
// EnterWindowFrameStart is called when entering the windowFrameStart production.
EnterWindowFrameStart(c *WindowFrameStartContext)
// EnterWindowFrameBetween is called when entering the windowFrameBetween production.
EnterWindowFrameBetween(c *WindowFrameBetweenContext)
// EnterWindowFrameBound is called when entering the windowFrameBound production.
EnterWindowFrameBound(c *WindowFrameBoundContext)
// EnterWindowFrameExclusion is called when entering the windowFrameExclusion production.
EnterWindowFrameExclusion(c *WindowFrameExclusionContext)
// EnterWithClause is called when entering the withClause production.
EnterWithClause(c *WithClauseContext)
// EnterCommonTableExpression is called when entering the commonTableExpression production.
EnterCommonTableExpression(c *CommonTableExpressionContext)
// EnterGroupByClause is called when entering the groupByClause production.
EnterGroupByClause(c *GroupByClauseContext)
// EnterOlapOption is called when entering the olapOption production.
EnterOlapOption(c *OlapOptionContext)
// EnterOrderClause is called when entering the orderClause production.
EnterOrderClause(c *OrderClauseContext)
// EnterDirection is called when entering the direction production.
EnterDirection(c *DirectionContext)
// EnterFromClause is called when entering the fromClause production.
EnterFromClause(c *FromClauseContext)
// EnterTableReferenceList is called when entering the tableReferenceList production.
EnterTableReferenceList(c *TableReferenceListContext)
// EnterTableValueConstructor is called when entering the tableValueConstructor production.
EnterTableValueConstructor(c *TableValueConstructorContext)
// EnterExplicitTable is called when entering the explicitTable production.
EnterExplicitTable(c *ExplicitTableContext)
// EnterRowValueExplicit is called when entering the rowValueExplicit production.
EnterRowValueExplicit(c *RowValueExplicitContext)
// EnterSelectOption is called when entering the selectOption production.
EnterSelectOption(c *SelectOptionContext)
// EnterLockingClauseList is called when entering the lockingClauseList production.
EnterLockingClauseList(c *LockingClauseListContext)
// EnterLockingClause is called when entering the lockingClause production.
EnterLockingClause(c *LockingClauseContext)
// EnterLockStrengh is called when entering the lockStrengh production.
EnterLockStrengh(c *LockStrenghContext)
// EnterLockedRowAction is called when entering the lockedRowAction production.
EnterLockedRowAction(c *LockedRowActionContext)
// EnterSelectItemList is called when entering the selectItemList production.
EnterSelectItemList(c *SelectItemListContext)
// EnterSelectItem is called when entering the selectItem production.
EnterSelectItem(c *SelectItemContext)
// EnterSelectAlias is called when entering the selectAlias production.
EnterSelectAlias(c *SelectAliasContext)
// EnterWhereClause is called when entering the whereClause production.
EnterWhereClause(c *WhereClauseContext)
// EnterTableReference is called when entering the tableReference production.
EnterTableReference(c *TableReferenceContext)
// EnterEscapedTableReference is called when entering the escapedTableReference production.
EnterEscapedTableReference(c *EscapedTableReferenceContext)
// EnterJoinedTable is called when entering the joinedTable production.
EnterJoinedTable(c *JoinedTableContext)
// EnterNaturalJoinType is called when entering the naturalJoinType production.
EnterNaturalJoinType(c *NaturalJoinTypeContext)
// EnterInnerJoinType is called when entering the innerJoinType production.
EnterInnerJoinType(c *InnerJoinTypeContext)
// EnterOuterJoinType is called when entering the outerJoinType production.
EnterOuterJoinType(c *OuterJoinTypeContext)
// EnterTableFactor is called when entering the tableFactor production.
EnterTableFactor(c *TableFactorContext)
// EnterSingleTable is called when entering the singleTable production.
EnterSingleTable(c *SingleTableContext)
// EnterSingleTableParens is called when entering the singleTableParens production.
EnterSingleTableParens(c *SingleTableParensContext)
// EnterDerivedTable is called when entering the derivedTable production.
EnterDerivedTable(c *DerivedTableContext)
// EnterTableReferenceListParens is called when entering the tableReferenceListParens production.
EnterTableReferenceListParens(c *TableReferenceListParensContext)
// EnterTableFunction is called when entering the tableFunction production.
EnterTableFunction(c *TableFunctionContext)
// EnterColumnsClause is called when entering the columnsClause production.
EnterColumnsClause(c *ColumnsClauseContext)
// EnterJtColumn is called when entering the jtColumn production.
EnterJtColumn(c *JtColumnContext)
// EnterOnEmptyOrError is called when entering the onEmptyOrError production.
EnterOnEmptyOrError(c *OnEmptyOrErrorContext)
// EnterOnEmpty is called when entering the onEmpty production.
EnterOnEmpty(c *OnEmptyContext)
// EnterOnError is called when entering the onError production.
EnterOnError(c *OnErrorContext)
// EnterJtOnResponse is called when entering the jtOnResponse production.
EnterJtOnResponse(c *JtOnResponseContext)
// EnterSetOprSymbol is called when entering the setOprSymbol production.
EnterSetOprSymbol(c *SetOprSymbolContext)
// EnterSetOprOption is called when entering the setOprOption production.
EnterSetOprOption(c *SetOprOptionContext)
// EnterTableAlias is called when entering the tableAlias production.
EnterTableAlias(c *TableAliasContext)
// EnterIndexHintList is called when entering the indexHintList production.
EnterIndexHintList(c *IndexHintListContext)
// EnterIndexHint is called when entering the indexHint production.
EnterIndexHint(c *IndexHintContext)
// EnterIndexHintType is called when entering the indexHintType production.
EnterIndexHintType(c *IndexHintTypeContext)
// EnterKeyOrIndex is called when entering the keyOrIndex production.
EnterKeyOrIndex(c *KeyOrIndexContext)
// EnterConstraintKeyType is called when entering the constraintKeyType production.
EnterConstraintKeyType(c *ConstraintKeyTypeContext)
// EnterIndexHintClause is called when entering the indexHintClause production.
EnterIndexHintClause(c *IndexHintClauseContext)
// EnterIndexList is called when entering the indexList production.
EnterIndexList(c *IndexListContext)
// EnterIndexListElement is called when entering the indexListElement production.
EnterIndexListElement(c *IndexListElementContext)
// EnterUpdateStatement is called when entering the updateStatement production.
EnterUpdateStatement(c *UpdateStatementContext)
// EnterTransactionOrLockingStatement is called when entering the transactionOrLockingStatement production.
EnterTransactionOrLockingStatement(c *TransactionOrLockingStatementContext)
// EnterTransactionStatement is called when entering the transactionStatement production.
EnterTransactionStatement(c *TransactionStatementContext)
// EnterBeginWork is called when entering the beginWork production.
EnterBeginWork(c *BeginWorkContext)
// EnterTransactionCharacteristic is called when entering the transactionCharacteristic production.
EnterTransactionCharacteristic(c *TransactionCharacteristicContext)
// EnterSavepointStatement is called when entering the savepointStatement production.
EnterSavepointStatement(c *SavepointStatementContext)
// EnterLockStatement is called when entering the lockStatement production.
EnterLockStatement(c *LockStatementContext)
// EnterLockItem is called when entering the lockItem production.
EnterLockItem(c *LockItemContext)
// EnterLockOption is called when entering the lockOption production.
EnterLockOption(c *LockOptionContext)
// EnterXaStatement is called when entering the xaStatement production.
EnterXaStatement(c *XaStatementContext)
// EnterXaConvert is called when entering the xaConvert production.
EnterXaConvert(c *XaConvertContext)
// EnterXid is called when entering the xid production.
EnterXid(c *XidContext)
// EnterReplicationStatement is called when entering the replicationStatement production.
EnterReplicationStatement(c *ReplicationStatementContext)
// EnterResetOption is called when entering the resetOption production.
EnterResetOption(c *ResetOptionContext)
// EnterMasterResetOptions is called when entering the masterResetOptions production.
EnterMasterResetOptions(c *MasterResetOptionsContext)
// EnterReplicationLoad is called when entering the replicationLoad production.
EnterReplicationLoad(c *ReplicationLoadContext)
// EnterChangeMaster is called when entering the changeMaster production.
EnterChangeMaster(c *ChangeMasterContext)
// EnterChangeMasterOptions is called when entering the changeMasterOptions production.
EnterChangeMasterOptions(c *ChangeMasterOptionsContext)
// EnterMasterOption is called when entering the masterOption production.
EnterMasterOption(c *MasterOptionContext)
// EnterPrivilegeCheckDef is called when entering the privilegeCheckDef production.
EnterPrivilegeCheckDef(c *PrivilegeCheckDefContext)
// EnterTablePrimaryKeyCheckDef is called when entering the tablePrimaryKeyCheckDef production.
EnterTablePrimaryKeyCheckDef(c *TablePrimaryKeyCheckDefContext)
// EnterMasterTlsCiphersuitesDef is called when entering the masterTlsCiphersuitesDef production.
EnterMasterTlsCiphersuitesDef(c *MasterTlsCiphersuitesDefContext)
// EnterMasterFileDef is called when entering the masterFileDef production.
EnterMasterFileDef(c *MasterFileDefContext)
// EnterServerIdList is called when entering the serverIdList production.
EnterServerIdList(c *ServerIdListContext)
// EnterChangeReplication is called when entering the changeReplication production.
EnterChangeReplication(c *ChangeReplicationContext)
// EnterFilterDefinition is called when entering the filterDefinition production.
EnterFilterDefinition(c *FilterDefinitionContext)
// EnterFilterDbList is called when entering the filterDbList production.
EnterFilterDbList(c *FilterDbListContext)
// EnterFilterTableList is called when entering the filterTableList production.
EnterFilterTableList(c *FilterTableListContext)
// EnterFilterStringList is called when entering the filterStringList production.
EnterFilterStringList(c *FilterStringListContext)
// EnterFilterWildDbTableString is called when entering the filterWildDbTableString production.
EnterFilterWildDbTableString(c *FilterWildDbTableStringContext)
// EnterFilterDbPairList is called when entering the filterDbPairList production.
EnterFilterDbPairList(c *FilterDbPairListContext)
// EnterSlave is called when entering the slave production.
EnterSlave(c *SlaveContext)
// EnterSlaveUntilOptions is called when entering the slaveUntilOptions production.
EnterSlaveUntilOptions(c *SlaveUntilOptionsContext)
// EnterSlaveConnectionOptions is called when entering the slaveConnectionOptions production.
EnterSlaveConnectionOptions(c *SlaveConnectionOptionsContext)
// EnterSlaveThreadOptions is called when entering the slaveThreadOptions production.
EnterSlaveThreadOptions(c *SlaveThreadOptionsContext)
// EnterSlaveThreadOption is called when entering the slaveThreadOption production.
EnterSlaveThreadOption(c *SlaveThreadOptionContext)
// EnterGroupReplication is called when entering the groupReplication production.
EnterGroupReplication(c *GroupReplicationContext)
// EnterPreparedStatement is called when entering the preparedStatement production.
EnterPreparedStatement(c *PreparedStatementContext)
// EnterExecuteStatement is called when entering the executeStatement production.
EnterExecuteStatement(c *ExecuteStatementContext)
// EnterExecuteVarList is called when entering the executeVarList production.
EnterExecuteVarList(c *ExecuteVarListContext)
// EnterCloneStatement is called when entering the cloneStatement production.
EnterCloneStatement(c *CloneStatementContext)
// EnterDataDirSSL is called when entering the dataDirSSL production.
EnterDataDirSSL(c *DataDirSSLContext)
// EnterSsl is called when entering the ssl production.
EnterSsl(c *SslContext)
// EnterAccountManagementStatement is called when entering the accountManagementStatement production.
EnterAccountManagementStatement(c *AccountManagementStatementContext)
// EnterAlterUser is called when entering the alterUser production.
EnterAlterUser(c *AlterUserContext)
// EnterAlterUserTail is called when entering the alterUserTail production.
EnterAlterUserTail(c *AlterUserTailContext)
// EnterUserFunction is called when entering the userFunction production.
EnterUserFunction(c *UserFunctionContext)
// EnterCreateUser is called when entering the createUser production.
EnterCreateUser(c *CreateUserContext)
// EnterCreateUserTail is called when entering the createUserTail production.
EnterCreateUserTail(c *CreateUserTailContext)
// EnterDefaultRoleClause is called when entering the defaultRoleClause production.
EnterDefaultRoleClause(c *DefaultRoleClauseContext)
// EnterRequireClause is called when entering the requireClause production.
EnterRequireClause(c *RequireClauseContext)
// EnterConnectOptions is called when entering the connectOptions production.
EnterConnectOptions(c *ConnectOptionsContext)
// EnterAccountLockPasswordExpireOptions is called when entering the accountLockPasswordExpireOptions production.
EnterAccountLockPasswordExpireOptions(c *AccountLockPasswordExpireOptionsContext)
// EnterDropUser is called when entering the dropUser production.
EnterDropUser(c *DropUserContext)
// EnterGrant is called when entering the grant production.
EnterGrant(c *GrantContext)
// EnterGrantTargetList is called when entering the grantTargetList production.
EnterGrantTargetList(c *GrantTargetListContext)
// EnterGrantOptions is called when entering the grantOptions production.
EnterGrantOptions(c *GrantOptionsContext)
// EnterExceptRoleList is called when entering the exceptRoleList production.
EnterExceptRoleList(c *ExceptRoleListContext)
// EnterWithRoles is called when entering the withRoles production.
EnterWithRoles(c *WithRolesContext)
// EnterGrantAs is called when entering the grantAs production.
EnterGrantAs(c *GrantAsContext)
// EnterVersionedRequireClause is called when entering the versionedRequireClause production.
EnterVersionedRequireClause(c *VersionedRequireClauseContext)
// EnterRenameUser is called when entering the renameUser production.
EnterRenameUser(c *RenameUserContext)
// EnterRevoke is called when entering the revoke production.
EnterRevoke(c *RevokeContext)
// EnterOnTypeTo is called when entering the onTypeTo production.
EnterOnTypeTo(c *OnTypeToContext)
// EnterAclType is called when entering the aclType production.
EnterAclType(c *AclTypeContext)
// EnterRoleOrPrivilegesList is called when entering the roleOrPrivilegesList production.
EnterRoleOrPrivilegesList(c *RoleOrPrivilegesListContext)
// EnterRoleOrPrivilege is called when entering the roleOrPrivilege production.
EnterRoleOrPrivilege(c *RoleOrPrivilegeContext)
// EnterGrantIdentifier is called when entering the grantIdentifier production.
EnterGrantIdentifier(c *GrantIdentifierContext)
// EnterRequireList is called when entering the requireList production.
EnterRequireList(c *RequireListContext)
// EnterRequireListElement is called when entering the requireListElement production.
EnterRequireListElement(c *RequireListElementContext)
// EnterGrantOption is called when entering the grantOption production.
EnterGrantOption(c *GrantOptionContext)
// EnterSetRole is called when entering the setRole production.
EnterSetRole(c *SetRoleContext)
// EnterRoleList is called when entering the roleList production.
EnterRoleList(c *RoleListContext)
// EnterRole is called when entering the role production.
EnterRole(c *RoleContext)
// EnterTableAdministrationStatement is called when entering the tableAdministrationStatement production.
EnterTableAdministrationStatement(c *TableAdministrationStatementContext)
// EnterHistogram is called when entering the histogram production.
EnterHistogram(c *HistogramContext)
// EnterCheckOption is called when entering the checkOption production.
EnterCheckOption(c *CheckOptionContext)
// EnterRepairType is called when entering the repairType production.
EnterRepairType(c *RepairTypeContext)
// EnterInstallUninstallStatment is called when entering the installUninstallStatment production.
EnterInstallUninstallStatment(c *InstallUninstallStatmentContext)
// EnterSetStatement is called when entering the setStatement production.
EnterSetStatement(c *SetStatementContext)
// EnterStartOptionValueList is called when entering the startOptionValueList production.
EnterStartOptionValueList(c *StartOptionValueListContext)
// EnterTransactionCharacteristics is called when entering the transactionCharacteristics production.
EnterTransactionCharacteristics(c *TransactionCharacteristicsContext)
// EnterTransactionAccessMode is called when entering the transactionAccessMode production.
EnterTransactionAccessMode(c *TransactionAccessModeContext)
// EnterIsolationLevel is called when entering the isolationLevel production.
EnterIsolationLevel(c *IsolationLevelContext)
// EnterOptionValueListContinued is called when entering the optionValueListContinued production.
EnterOptionValueListContinued(c *OptionValueListContinuedContext)
// EnterOptionValueNoOptionType is called when entering the optionValueNoOptionType production.
EnterOptionValueNoOptionType(c *OptionValueNoOptionTypeContext)
// EnterOptionValue is called when entering the optionValue production.
EnterOptionValue(c *OptionValueContext)
// EnterSetSystemVariable is called when entering the setSystemVariable production.
EnterSetSystemVariable(c *SetSystemVariableContext)
// EnterStartOptionValueListFollowingOptionType is called when entering the startOptionValueListFollowingOptionType production.
EnterStartOptionValueListFollowingOptionType(c *StartOptionValueListFollowingOptionTypeContext)
// EnterOptionValueFollowingOptionType is called when entering the optionValueFollowingOptionType production.
EnterOptionValueFollowingOptionType(c *OptionValueFollowingOptionTypeContext)
// EnterSetExprOrDefault is called when entering the setExprOrDefault production.
EnterSetExprOrDefault(c *SetExprOrDefaultContext)
// EnterShowStatement is called when entering the showStatement production.
EnterShowStatement(c *ShowStatementContext)
// EnterShowCommandType is called when entering the showCommandType production.
EnterShowCommandType(c *ShowCommandTypeContext)
// EnterNonBlocking is called when entering the nonBlocking production.
EnterNonBlocking(c *NonBlockingContext)
// EnterFromOrIn is called when entering the fromOrIn production.
EnterFromOrIn(c *FromOrInContext)
// EnterInDb is called when entering the inDb production.
EnterInDb(c *InDbContext)
// EnterProfileType is called when entering the profileType production.
EnterProfileType(c *ProfileTypeContext)
// EnterOtherAdministrativeStatement is called when entering the otherAdministrativeStatement production.
EnterOtherAdministrativeStatement(c *OtherAdministrativeStatementContext)
// EnterKeyCacheListOrParts is called when entering the keyCacheListOrParts production.
EnterKeyCacheListOrParts(c *KeyCacheListOrPartsContext)
// EnterKeyCacheList is called when entering the keyCacheList production.
EnterKeyCacheList(c *KeyCacheListContext)
// EnterAssignToKeycache is called when entering the assignToKeycache production.
EnterAssignToKeycache(c *AssignToKeycacheContext)
// EnterAssignToKeycachePartition is called when entering the assignToKeycachePartition production.
EnterAssignToKeycachePartition(c *AssignToKeycachePartitionContext)
// EnterCacheKeyList is called when entering the cacheKeyList production.
EnterCacheKeyList(c *CacheKeyListContext)
// EnterKeyUsageElement is called when entering the keyUsageElement production.
EnterKeyUsageElement(c *KeyUsageElementContext)
// EnterKeyUsageList is called when entering the keyUsageList production.
EnterKeyUsageList(c *KeyUsageListContext)
// EnterFlushOption is called when entering the flushOption production.
EnterFlushOption(c *FlushOptionContext)
// EnterLogType is called when entering the logType production.
EnterLogType(c *LogTypeContext)
// EnterFlushTables is called when entering the flushTables production.
EnterFlushTables(c *FlushTablesContext)
// EnterFlushTablesOptions is called when entering the flushTablesOptions production.
EnterFlushTablesOptions(c *FlushTablesOptionsContext)
// EnterPreloadTail is called when entering the preloadTail production.
EnterPreloadTail(c *PreloadTailContext)
// EnterPreloadList is called when entering the preloadList production.
EnterPreloadList(c *PreloadListContext)
// EnterPreloadKeys is called when entering the preloadKeys production.
EnterPreloadKeys(c *PreloadKeysContext)
// EnterAdminPartition is called when entering the adminPartition production.
EnterAdminPartition(c *AdminPartitionContext)
// EnterResourceGroupManagement is called when entering the resourceGroupManagement production.
EnterResourceGroupManagement(c *ResourceGroupManagementContext)
// EnterCreateResourceGroup is called when entering the createResourceGroup production.
EnterCreateResourceGroup(c *CreateResourceGroupContext)
// EnterResourceGroupVcpuList is called when entering the resourceGroupVcpuList production.
EnterResourceGroupVcpuList(c *ResourceGroupVcpuListContext)
// EnterVcpuNumOrRange is called when entering the vcpuNumOrRange production.
EnterVcpuNumOrRange(c *VcpuNumOrRangeContext)
// EnterResourceGroupPriority is called when entering the resourceGroupPriority production.