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

Method Visit

cpp/src/arrow/scalar.cc:1371–1377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1369
1370 template <typename FromType>
1371 Status Visit(const FromType&) {
1372 ARROW_ASSIGN_OR_RAISE(
1373 out_, CastImpl<ToType>(
1374 checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
1375 to_type_));
1376 return Status::OK();
1377 }
1378
1379 // identity cast only for parameter free types
1380 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