MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / makeCodec

Method makeCodec

src/Compression/tests/gtest_compressionCodec.cpp:509–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507 };
508
509 static CompressionCodecPtr makeCodec(MakeCodecParam with_data_type)
510 {
511 const auto & codec_string = std::get<0>(GetParam()).codec_statement;
512 const auto & data_type = with_data_type == CODEC_WITH_DATA_TYPE ? std::get<1>(GetParam()).data_type : nullptr;
513
514 return ::makeCodec(codec_string, data_type);
515 }
516
517 static void testTranscoding(ICompressionCodec & codec)
518 {

Callers

nothing calls this directly

Calls 1

makeCodecFunction · 0.85

Tested by

no test coverage detected