|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xindice.core.filer.Paged.PageHeader
PageHeader
Constructor Summary | |
Paged.PageHeader()
|
|
Paged.PageHeader(java.io.DataInputStream dis)
|
Method Summary | |
int |
getDataLen()
The length of the Data |
int |
getKeyHash()
The hashed value of the Key for quick comparisons |
short |
getKeyLen()
The length of the Key |
long |
getNextPage()
The next page for this Record (if overflowed) |
int |
getRecordLen()
The length of the Record's value |
byte |
getStatus()
The status of this page (UNUSED, RECORD, DELETED, etc...) |
boolean |
isDirty()
|
void |
read(java.io.DataInputStream dis)
read reads the object state from the stream. |
void |
setDataLen(int dataLen)
The length of the Data |
void |
setDirty()
|
void |
setKey(Key key)
|
void |
setKeyHash(int keyHash)
The hashed value of the Key for quick comparisons |
void |
setKeyLen(short keyLen)
The length of the Key |
void |
setNextPage(long nextPage)
The next page for this Record (if overflowed) |
void |
setRecordLen(int recordLen)
The length of the Record's value |
void |
setStatus(byte status)
The status of this page (UNUSED, RECORD, DELETED, etc...) |
void |
write(java.io.DataOutputStream dos)
write writes the object state to the stream. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Paged.PageHeader()
public Paged.PageHeader(java.io.DataInputStream dis) throws java.io.IOException
Method Detail |
public void read(java.io.DataInputStream dis) throws java.io.IOException
Streamable
read
in interface Streamable
org.apache.xindice.core.filer.Streamable
is
- The DataInputStreamjava.io.IOException
- if an IOException occurspublic void write(java.io.DataOutputStream dos) throws java.io.IOException
Streamable
write
in interface Streamable
org.apache.xindice.core.filer.Streamable
os
- The DataOutputStreamjava.io.IOException
- if an IOException occurspublic final boolean isDirty()
public final void setDirty()
public final void setStatus(byte status)
public final byte getStatus()
public final void setKey(Key key)
public final void setKeyLen(short keyLen)
public final short getKeyLen()
public final void setKeyHash(int keyHash)
public final int getKeyHash()
public final void setDataLen(int dataLen)
public final int getDataLen()
public void setRecordLen(int recordLen)
public final int getRecordLen()
public final void setNextPage(long nextPage)
public final long getNextPage()
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |