Пример #1
0
        public static new HashedBPTreeBytes ReOpen(Stream treefile, Stream blockfile)
        {
            var tree = new BPTreeBytes(treefile, blockfile);
            int prefixLength = tree.MaxKeyLength();

            return new HashedBPTreeBytes(tree, prefixLength);
        }
Пример #2
0
        public static new HashedBPTreeBytes ReOpen(string treefileName, string blockfileName)
        {
            var tree = new BPTreeBytes(treefileName, blockfileName);
            int prefixLength = tree.MaxKeyLength();

            return new HashedBPTreeBytes(tree, prefixLength);
        }
Пример #3
0
 public HashedBPTreeBytes(BPTreeBytes tree, int hashLength)
     : base(tree, hashLength)
 {
     // null out the culture context to use the naive comparison
     Tree.NoCulture();
 }