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

Method Consume

cpp/src/arrow/compute/kernels/aggregate_basic.cc:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77struct CountAllImpl : public ScalarAggregator {
78 Status Consume(KernelContext*, const ExecSpan& batch) override {
79 this->count += batch.length;
80 return Status::OK();
81 }
82
83 Status MergeFrom(KernelContext*, KernelState&& src) override {
84 const auto& other_state = checked_cast<const CountAllImpl&>(src);

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected