Module swim.db
Package swim.db

Enum Class TreeType

All Implemented Interfaces:
Serializable, Comparable<TreeType>, Constable

public enum TreeType extends Enum<TreeType>
  • Enum Constant Details

    • BTREE

      public static final TreeType BTREE
    • QTREE

      public static final TreeType QTREE
    • STREE

      public static final TreeType STREE
    • UTREE

      public static final TreeType UTREE
  • Method Details

    • values

      public static TreeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TreeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • isBTree

      public boolean isBTree()
    • isQTree

      public boolean isQTree()
    • isSTree

      public boolean isSTree()
    • isUTree

      public boolean isUTree()
    • tag

      public String tag()
    • emptyPageRef

      public PageRef emptyPageRef(PageContext pageContext, int stem, long version)
    • pageRefFromValue

      public PageRef pageRefFromValue(PageContext pageContext, int stem, Value value)
    • emptyTree

      public Tree emptyTree(TreeContext treeContext, int stem, long version, boolean isResident, boolean isTransient)
    • treeFromSeed

      public Tree treeFromSeed(TreeContext treeContext, Seed seed, boolean isResident, boolean isTransient)
    • fromTag

      public static TreeType fromTag(String tag)