ReadOnly() public static method

public static ReadOnly ( string treefileName, string blockfileName ) : BplusTreeBytes
treefileName string
blockfileName string
return BplusTreeBytes
Example #1
0
        public static xBplusTreeBytes ReadOnly(string treefileName, string blockfileName)
        {
            BplusTreeBytes tree         = BplusTreeBytes.ReadOnly(treefileName, blockfileName);
            int            prefixLength = tree.MaxKeyLength();

            return(new xBplusTreeBytes(tree, prefixLength));
        }
Example #2
0
        public static BplusTree ReadOnly(string treefileName, string blockfileName)
        {
            BplusTreeBytes tree = BplusTreeBytes.ReadOnly(treefileName, blockfileName);

            return(new BplusTree(tree));
        }