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

Method ToString

cpp/src/arrow/compute/kernel.cc:372–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372std::string InputType::ToString() const {
373 std::stringstream ss;
374 switch (kind_) {
375 case InputType::ANY_TYPE:
376 ss << "any";
377 break;
378 case InputType::EXACT_TYPE:
379 ss << type_->ToString();
380 break;
381 case InputType::USE_TYPE_MATCHER: {
382 ss << type_matcher_->ToString();
383 break;
384 }
385 }
386 return ss.str();
387}
388
389bool InputType::Equals(const InputType& other) const {
390 if (this == &other) {

Callers 1

ToStringMethod · 0.45

Calls 2

strMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected