public IterateForwardStartFrom ( byte initKey, bool inclStartKey, bool useCache ) : IEnumerable |
||
initKey | byte | |
inclStartKey | bool | |
useCache | bool | |
Результат | IEnumerable |
public IEnumerable<LTrieRow> IterateForwardStartFrom(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(); Forward fw = new Forward(rn); return fw.IterateForwardStartFrom(key, includeStartKey,false); } else { Forward fw = new Forward((LTrieRootNode)readRootNode); return fw.IterateForwardStartFrom(key, includeStartKey,true); } }
//Iterate StartFrom public IEnumerable<LTrieRow> IterateForwardStartFrom(byte[] key, bool includeStartKey) { this.CheckTableIsOperable(); LTrieRootNode readRootNode = new LTrieRootNode(this); Forward fw = new Forward(readRootNode); return fw.IterateForwardStartFrom(key, includeStartKey,true); }