#pragma once #include #include #include namespace DB { class IBlockOutputStream; using BlockOutputStreamPtr = std::shared_ptr; struct DictionaryStructure; /// Write keys to block output stream. /// For simple key void formatIDs(BlockOutputStreamPtr & out, const std::vector & ids); /// For composite key void formatKeys(const DictionaryStructure & dict_struct, BlockOutputStreamPtr & out, const ConstColumnPlainPtrs & key_columns); }