| 850 | { |
| 851 | public: |
| 852 | GenerateSource( |
| 853 | UInt64 block_size_, |
| 854 | UInt64 max_array_length_, |
| 855 | UInt64 max_string_length_, |
| 856 | UInt64 random_seed_, |
| 857 | Block block_header_, |
| 858 | ContextPtr context_, |
| 859 | GenerateRandomStatePtr state_) |
| 860 | : ISource(std::make_shared<const Block>(Nested::flattenNested(prepareBlockToFill(block_header_)))) |
| 861 | , block_size(block_size_) |
| 862 | , max_array_length(max_array_length_) |
| 863 | , max_string_length(max_string_length_) |
| 864 | , block_to_fill(std::move(block_header_)) |
| 865 | , rng(random_seed_) |
| 866 | , context(context_) |
| 867 | , shared_state(state_) |
| 868 | { |
| 869 | } |
| 870 | |
| 871 | String getName() const override { return "GenerateRandom"; } |
| 872 |
nothing calls this directly
no test coverage detected