Package org.apache.derby.iapi.store.access

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


    conglomerateNumber = new long[cds.length];
    indexRow = new ExecIndexRow[cds.length];
    objectUUID = new UUID[cds.length];
    ConglomerateController heapCC =
      tc.openConglomerate(td.getHeapConglomerateId(), false, 0,
          TransactionController.MODE_RECORD,
          TransactionController.ISOLATION_REPEATABLE_READ);

    try
    {
View Full Code Here


                    TransactionController.IS_TEMPORARY |
                    TransactionController.IS_KEPT);

      conglomCreated = true;

      cc = tc.openConglomerate(CID,
                                false,
                                TransactionController.OPENMODE_FORUPDATE,
                                TransactionController.MODE_TABLE,
                                TransactionController.ISOLATION_SERIALIZABLE);
      if(isUniqueStream)
View Full Code Here

                        null, // no collation needed for index on row locations.
                        props,
                        (TransactionController.IS_TEMPORARY |
                         TransactionController.IS_KEPT));

        uniqueIndex_cc = tc.openConglomerate(
                uniqueIndexConglomId,
                false,
                TransactionController.OPENMODE_FORUPDATE,
                TransactionController.MODE_TABLE,
                TransactionController.ISOLATION_SERIALIZABLE);
View Full Code Here

                    props,
                    (TransactionController.IS_TEMPORARY |
                     TransactionController.IS_KEPT));

      positionIndex_cc =
                tc.openConglomerate(
                    positionIndexConglomId,
                    false,
                    TransactionController.OPENMODE_FORUPDATE,
                    TransactionController.MODE_TABLE,
                    TransactionController.ISOLATION_SERIALIZABLE);
View Full Code Here

        ExecIndexRow[]  indexRow                = new ExecIndexRow[cds.length];


        TransactionController tc = lcc.getTransactionExecute();
        ConglomerateController heapCC =
            tc.openConglomerate(td.getHeapConglomerateId(), false,
                    0,
                    TransactionController.MODE_RECORD,
                    asBackgroundTask
                        ? TransactionController.ISOLATION_READ_UNCOMMITTED
                        : TransactionController.ISOLATION_REPEATABLE_READ
View Full Code Here

    {
      ConglomerateController  heapCC;
      TransactionController tc =
        getLanguageConnectionContext().getTransactionCompile();

      heapCC = tc.openConglomerate(td.getHeapConglomerateId(),
                                    false,
                  TransactionController.OPENMODE_FORUPDATE |
                  TransactionController.OPENMODE_FOR_LOCK_ONLY,
                  TransactionController.MODE_RECORD,
                  TransactionController.ISOLATION_SERIALIZABLE);
View Full Code Here

      if (needToDropSort)
         tc.dropSort(sortId);
    }

    ConglomerateController indexController =
      tc.openConglomerate(
                conglomId, false, 0, TransactionController.MODE_TABLE,
                TransactionController.ISOLATION_SERIALIZABLE);

    // Check to make sure that the conglomerate can be used as an index
    if ( ! indexController.isKeyed())
View Full Code Here

    /* Get a ConglomerateController for the base conglomerate */
    tc = activation.getTransactionController();

    try
    {
      cc = tc.openConglomerate(
                  conglomerateNumber,
                    false,
          (exclusiveMode) ?
            (TransactionController.OPENMODE_FORUPDATE |
              TransactionController.OPENMODE_FOR_LOCK_ONLY) :
View Full Code Here

    tc = getTransactionCompile();

    outRow = rf.makeEmptyRow();

    heapCC =
            tc.openConglomerate(
                ti.getHeapConglomerate(), false, 0,
                TransactionController.MODE_RECORD,
                TransactionController.ISOLATION_REPEATABLE_READ);

View Full Code Here

      tc = getTransactionCompile();
 
      outRow = rf.makeEmptyRow();
 
      heapCC =
                tc.openConglomerate(
                    ti.getHeapConglomerate(), false, 0,
                    TransactionController.MODE_RECORD,
                    TransactionController.ISOLATION_REPEATABLE_READ);

      // create an index row template
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.