Module swim.db
Package swim.db

Class UTree


public final class UTree extends Tree
  • Constructor Details

    • UTree

      public UTree(TreeContext treeContext, UTreePageRef rootRef, Seed seed, boolean isResident, boolean isTransient)
    • UTree

      public UTree(TreeContext treeContext, Seed seed, boolean isResident, boolean isTransient)
    • UTree

      public UTree(TreeContext treeContext, int stem, long version, boolean isResident, boolean isTransient)
  • Method Details

    • treeType

      public TreeType treeType()
      Specified by:
      treeType in class Tree
    • treeContext

      public TreeContext treeContext()
      Specified by:
      treeContext in class Tree
    • rootRef

      public UTreePageRef rootRef()
      Specified by:
      rootRef in class Tree
    • rootPage

      public UTreePage rootPage()
      Specified by:
      rootPage in class Tree
    • seed

      public Seed seed()
      Specified by:
      seed in class Tree
    • isResident

      public boolean isResident()
      Specified by:
      isResident in class Tree
    • isResident

      public UTree isResident(boolean isResident)
      Specified by:
      isResident in class Tree
    • isTransient

      public boolean isTransient()
      Specified by:
      isTransient in class Tree
    • isTransient

      public UTree isTransient(boolean isTransient)
      Specified by:
      isTransient in class Tree
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in class Tree
    • get

      public Value get()
    • updated

      public UTree updated(Value newValue, long newVersion, int newPost)
    • cleared

      public UTree cleared(long newVersion)
    • diffSize

      public int diffSize(long version)
      Specified by:
      diffSize in class Tree
    • treeSize

      public long treeSize()
      Specified by:
      treeSize in class Tree
    • evacuated

      public UTree evacuated(int post, long version)
      Specified by:
      evacuated in class Tree
    • committed

      public UTree committed(int zone, long base, long version, long time)
      Specified by:
      committed in class Tree
    • uncommitted

      public UTree uncommitted(long version)
      Specified by:
      uncommitted in class Tree
    • writeDiff

      public void writeDiff(Output<?> output, long version)
      Specified by:
      writeDiff in class Tree
    • buildDiff

      public void buildDiff(long version, Builder<Page,?> builder)
      Specified by:
      buildDiff in class Tree
    • load

      public UTree load()
      Specified by:
      load in class Tree
    • soften

      public void soften(long version)
      Specified by:
      soften in class Tree
    • cursor

      public Cursor<Value> cursor()
      Specified by:
      cursor in class Tree