Package org.apache.derby.iapi.services.io

Examples of org.apache.derby.iapi.services.io.ArrayInputStream.readInt()


    isOverflowPage  =  lrdi.readBoolean();
    setPageStatus    (lrdi.readByte());
    setPageVersion    (lrdi.readLong());
    slotsInUse      =  lrdi.readUnsignedShort();
    nextId          =  lrdi.readInt();
    generation      =  lrdi.readInt();     // page generation (Future Use)
    prevGeneration  =  lrdi.readInt();     // previous generation (Future Use)
    bipLocation     =  lrdi.readLong()// BIPage location (Future Use)

    // number of deleted rows on page, we start to store this release 2.0.
    // for upgrade reasons, a 0 on disk means -1, so, we subtract one here.
View Full Code Here


    setPageStatus    (lrdi.readByte());
    setPageVersion    (lrdi.readLong());
    slotsInUse      =  lrdi.readUnsignedShort();
    nextId          =  lrdi.readInt();
    generation      =  lrdi.readInt();     // page generation (Future Use)
    prevGeneration  =  lrdi.readInt();     // previous generation (Future Use)
    bipLocation     =  lrdi.readLong()// BIPage location (Future Use)

    // number of deleted rows on page, we start to store this release 2.0.
    // for upgrade reasons, a 0 on disk means -1, so, we subtract one here.
    deletedRowCount =  lrdi.readUnsignedShort() - 1;
View Full Code Here

    // for upgrade reasons, a 0 on disk means -1, so, we subtract one here.
    deletedRowCount =  lrdi.readUnsignedShort() - 1;

        // the next 4 (total 22 bytes) are reserved for future
    spare           =   lrdi.readUnsignedShort()
    spare           =   lrdi.readInt();     // used by encryption
    spare           =   lrdi.readLong();
    spare           =   lrdi.readLong();
  }

View Full Code Here

    isOverflowPage  =  lrdi.readBoolean();
    setPageStatus    (lrdi.readByte());
    setPageVersion    (lrdi.readLong());
    slotsInUse      =  lrdi.readUnsignedShort();
    nextId          =  lrdi.readInt();
    generation      =  lrdi.readInt();     // page generation (Future Use)
    prevGeneration  =  lrdi.readInt();     // previous generation (Future Use)
    bipLocation     =  lrdi.readLong()// BIPage location (Future Use)

    // number of deleted rows on page, we start to store this release 2.0.
View Full Code Here

    isOverflowPage  =  lrdi.readBoolean();
    setPageStatus    (lrdi.readByte());
    setPageVersion    (lrdi.readLong());
    slotsInUse      =  lrdi.readUnsignedShort();
    nextId          =  lrdi.readInt();
    generation      =  lrdi.readInt();     // page generation (Future Use)
    prevGeneration  =  lrdi.readInt();     // previous generation (Future Use)
    bipLocation     =  lrdi.readLong()// BIPage location (Future Use)

    // number of deleted rows on page, we start to store this release 2.0.
    // for upgrade reasons, a 0 on disk means -1, so, we subtract one here.
View Full Code Here

    setPageStatus    (lrdi.readByte());
    setPageVersion    (lrdi.readLong());
    slotsInUse      =  lrdi.readUnsignedShort();
    nextId          =  lrdi.readInt();
    generation      =  lrdi.readInt();     // page generation (Future Use)
    prevGeneration  =  lrdi.readInt();     // previous generation (Future Use)
    bipLocation     =  lrdi.readLong()// BIPage location (Future Use)

    // number of deleted rows on page, we start to store this release 2.0.
    // for upgrade reasons, a 0 on disk means -1, so, we subtract one here.
    deletedRowCount =  lrdi.readUnsignedShort() - 1;
View Full Code Here

    // for upgrade reasons, a 0 on disk means -1, so, we subtract one here.
    deletedRowCount =  lrdi.readUnsignedShort() - 1;

        // the next 4 (total 22 bytes) are reserved for future
    spare           =   lrdi.readUnsignedShort()
    spare           =   lrdi.readInt();     // used by encryption
    spare           =   lrdi.readLong();
    spare           =   lrdi.readLong();
  }

View Full Code Here

    lrdi.setPosition(
            slotTableOffsetToFirstRecordLengthField - (slot * slotEntrySize));

        return(
            (slotFieldSize == SMALL_SLOT_SIZE) ?
                lrdi.readUnsignedShort() : lrdi.readInt());
  }

    /**
     * Return reserved length of row on this page.
     * <p>
 
View Full Code Here

    lrdi.setPosition(
            slotTableOffsetToFirstReservedSpaceField - (slot * slotEntrySize));

        return(
            (slotFieldSize == SMALL_SLOT_SIZE) ?
                lrdi.readUnsignedShort() : lrdi.readInt());
  }


  /**
    Update the length of data stored on this page for this record
View Full Code Here

     throws StandardException, IOException
  {
    ArrayInputStream inStream = new ArrayInputStream(a);

    inStream.setLimit(CONTAINER_INFO_SIZE);
    int fid = inStream.readInt();
    if (fid != formatIdInteger)
        {
      throw StandardException.newException(
                SQLState.DATA_UNKNOWN_CONTAINER_FORMAT, getIdentity(),
                new Long(fid));
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.