Xindice API
version 1.1

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(DataInput 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(DataInput dis)
          read reads the object state from the stream.
 void setValueCount(short valueCount)
          The number of values stored by this page
 void write(DataOutput 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(DataInput dis)
                      throws IOException
Method Detail

read

public void read(DataInput dis)
          throws 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:
IOException - if an IOException occurs

write

public void write(DataOutput dos)
           throws 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:
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.1

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