17 int16_t parent_edge_index_;
25 static BPNodePointer build_internal_node_pointer(
Node *_node, int16_t _parent_edge_index)
29 r.parent_edge_index_ = _parent_edge_index;
33 static BPNodePointer build_leaf_pointer(uint64_t _leaf_container_index, int16_t _parent_edge_index)
36 r.node_ = (
Node *)_leaf_container_index;
37 r.parent_edge_index_ = _parent_edge_index;
42 uint64_t get_parent_edge_index()
const
44 return this->parent_edge_index_;
46 Node *get_node()
const
53 return this->is_leaf_;
56 uint64_t get_leaf_container_index()
const
58 return (uint64_t)this->node_;
60 uint64_t get_degree(
const std::vector<LEAF_CONTAINER> &leaf_container_vec)
const
64 return leaf_container_vec[this->get_leaf_container_index()].size();
68 return this->get_node()->get_degree();