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

Method Convert

r/src/r_to_arrow.cpp:339–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 // ---- convert to an arrow integer
338 template <typename Type, typename From>
339 static enable_if_integer<Type, Result<typename Type::c_type>> Convert(Type*,
340 From from) {
341 return CIntFromRScalarImpl<typename Type::c_type>(static_cast<int64_t>(from));
342 }
343
344 // ---- convert R integer types to double
345 template <typename Type, typename From>

Callers

nothing calls this directly

Calls 2

InvalidClass · 0.50
Float16Class · 0.50

Tested by

no test coverage detected