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

Method Impl

cpp/src/arrow/testing/matchers.h:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 static_assert(std::is_same<arg_type, std::shared_ptr<Scalar>>(),
75 "AnyOfJSON only supported for std::shared_ptr<Scalar>");
76 Impl(std::shared_ptr<DataType> type, std::string array_json)
77 : type_(std::move(type)), array_json_(std::move(array_json)) {
78 array = arrow::ArrayFromJSON(type_, array_json_);
79 }
80 void DescribeTo(std::ostream* os) const override {
81 *os << "matches at least one scalar from ";
82 *os << array->ToString();

Callers

nothing calls this directly

Calls 1

ArrayFromJSONFunction · 0.85

Tested by

no test coverage detected