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

Method createDirectStreams

c++/src/ColumnWriter.cc:1185–1192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1183 }
1184
1185 void StringColumnWriter::createDirectStreams() {
1186 std::unique_ptr<BufferedOutputStream> directLengthStream =
1187 streamsFactory.createStream(proto::Stream_Kind_LENGTH);
1188 directLengthEncoder = createRleEncoder(std::move(directLengthStream), false, rleVersion,
1189 memPool, alignedBitPacking);
1190 directDataStream.reset(
1191 new AppendOnlyBufferedStream(streamsFactory.createStream(proto::Stream_Kind_DATA)));
1192 }
1193
1194 void StringColumnWriter::createDictStreams() {
1195 std::unique_ptr<BufferedOutputStream> dictDataStream =

Callers

nothing calls this directly

Calls 3

createRleEncoderFunction · 0.85
createStreamMethod · 0.65
resetMethod · 0.65

Tested by

no test coverage detected