Examples of OracleTableColumn


Examples of com.alibaba.druid.sql.dialect.oracle.ast.stmt.OracleTableColumn

        if (identifierEquals("INITRANS")) throw new ParserException("TODO");
        if (identifierEquals("STORAGE")) throw new ParserException("TODO");
    }

    protected OracleTableColumn parseColumn() throws ParserException {
        OracleTableColumn column = new OracleTableColumn();

        if (lexer.token() != Token.IDENTIFIER) {
            throw new ParserException("syntax error");
        }

        column.setName(lexer.stringVal());
        lexer.nextToken();
        column.setDataType(this.exprParser.parseDataType());

        if (identifierEquals("SORT")) {
            lexer.nextToken();
            column.setSort(true);
        }

        if (identifierEquals("DEFAULT")) {
            lexer.nextToken();
            column.setDefaultValue(this.exprParser.expr());
        }

        if (identifierEquals("ENCTRYPT")) {
            throw new ParserException("TODO");
        }
View Full Code Here

Examples of com.alibaba.druid.sql.dialect.oracle.ast.stmt.OracleTableColumn

        if (identifierEquals("INITRANS")) throw new ParserException("TODO");
        if (identifierEquals("STORAGE")) throw new ParserException("TODO");
    }

    protected OracleTableColumn parseColumn() throws ParserException {
        OracleTableColumn column = new OracleTableColumn();
        column.setName(lexer.stringVal());
        lexer.nextToken();
        column.setDataType(this.exprParser.parseDataType());

        if (identifierEquals("SORT")) {
            lexer.nextToken();
            column.setSort(true);
        }

        if (lexer.token() == Token.DEFAULT) {
            lexer.nextToken();
            column.setDefaultValue(this.exprParser.expr());
        }

        if (identifierEquals("ENCTRYPT")) {
            throw new ParserException("TODO");
        }
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.