示例#1
0
 public new static HBplusTreeBytes Initialize(System.IO.Stream treefile, System.IO.Stream blockfile, int prefixLength, int cultureId,
                                              int nodesize, int buffersize)
 {
     return(new HBplusTreeBytes(
                BplusTreeBytes.Initialize(treefile, blockfile, prefixLength, cultureId, nodesize, buffersize),
                prefixLength));
 }
示例#2
0
 public static XBplusTreeBytes Initialize(System.IO.Stream treefile, System.IO.Stream blockfile, int PrefixLength, int CultureId,
                                          int nodesize, int buffersize)
 {
     return(new XBplusTreeBytes(
                BplusTreeBytes.Initialize(treefile, blockfile, PrefixLength, CultureId, nodesize, buffersize),
                PrefixLength));
 }
示例#3
0
 public new static HBplusTreeBytes Initialize(string treefileName, string blockfileName, int prefixLength, int cultureId,
                                              int nodesize, int buffersize)
 {
     return(new HBplusTreeBytes(
                BplusTreeBytes.Initialize(treefileName, blockfileName, prefixLength, cultureId, nodesize, buffersize),
                prefixLength));
 }
示例#4
0
        public static XBplusTreeBytes ReadOnly(string treefileName, string blockfileName)
        {
            BplusTreeBytes tree         = BplusTreeBytes.ReadOnly(treefileName, blockfileName);
            int            prefixLength = tree.MaxKeyLength();

            return(new XBplusTreeBytes(tree, prefixLength));
        }
示例#5
0
        public static BplusTree Initialize(System.IO.Stream treefile, System.IO.Stream blockfile, int keyLength, int cultureId,
                                           int nodesize, int buffersize)
        {
            BplusTreeBytes tree = BplusTreeBytes.Initialize(treefile, blockfile, keyLength, cultureId, nodesize, buffersize);

            return(new BplusTree(tree));
        }
示例#6
0
        public static BplusTree Initialize(string treefileName, string blockfileName, int keyLength, int cultureId,
                                           int nodesize, int buffersize)
        {
            BplusTreeBytes tree = BplusTreeBytes.Initialize(treefileName, blockfileName, keyLength, cultureId, nodesize, buffersize);

            return(new BplusTree(tree));
        }
示例#7
0
 public static XBplusTreeBytes Initialize(string treefileName, string blockfileName, int PrefixLength, int CultureId,
                                          int nodesize, int buffersize)
 {
     return(new XBplusTreeBytes(
                BplusTreeBytes.Initialize(treefileName, blockfileName, PrefixLength, CultureId, nodesize, buffersize),
                PrefixLength));
 }
示例#8
0
        public static XBplusTreeBytes ReOpen(System.IO.Stream treefile, System.IO.Stream blockfile)
        {
            BplusTreeBytes tree         = BplusTreeBytes.ReOpen(treefile, blockfile);
            int            prefixLength = tree.MaxKeyLength();

            return(new XBplusTreeBytes(tree, prefixLength));
        }
示例#9
0
        public new static HBplusTreeBytes ReOpen(string treefileName, string blockfileName)
        {
            BplusTreeBytes tree         = BplusTreeBytes.ReOpen(treefileName, blockfileName);
            int            prefixLength = tree.MaxKeyLength();

            return(new HBplusTreeBytes(tree, prefixLength));
        }
示例#10
0
 public XBplusTreeBytes(BplusTreeBytes tree, int prefixLength)
 {
     if (prefixLength < 3)
     {
         throw new BplusTreeException("prefix cannot be smaller than 3 :: " + prefixLength);
     }
     if (prefixLength > tree.MaxKeyLength())
     {
         throw new BplusTreeException("prefix length cannot exceed keylength for internal tree");
     }
     this.tree         = tree;
     this.PrefixLength = prefixLength;
 }
示例#11
0
        public static BplusTree ReadOnly(string treefileName, string blockfileName)
        {
            BplusTreeBytes tree = BplusTreeBytes.ReadOnly(treefileName, blockfileName);

            return(new BplusTree(tree));
        }
示例#12
0
        public static BplusTree ReOpen(System.IO.Stream treefile, System.IO.Stream blockfile)
        {
            BplusTreeBytes tree = BplusTreeBytes.ReOpen(treefile, blockfile);

            return(new BplusTree(tree));
        }
示例#13
0
        public static BplusTree Initialize(System.IO.Stream treefile, System.IO.Stream blockfile, int keyLength)
        {
            BplusTreeBytes tree = BplusTreeBytes.Initialize(treefile, blockfile, keyLength);

            return(new BplusTree(tree));
        }
示例#14
0
        public static BplusTree Initialize(string treefileName, string blockfileName, int keyLength)
        {
            BplusTreeBytes tree = BplusTreeBytes.Initialize(treefileName, blockfileName, keyLength);

            return(new BplusTree(tree));
        }
示例#15
0
 public static XBplusTreeBytes Initialize(System.IO.Stream treefile, System.IO.Stream blockfile, int PrefixLength)
 {
     return(new XBplusTreeBytes(
                BplusTreeBytes.Initialize(treefile, blockfile, PrefixLength),
                PrefixLength));
 }
示例#16
0
 public new static HBplusTreeBytes Initialize(string treefileName, string blockfileName, int prefixLength)
 {
     return(new HBplusTreeBytes(
                BplusTreeBytes.Initialize(treefileName, blockfileName, prefixLength),
                prefixLength));
 }
示例#17
0
 public static XBplusTreeBytes Initialize(string treefileName, string blockfileName, int PrefixLength)
 {
     return(new XBplusTreeBytes(
                BplusTreeBytes.Initialize(treefileName, blockfileName, PrefixLength),
                PrefixLength));
 }
示例#18
0
 public HBplusTreeBytes(BplusTreeBytes tree, int hashLength)
     : base(tree, hashLength)
 {
     // null out the culture context to use the naive comparison
     this.tree.NoCulture();
 }
示例#19
0
 public new static HBplusTreeBytes Initialize(System.IO.Stream treefile, System.IO.Stream blockfile, int prefixLength)
 {
     return(new HBplusTreeBytes(
                BplusTreeBytes.Initialize(treefile, blockfile, prefixLength),
                prefixLength));
 }