Examples of dropConglomerate()


Examples of org.apache.derby.iapi.store.access.TransactionController.dropConglomerate()

        throw StandardException.newException(SQLState.LANG_TABLE_NOT_FOUND_DURING_EXECUTION, fullTableName);
      }

      if (td.getTableType() ==  TableDescriptor.GLOBAL_TEMPORARY_TABLE_TYPE) {
        dm.invalidateFor(td, DependencyManager.DROP_TABLE, lcc);
        tc.dropConglomerate(td.getHeapConglomerateId());
        lcc.dropDeclaredGlobalTempTable(tableName);
        return;
      }
    }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.dropConglomerate()

            break;
        }
        if (i == numDropped// not dropped
        {
          dropped[numDropped++] = thisConglom;
          tc.dropConglomerate(thisConglom);
          dd.dropStatisticsDescriptors(td.getUUID(), cd.getUUID(), tc);
        }
      }
    }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.dropConglomerate()

    dd.dropAllConglomerateDescriptors(td, tc);

    /* Drop the store element at last, to prevent dangling reference
     * for open cursor, beetle 4393.
     */
    tc.dropConglomerate(heapId);

  }

  private void dropAllConstraintDescriptors(TableDescriptor td, Activation activation)
    throws StandardException
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.dropConglomerate()

            TableDescriptor td =
                ((TempTableInfo)
                 (allDeclaredGlobalTempTables.get(i))).getTableDescriptor();

            //remove the conglomerate created for this temp table
            tc.dropConglomerate(td.getHeapConglomerateId());

            //remove it from the list of temp tables
            allDeclaredGlobalTempTables.remove(i);
        }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.dropConglomerate()

    //reset the heap conglomerate number in table descriptor to -1 so it will be refetched next time with the new value
    td.resetHeapConglomNumber();

    if(dropAndRedeclare)
    {
      tc.dropConglomerate(cid); //remove the old conglomerate from the system
      replaceDeclaredGlobalTempTable(td.getName(), td);
    }

    return(td);
  }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.dropConglomerate()

      uniqueIndexCreated = false;
    }

    if (positionIndexCreated)
    {
      tc.dropConglomerate(positionIndexConglomId);
      positionIndexCreated = false;
    }

    if (conglomCreated)
    {
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.dropConglomerate()

      positionIndexCreated = false;
    }

    if (conglomCreated)
    {
      tc.dropConglomerate(CID);
      conglomCreated = false;
    }

    state = STATE_UNINIT;
    lastArraySlot = -1;
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.dropConglomerate()

    ** but there is no truncate on congloms.
    */
    if (conglomCreated)
    {
      TransactionController tc = activation.getTransactionController();
      tc.dropConglomerate(CID);
      conglomCreated = false;
    }
  }

  public long getTemporaryConglomId()
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.dropConglomerate()

    TransactionController tc = activation.getTransactionController();

    if (uniqueIndexCreated)
    {
      tc.dropConglomerate(uniqueIndexConglomId);
      uniqueIndexCreated = false;
    }

    if (positionIndexCreated)
    {
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.dropConglomerate()

        throw StandardException.newException(SQLState.LANG_TABLE_NOT_FOUND_DURING_EXECUTION, fullTableName);
      }

      if (td.getTableType() ==  TableDescriptor.GLOBAL_TEMPORARY_TABLE_TYPE) {
        dm.invalidateFor(td, DependencyManager.DROP_TABLE, lcc);
        tc.dropConglomerate(td.getHeapConglomerateId());
        lcc.dropDeclaredGlobalTempTable(tableName);
        return;
      }
    }
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.