Package org.apache.derby.iapi.sql.dictionary

Examples of org.apache.derby.iapi.sql.dictionary.TabInfo.insertRow()


  {
    TabInfo            ti = getNonCoreTI(SYSDUMMY1_CATALOG_NUM);
    SYSDUMMY1RowFactory      rf = (SYSDUMMY1RowFactory) ti.getCatalogRowFactory();
    ExecRow row = ti.getCatalogRowFactory().makeRow(null, null);

    int insertRetCode = ti.insertRow(row, tc, true);
  }

  /**
   * Clear all of the DataDictionary caches.
   *
 
View Full Code Here


      // build the row to be stuffed into SYSKEYS
      row = keysRF.makeRow(descriptor, null);
    }

    // insert row into catalog and all its indices
    ti.insertRow(row, tc, true);
  }

  /**
   * Drop the matching row from syskeys when dropping a primary key
   * or unique constraint.
View Full Code Here

    TabInfo ti =  (catalogNumber < NUM_CORE) ? coreInfo[catalogNumber] :
      getNonCoreTI(catalogNumber);

    ExecRow row = ti.getCatalogRowFactory().makeRow(td, parent);

    int insertRetCode = ti.insertRow(row, tc, wait);

    if (!duplicatesAllowed)
    {
      if (insertRetCode != TabInfo.ROWNOTDUPLICATE)
        throw duplicateDescriptorException(td, parent);
View Full Code Here

      // UUID into the descriptor
      boolean  compileMe = descriptor.initiallyCompilable();
      row = rf.makeSYSSTATEMENTSrow(compileMe, descriptor);
 
      // insert row into catalog and all its indices
      insertRetCode = ti.insertRow(row, tc, wait);
    }

    // Throw an exception duplicate table descriptor
    if (insertRetCode != TabInfo.ROWNOTDUPLICATE)
    {
View Full Code Here

      // build the row to be stuffed into SYSKEYS
      row = keysRF.makeRow(descriptor, null);
    }

    // insert row into catalog and all its indices
    ti.insertRow(row, tc, true);
  }

  /**
   * Drop the matching row from syskeys when dropping a primary key
   * or unique constraint.
View Full Code Here

  {
    TabInfo            ti = getNonCoreTI(SYSDUMMY1_CATALOG_NUM);
    SYSDUMMY1RowFactory      rf = (SYSDUMMY1RowFactory) ti.getCatalogRowFactory();
    ExecRow row = ti.getCatalogRowFactory().makeRow(null, null);

    int insertRetCode = ti.insertRow(row, tc, true);
  }

  /**
   * Clear all of the DataDictionary caches.
   *
 
View Full Code Here

    TabInfo ti =  (catalogNumber < NUM_CORE) ? coreInfo[catalogNumber] :
      getNonCoreTI(catalogNumber);

    ExecRow row = ti.getCatalogRowFactory().makeRow(td, parent);

    int insertRetCode = ti.insertRow(row, tc, wait);

    if (!duplicatesAllowed)
    {
      if (insertRetCode != TabInfo.ROWNOTDUPLICATE)
        throw duplicateDescriptorException(td, parent);
View Full Code Here

      // UUID into the descriptor
      boolean  compileMe = descriptor.initiallyCompilable();
      row = rf.makeSYSSTATEMENTSrow(compileMe, descriptor);
 
      // insert row into catalog and all its indices
      insertRetCode = ti.insertRow(row, tc, wait);
    }

    // Throw an exception duplicate table descriptor
    if (insertRetCode != TabInfo.ROWNOTDUPLICATE)
    {
View Full Code Here

      // build the row to be stuffed into SYSKEYS
      row = keysRF.makeRow(descriptor, null);
    }

    // insert row into catalog and all its indices
    ti.insertRow(row, tc, true);
  }

  /**
   * Drop the matching row from syskeys when dropping a primary key
   * or unique constraint.
View Full Code Here

  {
    TabInfo            ti = getNonCoreTI(SYSDUMMY1_CATALOG_NUM);
    SYSDUMMY1RowFactory      rf = (SYSDUMMY1RowFactory) ti.getCatalogRowFactory();
    ExecRow row = ti.getCatalogRowFactory().makeRow(null, null);

    int insertRetCode = ti.insertRow(row, tc, true);
  }

  /**
   * Clear all of the DataDictionary caches.
   *
 
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.