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

Function GetTypes

cpp/src/arrow/compute/expression_internal.h:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47inline std::vector<TypeHolder> GetTypes(const std::vector<Expression>& exprs) {
48 std::vector<TypeHolder> types(exprs.size());
49 for (size_t i = 0; i < exprs.size(); ++i) {
50 ARROW_DCHECK(exprs[i].IsBound());
51 types[i] = exprs[i].type();
52 }
53 return types;
54}
55
56inline std::vector<TypeHolder> GetTypes(const std::vector<Datum>& values) {
57 std::vector<TypeHolder> types(values.size());

Callers

nothing calls this directly

Calls 3

IsBoundMethod · 0.80
sizeMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected