IterateBackwardForMaximal() public method

public IterateBackwardForMaximal ( bool useCache ) : LTrieRow
useCache bool
return LTrieRow
Beispiel #1
0
        public LTrieRow IterateBackwardForMaximal(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();

                Backward bw = new Backward(rn);
                return bw.IterateBackwardForMaximal(false);

            }
            else
            {
                Backward bw = new Backward((LTrieRootNode)readRootNode);
                return bw.IterateBackwardForMaximal(true);
            }
        }
Beispiel #2
0
        public LTrieRow IterateBackwardForMaximal()
        {
            this.CheckTableIsOperable();

            LTrieRootNode readRootNode = new LTrieRootNode(this);

            Backward bw = new Backward(readRootNode);
            return bw.IterateBackwardForMaximal(true);
        }