| 144 | |
| 145 | template <typename BatchType> |
| 146 | BooleanColumnReader<BatchType>::BooleanColumnReader(const Type& type, StripeStreams& stripe) |
| 147 | : ColumnReader(type, stripe) { |
| 148 | std::unique_ptr<SeekableInputStream> stream = |
| 149 | stripe.getStream(columnId, proto::Stream_Kind_DATA, true); |
| 150 | if (stream == nullptr) throw ParseError("DATA stream not found in Boolean column"); |
| 151 | rle_ = createBooleanRleDecoder(std::move(stream), metrics); |
| 152 | } |
| 153 | |
| 154 | template <typename BatchType> |
| 155 | BooleanColumnReader<BatchType>::~BooleanColumnReader() { |
nothing calls this directly
no test coverage detected