ru.biosoft.access
Class BTreeIndex.Block

java.lang.Object
  extended byru.biosoft.access.BTreeIndex.Block
Enclosing class:
BTreeIndex

protected class BTreeIndex.Block
extends java.lang.Object

One block of index file.


Field Summary
protected  java.util.List childs
           
protected  java.util.List nodes
           
protected  boolean parsed
           
 
Constructor Summary
BTreeIndex.Block()
          Construct new block at the end of the file.
BTreeIndex.Block(int offset)
          Construct block that already stored in index file.
 
Method Summary
 void clear(int from)
          Clear block.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parsed

protected boolean parsed

nodes

protected java.util.List nodes

childs

protected java.util.List childs
Constructor Detail

BTreeIndex.Block

public BTreeIndex.Block(int offset)
                 throws java.io.IOException
Construct block that already stored in index file.

Parameters:
offset - Offset of the block in index file.

BTreeIndex.Block

public BTreeIndex.Block()
                 throws java.io.IOException
Construct new block at the end of the file. Increase file size on size of the block.

Method Detail

clear

public void clear(int from)
Clear block. Fill block with 0.



Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.