Package org.apache.derby.impl.sql.compile

Examples of org.apache.derby.impl.sql.compile.RoutineDesignator


/*
* <A NAME="routineGrantStatement">routineGrantStatement</A>
*/
  final public StatementNode routineGrantStatement() throws ParseException, StandardException {
    List grantees;
    RoutineDesignator routine;
    jj_consume_token(EXECUTE);
    jj_consume_token(ON);
    routine = routineDesignator();
    jj_consume_token(TO);
    grantees = granteeList();
View Full Code Here


/*
* <A NAME="routineAlias">routineAlias</A>
*/
  final public RoutineDesignator routineDesignator() throws ParseException, StandardException {
    Token procOrFunction;
    RoutineDesignator routine = null;
    TableName name = null;
    List paramTypeList = null;
    switch (jj_nt.kind) {
    case FUNCTION:
      procOrFunction = jj_consume_token(FUNCTION);
      break;
    case PROCEDURE:
      procOrFunction = jj_consume_token(PROCEDURE);
      break;
    default:
      jj_la1[299] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
    name = qualifiedName(Limits.MAX_IDENTIFIER_LENGTH);
    switch (jj_nt.kind) {
    case LEFT_PAREN:
      jj_consume_token(LEFT_PAREN);
      paramTypeList = parameterTypeList();
      jj_consume_token(RIGHT_PAREN);
      break;
    default:
      jj_la1[300] = jj_gen;
      ;
    }
        {if (true) return new RoutineDesignator( false,
                                      name,
                                      (procOrFunction.kind == FUNCTION),
                                      paramTypeList);}
    throw new Error("Missing return statement in function");
  }
View Full Code Here

/*
* <A NAME="routineRevokeStatement">routineRevokeStatement</A>
*/
  final public StatementNode routineRevokeStatement() throws ParseException, StandardException {
    List grantees;
    RoutineDesignator routine = null;
    jj_consume_token(EXECUTE);
    jj_consume_token(ON);
    routine = routineDesignator();
    jj_consume_token(FROM);
    grantees = granteeList();
View Full Code Here

/*
* <A NAME="routineGrantStatement">routineGrantStatement</A>
*/
  final public StatementNode routineGrantStatement() throws ParseException, StandardException {
    List grantees;
    RoutineDesignator routine;
    jj_consume_token(EXECUTE);
    jj_consume_token(ON);
    routine = routineDesignator();
    jj_consume_token(TO);
    grantees = granteeList();
View Full Code Here

/*
* <A NAME="routineAlias">routineAlias</A>
*/
  final public RoutineDesignator routineDesignator() throws ParseException, StandardException {
    Token procOrFunction;
    RoutineDesignator routine = null;
    TableName name = null;
    List paramTypeList = null;
    switch (jj_nt.kind) {
    case FUNCTION:
      procOrFunction = jj_consume_token(FUNCTION);
      break;
    case PROCEDURE:
      procOrFunction = jj_consume_token(PROCEDURE);
      break;
    default:
      jj_la1[299] = jj_gen;
      jj_consume_token(-1);
      throw new ParseException();
    }
    name = qualifiedName(Limits.MAX_IDENTIFIER_LENGTH);
    switch (jj_nt.kind) {
    case LEFT_PAREN:
      jj_consume_token(LEFT_PAREN);
      paramTypeList = parameterTypeList();
      jj_consume_token(RIGHT_PAREN);
      break;
    default:
      jj_la1[300] = jj_gen;
      ;
    }
        {if (true) return new RoutineDesignator( false,
                                      name,
                                      (procOrFunction.kind == FUNCTION),
                                      paramTypeList);}
    throw new Error("Missing return statement in function");
  }
View Full Code Here

/*
* <A NAME="routineRevokeStatement">routineRevokeStatement</A>
*/
  final public StatementNode routineRevokeStatement() throws ParseException, StandardException {
    List grantees;
    RoutineDesignator routine = null;
    jj_consume_token(EXECUTE);
    jj_consume_token(ON);
    routine = routineDesignator();
    jj_consume_token(FROM);
    grantees = granteeList();
View Full Code Here

/*
* <A NAME="routineGrantStatement">routineGrantStatement</A>
*/
  final public StatementNode routineGrantStatement() throws ParseException, StandardException {
    List grantees;
    RoutineDesignator routine;
    jj_consume_token(EXECUTE);
    jj_consume_token(ON);
    routine = routineDesignator();
    jj_consume_token(TO);
    grantees = granteeList();
View Full Code Here

      break;
    default:
      jj_la1[340] = jj_gen;
      ;
    }
        {if (true) return new RoutineDesignator( false,
                                      name,
                                      (procOrFunction.kind == FUNCTION),
                                      paramTypeList);}
    throw new Error("Missing return statement in function");
  }
View Full Code Here

/*
* <A NAME="routineRevokeStatement">routineRevokeStatement</A>
*/
  final public StatementNode routineRevokeStatement() throws ParseException, StandardException {
    List grantees;
    RoutineDesignator routine = null;
    jj_consume_token(EXECUTE);
    jj_consume_token(ON);
    routine = routineDesignator();
    jj_consume_token(FROM);
    grantees = granteeList();
View Full Code Here

/*
* <A NAME="routineGrantStatement">routineGrantStatement</A>
*/
  final public StatementNode routineGrantStatement() throws ParseException, StandardException {
    List grantees;
    RoutineDesignator routine;
    jj_consume_token(EXECUTE);
    jj_consume_token(ON);
    routine = routineDesignator();
    jj_consume_token(TO);
    grantees = granteeList();
View Full Code Here

TOP

Related Classes of org.apache.derby.impl.sql.compile.RoutineDesignator

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.