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