MCPcopy Create free account
hub / github.com/apache/arrow / operator()

Method operator()

python/pyarrow/src/arrow/python/udf.cc:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 : function(std::move(function)) {}
57
58 Result<std::unique_ptr<compute::KernelState>> operator()(
59 compute::KernelContext*, const compute::KernelInitArgs&) {
60 return std::make_unique<PythonUdfKernelState>(function);
61 }
62
63 std::shared_ptr<OwnedRefNoGIL> function;
64};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected