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

Function VisitArrayValuesInline

cpp/src/arrow/compute/kernels/codegen_internal.h:484–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482template <typename T, typename VisitFunc, typename NullFunc>
483 requires std::is_void_v<std::invoke_result_t<VisitFunc, typename GetViewType<T>::T>>
484void VisitArrayValuesInline(const ArraySpan& arr, VisitFunc&& valid_func,
485 NullFunc&& null_func) {
486 VisitArraySpanInline<T>(
487 arr,
488 [&](typename GetViewType<T>::PhysicalType v) {
489 valid_func(GetViewType<T>::LogicalValue(std::move(v)));
490 },
491 std::forward<NullFunc>(null_func));
492}
493
494template <typename T, typename VisitFunc, typename NullFunc>
495 requires std::is_same_v<std::invoke_result_t<VisitFunc, typename GetViewType<T>::T>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected