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