Examples of PGTypeCastExpr


Examples of com.alibaba.druid.sql.dialect.postgresql.ast.expr.PGTypeCastExpr

    public SQLExpr primaryRest(SQLExpr expr) {
        if (lexer.token() == Token.COLONCOLON) {
            lexer.nextToken();
            SQLDataType dataType = this.parseDataType();
           
            PGTypeCastExpr castExpr = new PGTypeCastExpr();
           
            castExpr.setExpr(expr);
            castExpr.setDataType(dataType);

            return primaryRest(castExpr);
        }

        return super.primaryRest(expr);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.