Package com.alibaba.druid.sql.dialect.oracle.ast.stmt

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


   
    public OraclePrimaryKey parsePrimaryKey() {
        lexer.nextToken();
        accept(Token.KEY);

        OraclePrimaryKey primaryKey = new OraclePrimaryKey();
        accept(Token.LPAREN);
        exprList(primaryKey.getColumns());
        accept(Token.RPAREN);

       
        if (lexer.token() == Token.USING) {
            lexer.nextToken();
            accept(Token.INDEX);
            primaryKey.setUsingIndex(expr());
        }
        return primaryKey;
    }
View Full Code Here


   
    public OraclePrimaryKey parsePrimaryKey() {
        lexer.nextToken();
        accept(Token.KEY);

        OraclePrimaryKey primaryKey = new OraclePrimaryKey();
        accept(Token.LPAREN);
        exprList(primaryKey.getColumns());
        accept(Token.RPAREN);

       
        if (lexer.token() == Token.USING) {
            lexer.nextToken();
            accept(Token.INDEX);
            primaryKey.setUsingIndex(expr());
        }
        return primaryKey;
    }
View Full Code Here

   
    public OraclePrimaryKey parsePrimaryKey() {
        lexer.nextToken();
        accept(Token.KEY);

        OraclePrimaryKey primaryKey = new OraclePrimaryKey();
        accept(Token.LPAREN);
        exprList(primaryKey.getColumns());
        accept(Token.RPAREN);

       
        if (lexer.token() == Token.USING) {
            lexer.nextToken();
            accept(Token.INDEX);
            primaryKey.setUsingIndex(expr());
        }
        return primaryKey;
    }
View Full Code Here

   
    public OraclePrimaryKey parsePrimaryKey() {
        lexer.nextToken();
        accept(Token.KEY);

        OraclePrimaryKey primaryKey = new OraclePrimaryKey();
        accept(Token.LPAREN);
        exprList(primaryKey.getColumns(), primaryKey);
        accept(Token.RPAREN);

       
        if (lexer.token() == Token.USING) {
            OracleUsingIndexClause using = parseUsingIndex();
            primaryKey.setUsing(using);
        }
        return primaryKey;
    }
View Full Code Here

        new Else().accept(adapter);
        new ElseIf().accept(adapter);
        new OracleIfStatement().accept(adapter);
        new OracleRangeExpr().accept(adapter);
        new OracleAlterTableAddConstaint().accept(adapter);
        new OraclePrimaryKey().accept(adapter);
        new OracleCreateTableStatement().accept(adapter);
        new OracleAlterTableRenameTo().accept(adapter);
        new OracleStorageClause().accept(adapter);
        new OracleGotoStatement().accept(adapter);
        new OracleLabelStatement().accept(adapter);
View Full Code Here

   
    public OraclePrimaryKey parsePrimaryKey() {
        lexer.nextToken();
        accept(Token.KEY);

        OraclePrimaryKey primaryKey = new OraclePrimaryKey();
        accept(Token.LPAREN);
        exprList(primaryKey.getColumns());
        accept(Token.RPAREN);

       
        if (lexer.token() == Token.USING) {
            lexer.nextToken();
            accept(Token.INDEX);
            primaryKey.setUsingIndex(expr());
        }
        return primaryKey;
    }
View Full Code Here

   
    public OraclePrimaryKey parsePrimaryKey() {
        lexer.nextToken();
        accept(Token.KEY);

        OraclePrimaryKey primaryKey = new OraclePrimaryKey();
        accept(Token.LPAREN);
        exprList(primaryKey.getColumns());
        accept(Token.RPAREN);

       
        if (lexer.token() == Token.USING) {
            OracleUsingIndexClause using = parseUsingIndex();
            primaryKey.setUsing(using);
        }
        return primaryKey;
    }
View Full Code Here

   
    public OraclePrimaryKey parsePrimaryKey() {
        lexer.nextToken();
        accept(Token.KEY);

        OraclePrimaryKey primaryKey = new OraclePrimaryKey();
        accept(Token.LPAREN);
        exprList(primaryKey.getColumns());
        accept(Token.RPAREN);

       
        if (lexer.token() == Token.USING) {
            lexer.nextToken();
            accept(Token.INDEX);
            primaryKey.setUsingIndex(expr());
        }
        return primaryKey;
    }
View Full Code Here

   
    public OraclePrimaryKey parsePrimaryKey() {
        lexer.nextToken();
        accept(Token.KEY);

        OraclePrimaryKey primaryKey = new OraclePrimaryKey();
        accept(Token.LPAREN);
        exprList(primaryKey.getColumns());
        accept(Token.RPAREN);

       
        if (lexer.token() == Token.USING) {
            OracleUsingIndexClause using = parseUsingIndex();
            primaryKey.setUsing(using);
        }
        return primaryKey;
    }
View Full Code Here

   
    public OraclePrimaryKey parsePrimaryKey() {
        lexer.nextToken();
        accept(Token.KEY);

        OraclePrimaryKey primaryKey = new OraclePrimaryKey();
        accept(Token.LPAREN);
        exprList(primaryKey.getColumns());
        accept(Token.RPAREN);

       
        if (lexer.token() == Token.USING) {
            lexer.nextToken();
            accept(Token.INDEX);
            primaryKey.setUsingIndex(expr());
        }
        return primaryKey;
    }
View Full Code Here

TOP

Related Classes of com.alibaba.druid.sql.dialect.oracle.ast.stmt.OraclePrimaryKey

Copyright © 2018 www.massapicom. 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.