Xindice API
version 1.2m1

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

java.lang.Object
  extended byorg.apache.xindice.core.filer.Paged.PageHeader
      extended byorg.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.

Specified by:
read in interface Streamable
Overrides:
read in class Paged.PageHeader
Throws:
IOException

write

public void write(DataOutput 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
Throws:
IOException

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.2m1

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