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

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


/*
* <A NAME="tableElement">tableElement</A>
*/
  final public void tableElement(TableElementList tableElementList) throws ParseException, StandardException {
        TableElementNode        tableElement;
        //initialize following two booleans for every new table element so that the
        //values from previous tableElement doesn't impact the next tableElement
        explicitNotNull = false;
        explicitNull = false;
    switch (jj_nt.kind) {
View Full Code Here


*/
  final public void columnConstraintDefinition(DataTypeDescriptor dataTypeDescriptor,
                                                   TableElementList tableElementList,
                                                   String columnName) throws ParseException, StandardException {
        int constraintType;
        TableElementNode tcdn;
        TableName constraintName = null;
    switch (jj_nt.kind) {
    case CONSTRAINT:
      constraintName = constraintNameDefinition();
      break;
View Full Code Here

  }
}
*/
  final public char alterTableAction(TableElementList tableElementList, int[] changeType, int[] behavior, boolean[] sequential) throws ParseException, StandardException {
        char                            lockGranularity = '\0';
        TableElementNode        tableElement;
        DataTypeDescriptor      typeDescriptor;
        Token                           tok = null;
        String                          columnName;
        long[]                          autoIncrementInfo = new long[4];
    switch (jj_nt.kind) {
View Full Code Here

*
*    ALTER TABLE tablename DROP [ COLUMN ] columnname [ CASCADE | RESTRICT ]
*/
  final public TableElementNode dropColumnDefinition(int []behavior) throws ParseException, StandardException {
        String columnName;
        TableElementNode tableElement;
    switch (jj_nt.kind) {
    case COLUMN:
      jj_consume_token(COLUMN);
      break;
    default:
View Full Code Here

    }
                behavior[0] = refBehavior;
  }

  final public TableElementNode addColumnDefinition(TableElementList tableElementList) throws ParseException, StandardException {
        TableElementNode        tableElement;
    switch (jj_nt.kind) {
    case COLUMN:
      jj_consume_token(COLUMN);
      break;
    default:
View Full Code Here

*/
  final public void columnConstraintDefinition(DataTypeDescriptor dataTypeDescriptor,
                                                   TableElementList tableElementList,
                                                   String columnName) throws ParseException, StandardException {
        int constraintType;
        TableElementNode tcdn;
        TableName constraintName = null;
    switch (jj_nt.kind) {
    case CONSTRAINT:
      constraintName = constraintNameDefinition();
      break;
View Full Code Here

  }
}
*/
  final public char alterTableAction(TableElementList tableElementList, int[] changeType, int[] behavior, boolean[] sequential) throws ParseException, StandardException {
        char                            lockGranularity = '\0';
        TableElementNode        tableElement;
        DataTypeDescriptor      typeDescriptor;
        Token                           tok = null;
        String                          columnName;
        long[]                          autoIncrementInfo = new long[4];
    switch (jj_nt.kind) {
View Full Code Here

*
*    ALTER TABLE tablename DROP [ COLUMN ] columnname [ CASCADE | RESTRICT ]
*/
  final public TableElementNode dropColumnDefinition(int []behavior) throws ParseException, StandardException {
        String columnName;
        TableElementNode tableElement;
    switch (jj_nt.kind) {
    case COLUMN:
      jj_consume_token(COLUMN);
      break;
    default:
View Full Code Here

    }
                behavior[0] = refBehavior;
  }

  final public TableElementNode addColumnDefinition(TableElementList tableElementList) throws ParseException, StandardException {
        TableElementNode        tableElement;
    switch (jj_nt.kind) {
    case COLUMN:
      jj_consume_token(COLUMN);
      break;
    default:
View Full Code Here

/*
* <A NAME="tableElement">tableElement</A>
*/
  final public void tableElement(TableElementList tableElementList) throws ParseException, StandardException {
        TableElementNode        tableElement;
        //initialize following two booleans for every new table element so that the
        //values from previous tableElement doesn't impact the next tableElement
        explicitNotNull = false;
        explicitNull = false;
    switch (jj_nt.kind) {
View Full Code Here

TOP

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

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.