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

Method FunctionSignature

cpp/src/gandiva/function_signature.cc:60–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58} // namespace
59
60FunctionSignature::FunctionSignature(std::string base_name, DataTypeVector param_types,
61 DataTypePtr ret_type)
62 : base_name_(std::move(base_name)),
63 param_types_(std::move(param_types)),
64 ret_type_(std::move(ret_type)) {
65 DCHECK_GT(base_name_.length(), 0);
66 for (auto it = param_types_.begin(); it != param_types_.end(); it++) {
67 DCHECK(*it);
68 }
69 DCHECK(ret_type_);
70}
71
72bool FunctionSignature::operator==(const FunctionSignature& other) const {
73 if (param_types_.size() != other.param_types_.size() ||

Callers

nothing calls this directly

Calls 3

lengthMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected