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

Method Visit

cpp/src/arrow/scalar.cc:1375–1381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1373
1374 template <typename FromType>
1375 Status Visit(const FromType&) {
1376 ARROW_ASSIGN_OR_RAISE(
1377 out_, CastImpl<ToType>(
1378 checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
1379 to_type_));
1380 return Status::OK();
1381 }
1382
1383 // identity cast only for parameter free types
1384 template <typename T1 = ToType>

Callers

nothing calls this directly

Calls 4

MakeScalarFunction · 0.85
OKFunction · 0.70
NotImplementedFunction · 0.70
ARROW_ASSIGN_OR_RAISEFunction · 0.50

Tested by

no test coverage detected