blob: 6450fbbae4773b078185a24a057259d2469bda58 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <Processors/ISimpleTransform.h>
namespace DB
{
/// Reverse rows in chunk.
class ReverseTransform : public ISimpleTransform
{
public:
explicit ReverseTransform(const Block & header) : ISimpleTransform(header, header, false) {}
String getName() const override { return "ReverseTransform"; }
protected:
void transform(Chunk & chunk) override;
};
}
|