BTreeNode<Key,Value> createNode(Page<BTreeNode<Key,Value>> p, BTreeNode<Key,Value> parent) throws IOException { BTreeNode<Key,Value> node = new BTreeNode<Key,Value>(this); node.setPage(p); node.setParent(parent); node.setEmpty(); p.set(node); return node; }
BTreeNode<Key,Value> createNode(Transaction tx, BTreeNode<Key,Value> parent) throws IOException { Page<BTreeNode<Key,Value>> p = tx.allocate(); BTreeNode<Key,Value> node = new BTreeNode<Key,Value>(this); node.setPage(p); node.setParent(parent); node.setEmpty(); p.set(node); return node; }
BTreeNode<Key,Value> createNode(Page<BTreeNode<Key,Value>> p, BTreeNode<Key,Value> parent) throws IOException { BTreeNode<Key,Value> node = new BTreeNode<Key,Value>(this); node.setPage(p); node.setParent(parent); node.setEmpty(); p.set(node); return node; }
BTreeNode<Key,Value> createNode(Page<BTreeNode<Key,Value>> p, BTreeNode<Key,Value> parent) throws IOException { BTreeNode<Key,Value> node = new BTreeNode<Key,Value>(this); node.setPage(p); node.setParent(parent); node.setEmpty(); p.set(node); return node; }
BTreeNode<Key,Value> createNode(Page<BTreeNode<Key,Value>> p, BTreeNode<Key,Value> parent) throws IOException { BTreeNode<Key,Value> node = new BTreeNode<Key,Value>(this); node.setPage(p); node.setParent(parent); node.setEmpty(); p.set(node); return node; }
BTreeNode<Key,Value> createNode(Transaction tx, BTreeNode<Key,Value> parent) throws IOException { Page<BTreeNode<Key,Value>> p = tx.allocate(); BTreeNode<Key,Value> node = new BTreeNode<Key,Value>(this); node.setPage(p); node.setParent(parent); node.setEmpty(); p.set(node); return node; }
BTreeNode<Key,Value> createNode(Transaction tx, BTreeNode<Key,Value> parent) throws IOException { Page<BTreeNode<Key,Value>> p = tx.allocate(); BTreeNode<Key,Value> node = new BTreeNode<Key,Value>(this); node.setPage(p); node.setParent(parent); node.setEmpty(); p.set(node); return node; }
BTreeNode<Key,Value> createNode(Transaction tx, BTreeNode<Key,Value> parent) throws IOException { Page<BTreeNode<Key,Value>> p = tx.allocate(); BTreeNode<Key,Value> node = new BTreeNode<Key,Value>(this); node.setPage(p); node.setParent(parent); node.setEmpty(); p.set(node); return node; }