src/executor/populate_index_executor.cpp
bool PopulateIndexExecutor::DInit() {
  PL_ASSERT(children_.size() == 1);
  PL_ASSERT(executor_context_);

  // Initialize executor state
  const planner::PopulateIndexPlan &node =
      GetPlanNode<planner::PopulateIndexPlan>();
  target_table_ = node.GetTable();
  column_ids_ = node.GetColumnIds();
  done_ = false;

  return true;
}
/**
 * @brief Do some basic checks and initialize executor state.
 * @return true on success, false otherwise.
 */
@brief Do some basic checks and initialize executor state.
@return true on success, false otherwise.
@brief Do some basic checks and initialize executor state . @return true on success false otherwise .
bool PopulateIndexExecutor::DInit() {
  PL_ASSERT(children_.size() == 1);
  PL_ASSERT(executor_context_);
  const planner::PopulateIndexPlan &node =
      GetPlanNode<planner::PopulateIndexPlan>();
  target_table_ = node.GetTable();
  column_ids_ = node.GetColumnIds();
  done_ = false;
  return true;
}
bool PopulateIndexExecutor :: DInit ( ) { PL_ASSERT ( children_ . size ( ) == 1 ) ; PL_ASSERT ( executor_context_ ) ; const planner :: PopulateIndexPlan & node = GetPlanNode < planner :: PopulateIndexPlan > ( ) ; target_table_ = node . GetTable ( ) ; column_ids_ = node . GetColumnIds ( ) ; done_ = false ; return true ; }
@brief Do some basic checks and initialize executor state.
@brief Do some basic checks and initialize executor state .
// Initialize executor state