18 int16_t parent_edge_index_;
26 static BPNodePointer build_internal_node_pointer(
Node *_node, int16_t _parent_edge_index)
30 r.parent_edge_index_ = _parent_edge_index;
34 static BPNodePointer build_leaf_pointer(uint64_t _leaf_container_index, int16_t _parent_edge_index)
37 r.node_ = (
Node *)_leaf_container_index;
38 r.parent_edge_index_ = _parent_edge_index;
43 uint64_t get_parent_edge_index()
const
45 return this->parent_edge_index_;
47 Node *get_node()
const
54 return this->is_leaf_;
57 uint64_t get_leaf_container_index()
const
59 return (uint64_t)this->node_;
61 uint64_t get_degree(
const std::vector<LEAF_CONTAINER> &leaf_container_vec)
const
65 return leaf_container_vec[this->get_leaf_container_index()].size();
69 return this->get_node()->get_degree();