| 419 | }; |
| 420 | |
| 421 | Status ArrayPrinter::WriteValidityBitmap(const Array& array) { |
| 422 | Indent(); |
| 423 | Write("-- is_valid:"); |
| 424 | |
| 425 | if (array.null_count() > 0) { |
| 426 | Newline(); |
| 427 | Indent(); |
| 428 | BooleanArray is_valid(array.length(), array.null_bitmap(), nullptr, 0, |
| 429 | array.offset()); |
| 430 | return PrettyPrint(is_valid, ChildOptions(true), sink_); |
| 431 | } else { |
| 432 | Write(" all not null"); |
| 433 | return Status::OK(); |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | } // namespace |
| 438 |
nothing calls this directly
no test coverage detected