Package org.apache.derby.iapi.store.raw

Examples of org.apache.derby.iapi.store.raw.ContainerKey


        // internally generated one from getNextId().
        long containerId =
            ((input_containerid != ContainerHandle.DEFAULT_ASSIGN_ID) ?
                 input_containerid : getNextId());

    ContainerKey identity = new ContainerKey(segmentId, containerId);

    boolean tmpContainer = (segmentId == ContainerHandle.TEMPORARY_SEGMENT);

    ContainerHandle ch = null;
    LockingPolicy   cl = null;
View Full Code Here


    RowSource       rowSource)
    throws StandardException
  {
    long containerId = getNextId();

    ContainerKey identity = new ContainerKey(segmentId, containerId);

    // create and load the stream container
    StreamFileContainer sContainer =
            new StreamFileContainer(identity, this, tableProperties);
    sContainer.load(rowSource);
View Full Code Here

    long            containerId,
    boolean         hold)
     throws StandardException
  {

    ContainerKey identity = new ContainerKey(segmentId, containerId);

    StreamFileContainerHandle c;

    // open the container with the identity
    StreamFileContainer container = new StreamFileContainer(identity, this);
View Full Code Here

    StreamContainerHandle containerHdl = null;

    try
    {
      ContainerKey ckey = new ContainerKey(segmentId, containerId);

      // close all open containers and 'onCommit' objects of the container
      t.notifyObservers(ckey);

      containerHdl = t.openStreamContainer(segmentId, containerId, false);
View Full Code Here

  {
    if (SanityManager.DEBUG)
      SanityManager.ASSERT(segmentId != ContainerHandle.TEMPORARY_SEGMENT,
        "Cannot recreate temp container during load tran");

    ContainerKey identity = new ContainerKey(segmentId, containerId);

    // no need to lock container during load tran
    // no need to create any page for the container, they will be created
    // as their log records are encountered later in load tran
View Full Code Here

          // a file in seg0 that we didn't expect.  Continue with the
          // next one.
          continue;
        }

        ContainerKey identity = new ContainerKey(segmentId, containerId);

        /* Not necessary to get the container thru the transaction.
         * Backup opens in container in read only mode , No need to
         * transition the transaction to active state.
         *
 
View Full Code Here

        // internally generated one from getNextId().
        long containerId =
            ((input_containerid != ContainerHandle.DEFAULT_ASSIGN_ID) ?
                 input_containerid : getNextId());

    ContainerKey identity = new ContainerKey(segmentId, containerId);

    boolean tmpContainer = (segmentId == ContainerHandle.TEMPORARY_SEGMENT);

    ContainerHandle ch = null;
    LockingPolicy   cl = null;
View Full Code Here

    RowSource       rowSource)
    throws StandardException
  {
    long containerId = getNextId();

    ContainerKey identity = new ContainerKey(segmentId, containerId);

    // create and load the stream container
    StreamFileContainer sContainer =
            new StreamFileContainer(identity, this, tableProperties);
    sContainer.load(rowSource);
View Full Code Here

    long            containerId,
    boolean         hold)
     throws StandardException
  {

    ContainerKey identity = new ContainerKey(segmentId, containerId);

    StreamFileContainerHandle c;

    // open the container with the identity
    StreamFileContainer container = new StreamFileContainer(identity, this);
View Full Code Here

    StreamContainerHandle containerHdl = null;

    try
    {
      ContainerKey ckey = new ContainerKey(segmentId, containerId);

      // close all open containers and 'onCommit' objects of the container
      t.notifyObservers(ckey);

      containerHdl = t.openStreamContainer(segmentId, containerId, false);
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.store.raw.ContainerKey

Copyright © 2018 www.massapicom. 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.