| 294 | return value ? reinterpret_cast<const void*>(value->data()) : NULLPTR; |
| 295 | } |
| 296 | std::string_view view() const override { |
| 297 | return value ? std::string_view(*value) : std::string_view(); |
| 298 | } |
| 299 | |
| 300 | explicit BaseBinaryScalar(std::shared_ptr<DataType> type) |
| 301 | : internal::PrimitiveScalarBase(std::move(type)) {} |