| 611 | } |
| 612 | |
| 613 | FixedSizeBinaryScalar::FixedSizeBinaryScalar(std::shared_ptr<Buffer> value, |
| 614 | std::shared_ptr<DataType> type, |
| 615 | bool is_valid) |
| 616 | : BinaryScalar(std::move(value), std::move(type)) { |
| 617 | ARROW_CHECK_EQ(checked_cast<const FixedSizeBinaryType&>(*this->type).byte_width(), |
| 618 | this->value->size()); |
| 619 | this->is_valid = is_valid; |
| 620 | } |
| 621 | |
| 622 | FixedSizeBinaryScalar::FixedSizeBinaryScalar(const std::shared_ptr<Buffer>& value, |
| 623 | bool is_valid) |
nothing calls this directly
no test coverage detected