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

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


/*
* <A NAME="Statement">Statement</A>
*/
  final public StatementNode Statement(String statementSQLText, Object[] paramDefaults) throws ParseException, StandardException {
        StatementNode   statementNode;

        initStatement(statementSQLText, paramDefaults);
    statementNode = StatementPart(null);
    jj_consume_token(0);
                {if (true) return statementNode;}
View Full Code Here


                {if (true) return statementNode;}
    throw new Error("Missing return statement in function");
  }

  final public StatementNode proceduralStatement(Token[] tokenHolder) throws ParseException, StandardException {
        StatementNode statementNode;
        tokenHolder[0] = getToken(1);
    switch (jj_nt.kind) {
    case INSERT:
      statementNode = insertStatement();
      break;
View Full Code Here

*
* @param tokenHolder returns the token that starts
* the statement.  If null, ignored.
*/
  final public StatementNode StatementPart(Token[] tokenHolder) throws ParseException, StandardException {
        StatementNode   statementNode;
        //before starting new statements, initialize this variables. Otherwise, the left
        //over values from previously failed sql will affect the next sql.
        explicitNotNull = false;
        explicitNull = false;
        explicitlyNullableColumnsList = new Vector();
View Full Code Here

/*
* <A NAME="createStatements">spsCreateStatement</A>
*/
  final public StatementNode createStatements() throws ParseException, StandardException {
        StatementNode statementNode;
        Token beginToken;
        int tokKind;
    beginToken = jj_consume_token(CREATE);
    switch (jj_nt.kind) {
    case SCHEMA:
View Full Code Here

/*
* <A NAME="dropStatements">spsDropStatement</A>
*/
  final public StatementNode dropStatements() throws ParseException, StandardException {
        StatementNode statementNode;
    jj_consume_token(DROP);
    switch (jj_nt.kind) {
    case SCHEMA:
      statementNode = dropSchemaStatement();
      break;
View Full Code Here

/*
* <A NAME="spsAlterStatement">spsAlterStatement</A>
*/
  final public StatementNode spsAlterStatement() throws ParseException, StandardException {
        StatementNode statementNode;
    jj_consume_token(ALTER);
    statementNode = alterTableStatement();
                {if (true) return statementNode;}
    throw new Error("Missing return statement in function");
  }
View Full Code Here

/*
* <A NAME="spsSetStatement">spsSetStatement</A>
*/
  final public StatementNode spsSetStatement() throws ParseException, StandardException {
        StatementNode statementNode;
    if (getToken(1).kind == SET && getToken(2).kind != CURRENT) {
      jj_consume_token(SET);
      if (jj_2_5(1)) {
        statementNode = setIsolationStatement();
      } else if (jj_2_6(1)) {
View Full Code Here

* supports positioned update and delete
* and a preparable select (with FOR UPDATE)
* instead of a direct select (without FOR UPDATE)
*/
  final public StatementNode preparableSQLDataStatement() throws ParseException, StandardException {
        StatementNode   dmlStatement;
    switch (jj_nt.kind) {
    case DELETE:
      /*
        ** RESOLVE: Ignoring temporary table declarations for now.
        */
 
View Full Code Here

* <A NAME="preparableDeleteStatement">preparableDeleteStatement</A>
*
*  This may be a search or positioned delete statement.
*/
  final public StatementNode preparableDeleteStatement() throws ParseException, StandardException {
        StatementNode qtn;
    jj_consume_token(DELETE);
    qtn = deleteBody();
                {if (true) return qtn;}
    throw new Error("Missing return statement in function");
  }
View Full Code Here

/*
* <A NAME="insertStatement">insertStatement</A>
*/
  final public StatementNode insertStatement() throws ParseException, StandardException {
        StatementNode   insertNode;
        QueryTreeNode   targetTable;
    jj_consume_token(INSERT);
    jj_consume_token(INTO);
    targetTable = targetTable();
    insertNode = insertColumnsAndSource(targetTable);
View Full Code Here

TOP

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

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.