1 | #include "GatherUtils.h" |
---|---|
2 | #include "Selectors.h" |
3 | #include "Algorithms.h" |
4 | |
5 | namespace DB::GatherUtils |
6 | { |
7 | struct SliceFromRightConstantOffsetUnboundedSelectArraySource |
8 | : public ArraySinkSourceSelector<SliceFromRightConstantOffsetUnboundedSelectArraySource> |
9 | { |
10 | template <typename Source, typename Sink> |
11 | static void selectSourceSink(Source && source, Sink && sink, size_t & offset) |
12 | { |
13 | sliceFromRightConstantOffsetUnbounded(source, sink, offset); |
14 | } |
15 | }; |
16 | |
17 | void sliceFromRightConstantOffsetUnbounded(IArraySource & src, IArraySink & sink, size_t offset) |
18 | { |
19 | SliceFromRightConstantOffsetUnboundedSelectArraySource::select(src, sink, offset); |
20 | } |
21 | } |
22 |