diskmgr
Class Page

java.lang.Object
  extended bydiskmgr.Page
All Implemented Interfaces:
GlobalConst
Direct Known Subclasses:
HFPage

public class Page
extends java.lang.Object
implements GlobalConst

class Page


Field Summary
 
Fields inherited from interface global.GlobalConst
INVALID_PAGE, MAX_NAME, MAXATTRNAME, MAXFILENAME, MAXINDEXNAME, MINIBASE_BUFFER_POOL_SIZE, MINIBASE_DB_SIZE, MINIBASE_DEFAULT_SHAREDMEM_SIZE, MINIBASE_MAX_TRANSACTIONS, MINIBASE_MAXARRSIZE, NUMBUF, PAGE_SIZE, PAGESIZE
 
Constructor Summary
Page()
          default constructor
Page(byte[] apage)
          Constructor of class Page
 
Method Summary
 byte[] getpage()
          return the data byte array
 void setpage(byte[] array)
          set the page with the given byte array
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Page

public Page()
default constructor


Page

public Page(byte[] apage)
Constructor of class Page

Method Detail

getpage

public byte[] getpage()
return the data byte array

Returns:
the byte array of the page

setpage

public void setpage(byte[] array)
set the page with the given byte array

Parameters:
array - a byte array of page size