类 LiteralProcessor

  • 所有已实现的接口:
    HqlSqlTokenTypes

    public class LiteralProcessor
    extends Object
    implements HqlSqlTokenTypes
    A delegate that handles literals and constants for HqlSqlWalker, performing the token replacement functions and classifying literals.
    作者:
    josh
    • 字段详细资料

    • 构造器详细资料

      • LiteralProcessor

        public LiteralProcessor​(HqlSqlWalker hqlSqlWalker)
    • 方法详细资料

      • isAlias

        public boolean isAlias​(String alias)
      • processConstant

        public void processConstant​(antlr.collections.AST constant,
                                    boolean resolveIdent)
                             throws antlr.SemanticException
        抛出:
        antlr.SemanticException
      • lookupConstant

        public void lookupConstant​(DotNode node)
                            throws antlr.SemanticException
        抛出:
        antlr.SemanticException
      • processBoolean

        public void processBoolean​(antlr.collections.AST constant)
      • processNull

        public void processNull​(antlr.collections.AST constant)
      • processNumeric

        public void processNumeric​(antlr.collections.AST literal)
      • determineDecimalRepresentation

        public String determineDecimalRepresentation​(String text,
                                                     int type)