Documentation of 'org.hsqldb.RowAVL' Java class
RowAVL
org.hsqldb

Class RowAVL

  • All Implemented Interfaces:
    CachedObject
    Direct Known Subclasses:
    RowAVLDisk, RowAVLDiskData


    public class RowAVL
    extends Row
    Base class for a database row object implementing rows for memory resident tables.

    Subclass RowAVLDisk implements rows for CACHED and TEXT tables.

    New class derived from Hypersonic SQL code and enhanced in HSQLDB.

    Since:
    Hypersonic SQL
    • Field Detail

      • nPrimaryNode

        public NodeAVL nPrimaryNode
    • Constructor Detail

      • RowAVL

        public RowAVL(TableBase table,
                      java.lang.Object[] data,
                      int position,
                      PersistentStore store)
        Constructor for MEMORY table Row. The result is a Row with Nodes that are not yet linked with other Nodes in the AVL indexes.
    • Method Detail

      • getNode

        public NodeAVL getNode(int index)
        Returns the Node for a given Index, using the ordinal position of the Index within the Table Object.
      • insertNode

        public NodeAVL insertNode(int index)
      • clearNonPrimaryNodes

        public void clearNonPrimaryNodes()
      • destroy

        public void destroy()
        Helps GC, removing secondary node links. Keeps primary index links to allow iteration.
        Specified by:
        destroy in interface CachedObject
        Overrides:
        destroy in class Row

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.