|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectglobal.Page
public class Page
class Page
Field Summary |
---|
Fields inherited from interface global.GlobalConst |
---|
EMPTY_SLOT, FIRST_PAGEID, INVALID_PAGEID, MAX_COLSIZE, MAX_TUPSIZE, NAME_MAXLEN, PAGE_SIZE, PIN_DISKIO, PIN_MEMCPY, UNPIN_CLEAN, UNPIN_DIRTY |
Constructor Summary | |
---|---|
Page()
default constructor |
|
Page(byte[] apage)
Constructor of class Page |
Method Summary | |
---|---|
void |
copyPage(Page page)
Copies the contents of the given page's buffer into this page's buffer. |
byte[] |
getData()
Get accessor for the data byte array. |
byte[] |
getpage()
return the data byte array |
void |
setpage(byte[] array)
set the page with the given byte array |
void |
setPage(Page page)
Sets this page's data array to share the given page's data array. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Page()
public Page(byte[] apage)
Method Detail |
---|
public byte[] getpage()
public void setpage(byte[] array)
array
- a byte array of page sizepublic void setPage(Page page)
public void copyPage(Page page)
public byte[] getData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |