Пример #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));
 }