public IterateBackwardStartFrom ( byte initKey, bool inclStartKey, bool useCache ) : IEnumerable |
||
initKey | byte | |
inclStartKey | bool | |
useCache | bool | |
리턴 | IEnumerable |
public IEnumerable<LTrieRow> IterateBackwardStartFrom(byte[] key, bool includeStartKey, 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.IterateBackwardStartFrom(key, includeStartKey,false); } else { Backward bw = new Backward((LTrieRootNode)readRootNode); return bw.IterateBackwardStartFrom(key, includeStartKey,true); } }
public IEnumerable<LTrieRow> IterateBackwardStartFrom(byte[] key, bool includeStartKey) { this.CheckTableIsOperable(); LTrieRootNode readRootNode = new LTrieRootNode(this); Backward bw = new Backward(readRootNode); return bw.IterateBackwardStartFrom(key, includeStartKey,true); }