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

Method Visit

cpp/src/arrow/scalar.cc:896–899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

894struct MakeNullImpl {
895 template <typename T, typename ScalarType = typename TypeTraits<T>::ScalarType>
896 enable_if_scalar_constructor_has_arrow_type<T, Status> Visit(const T&) {
897 out_ = std::make_shared<ScalarType>(type_);
898 return Status::OK();
899 }
900
901 template <typename T, typename ScalarType = typename TypeTraits<T>::ScalarType>
902 enable_if_scalar_constructor_has_no_arrow_type<T, Status> Visit(const T&) {

Callers

nothing calls this directly

Calls 15

MakeNullScalarFunction · 0.85
push_backMethod · 0.80
emplace_backMethod · 0.80
storage_typeMethod · 0.80
OKFunction · 0.70
AllocateBufferFunction · 0.70
InvalidFunction · 0.70
ARROW_ASSIGN_OR_RAISEFunction · 0.50
byte_widthMethod · 0.45
mutable_dataMethod · 0.45
sizeMethod · 0.45
list_sizeMethod · 0.45

Tested by

no test coverage detected