public BTreeAlgorithm(File.IFile file, IComparer comparer, string name, IDataBlockDriver dataBlockDriver ) : this(file, comparer, name, null, false) { }
public BTreeAlgorithm(File.IFile file, IComparer comparer, string name, IDataBlockDriver dataBlockDriver, bool isDataInKeySegment ) { this.Name = name; var p = new[] { new KeyValuePair <string, object>("comparer", comparer), new KeyValuePair <string, object>("DataBlockDriver", dataBlockDriver) }; IsDataInKeySegment = isDataInKeySegment; Initialize(file, p); }
/// <summary> /// Binds the DataDriver to the MRUClient(specified by Parent) /// </summary> /// <param name="parent"></param> /// <param name="dataDriver"></param> public void SetDataStores(IMruClient parent, IDataBlockDriver dataDriver) { mruManager.DataDriver = dataDriver; mruManager.Collection = parent; }