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

Function GenerateVarBinaryBase

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

Source from the content-addressed store, hash-verified

1345// See "Numeric" above for description of the generator functor
1346template <template <typename...> class Generator, typename Type0, typename... Args>
1347ArrayKernelExec GenerateVarBinaryBase(detail::GetTypeId get_id) {
1348 switch (get_id.id) {
1349 case Type::BINARY:
1350 case Type::STRING:
1351 return Generator<Type0, BinaryType, Args...>::Exec;
1352 case Type::LARGE_BINARY:
1353 case Type::LARGE_STRING:
1354 return Generator<Type0, LargeBinaryType, Args...>::Exec;
1355 default:
1356 ARROW_DCHECK(false);
1357 return nullptr;
1358 }
1359}
1360
1361// Generate a kernel given a templated functor for binary-view types. Generates a
1362// single kernel for binary/string-view.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected