2014-08-22 00:57:20 +00:00
|
|
|
#include <DB/Functions/FunctionFactory.h>
|
|
|
|
#include <DB/Functions/FunctionsURL.h>
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
void registerFunctionsURL(FunctionFactory & factory)
|
|
|
|
{
|
2014-11-12 17:23:26 +00:00
|
|
|
factory.registerFunction<FunctionProtocol>();
|
|
|
|
factory.registerFunction<FunctionDomain>();
|
|
|
|
factory.registerFunction<FunctionDomainWithoutWWW>();
|
|
|
|
factory.registerFunction<FunctionFirstSignificantSubdomain>();
|
|
|
|
factory.registerFunction<FunctionTopLevelDomain>();
|
|
|
|
factory.registerFunction<FunctionPath>();
|
2014-12-05 13:31:48 +00:00
|
|
|
factory.registerFunction<FunctionPathFull>();
|
2014-11-12 17:23:26 +00:00
|
|
|
factory.registerFunction<FunctionQueryString>();
|
|
|
|
factory.registerFunction<FunctionFragment>();
|
|
|
|
factory.registerFunction<FunctionQueryStringAndFragment>();
|
|
|
|
factory.registerFunction<FunctionExtractURLParameter>();
|
|
|
|
factory.registerFunction<FunctionExtractURLParameters>();
|
|
|
|
factory.registerFunction<FunctionExtractURLParameterNames>();
|
|
|
|
factory.registerFunction<FunctionURLHierarchy>();
|
|
|
|
factory.registerFunction<FunctionURLPathHierarchy>();
|
|
|
|
factory.registerFunction<FunctionCutToFirstSignificantSubdomain>();
|
|
|
|
factory.registerFunction<FunctionCutWWW>();
|
|
|
|
factory.registerFunction<FunctionCutQueryString>();
|
|
|
|
factory.registerFunction<FunctionCutFragment>();
|
|
|
|
factory.registerFunction<FunctionCutQueryStringAndFragment>();
|
|
|
|
factory.registerFunction<FunctionCutURLParameter>();
|
2014-08-22 00:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|