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

Function GenericToScalar

cpp/src/arrow/compute/function_internal.h:282–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280// N.B. ordering of overloads is relatively fragile
281template <typename T>
282static inline Result<decltype(MakeScalar(std::declval<T>()))> GenericToScalar(
283 const T& value) {
284 return MakeScalar(value);
285}
286
287// For Clang/libc++: when iterating through vector<bool>, we can't
288// pass it by reference so the overload above doesn't apply

Callers 1

Calls 15

MakeScalarFunction · 0.85
default_memory_poolFunction · 0.85
MakeNullScalarFunction · 0.85
ToDotPathMethod · 0.80
push_backMethod · 0.80
make_arrayMethod · 0.80
MakeFunction · 0.50
MakeBuilderFunction · 0.50
InvalidFunction · 0.50
NotImplementedFunction · 0.50
getMethod · 0.45
AppendMethod · 0.45

Tested by

no test coverage detected