Xindice API
version 1.1b3

org.apache.xindice.core.filer
Class BTree.BTreePageHeader

java.lang.Object
  |
  +--org.apache.xindice.core.filer.Paged.PageHeader
        |
        +--org.apache.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(java.io.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(java.io.DataInputStream dis)
          read reads the object state from the stream.
 void setValueCount(short valueCount)
          The number of values stored by this page
 void write(java.io.DataOutputStream dos)
          write writes the object state to the stream.
 
Methods inherited from class org.apache.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(java.io.DataInputStream dis)
                      throws java.io.IOException
Method Detail

read

public void read(java.io.DataInputStream dis)
          throws java.io.IOException
Description copied from interface: Streamable
read reads the object state from the stream.
Overrides:
read in class Paged.PageHeader
Following copied from interface: org.apache.xindice.core.filer.Streamable
Parameters:
is - The DataInputStream
Throws:
java.io.IOException - if an IOException occurs

write

public void write(java.io.DataOutputStream dos)
           throws java.io.IOException
Description copied from interface: Streamable
write writes the object state to the stream.
Overrides:
write in class Paged.PageHeader
Following copied from interface: org.apache.xindice.core.filer.Streamable
Parameters:
os - The DataOutputStream
Throws:
java.io.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

Xindice API
version 1.1b3

Copyright (c) 1999-2003 The Apache Software Foundation. All Rights Reserved.