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

Method Consume

cpp/src/arrow/compute/kernels/aggregate_basic.inc.cc:786–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784 }
785
786 Status Consume(KernelContext*, const ExecSpan& batch) override {
787 if (batch[0].is_array()) {
788 return ConsumeArray(batch[0].array);
789 }
790 return ConsumeScalar(*batch[0].scalar);
791 }
792
793 Status ConsumeScalar(const Scalar& scalar) {
794 StateType local;

Callers

nothing calls this directly

Calls 1

is_arrayMethod · 0.80

Tested by

no test coverage detected