MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / create

Function create

src/AggregateFunctions/AggregateFunctionAvgWeighted.cpp:227–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225
226template <class First, class ... TArgs>
227IAggregateFunction * create(const IDataType & second_type, TArgs && ... args)
228{
229 const WhichDataType which(second_type);
230
231#define LINE(Type) \
232 case TypeIndex::Type: return new AggregateFunctionAvgWeighted<First, Type>(std::forward<TArgs>(args)...)
233 AT_SWITCH(LINE)
234#undef LINE
235}
236
237// Not using helper functions because there are no templates for binary decimal/numeric function.
238template <class... TArgs>

Callers 6

wrapToColumnConstMethod · 0.50
getArgumentColumnsMethod · 0.50
resolveFunctionMethod · 0.50
getCheckerMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected