mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 04:12:19 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
22 lines
393 B
C++
22 lines
393 B
C++
#pragma once
|
|
|
|
#include <DataStreams/IBlockInputStream.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Reverses an order of rows in every block in a data stream.
|
|
class ReverseBlockInputStream : public IBlockInputStream
|
|
{
|
|
public:
|
|
ReverseBlockInputStream(const BlockInputStreamPtr & input);
|
|
|
|
String getName() const override;
|
|
Block getHeader() const override;
|
|
|
|
protected:
|
|
Block readImpl() override;
|
|
};
|
|
|
|
}
|