1 /* 2 * Copyright 2015-2018 HuntLabs.cn 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 module hunt.sql.dialect.mysql.visitor.MySqlASTVisitorAdapter; 17 18 import hunt.sql.ast.statement.SQLAlterCharacter; 19 import hunt.sql.dialect.mysql.ast.MySqlForceIndexHint; 20 import hunt.sql.dialect.mysql.ast.MySqlIgnoreIndexHint; 21 import hunt.sql.dialect.mysql.ast.MySqlKey; 22 import hunt.sql.dialect.mysql.ast.MySqlPrimaryKey; 23 import hunt.sql.dialect.mysql.ast.MySqlUnique; 24 import hunt.sql.dialect.mysql.ast.MySqlUseIndexHint; 25 import hunt.sql.dialect.mysql.ast.MysqlForeignKey; 26 import hunt.sql.dialect.mysql.ast.clause.MySqlCaseStatement; 27 // import hunt.sql.dialect.mysql.ast.clause.MySqlCaseStatement.MySqlWhenStatement; 28 import hunt.sql.dialect.mysql.ast.clause.MySqlCursorDeclareStatement; 29 import hunt.sql.dialect.mysql.ast.clause.MySqlDeclareConditionStatement; 30 import hunt.sql.dialect.mysql.ast.clause.MySqlDeclareHandlerStatement; 31 import hunt.sql.dialect.mysql.ast.clause.MySqlDeclareStatement; 32 import hunt.sql.dialect.mysql.ast.clause.MySqlIterateStatement; 33 import hunt.sql.dialect.mysql.ast.clause.MySqlLeaveStatement; 34 import hunt.sql.dialect.mysql.ast.clause.MySqlRepeatStatement; 35 import hunt.sql.dialect.mysql.ast.clause.MySqlSelectIntoStatement; 36 import hunt.sql.dialect.mysql.ast.expr.MySqlCharExpr; 37 import hunt.sql.dialect.mysql.ast.expr.MySqlExtractExpr; 38 import hunt.sql.ast.expr.SQLIntervalExpr; 39 import hunt.sql.dialect.mysql.ast.expr.MySqlMatchAgainstExpr; 40 import hunt.sql.dialect.mysql.ast.expr.MySqlOrderingExpr; 41 import hunt.sql.dialect.mysql.ast.expr.MySqlOutFileExpr; 42 import hunt.sql.dialect.mysql.ast.expr.MySqlUserName; 43 import hunt.sql.dialect.mysql.ast.statement; 44 import hunt.sql.dialect.mysql.ast.statement.MySqlCreateTableStatement; 45 import hunt.sql.dialect.mysql.ast.statement.MySqlCreateUserStatement; 46 // import hunt.sql.dialect.mysql.ast.statement.MySqlCreateTableStatement.TableSpaceOption; 47 // import hunt.sql.dialect.mysql.ast.statement.MySqlCreateUserStatement.UserSpecification; 48 import hunt.sql.visitor.SQLASTVisitorAdapter; 49 import hunt.sql.dialect.mysql.visitor.MySqlASTVisitor; 50 51 public class MySqlASTVisitorAdapter : SQLASTVisitorAdapter , MySqlASTVisitor { 52 53 alias endVisit = SQLASTVisitorAdapter.endVisit; 54 alias visit = SQLASTVisitorAdapter.visit; 55 override 56 public bool visit(MySqlTableIndex x) { 57 return true; 58 } 59 60 override 61 public void endVisit(MySqlTableIndex x) { 62 63 } 64 65 override 66 public bool visit(MySqlKey x) { 67 return true; 68 } 69 70 override 71 public void endVisit(MySqlKey x) { 72 73 } 74 75 override 76 public bool visit(MySqlPrimaryKey x) { 77 78 return true; 79 } 80 81 override 82 public void endVisit(MySqlPrimaryKey x) { 83 84 } 85 86 override 87 public void endVisit(SQLIntervalExpr x) { 88 } 89 90 override 91 public bool visit(SQLIntervalExpr x) { 92 return true; 93 } 94 95 override 96 public void endVisit(MySqlExtractExpr x) { 97 98 } 99 100 override 101 public bool visit(MySqlExtractExpr x) { 102 103 return true; 104 } 105 106 override 107 public void endVisit(MySqlMatchAgainstExpr x) { 108 109 } 110 111 override 112 public bool visit(MySqlMatchAgainstExpr x) { 113 114 return true; 115 } 116 117 override 118 public void endVisit(MySqlPrepareStatement x) { 119 120 } 121 122 override 123 public bool visit(MySqlPrepareStatement x) { 124 125 return true; 126 } 127 128 override 129 public void endVisit(MySqlExecuteStatement x) { 130 131 } 132 133 override 134 public bool visit(MySqlExecuteStatement x) { 135 136 return true; 137 } 138 139 override 140 public void endVisit(MysqlDeallocatePrepareStatement x) { 141 142 } 143 144 override 145 public bool visit(MysqlDeallocatePrepareStatement x) { 146 return true; 147 } 148 149 override 150 public void endVisit(MySqlDeleteStatement x) { 151 152 } 153 154 override 155 public bool visit(MySqlDeleteStatement x) { 156 157 return true; 158 } 159 160 override 161 public void endVisit(MySqlInsertStatement x) { 162 163 } 164 165 override 166 public bool visit(MySqlInsertStatement x) { 167 168 return true; 169 } 170 171 override 172 public void endVisit(MySqlLoadDataInFileStatement x) { 173 174 } 175 176 override 177 public bool visit(MySqlLoadDataInFileStatement x) { 178 179 return true; 180 } 181 182 override 183 public void endVisit(MySqlLoadXmlStatement x) { 184 185 } 186 187 override 188 public bool visit(MySqlLoadXmlStatement x) { 189 190 return true; 191 } 192 193 override 194 public void endVisit(MySqlShowColumnsStatement x) { 195 196 } 197 198 override 199 public bool visit(MySqlShowColumnsStatement x) { 200 201 return true; 202 } 203 204 override 205 public void endVisit(MySqlShowDatabasesStatement x) { 206 207 } 208 209 override 210 public bool visit(MySqlShowDatabasesStatement x) { 211 212 return true; 213 } 214 215 override 216 public void endVisit(MySqlShowWarningsStatement x) { 217 218 } 219 220 override 221 public bool visit(MySqlShowWarningsStatement x) { 222 223 return true; 224 } 225 226 override 227 public void endVisit(MySqlShowStatusStatement x) { 228 229 } 230 231 override 232 public bool visit(MySqlShowStatusStatement x) { 233 234 return true; 235 } 236 237 override 238 public void endVisit(CobarShowStatus x) { 239 240 } 241 242 override 243 public bool visit(CobarShowStatus x) { 244 return true; 245 } 246 247 override 248 public void endVisit(MySqlKillStatement x) { 249 250 } 251 252 override 253 public bool visit(MySqlKillStatement x) { 254 return true; 255 } 256 257 override 258 public void endVisit(MySqlBinlogStatement x) { 259 260 } 261 262 override 263 public bool visit(MySqlBinlogStatement x) { 264 return true; 265 } 266 267 override 268 public void endVisit(MySqlResetStatement x) { 269 270 } 271 272 override 273 public bool visit(MySqlResetStatement x) { 274 return true; 275 } 276 277 override 278 public void endVisit(MySqlCreateUserStatement x) { 279 280 } 281 282 override 283 public bool visit(MySqlCreateUserStatement x) { 284 return true; 285 } 286 287 override 288 public void endVisit(MySqlCreateUserStatement.UserSpecification x) { 289 290 } 291 292 override 293 public bool visit(MySqlCreateUserStatement.UserSpecification x) { 294 return true; 295 } 296 297 override 298 public void endVisit(MySqlPartitionByKey x) { 299 300 } 301 302 override 303 public bool visit(MySqlPartitionByKey x) { 304 return true; 305 } 306 307 override 308 public bool visit(MySqlSelectQueryBlock x) { 309 return true; 310 } 311 312 override 313 public void endVisit(MySqlSelectQueryBlock x) { 314 315 } 316 317 override 318 public bool visit(MySqlOutFileExpr x) { 319 return true; 320 } 321 322 override 323 public void endVisit(MySqlOutFileExpr x) { 324 325 } 326 327 override 328 public bool visit(MySqlExplainStatement x) { 329 return true; 330 } 331 332 override 333 public void endVisit(MySqlExplainStatement x) { 334 335 } 336 337 override 338 public bool visit(MySqlUpdateStatement x) { 339 return true; 340 } 341 342 override 343 public void endVisit(MySqlUpdateStatement x) { 344 345 } 346 347 override 348 public bool visit(MySqlSetTransactionStatement x) { 349 return true; 350 } 351 352 override 353 public void endVisit(MySqlSetTransactionStatement x) { 354 355 } 356 357 override 358 public bool visit(MySqlShowAuthorsStatement x) { 359 return true; 360 } 361 362 override 363 public void endVisit(MySqlShowAuthorsStatement x) { 364 365 } 366 367 override 368 public bool visit(MySqlShowBinaryLogsStatement x) { 369 return true; 370 } 371 372 override 373 public void endVisit(MySqlShowBinaryLogsStatement x) { 374 375 } 376 377 override 378 public bool visit(MySqlShowMasterLogsStatement x) { 379 return true; 380 } 381 382 override 383 public void endVisit(MySqlShowMasterLogsStatement x) { 384 385 } 386 387 override 388 public bool visit(MySqlShowCollationStatement x) { 389 return true; 390 } 391 392 override 393 public void endVisit(MySqlShowCollationStatement x) { 394 395 } 396 397 override 398 public bool visit(MySqlShowBinLogEventsStatement x) { 399 return true; 400 } 401 402 override 403 public void endVisit(MySqlShowBinLogEventsStatement x) { 404 405 } 406 407 override 408 public bool visit(MySqlShowCharacterSetStatement x) { 409 return true; 410 } 411 412 override 413 public void endVisit(MySqlShowCharacterSetStatement x) { 414 415 } 416 417 override 418 public bool visit(MySqlShowContributorsStatement x) { 419 return true; 420 } 421 422 override 423 public void endVisit(MySqlShowContributorsStatement x) { 424 425 } 426 427 override 428 public bool visit(MySqlShowCreateDatabaseStatement x) { 429 return true; 430 } 431 432 override 433 public void endVisit(MySqlShowCreateDatabaseStatement x) { 434 435 } 436 437 override 438 public bool visit(MySqlShowCreateEventStatement x) { 439 return true; 440 } 441 442 override 443 public void endVisit(MySqlShowCreateEventStatement x) { 444 445 } 446 447 override 448 public bool visit(MySqlShowCreateFunctionStatement x) { 449 return true; 450 } 451 452 override 453 public void endVisit(MySqlShowCreateFunctionStatement x) { 454 455 } 456 457 override 458 public bool visit(MySqlShowCreateProcedureStatement x) { 459 return true; 460 } 461 462 override 463 public void endVisit(MySqlShowCreateProcedureStatement x) { 464 465 } 466 467 override 468 public bool visit(MySqlShowCreateTableStatement x) { 469 return true; 470 } 471 472 override 473 public void endVisit(MySqlShowCreateTableStatement x) { 474 475 } 476 477 override 478 public bool visit(MySqlShowCreateTriggerStatement x) { 479 return true; 480 } 481 482 override 483 public void endVisit(MySqlShowCreateTriggerStatement x) { 484 485 } 486 487 override 488 public bool visit(MySqlShowCreateViewStatement x) { 489 return true; 490 } 491 492 override 493 public void endVisit(MySqlShowCreateViewStatement x) { 494 495 } 496 497 override 498 public bool visit(MySqlShowEngineStatement x) { 499 return true; 500 } 501 502 override 503 public void endVisit(MySqlShowEngineStatement x) { 504 505 } 506 507 override 508 public bool visit(MySqlShowEnginesStatement x) { 509 return true; 510 } 511 512 override 513 public void endVisit(MySqlShowEnginesStatement x) { 514 515 } 516 517 override 518 public bool visit(MySqlShowErrorsStatement x) { 519 return true; 520 } 521 522 override 523 public void endVisit(MySqlShowErrorsStatement x) { 524 525 } 526 527 override 528 public bool visit(MySqlShowEventsStatement x) { 529 return true; 530 } 531 532 override 533 public void endVisit(MySqlShowEventsStatement x) { 534 535 } 536 537 override 538 public bool visit(MySqlShowFunctionCodeStatement x) { 539 return true; 540 } 541 542 override 543 public void endVisit(MySqlShowFunctionCodeStatement x) { 544 545 } 546 547 override 548 public bool visit(MySqlShowFunctionStatusStatement x) { 549 return true; 550 } 551 552 override 553 public void endVisit(MySqlShowFunctionStatusStatement x) { 554 555 } 556 557 override 558 public bool visit(MySqlShowGrantsStatement x) { 559 return true; 560 } 561 562 override 563 public void endVisit(MySqlShowGrantsStatement x) { 564 } 565 566 override 567 public bool visit(MySqlUserName x) { 568 return true; 569 } 570 571 override 572 public void endVisit(MySqlUserName x) { 573 574 } 575 576 override 577 public bool visit(MySqlShowIndexesStatement x) { 578 return true; 579 } 580 581 override 582 public void endVisit(MySqlShowIndexesStatement x) { 583 584 } 585 586 override 587 public bool visit(MySqlShowKeysStatement x) { 588 return true; 589 } 590 591 override 592 public void endVisit(MySqlShowKeysStatement x) { 593 594 } 595 596 override 597 public bool visit(MySqlShowMasterStatusStatement x) { 598 return true; 599 } 600 601 override 602 public void endVisit(MySqlShowMasterStatusStatement x) { 603 604 } 605 606 override 607 public bool visit(MySqlShowOpenTablesStatement x) { 608 return true; 609 } 610 611 override 612 public void endVisit(MySqlShowOpenTablesStatement x) { 613 614 } 615 616 override 617 public bool visit(MySqlShowPluginsStatement x) { 618 return true; 619 } 620 621 override 622 public void endVisit(MySqlShowPluginsStatement x) { 623 624 } 625 626 override 627 public bool visit(MySqlShowPrivilegesStatement x) { 628 return true; 629 } 630 631 override 632 public void endVisit(MySqlShowPrivilegesStatement x) { 633 634 } 635 636 override 637 public bool visit(MySqlShowProcedureCodeStatement x) { 638 return true; 639 } 640 641 override 642 public void endVisit(MySqlShowProcedureCodeStatement x) { 643 644 } 645 646 override 647 public bool visit(MySqlShowProcedureStatusStatement x) { 648 return true; 649 } 650 651 override 652 public void endVisit(MySqlShowProcedureStatusStatement x) { 653 654 } 655 656 override 657 public bool visit(MySqlShowProcessListStatement x) { 658 return true; 659 } 660 661 override 662 public void endVisit(MySqlShowProcessListStatement x) { 663 664 } 665 666 override 667 public bool visit(MySqlShowProfileStatement x) { 668 return true; 669 } 670 671 override 672 public void endVisit(MySqlShowProfileStatement x) { 673 674 } 675 676 override 677 public bool visit(MySqlShowProfilesStatement x) { 678 return true; 679 } 680 681 override 682 public void endVisit(MySqlShowProfilesStatement x) { 683 684 } 685 686 override 687 public bool visit(MySqlShowRelayLogEventsStatement x) { 688 return true; 689 } 690 691 override 692 public void endVisit(MySqlShowRelayLogEventsStatement x) { 693 694 } 695 696 override 697 public bool visit(MySqlShowSlaveHostsStatement x) { 698 return true; 699 } 700 701 override 702 public void endVisit(MySqlShowSlaveHostsStatement x) { 703 704 } 705 706 override 707 public bool visit(MySqlShowSlaveStatusStatement x) { 708 return true; 709 } 710 711 override 712 public void endVisit(MySqlShowSlaveStatusStatement x) { 713 714 } 715 716 override 717 public bool visit(MySqlShowTableStatusStatement x) { 718 return true; 719 } 720 721 override 722 public void endVisit(MySqlShowTableStatusStatement x) { 723 724 } 725 726 override 727 public bool visit(MySqlShowTriggersStatement x) { 728 return true; 729 } 730 731 override 732 public void endVisit(MySqlShowTriggersStatement x) { 733 734 } 735 736 override 737 public bool visit(MySqlShowVariantsStatement x) { 738 return true; 739 } 740 741 override 742 public void endVisit(MySqlShowVariantsStatement x) { 743 744 } 745 746 override 747 public bool visit(MySqlRenameTableStatement.Item x) { 748 return true; 749 } 750 751 override 752 public void endVisit(MySqlRenameTableStatement.Item x) { 753 754 } 755 756 override 757 public bool visit(MySqlRenameTableStatement x) { 758 return true; 759 } 760 761 override 762 public void endVisit(MySqlRenameTableStatement x) { 763 764 } 765 766 override 767 public bool visit(MySqlUseIndexHint x) { 768 return true; 769 } 770 771 override 772 public void endVisit(MySqlUseIndexHint x) { 773 774 } 775 776 override 777 public bool visit(MySqlIgnoreIndexHint x) { 778 return true; 779 } 780 781 override 782 public void endVisit(MySqlIgnoreIndexHint x) { 783 784 } 785 786 override 787 public bool visit(MySqlLockTableStatement x) { 788 return true; 789 } 790 791 override 792 public void endVisit(MySqlLockTableStatement x) { 793 794 } 795 796 override 797 public bool visit(MySqlLockTableStatement.Item x) { 798 return true; 799 } 800 801 override 802 public void endVisit(MySqlLockTableStatement.Item x) { 803 804 } 805 806 override 807 public bool visit(MySqlUnlockTablesStatement x) { 808 return true; 809 } 810 811 override 812 public void endVisit(MySqlUnlockTablesStatement x) { 813 814 } 815 816 override 817 public bool visit(MySqlForceIndexHint x) { 818 return true; 819 } 820 821 override 822 public void endVisit(MySqlForceIndexHint x) { 823 824 } 825 826 override 827 public bool visit(MySqlAlterTableChangeColumn x) { 828 return true; 829 } 830 831 override 832 public void endVisit(MySqlAlterTableChangeColumn x) { 833 834 } 835 836 override 837 public bool visit(SQLAlterCharacter x) { 838 return true; 839 } 840 841 override 842 public void endVisit(SQLAlterCharacter x) { 843 844 } 845 846 override 847 public bool visit(MySqlAlterTableOption x) { 848 return true; 849 } 850 851 override 852 public void endVisit(MySqlAlterTableOption x) { 853 854 } 855 856 override 857 public bool visit(MySqlCreateTableStatement x) { 858 return true; 859 } 860 861 override 862 public void endVisit(MySqlCreateTableStatement x) { 863 864 } 865 866 override 867 public bool visit(MySqlHelpStatement x) { 868 return true; 869 } 870 871 override 872 public void endVisit(MySqlHelpStatement x) { 873 874 } 875 876 override 877 public bool visit(MySqlCharExpr x) { 878 return true; 879 } 880 881 override 882 public void endVisit(MySqlCharExpr x) { 883 884 } 885 886 override 887 public bool visit(MySqlUnique x) { 888 return true; 889 } 890 891 override 892 public void endVisit(MySqlUnique x) { 893 894 } 895 896 override 897 public bool visit(MysqlForeignKey x) { 898 return true; 899 } 900 901 override 902 public void endVisit(MysqlForeignKey x) { 903 904 } 905 906 override 907 public bool visit(MySqlAlterTableModifyColumn x) { 908 return true; 909 } 910 911 override 912 public void endVisit(MySqlAlterTableModifyColumn x) { 913 914 } 915 916 override 917 public bool visit(MySqlAlterTableDiscardTablespace x) { 918 return true; 919 } 920 921 override 922 public void endVisit(MySqlAlterTableDiscardTablespace x) { 923 924 } 925 926 override 927 public bool visit(MySqlAlterTableImportTablespace x) { 928 return true; 929 } 930 931 override 932 public void endVisit(MySqlAlterTableImportTablespace x) { 933 934 } 935 936 override 937 public bool visit(MySqlCreateTableStatement.TableSpaceOption x) { 938 return true; 939 } 940 941 override 942 public void endVisit(MySqlCreateTableStatement.TableSpaceOption x) { 943 944 } 945 946 override 947 public bool visit(MySqlAnalyzeStatement x) { 948 return true; 949 } 950 951 override 952 public void endVisit(MySqlAnalyzeStatement x) { 953 954 } 955 956 override 957 public bool visit(MySqlAlterUserStatement x) { 958 return true; 959 } 960 961 override 962 public void endVisit(MySqlAlterUserStatement x) { 963 964 } 965 966 override 967 public bool visit(MySqlOptimizeStatement x) { 968 return true; 969 } 970 971 override 972 public void endVisit(MySqlOptimizeStatement x) { 973 974 } 975 976 override 977 public bool visit(MySqlHintStatement x) { 978 return true; 979 } 980 981 override 982 public void endVisit(MySqlHintStatement x) { 983 984 } 985 986 override 987 public bool visit(MySqlOrderingExpr x) { 988 return true; 989 } 990 991 override 992 public void endVisit(MySqlOrderingExpr x) { 993 994 } 995 996 override 997 public bool visit(MySqlCaseStatement x) { 998 return true; 999 } 1000 1001 override 1002 public void endVisit(MySqlCaseStatement x) { 1003 1004 } 1005 1006 override 1007 public bool visit(MySqlDeclareStatement x) { 1008 return true; 1009 } 1010 1011 override 1012 public void endVisit(MySqlDeclareStatement x) { 1013 1014 } 1015 1016 override 1017 public bool visit(MySqlSelectIntoStatement x) { 1018 return true; 1019 } 1020 1021 override 1022 public void endVisit(MySqlSelectIntoStatement x) { 1023 1024 } 1025 1026 override 1027 public bool visit(MySqlCaseStatement.MySqlWhenStatement x) { 1028 return true; 1029 } 1030 1031 override 1032 public void endVisit(MySqlCaseStatement.MySqlWhenStatement x) { 1033 1034 } 1035 // add:end 1036 1037 override 1038 public bool visit(MySqlLeaveStatement x) { 1039 return false; 1040 } 1041 1042 override 1043 public void endVisit(MySqlLeaveStatement x) { 1044 1045 } 1046 1047 override 1048 public bool visit(MySqlIterateStatement x) { 1049 return false; 1050 } 1051 1052 override 1053 public void endVisit(MySqlIterateStatement x) { 1054 1055 } 1056 1057 override 1058 public bool visit(MySqlRepeatStatement x) { 1059 return false; 1060 } 1061 1062 override 1063 public void endVisit(MySqlRepeatStatement x) { 1064 1065 } 1066 1067 override 1068 public bool visit(MySqlCursorDeclareStatement x) { 1069 return false; 1070 } 1071 1072 override 1073 public void endVisit(MySqlCursorDeclareStatement x) { 1074 1075 } 1076 1077 override 1078 public bool visit(MySqlUpdateTableSource x) { 1079 return true; 1080 } 1081 1082 override 1083 public void endVisit(MySqlUpdateTableSource x) { 1084 1085 } 1086 1087 override 1088 public bool visit(MySqlAlterTableAlterColumn x) { 1089 return true; 1090 } 1091 1092 override 1093 public void endVisit(MySqlAlterTableAlterColumn x) { 1094 1095 } 1096 1097 override 1098 public bool visit(MySqlSubPartitionByKey x) { 1099 return true; 1100 } 1101 1102 override 1103 public void endVisit(MySqlSubPartitionByKey x) { 1104 1105 } 1106 1107 override 1108 public bool visit(MySqlSubPartitionByList x) { 1109 return true; 1110 } 1111 1112 override 1113 public void endVisit(MySqlSubPartitionByList x) { 1114 } 1115 1116 override 1117 public bool visit(MySqlDeclareHandlerStatement x) { 1118 return false; 1119 } 1120 1121 override 1122 public void endVisit(MySqlDeclareHandlerStatement x) { 1123 1124 } 1125 1126 override 1127 public bool visit(MySqlDeclareConditionStatement x) { 1128 return false; 1129 } 1130 1131 override 1132 public void endVisit(MySqlDeclareConditionStatement x) { 1133 1134 } 1135 1136 override 1137 public bool visit(MySqlFlushStatement x) { 1138 return false; 1139 } 1140 1141 override 1142 public void endVisit(MySqlFlushStatement x) { 1143 1144 } 1145 1146 override 1147 public bool visit(MySqlEventSchedule x) { 1148 return true; 1149 } 1150 1151 override 1152 public void endVisit(MySqlEventSchedule x) { 1153 1154 } 1155 1156 override 1157 public bool visit(MySqlCreateEventStatement x) { 1158 return true; 1159 } 1160 1161 override 1162 public void endVisit(MySqlCreateEventStatement x) { 1163 1164 } 1165 1166 override 1167 public bool visit(MySqlCreateAddLogFileGroupStatement x) { 1168 return true; 1169 } 1170 1171 override 1172 public void endVisit(MySqlCreateAddLogFileGroupStatement x) { 1173 1174 } 1175 1176 override 1177 public bool visit(MySqlCreateServerStatement x) { 1178 return true; 1179 } 1180 1181 override 1182 public void endVisit(MySqlCreateServerStatement x) { 1183 1184 } 1185 1186 override 1187 public bool visit(MySqlCreateTableSpaceStatement x) { 1188 return true; 1189 } 1190 1191 override 1192 public void endVisit(MySqlCreateTableSpaceStatement x) { 1193 1194 } 1195 1196 override 1197 public bool visit(MySqlAlterEventStatement x) { 1198 return true; 1199 } 1200 1201 override 1202 public void endVisit(MySqlAlterEventStatement x) { 1203 1204 } 1205 1206 override 1207 public bool visit(MySqlAlterLogFileGroupStatement x) { 1208 return true; 1209 } 1210 1211 override 1212 public void endVisit(MySqlAlterLogFileGroupStatement x) { 1213 1214 } 1215 1216 override 1217 public bool visit(MySqlAlterServerStatement x) { 1218 return true; 1219 } 1220 1221 override 1222 public void endVisit(MySqlAlterServerStatement x) { 1223 1224 } 1225 1226 override 1227 public bool visit(MySqlAlterTablespaceStatement x) { 1228 return true; 1229 } 1230 1231 override 1232 public void endVisit(MySqlAlterTablespaceStatement x) { 1233 1234 } 1235 1236 override 1237 public bool visit(MySqlShowDatabasePartitionStatusStatement x) { 1238 return true; 1239 } 1240 1241 override 1242 public void endVisit(MySqlShowDatabasePartitionStatusStatement x) { 1243 1244 } 1245 1246 override 1247 public bool visit(MySqlChecksumTableStatement x) { 1248 return true; 1249 } 1250 1251 override 1252 public void endVisit(MySqlChecksumTableStatement x) { 1253 1254 } 1255 1256 } //