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

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


/*
* <A NAME="dropTableStatement">dropTableStatement</A>
*/
  final public StatementNode dropTableStatement() throws ParseException, StandardException {
        TableName tableName;
    jj_consume_token(TABLE);
    tableName = qualifiedName(Limits.MAX_IDENTIFIER_LENGTH);
                // DB2 does not support a drop behaviour
                {if (true) return (StatementNode) nodeFactory.getNode(
                                                                                        C_NodeTypes.DROP_TABLE_NODE,
View Full Code Here


/*
* <A NAME="dropIndexStatement">dropIndexStatement</A>
*/
  final public StatementNode dropIndexStatement() throws ParseException, StandardException {
        TableName indexName;
    jj_consume_token(INDEX);
    indexName = qualifiedName(Limits.MAX_IDENTIFIER_LENGTH);
                {if (true) return (StatementNode) nodeFactory.getNode(
                                                                C_NodeTypes.DROP_INDEX_NODE,
                                                                indexName,
View Full Code Here

    }
    throw new Error("Missing return statement in function");
  }

  final public StatementNode dropViewStatement() throws ParseException, StandardException {
        TableName viewName;
    jj_consume_token(VIEW);
    viewName = qualifiedName(Limits.MAX_IDENTIFIER_LENGTH);
                {if (true) return (StatementNode) nodeFactory.getNode(
                                                                C_NodeTypes.DROP_VIEW_NODE,
                                                                viewName,
View Full Code Here

                                                                getContextManager());}
    throw new Error("Missing return statement in function");
  }

  final public StatementNode dropTriggerStatement() throws ParseException, StandardException {
        TableName triggerName;
    jj_consume_token(TRIGGER);
    triggerName = qualifiedName(Limits.MAX_IDENTIFIER_LENGTH);
                {if (true) return (StatementNode) nodeFactory.getNode(
                                                                C_NodeTypes.DROP_TRIGGER_NODE,
                                                                triggerName,
View Full Code Here

                                                                getContextManager());}
    throw new Error("Missing return statement in function");
  }

  final public StatementNode truncateTableStatement() throws ParseException, StandardException {
        TableName tableName;
    jj_consume_token(TRUNCATE);
    jj_consume_token(TABLE);
    tableName = qualifiedName(Limits.MAX_IDENTIFIER_LENGTH);
                {if (true) return (StatementNode) nodeFactory.getNode(
                                                        C_NodeTypes.ALTER_TABLE_NODE,
View Full Code Here

/*
* <A NAME="tablePrivileges">tablePrivileges</A>
*/
  final public PrivilegeNode tablePrivileges() throws ParseException, StandardException {
    TablePrivilegesNode tablePrivilegesNode = null;
    TableName objectName = null;
    tablePrivilegesNode = tableActions();
    jj_consume_token(ON);
    switch (jj_nt.kind) {
    case TABLE:
      jj_consume_token(TABLE);
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;
View Full Code Here

/*
* <A NAME="sequenceDefinition">sequenceDefinition</A>
*/
  final public StatementNode sequenceDefinition() throws ParseException, StandardException {
        TableName qualifiedSequenceName = null;
        DataTypeDescriptor dtd =  null;
        Long initialValue = null;
        Long stepValue = null;
        Long maxValue = null;
        Long minValue = null;
View Full Code Here

/*
* <A NAME="dropSequenceStatement">dropSequenceStatement</A>
*/
  final public StatementNode dropSequenceStatement() throws ParseException, StandardException {
        TableName sequenceName;
    jj_consume_token(SEQUENCE);
    sequenceName = qualifiedName(Limits.MAX_IDENTIFIER_LENGTH);
    jj_consume_token(RESTRICT);
                checkVersion( DataDictionary.DD_VERSION_DERBY_10_6, "SEQUENCES");

View Full Code Here

* <A NAME="tableDefinition">tableDefinition</A>
*/
  final public StatementNode tableDefinition() throws ParseException, StandardException {
        char                            lockGranularity = TableDescriptor.DEFAULT_LOCK_GRANULARITY;
        Properties                      properties = null;
        TableName                       tableName;
        TableElementList        tableElementList;
        ResultColumnList        resultColumns = null;
        ResultSetNode           queryExpression;
        boolean                         withData = true;
    jj_consume_token(TABLE);
View Full Code Here

TOP

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

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.