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

Method getEncoder

c++/test/TestRleVectorDecoder.cc:125–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123 }
124
125 std::unique_ptr<RleEncoder> RleV2BitUnpackAvx512Test::getEncoder(RleVersion version,
126 MemoryOutputStream& memStream,
127 bool isSigned) {
128 MemoryPool* pool = getDefaultPool();
129
130 return createRleEncoder(std::unique_ptr<BufferedOutputStream>(new BufferedOutputStream(
131 *pool, &memStream, 500 * 1024, 1024, nullptr)),
132 isSigned, version, *pool, alignBitpacking);
133 }
134
135 void RleV2BitUnpackAvx512Test::runTest(RleVersion version, uint64_t numValues, int64_t start,
136 int64_t delta, bool random, bool isSigned,

Callers

nothing calls this directly

Calls 2

getDefaultPoolFunction · 0.85
createRleEncoderFunction · 0.85

Tested by

no test coverage detected