Examples of addDescriptor()


Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

    ConglomerateDescriptor cgd =
      ddg.newConglomerateDescriptor(conglomId, null, false, null, false, null, toid,
                      sd.getUUID());
    if ( tableType != TableDescriptor.GLOBAL_TEMPORARY_TABLE_TYPE )
    {
      dd.addDescriptor(cgd, sd, DataDictionary.SYSCONGLOMERATES_CATALOG_NUM,
             false, tc);
    }

    // add the newly added conglomerate to the table descriptor
    ConglomerateDescriptorList conglomList = td.getConglomerateDescriptorList();
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

        for (j = 0; j < refColLen; j++)
        {
          if (referencedCols[j] > droppedColumnPosition)
            referencedCols[j]--;
        }
        dd.addDescriptor(trd, sd,
                 DataDictionary.SYSTRIGGERS_CATALOG_NUM,
                 false, tc);
      }
    }
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

        }
        if (newColumnBitMap.equals(oldColumnBitMap))
          continue;
        dd.dropStoredDependency(depDesc, tc);
        colFinder.setColumnBitMap(newColumnBitMap.getByteArray());
        dd.addDescriptor(depDesc, null,
                 DataDictionary.SYSDEPENDS_CATALOG_NUM,
                 true, tc);
      }
    }
    // Adjust the column permissions rows in SYSCOLPERMS to reflect the
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

   


    // Update the ColumnDescriptor with new default info
    dd.dropColumnDescriptor(td.getUUID(), columnInfo[ix].name, tc);
    dd.addDescriptor(newColumnDescriptor, td,
             DataDictionary.SYSCOLUMNS_CATALOG_NUM, false, tc);
 

  /**
   * Workhorse for modifying column level constraints.
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

   


    // Update the ColumnDescriptor with new default info
    dd.dropColumnDescriptor(td.getUUID(), colName, tc);
    dd.addDescriptor(newColumnDescriptor, td,
             DataDictionary.SYSCOLUMNS_CATALOG_NUM, false, tc);
   
  }
  /**
   * Workhorse for modifying the default value of a column.
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

                           columnInfo[ix].autoinc_create_or_modify_Start_Increment
                           );

    // Update the ColumnDescriptor with new default info
    dd.dropColumnDescriptor(td.getUUID(), columnInfo[ix].name, tc);
    dd.addDescriptor(columnDescriptor, td,
             DataDictionary.SYSCOLUMNS_CATALOG_NUM, false, tc);
 
    if (columnInfo[ix].action == ColumnInfo.MODIFY_COLUMN_DEFAULT_INCREMENT)
    {
      // adding an autoincrement default-- calculate the maximum value
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

            tableId,
            "I",
            new StatisticsImpl(numRows,
                cardinality[i]),
                i + 1);
        dd.addDescriptor(statDesc, null,
            DataDictionary.SYSSTATISTICS_CATALOG_NUM,
                 true, tc);
      } // for each leading column (c1) (c1,c2)....

    } // for each index.
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

        for (j = 0; j < refColLen; j++)
        {
          if (referencedCols[j] > droppedColumnPosition)
            referencedCols[j]--;
        }
        dd.addDescriptor(trd, sd,
                 DataDictionary.SYSTRIGGERS_CATALOG_NUM,
                 false, tc);
      }
    }
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

        }
        if (newColumnBitMap.equals(oldColumnBitMap))
          continue;
        dd.dropStoredDependency(depDesc, tc);
        colFinder.setColumnBitMap(newColumnBitMap.getByteArray());
        dd.addDescriptor(depDesc, null,
                 DataDictionary.SYSDEPENDS_CATALOG_NUM,
                 true, tc);
      }
    }
    // Adjust the column permissions rows in SYSCOLPERMS to reflect the
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.DataDictionary.addDescriptor()

   


    // Update the ColumnDescriptor with new default info
    dd.dropColumnDescriptor(td.getUUID(), columnInfo[ix].name, tc);
    dd.addDescriptor(newColumnDescriptor, td,
             DataDictionary.SYSCOLUMNS_CATALOG_NUM, false, tc);
 

  /**
   * Workhorse for modifying column level constraints.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.