MCPcopy Create free account
hub / github.com/apache/arrow / ExecPlanReader

Method ExecPlanReader

r/src/compute-exec.cpp:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 enum ExecPlanReaderStatus { PLAN_NOT_STARTED, PLAN_RUNNING, PLAN_FINISHED };
81
82 ExecPlanReader(const std::shared_ptr<arrow::acero::ExecPlan>& plan,
83 const std::shared_ptr<arrow::Schema>& schema,
84 arrow::AsyncGenerator<std::optional<compute::ExecBatch>> sink_gen)
85 : schema_(schema),
86 plan_(plan),
87 sink_gen_(sink_gen),
88 plan_status_(PLAN_NOT_STARTED),
89 stop_token_(MainRThread::GetInstance().GetStopToken()) {}
90
91 std::string PlanStatus() const {
92 switch (plan_status_) {

Callers

nothing calls this directly

Calls 1

GetStopTokenMethod · 0.80

Tested by

no test coverage detected