IterateForwardForMinimal() public method

public IterateForwardForMinimal ( bool useCache ) : LTrieRow
useCache bool
return LTrieRow
Beispiel #1
0
        public LTrieRow IterateForwardForMinimal(ITrieRootNode readRootNode)
        {
            this.CheckTableIsOperable();

            if (readRootNode==null)
            {
                //Flashing changes on the disk before commit. In case if the same thread uses the same root node
                this.SaveGenerationMap();

                Forward bw = new Forward(rn);
                return bw.IterateForwardForMinimal(false);

            }
            else
            {
                Forward bw = new Forward((LTrieRootNode)readRootNode);
                return bw.IterateForwardForMinimal(true);
            }
        }
Beispiel #2
0
        //MIN-MAX
        public LTrieRow IterateForwardForMinimal()
        {
            this.CheckTableIsOperable();

            LTrieRootNode readRootNode = new LTrieRootNode(this);

            Forward bw = new Forward(readRootNode);
            return bw.IterateForwardForMinimal(true);
        }