mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
22 lines
544 B
C++
22 lines
544 B
C++
|
#include "Functions/FunctionFactory.h"
|
||
|
#include "arrayEnumerateRanked.h"
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
class FunctionArrayEnumerateUniqRanked : public FunctionArrayEnumerateRankedExtended<FunctionArrayEnumerateUniqRanked>
|
||
|
{
|
||
|
using Base = FunctionArrayEnumerateRankedExtended<FunctionArrayEnumerateUniqRanked>;
|
||
|
|
||
|
public:
|
||
|
static constexpr auto name = "arrayEnumerateUniqRanked";
|
||
|
using Base::create;
|
||
|
};
|
||
|
|
||
|
void registerFunctionArrayEnumerateUniqRanked(FunctionFactory & factory)
|
||
|
{
|
||
|
factory.registerFunction<FunctionArrayEnumerateUniqRanked>();
|
||
|
}
|
||
|
|
||
|
}
|