| java.lang.Object org.hsqldb.Node
All known Subclasses: org.hsqldb.BaseMemoryNode, org.hsqldb.DiskNode,
Node | abstract class Node (Code) | | The parent for all AVL node implementations, features factory methods for
its subclasses. Subclasses of Node vary in the way they hold
references to other Nodes in the AVL tree, or to their Row data.
nNext links the Node objects belonging to different indexes for each
table row. It is used solely by Row to locate the node belonging to a
particular index.
author: Thomas Mueller (Hypersonic SQL Group) version: 1.7.2 since: Hypersonic SQL |
NO_POS | final static int NO_POS(Code) | | |
delete | abstract void delete()(Code) | | This method unlinks the Node from the other Nodes in the same Index
and from the Row.
It must keep the links between the Nodes in different Indexes.
|
getKey | abstract int getKey()(Code) | | File offset of Node. Used with CachedRow objects only
|
getUpdatedNode | Node getUpdatedNode() throws HsqlException(Code) | | Returns the Node Object that currently represents this Node in the
AVL index structure. In current implementations of Node this is
always the same as the this Object for MEMORY and TEXT tables but can
be a different Object for CACHED tables, where DiskNode Objects may
be freed from the Cache. Calling this method returns a Node with
currently valid pointers to its linked AVL Nodes.
|
isDeleted | boolean isDeleted()(Code) | | |
isRoot | abstract boolean isRoot()(Code) | | |
|
|