Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 11
0
        public static BplusTree ReadOnly(string treefileName, string blockfileName)
        {
            BplusTreeBytes tree = BplusTreeBytes.ReadOnly(treefileName, blockfileName);

            return(new BplusTree(tree));
        }
Ejemplo n.º 12
0
        public static BplusTree ReOpen(System.IO.Stream treefile, System.IO.Stream blockfile)
        {
            BplusTreeBytes tree = BplusTreeBytes.ReOpen(treefile, blockfile);

            return(new BplusTree(tree));
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 14
0
        public static BplusTree Initialize(string treefileName, string blockfileName, int keyLength)
        {
            BplusTreeBytes tree = BplusTreeBytes.Initialize(treefileName, blockfileName, keyLength);

            return(new BplusTree(tree));
        }
Ejemplo n.º 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));
 }
Ejemplo n.º 16
0
 public new static HBplusTreeBytes Initialize(string treefileName, string blockfileName, int prefixLength)
 {
     return(new HBplusTreeBytes(
                BplusTreeBytes.Initialize(treefileName, blockfileName, prefixLength),
                prefixLength));
 }
Ejemplo n.º 17
0
 public static XBplusTreeBytes Initialize(string treefileName, string blockfileName, int PrefixLength)
 {
     return(new XBplusTreeBytes(
                BplusTreeBytes.Initialize(treefileName, blockfileName, PrefixLength),
                PrefixLength));
 }
Ejemplo n.º 18
0
 public HBplusTreeBytes(BplusTreeBytes tree, int hashLength)
     : base(tree, hashLength)
 {
     // null out the culture context to use the naive comparison
     this.tree.NoCulture();
 }
Ejemplo n.º 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));
 }