| 117 | } |
| 118 | |
| 119 | void CompressionCodecFactory::fillCodecDescriptions(MutableColumns & res_columns) const |
| 120 | { |
| 121 | std::for_each( |
| 122 | family_name_with_codec.begin(), |
| 123 | family_name_with_codec.end(), |
| 124 | [&](const auto &it) |
| 125 | { |
| 126 | const std::string &name = it.first; |
| 127 | CompressionCodecPtr tmp = it.second({}, nullptr); |
| 128 | |
| 129 | res_columns[0]->insert(name); |
| 130 | res_columns[1]->insert(tmp->getMethodByte()); |
| 131 | res_columns[2]->insert(tmp->isCompression()); |
| 132 | res_columns[3]->insert(tmp->isGenericCompression()); |
| 133 | res_columns[4]->insert(tmp->isEncryption()); |
| 134 | res_columns[5]->insert(tmp->isFloatingPointTimeSeriesCodec()); |
| 135 | res_columns[6]->insert(tmp->isExperimental()); |
| 136 | res_columns[7]->insert(tmp->getDescription()); |
| 137 | } |
| 138 | ); |
| 139 | } |
| 140 | |
| 141 | CompressionCodecPtr CompressionCodecFactory::getImpl(const String & family_name, const ASTPtr & arguments, const IDataType * column_type) const |
| 142 | { |
no test coverage detected