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

Function createRleDecoder

c++/src/RLE.cc:46–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 }
45
46 std::unique_ptr<RleDecoder> createRleDecoder(std::unique_ptr<SeekableInputStream> input,
47 bool isSigned, RleVersion version, MemoryPool& pool,
48 ReaderMetrics* metrics) {
49 switch (static_cast<int64_t>(version)) {
50 case RleVersion_1:
51 return std::make_unique<RleDecoderV1>(std::move(input), isSigned, metrics);
52 case RleVersion_2:
53 return std::make_unique<RleDecoderV2>(std::move(input), isSigned, pool, metrics);
54 default:
55 throw NotImplementedYet("Not implemented yet");
56 }
57 }
58
59 template <typename T>
60 void RleEncoder::add(const T* data, uint64_t numValues, const char* notNull) {

Callers 14

decodeRLEv2Function · 0.85
TESTFunction · 0.85
TestRleDecoder.ccFile · 0.85
vectorDecodeAndVerifyFunction · 0.85
decodeAndVerifyFunction · 0.85
IntegerColumnReaderMethod · 0.85
TimestampColumnReaderMethod · 0.85
ListColumnReaderMethod · 0.85
MapColumnReaderMethod · 0.85
Decimal64ColumnReaderMethod · 0.85

Calls 1

NotImplementedYetClass · 0.85

Tested by 4

decodeRLEv2Function · 0.68
TESTFunction · 0.68
vectorDecodeAndVerifyFunction · 0.68
decodeAndVerifyFunction · 0.68