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

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


    TransactionController tc =
      lcc.getTransactionCompile();

    long tableId = td.getHeapConglomerateId();
    heapCC =
            tc.openConglomerate(
                tableId, false, 0, tc.MODE_RECORD, tc.ISOLATION_READ_COMMITTED);
    try
    {
      rl = heapCC.newRowLocationTemplate();
    }
View Full Code Here


            {
                return true;
            }

      /* Open the heap for reading */
      baseCC = tc.openConglomerate(
                  td.getHeapConglomerateId(), false, 0,
                TransactionController.MODE_TABLE,
              TransactionController.ISOLATION_SERIALIZABLE);

      /* Check the consistency of the heap */
 
View Full Code Here

        if ( ! indexCD.isIndex())
          continue;

        /* Check the internal consistency of the index */
        indexCC =
              tc.openConglomerate(
                indexCD.getConglomerateNumber(),
                        false,
              0,
            TransactionController.MODE_TABLE,
                      TransactionController.ISOLATION_SERIALIZABLE);
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

    {
      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

    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

    TransactionController tc =
      lcc.getTransactionCompile();

    long tableId = td.getHeapConglomerateId();
    heapCC =
            tc.openConglomerate(
                tableId, false, 0, tc.MODE_RECORD, tc.ISOLATION_READ_COMMITTED);
    try
    {
      rl = heapCC.newRowLocationTemplate();
    }
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.