| 693 | } |
| 694 | |
| 695 | FixedSizeListScalar::FixedSizeListScalar(std::shared_ptr<Array> value, |
| 696 | std::shared_ptr<DataType> type, bool is_valid) |
| 697 | : BaseListScalar(std::move(value), std::move(type), is_valid) { |
| 698 | if (this->value) { |
| 699 | ARROW_CHECK_EQ(this->value->length(), |
| 700 | checked_cast<const FixedSizeListType&>(*this->type).list_size()); |
| 701 | } |
| 702 | } |
| 703 | |
| 704 | FixedSizeListScalar::FixedSizeListScalar(std::shared_ptr<Array> value, bool is_valid) |
| 705 | : BaseListScalar( |
nothing calls this directly
no test coverage detected