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

Method ByteColumnReader

c++/src/ColumnReader.cc:192–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190
191 public:
192 ByteColumnReader(const Type& type, StripeStreams& stripe) : ColumnReader(type, stripe) {
193 std::unique_ptr<SeekableInputStream> stream =
194 stripe.getStream(columnId, proto::Stream_Kind_DATA, true);
195 if (stream == nullptr) throw ParseError("DATA stream not found in Byte column");
196 rle_ = createByteRleDecoder(std::move(stream), metrics);
197 }
198
199 ~ByteColumnReader() override = default;
200

Callers

nothing calls this directly

Calls 3

ParseErrorClass · 0.85
createByteRleDecoderFunction · 0.85
getStreamMethod · 0.45

Tested by

no test coverage detected