|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xindice.core.filer.Paged.PageHeader
Paged file page's header
Constructor Summary | |
Paged.PageHeader()
|
|
Paged.PageHeader(DataInput 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(DataInput 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(DataOutput dos)
write writes the object state to the stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Paged.PageHeader()
public Paged.PageHeader(DataInput dis) throws IOException
Method Detail |
public void read(DataInput dis) throws IOException
Streamable
read
in interface Streamable
dis
- The DataInputStream
IOException
- if an IOException occurspublic void write(DataOutput dos) throws IOException
Streamable
write
in interface Streamable
dos
- The DataOutputStream
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 version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |