text: #include <Storages/IStorage.h>
  #include <Storages/ColumnsDescription.h>
  #include <Storages/StorageValues.h>
  #include <DataStreams/OneBlockInputStream.h>
  
  
  namespace DB
  {
  
  StorageValues::StorageValues(const std::string & database_name_, const std::string & table_name_, const ColumnsDescription & columns, const Block & res_block_)
      : database_name(database_name_), table_name(table_name_), res_block(res_block_)
  {
      setColumns(columns);
  }
  
  BlockInputStreams StorageValues::read(
      const Names & column_names,
      const SelectQueryInfo & /*query_info*/,
      const Context & /*context*/,
      QueryProcessingStage::Enum /*processed_stage*/,
      size_t /*max_block_size*/,
      unsigned /*num_streams*/)
  {
      check(column_names);
  
      return BlockInputStreams(1, std::make_shared<OneBlockInputStream>(res_block));
  }
  
  }
  