Project JXTA

net.jxta.impl.xindice.core.filer
Class BTree.BTreePageHeader

java.lang.Object
  extended by net.jxta.impl.xindice.core.filer.Paged.PageHeader
      extended by net.jxta.impl.xindice.core.filer.BTree.BTreePageHeader
All Implemented Interfaces:
Streamable
Enclosing class:
BTree

protected class BTree.BTreePageHeader
extends Paged.PageHeader

BTreePageHeader


Constructor Summary
BTree.BTreePageHeader()
           
BTree.BTreePageHeader(DataInputStream dis)
           
 
Method Summary
 short getPointerCount()
          The number of pointers stored by this page
 short getValueCount()
          The number of values stored by this page
 void read(DataInputStream dis)
          read reads the object state from the stream.
 void setValueCount(short valueCount)
          The number of values stored by this page
 void write(DataOutputStream dos)
          write writes the object state to the stream.
 
Methods inherited from class net.jxta.impl.xindice.core.filer.Paged.PageHeader
getDataLen, getKeyHash, getKeyLen, getNextPage, getRecordLen, getStatus, isDirty, setDataLen, setDirty, setKey, setKeyHash, setKeyLen, setNextPage, setRecordLen, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTree.BTreePageHeader

public BTree.BTreePageHeader()

BTree.BTreePageHeader

public BTree.BTreePageHeader(DataInputStream dis)
                      throws IOException
Throws:
IOException
Method Detail

read

public void read(DataInputStream dis)
          throws IOException
Description copied from interface: Streamable
read reads the object state from the stream.

Specified by:
read in interface Streamable
Overrides:
read in class Paged.PageHeader
Parameters:
dis - The DataInputStream
Throws:
IOException - if an IOException occurs

write

public void write(DataOutputStream dos)
           throws IOException
Description copied from interface: Streamable
write writes the object state to the stream.

Specified by:
write in interface Streamable
Overrides:
write in class Paged.PageHeader
Parameters:
dos - The DataOutputStream
Throws:
IOException - if an IOException occurs

setValueCount

public final void setValueCount(short valueCount)
The number of values stored by this page


getValueCount

public final short getValueCount()
The number of values stored by this page


getPointerCount

public final short getPointerCount()
The number of pointers stored by this page


JXTA J2SE