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

Method ExecPlanReader

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

GetStopTokenMethod · 0.80

Tested by

no test coverage detected