jdbm.recman
Class FreePhysicalRowId

java.lang.Object
  extended byjdbm.recman.PhysicalRowId
      extended byjdbm.recman.FreePhysicalRowId

final class FreePhysicalRowId
extends PhysicalRowId

This class extends the physical rowid with a size value to indicated the size of a free rowid on the free rowid list.


Field Summary
(package private)  BlockIo block
           
(package private)  short pos
           
(package private) static short SIZE
           
 
Constructor Summary
(package private) FreePhysicalRowId(BlockIo block, short pos)
          Constructs a physical rowid from the indicated data starting at the indicated position.
 
Method Summary
(package private)  long getBlock()
          Returns the block number
(package private)  short getOffset()
          Returns the offset
(package private)  int getSize()
          Returns the size
(package private)  void setBlock(long value)
          Sets the block number
(package private)  void setOffset(short value)
          Sets the offset
(package private)  void setSize(int value)
          Sets the size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

static final short SIZE
See Also:
Constant Field Values

block

BlockIo block

pos

short pos
Constructor Detail

FreePhysicalRowId

FreePhysicalRowId(BlockIo block,
                  short pos)
Constructs a physical rowid from the indicated data starting at the indicated position.

Method Detail

getSize

int getSize()
Returns the size


setSize

void setSize(int value)
Sets the size


getBlock

long getBlock()
Returns the block number


setBlock

void setBlock(long value)
Sets the block number


getOffset

short getOffset()
Returns the offset


setOffset

void setOffset(short value)
Sets the offset



Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net