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

Function Get

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

Source from the content-addressed store, hash-verified

73 };
74
75 static const type* Get(const std::string& function) {
76 static std::unordered_map<std::string, type> map{
77 {"equal", EQUAL}, {"not_equal", NOT_EQUAL},
78 {"less", LESS}, {"less_equal", LESS_EQUAL},
79 {"greater", GREATER}, {"greater_equal", GREATER_EQUAL},
80 };
81
82 auto it = map.find(function);
83 return it != map.end() ? &it->second : nullptr;
84 }
85
86 static const type* Get(const Expression& expr) {
87 if (auto call = expr.call()) {

Callers 15

ToStringMethod · 0.70
CanonicalizeFunction · 0.70
SimplifyMethod · 0.70
GetMethod · 0.70
NullPropagatorMethod · 0.70
SetupPreallocationMethod · 0.70
PropagateNullsSpansFunction · 0.70
CastToDictionaryFunction · 0.50
ExecMethod · 0.50
MakeListSliceResolveFunction · 0.50
ExecMethod · 0.50

Calls 3

callMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected