| 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(); |
nothing calls this directly
no test coverage detected