Module swim.db
Package swim.db

Class QTree


  • public final class QTree
    extends Tree
    • Constructor Detail

      • QTree

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

        public QTree​(TreeContext treeContext,
                     int stem,
                     long version,
                     boolean isResident,
                     boolean isTransient)
    • Method Detail

      • seed

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

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

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

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

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

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

        public boolean containsKey​(Value key,
                                   long x,
                                   long y)
      • containsKey

        public boolean containsKey​(Value key)
      • containsValue

        public boolean containsValue​(Value value)
      • get

        public Value get​(Value key,
                         long x,
                         long y)
      • updated

        public QTree updated​(Value key,
                             long x,
                             long y,
                             Value newValue,
                             long newVersion,
                             int newPost)
      • moved

        public QTree moved​(Value key,
                           long oldX,
                           long oldY,
                           long newX,
                           long newY,
                           Value newValue,
                           long newVersion,
                           int newPost)
      • removed

        public QTree removed​(Value key,
                             long x,
                             long y,
                             long newVersion,
                             int newPost)
      • cleared

        public QTree 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 QTree evacuated​(int zone,
                               long version)
        Specified by:
        evacuated in class Tree
      • committed

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

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

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

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

        public Cursor<Slot> cursor​(long x,
                                   long y)
      • depthCursor

        public Cursor<Slot> depthCursor​(long x,
                                        long y,
                                        int maxDepth)
      • depthCursor

        public Cursor<Slot> depthCursor​(int maxDepth)
      • deltaCursor

        public Cursor<Slot> deltaCursor​(long x,
                                        long y,
                                        long sinceVersion)
      • deltaCursor

        public Cursor<Slot> deltaCursor​(long sinceVersion)