org.openmobileis.database.fastobjectdb.db.index.node
Class Node
java.lang.Object
org.openmobileis.database.fastobjectdb.db.index.node.Node
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- Direct Known Subclasses:
- IntNode, LongNode, StringNode
- public abstract class Node
- extends java.lang.Object
- implements java.io.Externalizable
Base class for all Btree Node.
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
- See Also:
- Serialized Form
Constructor Summary |
Node()
|
Node(int order)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_NODE
public static final long NO_NODE
- See Also:
- Constant Field Values
filePtr
public long filePtr
parentPtr
public long parentPtr
ptr
public long[] ptr
branchs
public long[] branchs
nbKey
public int nbKey
Node
public Node()
Node
public Node(int order)
getNodePtrAtPos
public long getNodePtrAtPos(int pos)
getMaxNbKey
public int getMaxNbKey()
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
serializeLongArray
protected void serializeLongArray(java.io.ObjectOutput out,
long[] array)
throws java.io.IOException
- Throws:
java.io.IOException
unserializeLongArray
protected long[] unserializeLongArray(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
serializeInArray
protected void serializeInArray(java.io.ObjectOutput out,
int[] array)
throws java.io.IOException
- Throws:
java.io.IOException
unserializeInArray
protected int[] unserializeInArray(java.io.ObjectInput in)
throws java.io.IOException
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright 2006 OpenMobileIS. All Rights Reserved.