be/src/exprs/aggregate/aggregate_function_histogram.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <map> |
21 | | #include <memory> |
22 | | #include <string> |
23 | | #include <utility> |
24 | | #include <vector> |
25 | | |
26 | | #include "common/exception.h" |
27 | | #include "common/status.h" |
28 | | #include "core/assert_cast.h" |
29 | | #include "core/column/column.h" |
30 | | #include "core/column/column_decimal.h" |
31 | | #include "core/column/column_string.h" |
32 | | #include "core/data_type/data_type_string.h" |
33 | | #include "core/string_ref.h" |
34 | | #include "core/types.h" |
35 | | #include "exec/common/histogram_helpers.hpp" |
36 | | #include "exprs/aggregate/aggregate_function.h" |
37 | | #include "exprs/aggregate/aggregate_function_simple_factory.h" |
38 | | #include "util/io_helper.h" |
39 | | |
40 | | namespace doris { |
41 | | #include "common/compile_check_begin.h" |
42 | | } // namespace doris |
43 | | |
44 | | namespace doris { |
45 | | |
46 | | template <PrimitiveType T> |
47 | | struct AggregateFunctionHistogramData { |
48 | | static constexpr auto Ptype = T; |
49 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
50 | | const static size_t DEFAULT_BUCKET_NUM = 128; |
51 | | const static size_t BUCKET_NUM_INIT_VALUE = 0; |
52 | | |
53 | 6.09k | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; }_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE14set_parametersEm Line | Count | Source | 53 | 15 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE14set_parametersEm Line | Count | Source | 53 | 347 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE14set_parametersEm Line | Count | Source | 53 | 359 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE14set_parametersEm Line | Count | Source | 53 | 462 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE14set_parametersEm Line | Count | Source | 53 | 362 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE14set_parametersEm Line | Count | Source | 53 | 347 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE14set_parametersEm Line | Count | Source | 53 | 332 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE14set_parametersEm Line | Count | Source | 53 | 332 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE14set_parametersEm Line | Count | Source | 53 | 171 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE14set_parametersEm Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE14set_parametersEm Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE14set_parametersEm _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE14set_parametersEm Line | Count | Source | 53 | 2.40k | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE14set_parametersEm Line | Count | Source | 53 | 479 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE14set_parametersEm Line | Count | Source | 53 | 479 | void set_parameters(size_t input_max_num_buckets) { max_num_buckets = input_max_num_buckets; } |
|
54 | | |
55 | 29 | void reset() { ordered_map.clear(); }Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5resetEv _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 55 | 26 | void reset() { ordered_map.clear(); } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 55 | 3 | void reset() { ordered_map.clear(); } |
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5resetEv Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5resetEv |
56 | | |
57 | 2.40k | void add(const StringRef& value, const UInt64& number = 1) { |
58 | 2.40k | std::string data = value.to_string(); |
59 | 2.40k | auto it = ordered_map.find(data); |
60 | 2.40k | if (it != ordered_map.end()) { |
61 | 131 | it->second = it->second + number; |
62 | 2.27k | } else { |
63 | 2.27k | ordered_map.insert({data, number}); |
64 | 2.27k | } |
65 | 2.40k | } |
66 | | |
67 | 3.68k | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { |
68 | 3.68k | auto it = ordered_map.find(value); |
69 | 3.68k | if (it != ordered_map.end()) { |
70 | 111 | it->second = it->second + number; |
71 | 3.57k | } else { |
72 | 3.57k | ordered_map.insert({value, number}); |
73 | 3.57k | } |
74 | 3.68k | } _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3addERKhRKm Line | Count | Source | 67 | 15 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 15 | auto it = ordered_map.find(value); | 69 | 15 | if (it != ordered_map.end()) { | 70 | 11 | it->second = it->second + number; | 71 | 11 | } else { | 72 | 4 | ordered_map.insert({value, number}); | 73 | 4 | } | 74 | 15 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE3addERKaRKm Line | Count | Source | 67 | 347 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 347 | auto it = ordered_map.find(value); | 69 | 347 | if (it != ordered_map.end()) { | 70 | 7 | it->second = it->second + number; | 71 | 340 | } else { | 72 | 340 | ordered_map.insert({value, number}); | 73 | 340 | } | 74 | 347 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE3addERKsRKm Line | Count | Source | 67 | 359 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 359 | auto it = ordered_map.find(value); | 69 | 359 | if (it != ordered_map.end()) { | 70 | 7 | it->second = it->second + number; | 71 | 352 | } else { | 72 | 352 | ordered_map.insert({value, number}); | 73 | 352 | } | 74 | 359 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3addERKiRKm Line | Count | Source | 67 | 463 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 463 | auto it = ordered_map.find(value); | 69 | 463 | if (it != ordered_map.end()) { | 70 | 19 | it->second = it->second + number; | 71 | 444 | } else { | 72 | 444 | ordered_map.insert({value, number}); | 73 | 444 | } | 74 | 463 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE3addERKlRKm Line | Count | Source | 67 | 362 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 362 | auto it = ordered_map.find(value); | 69 | 362 | if (it != ordered_map.end()) { | 70 | 8 | it->second = it->second + number; | 71 | 354 | } else { | 72 | 354 | ordered_map.insert({value, number}); | 73 | 354 | } | 74 | 362 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE3addERKnRKm Line | Count | Source | 67 | 347 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 347 | auto it = ordered_map.find(value); | 69 | 347 | if (it != ordered_map.end()) { | 70 | 4 | it->second = it->second + number; | 71 | 343 | } else { | 72 | 343 | ordered_map.insert({value, number}); | 73 | 343 | } | 74 | 347 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3addERKfRKm Line | Count | Source | 67 | 332 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 332 | auto it = ordered_map.find(value); | 69 | 332 | if (it != ordered_map.end()) { | 70 | 4 | it->second = it->second + number; | 71 | 328 | } else { | 72 | 328 | ordered_map.insert({value, number}); | 73 | 328 | } | 74 | 332 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE3addERKdRKm Line | Count | Source | 67 | 332 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 332 | auto it = ordered_map.find(value); | 69 | 332 | if (it != ordered_map.end()) { | 70 | 4 | it->second = it->second + number; | 71 | 328 | } else { | 72 | 328 | ordered_map.insert({value, number}); | 73 | 328 | } | 74 | 332 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE3addERKNS_7DecimalIiEERKm Line | Count | Source | 67 | 171 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 171 | auto it = ordered_map.find(value); | 69 | 171 | if (it != ordered_map.end()) { | 70 | 9 | it->second = it->second + number; | 71 | 162 | } else { | 72 | 162 | ordered_map.insert({value, number}); | 73 | 162 | } | 74 | 171 | } |
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE3addERKNS_7DecimalIlEERKm Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE3addERKNS_12Decimal128V3ERKm Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE3addERKNS_7DecimalIN4wide7integerILm256EiEEEERKm _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE3addERKNS_11DateV2ValueINS_15DateV2ValueTypeEEERKm Line | Count | Source | 67 | 479 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 479 | auto it = ordered_map.find(value); | 69 | 479 | if (it != ordered_map.end()) { | 70 | 18 | it->second = it->second + number; | 71 | 461 | } else { | 72 | 461 | ordered_map.insert({value, number}); | 73 | 461 | } | 74 | 479 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE3addERKNS_11DateV2ValueINS_19DateTimeV2ValueTypeEEERKm Line | Count | Source | 67 | 479 | void add(const typename PrimitiveTypeTraits<T>::CppType& value, const UInt64& number = 1) { | 68 | 479 | auto it = ordered_map.find(value); | 69 | 479 | if (it != ordered_map.end()) { | 70 | 20 | it->second = it->second + number; | 71 | 459 | } else { | 72 | 459 | ordered_map.insert({value, number}); | 73 | 459 | } | 74 | 479 | } |
|
75 | | |
76 | 1.25k | void merge(const AggregateFunctionHistogramData& rhs) { |
77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null |
78 | | // we should discard this data, because histogram only fouce on the not-null data |
79 | 1.25k | if (!rhs.max_num_buckets) { |
80 | 87 | return; |
81 | 87 | } |
82 | | |
83 | 1.16k | max_num_buckets = rhs.max_num_buckets; |
84 | | |
85 | 4.03k | for (auto rhs_it : rhs.ordered_map) { |
86 | 4.03k | auto lhs_it = ordered_map.find(rhs_it.first); |
87 | 4.03k | if (lhs_it != ordered_map.end()) { |
88 | 2.04k | lhs_it->second += rhs_it.second; |
89 | 2.04k | } else { |
90 | 1.98k | ordered_map.insert({rhs_it.first, rhs_it.second}); |
91 | 1.98k | } |
92 | 4.03k | } |
93 | 1.16k | } _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5mergeERKS2_ Line | Count | Source | 76 | 4 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 4 | if (!rhs.max_num_buckets) { | 80 | 2 | return; | 81 | 2 | } | 82 | | | 83 | 2 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 4 | for (auto rhs_it : rhs.ordered_map) { | 86 | 4 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 4 | if (lhs_it != ordered_map.end()) { | 88 | 2 | lhs_it->second += rhs_it.second; | 89 | 2 | } else { | 90 | 2 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 2 | } | 92 | 4 | } | 93 | 2 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5mergeERKS2_ Line | Count | Source | 76 | 81 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 81 | if (!rhs.max_num_buckets) { | 80 | 7 | return; | 81 | 7 | } | 82 | | | 83 | 74 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 247 | for (auto rhs_it : rhs.ordered_map) { | 86 | 247 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 247 | if (lhs_it != ordered_map.end()) { | 88 | 100 | lhs_it->second += rhs_it.second; | 89 | 147 | } else { | 90 | 147 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 147 | } | 92 | 247 | } | 93 | 74 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5mergeERKS2_ Line | Count | Source | 76 | 81 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 81 | if (!rhs.max_num_buckets) { | 80 | 5 | return; | 81 | 5 | } | 82 | | | 83 | 76 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 258 | for (auto rhs_it : rhs.ordered_map) { | 86 | 258 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 258 | if (lhs_it != ordered_map.end()) { | 88 | 103 | lhs_it->second += rhs_it.second; | 89 | 155 | } else { | 90 | 155 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 155 | } | 92 | 258 | } | 93 | 76 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5mergeERKS2_ Line | Count | Source | 76 | 207 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 207 | if (!rhs.max_num_buckets) { | 80 | 15 | return; | 81 | 15 | } | 82 | | | 83 | 192 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 355 | for (auto rhs_it : rhs.ordered_map) { | 86 | 355 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 355 | if (lhs_it != ordered_map.end()) { | 88 | 163 | lhs_it->second += rhs_it.second; | 89 | 192 | } else { | 90 | 192 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 192 | } | 92 | 355 | } | 93 | 192 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5mergeERKS2_ Line | Count | Source | 76 | 81 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 81 | if (!rhs.max_num_buckets) { | 80 | 7 | return; | 81 | 7 | } | 82 | | | 83 | 74 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 247 | for (auto rhs_it : rhs.ordered_map) { | 86 | 247 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 247 | if (lhs_it != ordered_map.end()) { | 88 | 102 | lhs_it->second += rhs_it.second; | 89 | 145 | } else { | 90 | 145 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 145 | } | 92 | 247 | } | 93 | 74 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5mergeERKS2_ Line | Count | Source | 76 | 81 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 81 | if (!rhs.max_num_buckets) { | 80 | 7 | return; | 81 | 7 | } | 82 | | | 83 | 74 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 250 | for (auto rhs_it : rhs.ordered_map) { | 86 | 250 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 250 | if (lhs_it != ordered_map.end()) { | 88 | 100 | lhs_it->second += rhs_it.second; | 89 | 150 | } else { | 90 | 150 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 150 | } | 92 | 250 | } | 93 | 74 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5mergeERKS2_ Line | Count | Source | 76 | 77 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 77 | if (!rhs.max_num_buckets) { | 80 | 5 | return; | 81 | 5 | } | 82 | | | 83 | 72 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 235 | for (auto rhs_it : rhs.ordered_map) { | 86 | 235 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 235 | if (lhs_it != ordered_map.end()) { | 88 | 100 | lhs_it->second += rhs_it.second; | 89 | 135 | } else { | 90 | 135 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 135 | } | 92 | 235 | } | 93 | 72 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5mergeERKS2_ Line | Count | Source | 76 | 77 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 77 | if (!rhs.max_num_buckets) { | 80 | 5 | return; | 81 | 5 | } | 82 | | | 83 | 72 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 235 | for (auto rhs_it : rhs.ordered_map) { | 86 | 235 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 235 | if (lhs_it != ordered_map.end()) { | 88 | 100 | lhs_it->second += rhs_it.second; | 89 | 135 | } else { | 90 | 135 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 135 | } | 92 | 235 | } | 93 | 72 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5mergeERKS2_ Line | Count | Source | 76 | 82 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 82 | if (!rhs.max_num_buckets) { | 80 | 6 | return; | 81 | 6 | } | 82 | | | 83 | 76 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 164 | for (auto rhs_it : rhs.ordered_map) { | 86 | 164 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 164 | if (lhs_it != ordered_map.end()) { | 88 | 1 | lhs_it->second += rhs_it.second; | 89 | 163 | } else { | 90 | 163 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 163 | } | 92 | 164 | } | 93 | 76 | } |
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5mergeERKS2_ Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5mergeERKS2_ _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5mergeERKS2_ Line | Count | Source | 76 | 173 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 173 | if (!rhs.max_num_buckets) { | 80 | 8 | return; | 81 | 8 | } | 82 | | | 83 | 165 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 1.28k | for (auto rhs_it : rhs.ordered_map) { | 86 | 1.28k | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 1.28k | if (lhs_it != ordered_map.end()) { | 88 | 1.07k | lhs_it->second += rhs_it.second; | 89 | 1.07k | } else { | 90 | 211 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 211 | } | 92 | 1.28k | } | 93 | 165 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5mergeERKS2_ Line | Count | Source | 76 | 155 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 155 | if (!rhs.max_num_buckets) { | 80 | 10 | return; | 81 | 10 | } | 82 | | | 83 | 145 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 377 | for (auto rhs_it : rhs.ordered_map) { | 86 | 377 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 377 | if (lhs_it != ordered_map.end()) { | 88 | 103 | lhs_it->second += rhs_it.second; | 89 | 274 | } else { | 90 | 274 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 274 | } | 92 | 377 | } | 93 | 145 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5mergeERKS2_ Line | Count | Source | 76 | 155 | void merge(const AggregateFunctionHistogramData& rhs) { | 77 | | // if rhs.max_num_buckets == 0, it means the input block for serialization is all null | 78 | | // we should discard this data, because histogram only fouce on the not-null data | 79 | 155 | if (!rhs.max_num_buckets) { | 80 | 10 | return; | 81 | 10 | } | 82 | | | 83 | 145 | max_num_buckets = rhs.max_num_buckets; | 84 | | | 85 | 375 | for (auto rhs_it : rhs.ordered_map) { | 86 | 375 | auto lhs_it = ordered_map.find(rhs_it.first); | 87 | 375 | if (lhs_it != ordered_map.end()) { | 88 | 102 | lhs_it->second += rhs_it.second; | 89 | 273 | } else { | 90 | 273 | ordered_map.insert({rhs_it.first, rhs_it.second}); | 91 | 273 | } | 92 | 375 | } | 93 | 145 | } |
|
94 | | |
95 | 1.29k | void write(BufferWritable& buf) const { |
96 | 1.29k | buf.write_binary(max_num_buckets); |
97 | 1.29k | auto element_number = (size_t)ordered_map.size(); |
98 | 1.29k | buf.write_binary(element_number); |
99 | | |
100 | 1.29k | auto pair_vector = map_to_vector(); |
101 | | |
102 | 5.36k | for (auto i = 0; i < element_number; i++) { |
103 | 4.07k | auto element = pair_vector[i]; |
104 | 4.07k | buf.write_binary(element.second); |
105 | 4.07k | buf.write_binary(element.first); |
106 | 4.07k | } |
107 | 1.29k | } _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 4 | void write(BufferWritable& buf) const { | 96 | 4 | buf.write_binary(max_num_buckets); | 97 | 4 | auto element_number = (size_t)ordered_map.size(); | 98 | 4 | buf.write_binary(element_number); | 99 | | | 100 | 4 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 8 | for (auto i = 0; i < element_number; i++) { | 103 | 4 | auto element = pair_vector[i]; | 104 | 4 | buf.write_binary(element.second); | 105 | 4 | buf.write_binary(element.first); | 106 | 4 | } | 107 | 4 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 81 | void write(BufferWritable& buf) const { | 96 | 81 | buf.write_binary(max_num_buckets); | 97 | 81 | auto element_number = (size_t)ordered_map.size(); | 98 | 81 | buf.write_binary(element_number); | 99 | | | 100 | 81 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 328 | for (auto i = 0; i < element_number; i++) { | 103 | 247 | auto element = pair_vector[i]; | 104 | 247 | buf.write_binary(element.second); | 105 | 247 | buf.write_binary(element.first); | 106 | 247 | } | 107 | 81 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 81 | void write(BufferWritable& buf) const { | 96 | 81 | buf.write_binary(max_num_buckets); | 97 | 81 | auto element_number = (size_t)ordered_map.size(); | 98 | 81 | buf.write_binary(element_number); | 99 | | | 100 | 81 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 339 | for (auto i = 0; i < element_number; i++) { | 103 | 258 | auto element = pair_vector[i]; | 104 | 258 | buf.write_binary(element.second); | 105 | 258 | buf.write_binary(element.first); | 106 | 258 | } | 107 | 81 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 246 | void write(BufferWritable& buf) const { | 96 | 246 | buf.write_binary(max_num_buckets); | 97 | 246 | auto element_number = (size_t)ordered_map.size(); | 98 | 246 | buf.write_binary(element_number); | 99 | | | 100 | 246 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 640 | for (auto i = 0; i < element_number; i++) { | 103 | 394 | auto element = pair_vector[i]; | 104 | 394 | buf.write_binary(element.second); | 105 | 394 | buf.write_binary(element.first); | 106 | 394 | } | 107 | 246 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 81 | void write(BufferWritable& buf) const { | 96 | 81 | buf.write_binary(max_num_buckets); | 97 | 81 | auto element_number = (size_t)ordered_map.size(); | 98 | 81 | buf.write_binary(element_number); | 99 | | | 100 | 81 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 328 | for (auto i = 0; i < element_number; i++) { | 103 | 247 | auto element = pair_vector[i]; | 104 | 247 | buf.write_binary(element.second); | 105 | 247 | buf.write_binary(element.first); | 106 | 247 | } | 107 | 81 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 81 | void write(BufferWritable& buf) const { | 96 | 81 | buf.write_binary(max_num_buckets); | 97 | 81 | auto element_number = (size_t)ordered_map.size(); | 98 | 81 | buf.write_binary(element_number); | 99 | | | 100 | 81 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 331 | for (auto i = 0; i < element_number; i++) { | 103 | 250 | auto element = pair_vector[i]; | 104 | 250 | buf.write_binary(element.second); | 105 | 250 | buf.write_binary(element.first); | 106 | 250 | } | 107 | 81 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 77 | void write(BufferWritable& buf) const { | 96 | 77 | buf.write_binary(max_num_buckets); | 97 | 77 | auto element_number = (size_t)ordered_map.size(); | 98 | 77 | buf.write_binary(element_number); | 99 | | | 100 | 77 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 312 | for (auto i = 0; i < element_number; i++) { | 103 | 235 | auto element = pair_vector[i]; | 104 | 235 | buf.write_binary(element.second); | 105 | 235 | buf.write_binary(element.first); | 106 | 235 | } | 107 | 77 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 77 | void write(BufferWritable& buf) const { | 96 | 77 | buf.write_binary(max_num_buckets); | 97 | 77 | auto element_number = (size_t)ordered_map.size(); | 98 | 77 | buf.write_binary(element_number); | 99 | | | 100 | 77 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 312 | for (auto i = 0; i < element_number; i++) { | 103 | 235 | auto element = pair_vector[i]; | 104 | 235 | buf.write_binary(element.second); | 105 | 235 | buf.write_binary(element.first); | 106 | 235 | } | 107 | 77 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 82 | void write(BufferWritable& buf) const { | 96 | 82 | buf.write_binary(max_num_buckets); | 97 | 82 | auto element_number = (size_t)ordered_map.size(); | 98 | 82 | buf.write_binary(element_number); | 99 | | | 100 | 82 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 246 | for (auto i = 0; i < element_number; i++) { | 103 | 164 | auto element = pair_vector[i]; | 104 | 164 | buf.write_binary(element.second); | 105 | 164 | buf.write_binary(element.first); | 106 | 164 | } | 107 | 82 | } |
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableE _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 171 | void write(BufferWritable& buf) const { | 96 | 171 | buf.write_binary(max_num_buckets); | 97 | 171 | auto element_number = (size_t)ordered_map.size(); | 98 | 171 | buf.write_binary(element_number); | 99 | | | 100 | 171 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 1.45k | for (auto i = 0; i < element_number; i++) { | 103 | 1.28k | auto element = pair_vector[i]; | 104 | 1.28k | buf.write_binary(element.second); | 105 | 1.28k | buf.write_binary(element.first); | 106 | 1.28k | } | 107 | 171 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 155 | void write(BufferWritable& buf) const { | 96 | 155 | buf.write_binary(max_num_buckets); | 97 | 155 | auto element_number = (size_t)ordered_map.size(); | 98 | 155 | buf.write_binary(element_number); | 99 | | | 100 | 155 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 532 | for (auto i = 0; i < element_number; i++) { | 103 | 377 | auto element = pair_vector[i]; | 104 | 377 | buf.write_binary(element.second); | 105 | 377 | buf.write_binary(element.first); | 106 | 377 | } | 107 | 155 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableE Line | Count | Source | 95 | 154 | void write(BufferWritable& buf) const { | 96 | 154 | buf.write_binary(max_num_buckets); | 97 | 154 | auto element_number = (size_t)ordered_map.size(); | 98 | 154 | buf.write_binary(element_number); | 99 | | | 100 | 154 | auto pair_vector = map_to_vector(); | 101 | | | 102 | 529 | for (auto i = 0; i < element_number; i++) { | 103 | 375 | auto element = pair_vector[i]; | 104 | 375 | buf.write_binary(element.second); | 105 | 375 | buf.write_binary(element.first); | 106 | 375 | } | 107 | 154 | } |
|
108 | | |
109 | 1.25k | void read(BufferReadable& buf) { |
110 | 1.25k | buf.read_binary(max_num_buckets); |
111 | | |
112 | 1.25k | size_t element_number = 0; |
113 | 1.25k | buf.read_binary(element_number); |
114 | | |
115 | 1.25k | ordered_map.clear(); |
116 | 1.25k | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; |
117 | 5.28k | for (auto i = 0; i < element_number; i++) { |
118 | 4.03k | buf.read_binary(element.first); |
119 | 4.03k | buf.read_binary(element.second); |
120 | 4.03k | ordered_map.insert(element); |
121 | 4.03k | } |
122 | 1.25k | } _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 4 | void read(BufferReadable& buf) { | 110 | 4 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 4 | size_t element_number = 0; | 113 | 4 | buf.read_binary(element_number); | 114 | | | 115 | 4 | ordered_map.clear(); | 116 | 4 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 8 | for (auto i = 0; i < element_number; i++) { | 118 | 4 | buf.read_binary(element.first); | 119 | 4 | buf.read_binary(element.second); | 120 | 4 | ordered_map.insert(element); | 121 | 4 | } | 122 | 4 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 81 | void read(BufferReadable& buf) { | 110 | 81 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 81 | size_t element_number = 0; | 113 | 81 | buf.read_binary(element_number); | 114 | | | 115 | 81 | ordered_map.clear(); | 116 | 81 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 328 | for (auto i = 0; i < element_number; i++) { | 118 | 247 | buf.read_binary(element.first); | 119 | 247 | buf.read_binary(element.second); | 120 | 247 | ordered_map.insert(element); | 121 | 247 | } | 122 | 81 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 81 | void read(BufferReadable& buf) { | 110 | 81 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 81 | size_t element_number = 0; | 113 | 81 | buf.read_binary(element_number); | 114 | | | 115 | 81 | ordered_map.clear(); | 116 | 81 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 339 | for (auto i = 0; i < element_number; i++) { | 118 | 258 | buf.read_binary(element.first); | 119 | 258 | buf.read_binary(element.second); | 120 | 258 | ordered_map.insert(element); | 121 | 258 | } | 122 | 81 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 207 | void read(BufferReadable& buf) { | 110 | 207 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 207 | size_t element_number = 0; | 113 | 207 | buf.read_binary(element_number); | 114 | | | 115 | 207 | ordered_map.clear(); | 116 | 207 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 562 | for (auto i = 0; i < element_number; i++) { | 118 | 355 | buf.read_binary(element.first); | 119 | 355 | buf.read_binary(element.second); | 120 | 355 | ordered_map.insert(element); | 121 | 355 | } | 122 | 207 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 81 | void read(BufferReadable& buf) { | 110 | 81 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 81 | size_t element_number = 0; | 113 | 81 | buf.read_binary(element_number); | 114 | | | 115 | 81 | ordered_map.clear(); | 116 | 81 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 328 | for (auto i = 0; i < element_number; i++) { | 118 | 247 | buf.read_binary(element.first); | 119 | 247 | buf.read_binary(element.second); | 120 | 247 | ordered_map.insert(element); | 121 | 247 | } | 122 | 81 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 81 | void read(BufferReadable& buf) { | 110 | 81 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 81 | size_t element_number = 0; | 113 | 81 | buf.read_binary(element_number); | 114 | | | 115 | 81 | ordered_map.clear(); | 116 | 81 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 331 | for (auto i = 0; i < element_number; i++) { | 118 | 250 | buf.read_binary(element.first); | 119 | 250 | buf.read_binary(element.second); | 120 | 250 | ordered_map.insert(element); | 121 | 250 | } | 122 | 81 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 77 | void read(BufferReadable& buf) { | 110 | 77 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 77 | size_t element_number = 0; | 113 | 77 | buf.read_binary(element_number); | 114 | | | 115 | 77 | ordered_map.clear(); | 116 | 77 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 312 | for (auto i = 0; i < element_number; i++) { | 118 | 235 | buf.read_binary(element.first); | 119 | 235 | buf.read_binary(element.second); | 120 | 235 | ordered_map.insert(element); | 121 | 235 | } | 122 | 77 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 77 | void read(BufferReadable& buf) { | 110 | 77 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 77 | size_t element_number = 0; | 113 | 77 | buf.read_binary(element_number); | 114 | | | 115 | 77 | ordered_map.clear(); | 116 | 77 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 312 | for (auto i = 0; i < element_number; i++) { | 118 | 235 | buf.read_binary(element.first); | 119 | 235 | buf.read_binary(element.second); | 120 | 235 | ordered_map.insert(element); | 121 | 235 | } | 122 | 77 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 82 | void read(BufferReadable& buf) { | 110 | 82 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 82 | size_t element_number = 0; | 113 | 82 | buf.read_binary(element_number); | 114 | | | 115 | 82 | ordered_map.clear(); | 116 | 82 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 246 | for (auto i = 0; i < element_number; i++) { | 118 | 164 | buf.read_binary(element.first); | 119 | 164 | buf.read_binary(element.second); | 120 | 164 | ordered_map.insert(element); | 121 | 164 | } | 122 | 82 | } |
Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableE Unexecuted instantiation: _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableE _ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 173 | void read(BufferReadable& buf) { | 110 | 173 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 173 | size_t element_number = 0; | 113 | 173 | buf.read_binary(element_number); | 114 | | | 115 | 173 | ordered_map.clear(); | 116 | 173 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 1.45k | for (auto i = 0; i < element_number; i++) { | 118 | 1.28k | buf.read_binary(element.first); | 119 | 1.28k | buf.read_binary(element.second); | 120 | 1.28k | ordered_map.insert(element); | 121 | 1.28k | } | 122 | 173 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 155 | void read(BufferReadable& buf) { | 110 | 155 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 155 | size_t element_number = 0; | 113 | 155 | buf.read_binary(element_number); | 114 | | | 115 | 155 | ordered_map.clear(); | 116 | 155 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 532 | for (auto i = 0; i < element_number; i++) { | 118 | 377 | buf.read_binary(element.first); | 119 | 377 | buf.read_binary(element.second); | 120 | 377 | ordered_map.insert(element); | 121 | 377 | } | 122 | 155 | } |
_ZN5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableE Line | Count | Source | 109 | 155 | void read(BufferReadable& buf) { | 110 | 155 | buf.read_binary(max_num_buckets); | 111 | | | 112 | 155 | size_t element_number = 0; | 113 | 155 | buf.read_binary(element_number); | 114 | | | 115 | 155 | ordered_map.clear(); | 116 | 155 | std::pair<typename PrimitiveTypeTraits<T>::CppType, size_t> element; | 117 | 530 | for (auto i = 0; i < element_number; i++) { | 118 | 375 | buf.read_binary(element.first); | 119 | 375 | buf.read_binary(element.second); | 120 | 375 | ordered_map.insert(element); | 121 | 375 | } | 122 | 155 | } |
|
123 | | |
124 | | void insert_result_into(IColumn& to) const { |
125 | | auto pair_vector = map_to_vector(); |
126 | | for (auto i = 0; i < pair_vector.size(); i++) { |
127 | | const auto& element = pair_vector[i]; |
128 | | if constexpr (is_string_type(T)) { |
129 | | assert_cast<ColumnString&>(to).insert_data(element.second.c_str(), |
130 | | element.second.length()); |
131 | | } else { |
132 | | assert_cast<ColVecType&>(to).get_data().push_back(element.second); |
133 | | } |
134 | | } |
135 | | } |
136 | | |
137 | 700 | std::string get(const DataTypePtr& data_type) const { |
138 | 700 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; |
139 | 700 | rapidjson::StringBuffer buffer; |
140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, |
141 | | // when target column is nullable, and input block is all null, |
142 | | // set_parameters will not be called because of the short-circuit in |
143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. |
144 | 700 | build_histogram( |
145 | 700 | buckets, ordered_map, |
146 | 700 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); |
147 | 700 | histogram_to_json(buffer, buckets, data_type); |
148 | 700 | return {buffer.GetString()}; |
149 | 700 | } _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 2 | std::string get(const DataTypePtr& data_type) const { | 138 | 2 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 2 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 2 | build_histogram( | 145 | 2 | buckets, ordered_map, | 146 | 2 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 2 | histogram_to_json(buffer, buckets, data_type); | 148 | 2 | return {buffer.GetString()}; | 149 | 2 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 48 | std::string get(const DataTypePtr& data_type) const { | 138 | 48 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 48 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 48 | build_histogram( | 145 | 48 | buckets, ordered_map, | 146 | 48 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 48 | histogram_to_json(buffer, buckets, data_type); | 148 | 48 | return {buffer.GetString()}; | 149 | 48 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 48 | std::string get(const DataTypePtr& data_type) const { | 138 | 48 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 48 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 48 | build_histogram( | 145 | 48 | buckets, ordered_map, | 146 | 48 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 48 | histogram_to_json(buffer, buckets, data_type); | 148 | 48 | return {buffer.GetString()}; | 149 | 48 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 67 | std::string get(const DataTypePtr& data_type) const { | 138 | 67 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 67 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 67 | build_histogram( | 145 | 67 | buckets, ordered_map, | 146 | 67 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 67 | histogram_to_json(buffer, buckets, data_type); | 148 | 67 | return {buffer.GetString()}; | 149 | 67 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 65 | std::string get(const DataTypePtr& data_type) const { | 138 | 65 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 65 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 65 | build_histogram( | 145 | 65 | buckets, ordered_map, | 146 | 65 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 65 | histogram_to_json(buffer, buckets, data_type); | 148 | 65 | return {buffer.GetString()}; | 149 | 65 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 48 | std::string get(const DataTypePtr& data_type) const { | 138 | 48 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 48 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 48 | build_histogram( | 145 | 48 | buckets, ordered_map, | 146 | 48 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 48 | histogram_to_json(buffer, buckets, data_type); | 148 | 48 | return {buffer.GetString()}; | 149 | 48 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 46 | std::string get(const DataTypePtr& data_type) const { | 138 | 46 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 46 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 46 | build_histogram( | 145 | 46 | buckets, ordered_map, | 146 | 46 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 46 | histogram_to_json(buffer, buckets, data_type); | 148 | 46 | return {buffer.GetString()}; | 149 | 46 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 46 | std::string get(const DataTypePtr& data_type) const { | 138 | 46 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 46 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 46 | build_histogram( | 145 | 46 | buckets, ordered_map, | 146 | 46 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 46 | histogram_to_json(buffer, buckets, data_type); | 148 | 46 | return {buffer.GetString()}; | 149 | 46 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 49 | std::string get(const DataTypePtr& data_type) const { | 138 | 49 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 49 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 49 | build_histogram( | 145 | 49 | buckets, ordered_map, | 146 | 49 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 49 | histogram_to_json(buffer, buckets, data_type); | 148 | 49 | return {buffer.GetString()}; | 149 | 49 | } |
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 105 | std::string get(const DataTypePtr& data_type) const { | 138 | 105 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 105 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 105 | build_histogram( | 145 | 105 | buckets, ordered_map, | 146 | 105 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 105 | histogram_to_json(buffer, buckets, data_type); | 148 | 105 | return {buffer.GetString()}; | 149 | 105 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 88 | std::string get(const DataTypePtr& data_type) const { | 138 | 88 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 88 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 88 | build_histogram( | 145 | 88 | buckets, ordered_map, | 146 | 88 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 88 | histogram_to_json(buffer, buckets, data_type); | 148 | 88 | return {buffer.GetString()}; | 149 | 88 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE3getB5cxx11ERKSt10shared_ptrIKNS_9IDataTypeEE Line | Count | Source | 137 | 88 | std::string get(const DataTypePtr& data_type) const { | 138 | 88 | std::vector<Bucket<typename PrimitiveTypeTraits<T>::CppType>> buckets; | 139 | 88 | rapidjson::StringBuffer buffer; | 140 | | // NOTE: We need an extral branch for to handle max_num_buckets == 0, | 141 | | // when target column is nullable, and input block is all null, | 142 | | // set_parameters will not be called because of the short-circuit in | 143 | | // AggregateFunctionNullVariadicInline, so max_num_buckets will be 0 in this situation. | 144 | 88 | build_histogram( | 145 | 88 | buckets, ordered_map, | 146 | 88 | max_num_buckets == BUCKET_NUM_INIT_VALUE ? DEFAULT_BUCKET_NUM : max_num_buckets); | 147 | 88 | histogram_to_json(buffer, buckets, data_type); | 148 | 88 | return {buffer.GetString()}; | 149 | 88 | } |
|
150 | | |
151 | 1.29k | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { |
152 | 1.29k | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; |
153 | 4.07k | for (auto it : ordered_map) { |
154 | 4.07k | pair_vector.emplace_back(it.second, it.first); |
155 | 4.07k | } |
156 | 1.29k | return pair_vector; |
157 | 1.29k | } _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EE13map_to_vectorEv Line | Count | Source | 151 | 4 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 4 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 4 | for (auto it : ordered_map) { | 154 | 4 | pair_vector.emplace_back(it.second, it.first); | 155 | 4 | } | 156 | 4 | return pair_vector; | 157 | 4 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EE13map_to_vectorEv Line | Count | Source | 151 | 81 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 81 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 247 | for (auto it : ordered_map) { | 154 | 247 | pair_vector.emplace_back(it.second, it.first); | 155 | 247 | } | 156 | 81 | return pair_vector; | 157 | 81 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EE13map_to_vectorEv Line | Count | Source | 151 | 81 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 81 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 258 | for (auto it : ordered_map) { | 154 | 258 | pair_vector.emplace_back(it.second, it.first); | 155 | 258 | } | 156 | 81 | return pair_vector; | 157 | 81 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EE13map_to_vectorEv Line | Count | Source | 151 | 246 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 246 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 394 | for (auto it : ordered_map) { | 154 | 394 | pair_vector.emplace_back(it.second, it.first); | 155 | 394 | } | 156 | 246 | return pair_vector; | 157 | 246 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EE13map_to_vectorEv Line | Count | Source | 151 | 81 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 81 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 247 | for (auto it : ordered_map) { | 154 | 247 | pair_vector.emplace_back(it.second, it.first); | 155 | 247 | } | 156 | 81 | return pair_vector; | 157 | 81 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EE13map_to_vectorEv Line | Count | Source | 151 | 81 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 81 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 250 | for (auto it : ordered_map) { | 154 | 250 | pair_vector.emplace_back(it.second, it.first); | 155 | 250 | } | 156 | 81 | return pair_vector; | 157 | 81 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EE13map_to_vectorEv Line | Count | Source | 151 | 77 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 77 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 235 | for (auto it : ordered_map) { | 154 | 235 | pair_vector.emplace_back(it.second, it.first); | 155 | 235 | } | 156 | 77 | return pair_vector; | 157 | 77 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EE13map_to_vectorEv Line | Count | Source | 151 | 77 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 77 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 235 | for (auto it : ordered_map) { | 154 | 235 | pair_vector.emplace_back(it.second, it.first); | 155 | 235 | } | 156 | 77 | return pair_vector; | 157 | 77 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EE13map_to_vectorEv Line | Count | Source | 151 | 82 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 82 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 164 | for (auto it : ordered_map) { | 154 | 164 | pair_vector.emplace_back(it.second, it.first); | 155 | 164 | } | 156 | 82 | return pair_vector; | 157 | 82 | } |
Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EE13map_to_vectorEv Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EE13map_to_vectorEv Unexecuted instantiation: _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EE13map_to_vectorEv _ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EE13map_to_vectorB5cxx11Ev Line | Count | Source | 151 | 173 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 173 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 1.28k | for (auto it : ordered_map) { | 154 | 1.28k | pair_vector.emplace_back(it.second, it.first); | 155 | 1.28k | } | 156 | 173 | return pair_vector; | 157 | 173 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EE13map_to_vectorEv Line | Count | Source | 151 | 155 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 155 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 377 | for (auto it : ordered_map) { | 154 | 377 | pair_vector.emplace_back(it.second, it.first); | 155 | 377 | } | 156 | 155 | return pair_vector; | 157 | 155 | } |
_ZNK5doris30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EE13map_to_vectorEv Line | Count | Source | 151 | 155 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> map_to_vector() const { | 152 | 155 | std::vector<std::pair<size_t, typename PrimitiveTypeTraits<T>::CppType>> pair_vector; | 153 | 375 | for (auto it : ordered_map) { | 154 | 375 | pair_vector.emplace_back(it.second, it.first); | 155 | 375 | } | 156 | 155 | return pair_vector; | 157 | 155 | } |
|
158 | | |
159 | | private: |
160 | | size_t max_num_buckets = BUCKET_NUM_INIT_VALUE; |
161 | | std::map<typename PrimitiveTypeTraits<T>::CppType, size_t> ordered_map; |
162 | | }; |
163 | | |
164 | | template <typename Data, bool has_input_param> |
165 | | class AggregateFunctionHistogram final |
166 | | : public IAggregateFunctionDataHelper<Data, |
167 | | AggregateFunctionHistogram<Data, has_input_param>>, |
168 | | VarargsExpression, |
169 | | NotNullableAggregateFunction { |
170 | | public: |
171 | | AggregateFunctionHistogram() = default; |
172 | | AggregateFunctionHistogram(const DataTypes& argument_types_) |
173 | 708 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( |
174 | 708 | argument_types_), |
175 | 708 | _argument_type(argument_types_[0]) {}Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 12 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 12 | argument_types_), | 175 | 12 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 12 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 12 | argument_types_), | 175 | 12 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 5 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 5 | argument_types_), | 175 | 5 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 12 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 12 | argument_types_), | 175 | 12 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 12 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 12 | argument_types_), | 175 | 12 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 8 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 8 | argument_types_), | 175 | 8 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 8 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 8 | argument_types_), | 175 | 8 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 18 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 18 | argument_types_), | 175 | 18 | _argument_type(argument_types_[0]) {} |
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 43 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 43 | argument_types_), | 175 | 43 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 19 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 19 | argument_types_), | 175 | 19 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 19 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 19 | argument_types_), | 175 | 19 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 4 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 4 | argument_types_), | 175 | 4 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 20 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 20 | argument_types_), | 175 | 20 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 20 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 20 | argument_types_), | 175 | 20 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 281 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 281 | argument_types_), | 175 | 281 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 21 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 21 | argument_types_), | 175 | 21 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 20 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 20 | argument_types_), | 175 | 20 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 20 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 20 | argument_types_), | 175 | 20 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 20 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 20 | argument_types_), | 175 | 20 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 19 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 19 | argument_types_), | 175 | 19 | _argument_type(argument_types_[0]) {} |
Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Unexecuted instantiation: _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE _ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 39 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 39 | argument_types_), | 175 | 39 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 38 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 38 | argument_types_), | 175 | 38 | _argument_type(argument_types_[0]) {} |
_ZN5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EEC2ERKSt6vectorISt10shared_ptrIKNS_9IDataTypeEESaIS9_EE Line | Count | Source | 173 | 38 | : IAggregateFunctionDataHelper<Data, AggregateFunctionHistogram<Data, has_input_param>>( | 174 | 38 | argument_types_), | 175 | 38 | _argument_type(argument_types_[0]) {} |
|
176 | | |
177 | 30 | std::string get_name() const override { return "histogram"; }Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE8get_nameB5cxx11Ev _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE8get_nameB5cxx11Ev Line | Count | Source | 177 | 20 | std::string get_name() const override { return "histogram"; } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE8get_nameB5cxx11Ev Line | Count | Source | 177 | 10 | std::string get_name() const override { return "histogram"; } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE8get_nameB5cxx11Ev Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE8get_nameB5cxx11Ev |
178 | | |
179 | 810 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); }Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE15get_return_typeEv _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 22 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 22 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 8 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 22 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 22 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 14 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 14 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 36 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE15get_return_typeEv Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE15get_return_typeEv Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE15get_return_typeEv _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 84 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 36 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE15get_return_typeEv Line | Count | Source | 179 | 36 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 8 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 60 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 42 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 32 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE15get_return_typeEv Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE15get_return_typeEv Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE15get_return_typeEv _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 64 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 64 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE15get_return_typeEv Line | Count | Source | 179 | 64 | DataTypePtr get_return_type() const override { return std::make_shared<DataTypeString>(); } |
|
180 | | |
181 | | void add(AggregateDataPtr __restrict place, const IColumn** columns, ssize_t row_num, |
182 | 6.09k | Arena&) const override { |
183 | 6.09k | if constexpr (has_input_param) { |
184 | 4.40k | Int32 input_max_num_buckets = |
185 | 4.40k | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); |
186 | 4.40k | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { |
187 | 0 | throw doris::Exception( |
188 | 0 | ErrorCode::INVALID_ARGUMENT, |
189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", |
190 | 0 | input_max_num_buckets, row_num); |
191 | 0 | } |
192 | 4.40k | this->data(place).set_parameters(input_max_num_buckets); |
193 | 4.40k | } else { |
194 | 1.69k | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); |
195 | 1.69k | } |
196 | | |
197 | 2.40k | if constexpr (is_string_type(Data::Ptype)) { |
198 | 2.40k | this->data(place).add( |
199 | 2.40k | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) |
200 | 2.40k | .get_data_at(row_num)); |
201 | 3.68k | } else { |
202 | 3.68k | this->data(place).add( |
203 | 3.68k | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( |
204 | 3.68k | *columns[0]) |
205 | 3.68k | .get_data()[row_num]); |
206 | 3.68k | } |
207 | 6.09k | } Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 239 | Arena&) const override { | 183 | 239 | if constexpr (has_input_param) { | 184 | 239 | Int32 input_max_num_buckets = | 185 | 239 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 239 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 239 | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 239 | } else { | 202 | 239 | this->data(place).add( | 203 | 239 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 239 | *columns[0]) | 205 | 239 | .get_data()[row_num]); | 206 | 239 | } | 207 | 239 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 251 | Arena&) const override { | 183 | 251 | if constexpr (has_input_param) { | 184 | 251 | Int32 input_max_num_buckets = | 185 | 251 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 251 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 251 | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 251 | } else { | 202 | 251 | this->data(place).add( | 203 | 251 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 251 | *columns[0]) | 205 | 251 | .get_data()[row_num]); | 206 | 251 | } | 207 | 251 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 215 | Arena&) const override { | 183 | 215 | if constexpr (has_input_param) { | 184 | 215 | Int32 input_max_num_buckets = | 185 | 215 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 215 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 215 | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 215 | } else { | 202 | 215 | this->data(place).add( | 203 | 215 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 215 | *columns[0]) | 205 | 215 | .get_data()[row_num]); | 206 | 215 | } | 207 | 215 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 239 | Arena&) const override { | 183 | 239 | if constexpr (has_input_param) { | 184 | 239 | Int32 input_max_num_buckets = | 185 | 239 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 239 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 239 | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 239 | } else { | 202 | 239 | this->data(place).add( | 203 | 239 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 239 | *columns[0]) | 205 | 239 | .get_data()[row_num]); | 206 | 239 | } | 207 | 239 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 239 | Arena&) const override { | 183 | 239 | if constexpr (has_input_param) { | 184 | 239 | Int32 input_max_num_buckets = | 185 | 239 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 239 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 239 | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 239 | } else { | 202 | 239 | this->data(place).add( | 203 | 239 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 239 | *columns[0]) | 205 | 239 | .get_data()[row_num]); | 206 | 239 | } | 207 | 239 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 224 | Arena&) const override { | 183 | 224 | if constexpr (has_input_param) { | 184 | 224 | Int32 input_max_num_buckets = | 185 | 224 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 224 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 224 | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 224 | } else { | 202 | 224 | this->data(place).add( | 203 | 224 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 224 | *columns[0]) | 205 | 224 | .get_data()[row_num]); | 206 | 224 | } | 207 | 224 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 224 | Arena&) const override { | 183 | 224 | if constexpr (has_input_param) { | 184 | 224 | Int32 input_max_num_buckets = | 185 | 224 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 224 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 224 | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 224 | } else { | 202 | 224 | this->data(place).add( | 203 | 224 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 224 | *columns[0]) | 205 | 224 | .get_data()[row_num]); | 206 | 224 | } | 207 | 224 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 63 | Arena&) const override { | 183 | 63 | if constexpr (has_input_param) { | 184 | 63 | Int32 input_max_num_buckets = | 185 | 63 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 63 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 63 | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 63 | } else { | 202 | 63 | this->data(place).add( | 203 | 63 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 63 | *columns[0]) | 205 | 63 | .get_data()[row_num]); | 206 | 63 | } | 207 | 63 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 2.18k | Arena&) const override { | 183 | 2.18k | if constexpr (has_input_param) { | 184 | 2.18k | Int32 input_max_num_buckets = | 185 | 2.18k | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 2.18k | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 2.18k | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | 2.18k | if constexpr (is_string_type(Data::Ptype)) { | 198 | 2.18k | this->data(place).add( | 199 | 2.18k | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | 2.18k | .get_data_at(row_num)); | 201 | | } else { | 202 | | this->data(place).add( | 203 | | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | | *columns[0]) | 205 | | .get_data()[row_num]); | 206 | | } | 207 | 2.18k | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 263 | Arena&) const override { | 183 | 263 | if constexpr (has_input_param) { | 184 | 263 | Int32 input_max_num_buckets = | 185 | 263 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 263 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 263 | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 263 | } else { | 202 | 263 | this->data(place).add( | 203 | 263 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 263 | *columns[0]) | 205 | 263 | .get_data()[row_num]); | 206 | 263 | } | 207 | 263 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 263 | Arena&) const override { | 183 | 263 | if constexpr (has_input_param) { | 184 | 263 | Int32 input_max_num_buckets = | 185 | 263 | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | 263 | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | 0 | throw doris::Exception( | 188 | 0 | ErrorCode::INVALID_ARGUMENT, | 189 | 0 | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | 0 | input_max_num_buckets, row_num); | 191 | 0 | } | 192 | 263 | this->data(place).set_parameters(input_max_num_buckets); | 193 | | } else { | 194 | | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 263 | } else { | 202 | 263 | this->data(place).add( | 203 | 263 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 263 | *columns[0]) | 205 | 263 | .get_data()[row_num]); | 206 | 263 | } | 207 | 263 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 15 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 15 | } else { | 194 | 15 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 15 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 15 | } else { | 202 | 15 | this->data(place).add( | 203 | 15 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 15 | *columns[0]) | 205 | 15 | .get_data()[row_num]); | 206 | 15 | } | 207 | 15 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 108 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 108 | } else { | 194 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 108 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 108 | } else { | 202 | 108 | this->data(place).add( | 203 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 108 | *columns[0]) | 205 | 108 | .get_data()[row_num]); | 206 | 108 | } | 207 | 108 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 108 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 108 | } else { | 194 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 108 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 108 | } else { | 202 | 108 | this->data(place).add( | 203 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 108 | *columns[0]) | 205 | 108 | .get_data()[row_num]); | 206 | 108 | } | 207 | 108 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 247 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 247 | } else { | 194 | 247 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 247 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 247 | } else { | 202 | 247 | this->data(place).add( | 203 | 247 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 247 | *columns[0]) | 205 | 247 | .get_data()[row_num]); | 206 | 247 | } | 207 | 247 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 123 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 123 | } else { | 194 | 123 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 123 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 123 | } else { | 202 | 123 | this->data(place).add( | 203 | 123 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 123 | *columns[0]) | 205 | 123 | .get_data()[row_num]); | 206 | 123 | } | 207 | 123 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 108 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 108 | } else { | 194 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 108 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 108 | } else { | 202 | 108 | this->data(place).add( | 203 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 108 | *columns[0]) | 205 | 108 | .get_data()[row_num]); | 206 | 108 | } | 207 | 108 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 108 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 108 | } else { | 194 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 108 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 108 | } else { | 202 | 108 | this->data(place).add( | 203 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 108 | *columns[0]) | 205 | 108 | .get_data()[row_num]); | 206 | 108 | } | 207 | 108 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 108 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 108 | } else { | 194 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 108 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 108 | } else { | 202 | 108 | this->data(place).add( | 203 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 108 | *columns[0]) | 205 | 108 | .get_data()[row_num]); | 206 | 108 | } | 207 | 108 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 108 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 108 | } else { | 194 | 108 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 108 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 108 | } else { | 202 | 108 | this->data(place).add( | 203 | 108 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 108 | *columns[0]) | 205 | 108 | .get_data()[row_num]); | 206 | 108 | } | 207 | 108 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 226 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 226 | } else { | 194 | 226 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 226 | } | 196 | | | 197 | 226 | if constexpr (is_string_type(Data::Ptype)) { | 198 | 226 | this->data(place).add( | 199 | 226 | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | 226 | .get_data_at(row_num)); | 201 | | } else { | 202 | | this->data(place).add( | 203 | | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | | *columns[0]) | 205 | | .get_data()[row_num]); | 206 | | } | 207 | 226 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 216 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 216 | } else { | 194 | 216 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 216 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 216 | } else { | 202 | 216 | this->data(place).add( | 203 | 216 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 216 | *columns[0]) | 205 | 216 | .get_data()[row_num]); | 206 | 216 | } | 207 | 216 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE3addEPcPPKNS_7IColumnElRNS_5ArenaE Line | Count | Source | 182 | 216 | Arena&) const override { | 183 | | if constexpr (has_input_param) { | 184 | | Int32 input_max_num_buckets = | 185 | | assert_cast<const ColumnInt32*>(columns[1])->get_element(row_num); | 186 | | if (input_max_num_buckets <= 0 || input_max_num_buckets > 1000000) { | 187 | | throw doris::Exception( | 188 | | ErrorCode::INVALID_ARGUMENT, | 189 | | "Invalid max_num_buckets {}, row_num {}, should be in (0, 1000000]", | 190 | | input_max_num_buckets, row_num); | 191 | | } | 192 | | this->data(place).set_parameters(input_max_num_buckets); | 193 | 216 | } else { | 194 | 216 | this->data(place).set_parameters(Data::DEFAULT_BUCKET_NUM); | 195 | 216 | } | 196 | | | 197 | | if constexpr (is_string_type(Data::Ptype)) { | 198 | | this->data(place).add( | 199 | | assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(*columns[0]) | 200 | | .get_data_at(row_num)); | 201 | 216 | } else { | 202 | 216 | this->data(place).add( | 203 | 216 | assert_cast<const typename Data::ColVecType&, TypeCheckOnRelease::DISABLE>( | 204 | 216 | *columns[0]) | 205 | 216 | .get_data()[row_num]); | 206 | 216 | } | 207 | 216 | } |
|
208 | | |
209 | 29 | void reset(AggregateDataPtr place) const override { this->data(place).reset(); }Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE5resetEPc _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE5resetEPc Line | Count | Source | 209 | 26 | void reset(AggregateDataPtr place) const override { this->data(place).reset(); } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE5resetEPc Line | Count | Source | 209 | 3 | void reset(AggregateDataPtr place) const override { this->data(place).reset(); } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE5resetEPc Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE5resetEPc |
210 | | |
211 | | void merge(AggregateDataPtr __restrict place, ConstAggregateDataPtr rhs, |
212 | 1.25k | Arena&) const override { |
213 | 1.25k | this->data(place).merge(this->data(rhs)); |
214 | 1.25k | } Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE5mergeEPcPKcRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 8 | Arena&) const override { | 213 | 8 | this->data(place).merge(this->data(rhs)); | 214 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 8 | Arena&) const override { | 213 | 8 | this->data(place).merge(this->data(rhs)); | 214 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 5 | Arena&) const override { | 213 | 5 | this->data(place).merge(this->data(rhs)); | 214 | 5 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 8 | Arena&) const override { | 213 | 8 | this->data(place).merge(this->data(rhs)); | 214 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 8 | Arena&) const override { | 213 | 8 | this->data(place).merge(this->data(rhs)); | 214 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 4 | Arena&) const override { | 213 | 4 | this->data(place).merge(this->data(rhs)); | 214 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 4 | Arena&) const override { | 213 | 4 | this->data(place).merge(this->data(rhs)); | 214 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 10 | Arena&) const override { | 213 | 10 | this->data(place).merge(this->data(rhs)); | 214 | 10 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE5mergeEPcPKcRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 28 | Arena&) const override { | 213 | 28 | this->data(place).merge(this->data(rhs)); | 214 | 28 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 11 | Arena&) const override { | 213 | 11 | this->data(place).merge(this->data(rhs)); | 214 | 11 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 11 | Arena&) const override { | 213 | 11 | this->data(place).merge(this->data(rhs)); | 214 | 11 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 4 | Arena&) const override { | 213 | 4 | this->data(place).merge(this->data(rhs)); | 214 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 73 | Arena&) const override { | 213 | 73 | this->data(place).merge(this->data(rhs)); | 214 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 73 | Arena&) const override { | 213 | 73 | this->data(place).merge(this->data(rhs)); | 214 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 202 | Arena&) const override { | 213 | 202 | this->data(place).merge(this->data(rhs)); | 214 | 202 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 73 | Arena&) const override { | 213 | 73 | this->data(place).merge(this->data(rhs)); | 214 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 73 | Arena&) const override { | 213 | 73 | this->data(place).merge(this->data(rhs)); | 214 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 73 | Arena&) const override { | 213 | 73 | this->data(place).merge(this->data(rhs)); | 214 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 73 | Arena&) const override { | 213 | 73 | this->data(place).merge(this->data(rhs)); | 214 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 72 | Arena&) const override { | 213 | 72 | this->data(place).merge(this->data(rhs)); | 214 | 72 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE5mergeEPcPKcRNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE5mergeEPcPKcRNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 145 | Arena&) const override { | 213 | 145 | this->data(place).merge(this->data(rhs)); | 214 | 145 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 144 | Arena&) const override { | 213 | 144 | this->data(place).merge(this->data(rhs)); | 214 | 144 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE5mergeEPcPKcRNS_5ArenaE Line | Count | Source | 212 | 144 | Arena&) const override { | 213 | 144 | this->data(place).merge(this->data(rhs)); | 214 | 144 | } |
|
215 | | |
216 | 1.29k | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { |
217 | 1.29k | this->data(place).write(buf); |
218 | 1.29k | } Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE9serializeEPKcRNS_14BufferWritableE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 8 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 8 | this->data(place).write(buf); | 218 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 8 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 8 | this->data(place).write(buf); | 218 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 5 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 5 | this->data(place).write(buf); | 218 | 5 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 8 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 8 | this->data(place).write(buf); | 218 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 8 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 8 | this->data(place).write(buf); | 218 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 4 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 4 | this->data(place).write(buf); | 218 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 4 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 4 | this->data(place).write(buf); | 218 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 10 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 10 | this->data(place).write(buf); | 218 | 10 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE9serializeEPKcRNS_14BufferWritableE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 28 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 28 | this->data(place).write(buf); | 218 | 28 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 11 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 11 | this->data(place).write(buf); | 218 | 11 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 11 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 11 | this->data(place).write(buf); | 218 | 11 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 4 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 4 | this->data(place).write(buf); | 218 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 73 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 73 | this->data(place).write(buf); | 218 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 73 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 73 | this->data(place).write(buf); | 218 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 241 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 241 | this->data(place).write(buf); | 218 | 241 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 73 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 73 | this->data(place).write(buf); | 218 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 73 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 73 | this->data(place).write(buf); | 218 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 73 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 73 | this->data(place).write(buf); | 218 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 73 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 73 | this->data(place).write(buf); | 218 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 72 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 72 | this->data(place).write(buf); | 218 | 72 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE9serializeEPKcRNS_14BufferWritableE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE9serializeEPKcRNS_14BufferWritableE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 143 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 143 | this->data(place).write(buf); | 218 | 143 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 144 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 144 | this->data(place).write(buf); | 218 | 144 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE9serializeEPKcRNS_14BufferWritableE Line | Count | Source | 216 | 144 | void serialize(ConstAggregateDataPtr __restrict place, BufferWritable& buf) const override { | 217 | 144 | this->data(place).write(buf); | 218 | 144 | } |
|
219 | | |
220 | | void deserialize(AggregateDataPtr __restrict place, BufferReadable& buf, |
221 | 1.25k | Arena&) const override { |
222 | 1.25k | this->data(place).read(buf); |
223 | 1.25k | } Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 8 | Arena&) const override { | 222 | 8 | this->data(place).read(buf); | 223 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 8 | Arena&) const override { | 222 | 8 | this->data(place).read(buf); | 223 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 5 | Arena&) const override { | 222 | 5 | this->data(place).read(buf); | 223 | 5 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 8 | Arena&) const override { | 222 | 8 | this->data(place).read(buf); | 223 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 8 | Arena&) const override { | 222 | 8 | this->data(place).read(buf); | 223 | 8 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 4 | Arena&) const override { | 222 | 4 | this->data(place).read(buf); | 223 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 4 | Arena&) const override { | 222 | 4 | this->data(place).read(buf); | 223 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 10 | Arena&) const override { | 222 | 10 | this->data(place).read(buf); | 223 | 10 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 28 | Arena&) const override { | 222 | 28 | this->data(place).read(buf); | 223 | 28 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 11 | Arena&) const override { | 222 | 11 | this->data(place).read(buf); | 223 | 11 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 11 | Arena&) const override { | 222 | 11 | this->data(place).read(buf); | 223 | 11 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 4 | Arena&) const override { | 222 | 4 | this->data(place).read(buf); | 223 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 73 | Arena&) const override { | 222 | 73 | this->data(place).read(buf); | 223 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 73 | Arena&) const override { | 222 | 73 | this->data(place).read(buf); | 223 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 202 | Arena&) const override { | 222 | 202 | this->data(place).read(buf); | 223 | 202 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 73 | Arena&) const override { | 222 | 73 | this->data(place).read(buf); | 223 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 73 | Arena&) const override { | 222 | 73 | this->data(place).read(buf); | 223 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 73 | Arena&) const override { | 222 | 73 | this->data(place).read(buf); | 223 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 73 | Arena&) const override { | 222 | 73 | this->data(place).read(buf); | 223 | 73 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 72 | Arena&) const override { | 222 | 72 | this->data(place).read(buf); | 223 | 72 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 145 | Arena&) const override { | 222 | 145 | this->data(place).read(buf); | 223 | 145 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 144 | Arena&) const override { | 222 | 144 | this->data(place).read(buf); | 223 | 144 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE11deserializeEPcRNS_14BufferReadableERNS_5ArenaE Line | Count | Source | 221 | 144 | Arena&) const override { | 222 | 144 | this->data(place).read(buf); | 223 | 144 | } |
|
224 | | |
225 | 700 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { |
226 | 700 | const std::string bucket_json = this->data(place).get(_argument_type); |
227 | 700 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); |
228 | 700 | } Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb1EE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 9 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 9 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 9 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 9 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 9 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 9 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 9 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 9 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 4 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 4 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 4 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 4 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 9 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 9 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 9 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 9 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 9 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 9 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 9 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 9 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 7 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 7 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 7 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 7 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 7 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 7 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 7 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 7 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 12 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 12 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 12 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 12 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb1EE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 29 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 29 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 29 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 29 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 14 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 14 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 14 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 14 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb1EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 14 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 14 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 14 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 14 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE2EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 2 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 2 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 2 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 2 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE3EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 39 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 39 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 39 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 39 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE4EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 39 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 39 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 39 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 39 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE5EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 63 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 63 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 63 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 63 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE6EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 56 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 56 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 56 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 56 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE7EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 39 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 39 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 39 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 39 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE8EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 39 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 39 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 39 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 39 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE9EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 39 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 39 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 39 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 39 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE28EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 37 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 37 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 37 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 37 | } |
Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE29EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE30EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Unexecuted instantiation: _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE35EEELb0EE18insert_result_intoEPKcRNS_7IColumnE _ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE10EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 76 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 76 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 76 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 76 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE25EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 74 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 74 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 74 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 74 | } |
_ZNK5doris26AggregateFunctionHistogramINS_30AggregateFunctionHistogramDataILNS_13PrimitiveTypeE26EEELb0EE18insert_result_intoEPKcRNS_7IColumnE Line | Count | Source | 225 | 74 | void insert_result_into(ConstAggregateDataPtr __restrict place, IColumn& to) const override { | 226 | 74 | const std::string bucket_json = this->data(place).get(_argument_type); | 227 | 74 | assert_cast<ColumnString&>(to).insert_data(bucket_json.c_str(), bucket_json.length()); | 228 | 74 | } |
|
229 | | |
230 | | private: |
231 | | DataTypePtr _argument_type; |
232 | | }; |
233 | | |
234 | | } // namespace doris |
235 | | |
236 | | #include "common/compile_check_end.h" |