Class SqlParser

    • Field Detail

      • _tokenNames

        public static final java.lang.String[] _tokenNames
      • _tokenSet_0

        public static final antlr.collections.impl.BitSet _tokenSet_0
      • _tokenSet_1

        public static final antlr.collections.impl.BitSet _tokenSet_1
      • _tokenSet_2

        public static final antlr.collections.impl.BitSet _tokenSet_2
      • _tokenSet_3

        public static final antlr.collections.impl.BitSet _tokenSet_3
      • _tokenSet_4

        public static final antlr.collections.impl.BitSet _tokenSet_4
      • _tokenSet_5

        public static final antlr.collections.impl.BitSet _tokenSet_5
      • _tokenSet_6

        public static final antlr.collections.impl.BitSet _tokenSet_6
      • _tokenSet_7

        public static final antlr.collections.impl.BitSet _tokenSet_7
      • _tokenSet_8

        public static final antlr.collections.impl.BitSet _tokenSet_8
      • _tokenSet_9

        public static final antlr.collections.impl.BitSet _tokenSet_9
      • _tokenSet_10

        public static final antlr.collections.impl.BitSet _tokenSet_10
      • _tokenSet_11

        public static final antlr.collections.impl.BitSet _tokenSet_11
      • _tokenSet_12

        public static final antlr.collections.impl.BitSet _tokenSet_12
      • _tokenSet_13

        public static final antlr.collections.impl.BitSet _tokenSet_13
      • _tokenSet_14

        public static final antlr.collections.impl.BitSet _tokenSet_14
      • _tokenSet_15

        public static final antlr.collections.impl.BitSet _tokenSet_15
      • _tokenSet_16

        public static final antlr.collections.impl.BitSet _tokenSet_16
      • _tokenSet_17

        public static final antlr.collections.impl.BitSet _tokenSet_17
      • _tokenSet_18

        public static final antlr.collections.impl.BitSet _tokenSet_18
      • _tokenSet_19

        public static final antlr.collections.impl.BitSet _tokenSet_19
      • _tokenSet_20

        public static final antlr.collections.impl.BitSet _tokenSet_20
      • _tokenSet_21

        public static final antlr.collections.impl.BitSet _tokenSet_21
      • _tokenSet_22

        public static final antlr.collections.impl.BitSet _tokenSet_22
      • _tokenSet_23

        public static final antlr.collections.impl.BitSet _tokenSet_23
      • _tokenSet_24

        public static final antlr.collections.impl.BitSet _tokenSet_24
      • _tokenSet_25

        public static final antlr.collections.impl.BitSet _tokenSet_25
      • _tokenSet_26

        public static final antlr.collections.impl.BitSet _tokenSet_26
      • _tokenSet_27

        public static final antlr.collections.impl.BitSet _tokenSet_27
      • _tokenSet_28

        public static final antlr.collections.impl.BitSet _tokenSet_28
      • _tokenSet_29

        public static final antlr.collections.impl.BitSet _tokenSet_29
      • _tokenSet_30

        public static final antlr.collections.impl.BitSet _tokenSet_30
      • _tokenSet_31

        public static final antlr.collections.impl.BitSet _tokenSet_31
      • _tokenSet_32

        public static final antlr.collections.impl.BitSet _tokenSet_32
      • _tokenSet_33

        public static final antlr.collections.impl.BitSet _tokenSet_33
      • _tokenSet_34

        public static final antlr.collections.impl.BitSet _tokenSet_34
      • _tokenSet_35

        public static final antlr.collections.impl.BitSet _tokenSet_35
      • _tokenSet_36

        public static final antlr.collections.impl.BitSet _tokenSet_36
      • _tokenSet_37

        public static final antlr.collections.impl.BitSet _tokenSet_37
      • _tokenSet_38

        public static final antlr.collections.impl.BitSet _tokenSet_38
      • _tokenSet_39

        public static final antlr.collections.impl.BitSet _tokenSet_39
      • _tokenSet_40

        public static final antlr.collections.impl.BitSet _tokenSet_40
      • _tokenSet_41

        public static final antlr.collections.impl.BitSet _tokenSet_41
      • _tokenSet_42

        public static final antlr.collections.impl.BitSet _tokenSet_42
      • _tokenSet_43

        public static final antlr.collections.impl.BitSet _tokenSet_43
      • _tokenSet_44

        public static final antlr.collections.impl.BitSet _tokenSet_44
      • _tokenSet_45

        public static final antlr.collections.impl.BitSet _tokenSet_45
      • _tokenSet_46

        public static final antlr.collections.impl.BitSet _tokenSet_46
      • _tokenSet_47

        public static final antlr.collections.impl.BitSet _tokenSet_47
      • _tokenSet_48

        public static final antlr.collections.impl.BitSet _tokenSet_48
      • _tokenSet_49

        public static final antlr.collections.impl.BitSet _tokenSet_49
      • _tokenSet_50

        public static final antlr.collections.impl.BitSet _tokenSet_50
      • _tokenSet_51

        public static final antlr.collections.impl.BitSet _tokenSet_51
      • _tokenSet_52

        public static final antlr.collections.impl.BitSet _tokenSet_52
      • _tokenSet_53

        public static final antlr.collections.impl.BitSet _tokenSet_53
      • _tokenSet_54

        public static final antlr.collections.impl.BitSet _tokenSet_54
      • _tokenSet_55

        public static final antlr.collections.impl.BitSet _tokenSet_55
      • _tokenSet_56

        public static final antlr.collections.impl.BitSet _tokenSet_56
      • _tokenSet_57

        public static final antlr.collections.impl.BitSet _tokenSet_57
      • _tokenSet_58

        public static final antlr.collections.impl.BitSet _tokenSet_58
      • _tokenSet_59

        public static final antlr.collections.impl.BitSet _tokenSet_59
      • _tokenSet_60

        public static final antlr.collections.impl.BitSet _tokenSet_60
      • _tokenSet_61

        public static final antlr.collections.impl.BitSet _tokenSet_61
      • _tokenSet_62

        public static final antlr.collections.impl.BitSet _tokenSet_62
      • _tokenSet_63

        public static final antlr.collections.impl.BitSet _tokenSet_63
      • _tokenSet_64

        public static final antlr.collections.impl.BitSet _tokenSet_64
      • _tokenSet_65

        public static final antlr.collections.impl.BitSet _tokenSet_65
      • _tokenSet_66

        public static final antlr.collections.impl.BitSet _tokenSet_66
      • _tokenSet_67

        public static final antlr.collections.impl.BitSet _tokenSet_67
      • _tokenSet_68

        public static final antlr.collections.impl.BitSet _tokenSet_68
      • _tokenSet_69

        public static final antlr.collections.impl.BitSet _tokenSet_69
      • _tokenSet_70

        public static final antlr.collections.impl.BitSet _tokenSet_70
      • _tokenSet_71

        public static final antlr.collections.impl.BitSet _tokenSet_71
      • _tokenSet_72

        public static final antlr.collections.impl.BitSet _tokenSet_72
      • _tokenSet_73

        public static final antlr.collections.impl.BitSet _tokenSet_73
      • _tokenSet_74

        public static final antlr.collections.impl.BitSet _tokenSet_74
      • _tokenSet_75

        public static final antlr.collections.impl.BitSet _tokenSet_75
      • _tokenSet_76

        public static final antlr.collections.impl.BitSet _tokenSet_76
      • _tokenSet_77

        public static final antlr.collections.impl.BitSet _tokenSet_77
      • _tokenSet_78

        public static final antlr.collections.impl.BitSet _tokenSet_78
      • _tokenSet_79

        public static final antlr.collections.impl.BitSet _tokenSet_79
      • _tokenSet_80

        public static final antlr.collections.impl.BitSet _tokenSet_80
      • _tokenSet_81

        public static final antlr.collections.impl.BitSet _tokenSet_81
      • _tokenSet_82

        public static final antlr.collections.impl.BitSet _tokenSet_82
      • _tokenSet_83

        public static final antlr.collections.impl.BitSet _tokenSet_83
      • _tokenSet_84

        public static final antlr.collections.impl.BitSet _tokenSet_84
      • _tokenSet_85

        public static final antlr.collections.impl.BitSet _tokenSet_85
      • _tokenSet_86

        public static final antlr.collections.impl.BitSet _tokenSet_86
      • _tokenSet_87

        public static final antlr.collections.impl.BitSet _tokenSet_87
      • _tokenSet_88

        public static final antlr.collections.impl.BitSet _tokenSet_88
    • Constructor Detail

      • SqlParser

        protected SqlParser​(antlr.TokenBuffer tokenBuf,
                            int k)
      • SqlParser

        public SqlParser​(antlr.TokenBuffer tokenBuf)
      • SqlParser

        protected SqlParser​(antlr.TokenStream lexer,
                            int k)
      • SqlParser

        public SqlParser​(antlr.TokenStream lexer)
      • SqlParser

        public SqlParser​(antlr.ParserSharedInputState state)
    • Method Detail

      • start_rule

        public final void start_rule()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • sql

        public final void sql()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • sql_statement

        public final void sql_statement()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • select_command

        public final void select_command()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • select_list

        public final void select_list()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • from_list

        public final void from_list()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • where_clause

        public final void where_clause()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • group_clause

        public final void group_clause()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • having_clause

        public final void having_clause()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • order_clause

        public final void order_clause()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • limit_clause

        public final void limit_clause()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • select_value

        public final void select_value()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • abstract_table

        public final void abstract_table()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • abstract_constraint

        public final void abstract_constraint()
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • abstract_value

        public final void abstract_value()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • orderby_value

        public final void orderby_value()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • unsafe_function

        public final void unsafe_function()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • field_alias

        public final void field_alias()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • typecast

        public final void typecast()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • field

        public final void field()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • constant

        public final void constant()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • safe_function

        public final void safe_function()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • paren_value

        public final void paren_value()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • table

        public final void table()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • subquery

        public final void subquery()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • safe_abstract_value

        public final void safe_abstract_value()
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • table_alias

        public final void table_alias()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • table_name

        public final void table_name()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • field_name

        public final void field_name()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • gornull_constraint

        public final void gornull_constraint()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • constraint_set

        public final void constraint_set()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • safe_abstract_constraint

        public final void safe_abstract_constraint()
                                            throws antlr.RecognitionException,
                                                   antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • paren_constraint

        public final void paren_constraint()
                                    throws antlr.RecognitionException,
                                           antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • subquery_constraint

        public final void subquery_constraint()
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • inlist_constraint

        public final void inlist_constraint()
                                     throws antlr.RecognitionException,
                                            antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • constraint

        public final void constraint()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • not_constraint

        public final void not_constraint()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • comparison_op

        public final void comparison_op()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • null_comparison

        public final void null_comparison()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • and_constraint_set

        public final void and_constraint_set()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • or_constraint_set

        public final void or_constraint_set()
                                     throws antlr.RecognitionException,
                                            antlr.TokenStreamException
        Throws:
        antlr.RecognitionException
        antlr.TokenStreamException
      • buildTokenTypeASTClassMap

        protected void buildTokenTypeASTClassMap()