MCPcopy Create free account
hub / github.com/apache/orc / BooleanColumnReader

Method BooleanColumnReader

c++/src/ColumnReader.cc:146–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 3

ParseErrorClass · 0.85
createBooleanRleDecoderFunction · 0.85
getStreamMethod · 0.45

Tested by

no test coverage detected