| 296 | } // namespace detail |
| 297 | |
| 298 | Result<const Kernel*> Function::DispatchExact( |
| 299 | const std::vector<TypeHolder>& values) const { |
| 300 | if (kind_ == Function::META) { |
| 301 | return Status::NotImplemented("Dispatch for a MetaFunction's Kernels"); |
| 302 | } |
| 303 | RETURN_NOT_OK(CheckArity(values.size())); |
| 304 | |
| 305 | if (auto kernel = detail::DispatchExactImpl(this, values)) { |
| 306 | return kernel; |
| 307 | } |
| 308 | return detail::NoMatchingKernel(this, values); |
| 309 | } |
| 310 | |
| 311 | Result<const Kernel*> Function::DispatchBest(std::vector<TypeHolder>* values) const { |
| 312 | // TODO(ARROW-11508) permit generic conversions here |
nothing calls this directly
no test coverage detected