ClickHouse/dbms/src/AggregateFunctions
Alexander Kuzmenkov f3bde19b74 Do not use iterators in find() and emplace() methods of hash tables.
Instead, these methods return a pointer to the required data as they are
stored inside the hash table. The caller uses overloaded functions to
get the key and "mapped" values from this pointer. Such an interface
avoids the need for constructing iterator-like wrapper objects, which is
especially important for compound hash tables such as the future
StringHashMap.
2019-09-24 17:44:35 +03:00
..
tests Fixed error in internal implementation of quantileTDigest [#CLICKHOUSE-2] 2018-12-27 00:02:39 +03:00
AggregateFunctionArgMinMax.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
AggregateFunctionArray.cpp fewer type casts [CLICKHOUSE-2] 2018-09-10 20:09:07 +03:00
AggregateFunctionArray.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionAvg.cpp Fix build. 2019-02-12 12:31:20 +03:00
AggregateFunctionAvg.h Fixed -Wshadow-field-in-constructor (clang 8 warning) 2019-02-13 15:53:36 +03:00
AggregateFunctionBitwise.cpp Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionBitwise.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionBoundingRatio.cpp Fixed some code (incomplete) #3139 2018-11-01 20:55:11 +03:00
AggregateFunctionBoundingRatio.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionCombinatorFactory.cpp Split libdbms.so using object library 2019-09-11 01:56:01 +08:00
AggregateFunctionCombinatorFactory.h Split libdbms.so using object library 2019-09-11 01:56:01 +08:00
AggregateFunctionCount.cpp Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionCount.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionEntropy.cpp Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionEntropy.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionFactory.cpp Split libdbms.so using object library 2019-09-11 01:56:01 +08:00
AggregateFunctionFactory.h Split libdbms.so using object library 2019-09-11 01:56:01 +08:00
AggregateFunctionForEach.cpp fewer type casts [CLICKHOUSE-2] 2018-09-10 20:09:07 +03:00
AggregateFunctionForEach.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionGroupArray.cpp Fixed insufficient type checking in hasAll, hasAny functions 2019-03-15 02:10:51 +03:00
AggregateFunctionGroupArray.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionGroupArrayInsertAt.cpp Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionGroupArrayInsertAt.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionGroupArrayMoving.cpp movingSum: uses template for groupArrayMovingSum and groupArrayMovingAvg 2019-06-18 10:18:33 -04:00
AggregateFunctionGroupArrayMoving.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionGroupBitmap.cpp Adjust to the latest IAggregateFunctionDataHelper 2019-02-14 19:51:13 +08:00
AggregateFunctionGroupBitmap.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionGroupBitmapData.h Update AggregateFunctionGroupBitmapData.h 2019-09-22 04:58:21 +03:00
AggregateFunctionGroupUniqArray.cpp Fix a hard-to-spot typo: aggreAGte -> aggregate. 2019-06-26 15:35:27 +03:00
AggregateFunctionGroupUniqArray.h Do not use iterators in find() and emplace() methods of hash tables. 2019-09-24 17:44:35 +03:00
AggregateFunctionHistogram.cpp Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionHistogram.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionIf.cpp fewer type casts [CLICKHOUSE-2] 2018-09-10 20:09:07 +03:00
AggregateFunctionIf.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionMaxIntersections.cpp Fixed segfault in case of bad argument types for some aggregate functions [#CLICKHOUSE-2] 2018-03-22 18:37:24 +03:00
AggregateFunctionMaxIntersections.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionMerge.cpp Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionMerge.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionMinMaxAny.cpp
AggregateFunctionMinMaxAny.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionMLMethod.cpp Fix Adam::merge if right state wasn't initialized. 2019-09-11 20:48:42 +03:00
AggregateFunctionMLMethod.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
AggregateFunctionNothing.h Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionNull.cpp Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionNull.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionQuantile.cpp Added QuantileExactInclusive function. Deleted redundant virtuals. 2019-08-14 14:13:04 +03:00
AggregateFunctionQuantile.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionResample.cpp Slightly more ClickHouse style 2019-06-25 13:17:11 +03:00
AggregateFunctionResample.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionRetention.cpp Fixed wrong code #2887 2018-08-23 03:49:18 +03:00
AggregateFunctionRetention.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionSequenceMatch.cpp whitespaces 2019-05-21 09:56:48 +08:00
AggregateFunctionSequenceMatch.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionSimpleLinearRegression.cpp Remane regression methods. 2019-05-23 14:51:25 +03:00
AggregateFunctionSimpleLinearRegression.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionState.cpp Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2] 2018-06-03 23:39:06 +03:00
AggregateFunctionState.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionStatistics.cpp Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionStatistics.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionStatisticsSimple.cpp Add skewness and kurtosis functions 2019-05-06 11:49:14 +08:00
AggregateFunctionStatisticsSimple.h Various fixes for PVS-Studio 2019-06-16 21:13:39 +03:00
AggregateFunctionSum.cpp Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionSum.h Fixed -Wshadow-field-in-constructor (clang 8 warning) 2019-02-13 15:53:36 +03:00
AggregateFunctionSumMap.cpp Fixed Java programmer's error (found by PVS-Studio) 2019-04-10 23:15:44 +03:00
AggregateFunctionSumMap.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionTimeSeriesGroupSum.cpp Rename aggregate functions TSgroup* to timeSeriesGroup* (#5307) 2019-05-21 18:33:54 +03:00
AggregateFunctionTimeSeriesGroupSum.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionTopK.cpp Merge pull request #4634 from kirillDanshin/feature/topK-loadFactor 2019-03-11 03:41:55 +03:00
AggregateFunctionTopK.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionUniq.cpp Fix build. 2019-02-12 12:31:20 +03:00
AggregateFunctionUniq.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionUniqCombined.cpp Namespace comments are unneeded according to the code style. 2019-06-13 13:43:37 +03:00
AggregateFunctionUniqCombined.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionUniqUpTo.cpp Update IAggregateFunction interface. 2019-02-11 22:26:32 +03:00
AggregateFunctionUniqUpTo.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
AggregateFunctionWindowFunnel.cpp Added 'strict' parameter in windowFunnel() and added testcases. 2019-08-19 23:52:42 +09:00
AggregateFunctionWindowFunnel.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
CMakeLists.txt Move all url functions to clickhouse_functions_url lib (#5696) 2019-06-20 18:49:54 +03:00
FactoryHelpers.h Minor refactoring 2018-11-19 17:25:42 +03:00
Helpers.h movingSum with/or without window_size parameter for numeric and decimal types 2019-06-12 01:56:37 -04:00
HelpersMinMaxAny.h Set allocatesMemoryInArena for SingleValueDataString to true 2019-05-19 03:33:04 +03:00
IAggregateFunction.h Improved performance of aggregation without key 2019-08-11 02:22:23 +03:00
IAggregateFunctionCombinator.h Add aggregate function combinator Resample 2019-06-12 15:46:36 +08:00
parseAggregateFunctionParameters.cpp More reverts 2019-03-15 20:09:14 +03:00
parseAggregateFunctionParameters.h
QuantileExact.h Added a check for double whitespaces 2019-08-23 21:30:04 +03:00
QuantileExactWeighted.h Make PairNoInit a simple struct. 2019-08-01 19:54:33 +03:00
QuantileReservoirSampler.h
QuantileReservoirSamplerDeterministic.h
QuantilesCommon.h Fixed handling of NaNs in aggregate functions that use comparison based sorting #2012 2018-03-14 08:03:51 +03:00
QuantileTDigest.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
QuantileTiming.h Removed manual memory tracking when appropriate 2019-07-18 23:10:31 +03:00
registerAggregateFunctions.cpp Improve function registering 2019-06-26 15:53:43 +08:00
registerAggregateFunctions.h
ReservoirSampler.h Fix initial size of some inline PODArray's. 2019-06-28 16:03:14 +03:00
ReservoirSamplerDeterministic.h adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
UniqCombinedBiasData.cpp
UniqCombinedBiasData.h Removed non-breaking spaces: find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l $'\xc2\xa0' | xargs sed -i -r -e 's/\xc2\xa0/ /g' 2019-01-25 02:01:56 +03:00
UniquesHashSet.h Better rehash loop 2019-07-18 23:28:47 +03:00
UniqVariadicHash.cpp Added support for arbitary complex types in "uniq" family of aggregate functions #2010 2018-07-16 06:55:41 +03:00
UniqVariadicHash.h Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00