ClickHouse/dbms/src/Functions/registerFunctionsGeo.cpp

37 lines
1004 B
C++
Raw Normal View History

2019-06-30 18:20:32 +00:00
#include "config_functions.h"
namespace DB
{
class FunctionFactory;
2019-12-08 23:41:34 +00:00
void registerFunctionGeoDistance(FunctionFactory & factory);
2019-06-30 18:20:32 +00:00
void registerFunctionPointInEllipses(FunctionFactory & factory);
void registerFunctionPointInPolygon(FunctionFactory & factory);
void registerFunctionGeohashEncode(FunctionFactory & factory);
void registerFunctionGeohashDecode(FunctionFactory & factory);
void registerFunctionGeohashesInBox(FunctionFactory & factory);
2019-06-30 18:20:32 +00:00
#if USE_H3
void registerFunctionGeoToH3(FunctionFactory &);
2019-12-05 13:42:00 +00:00
void registerFunctionH3GetResolution(FunctionFactory &);
2019-06-30 18:20:32 +00:00
#endif
2019-06-30 19:45:23 +00:00
void registerFunctionsGeo(FunctionFactory & factory)
2019-06-30 18:20:32 +00:00
{
2019-12-08 23:41:34 +00:00
registerFunctionGeoDistance(factory);
2019-06-30 18:20:32 +00:00
registerFunctionPointInEllipses(factory);
registerFunctionPointInPolygon(factory);
registerFunctionGeohashEncode(factory);
registerFunctionGeohashDecode(factory);
registerFunctionGeohashesInBox(factory);
2019-06-30 18:20:32 +00:00
#if USE_H3
registerFunctionGeoToH3(factory);
2019-12-05 13:42:00 +00:00
registerFunctionH3GetResolution(factory);
2019-06-30 18:20:32 +00:00
#endif
}
}