be/src/exprs/aggregate/single_value_data.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 <cstring> |
21 | | |
22 | | #include "common/cast_set.h" |
23 | | #include "common/compare.h" |
24 | | #include "common/logging.h" |
25 | | #include "core/assert_cast.h" |
26 | | #include "core/column/column.h" |
27 | | #include "core/column/column_decimal.h" |
28 | | #include "core/column/column_string.h" |
29 | | #include "core/custom_allocator.h" |
30 | | #include "core/data_type/data_type.h" |
31 | | #include "core/data_type/primitive_type.h" |
32 | | #include "core/string_buffer.hpp" |
33 | | #include "core/string_ref.h" |
34 | | #include "core/types.h" |
35 | | |
36 | | namespace doris { |
37 | | |
38 | | class Arena; |
39 | | |
40 | | /// Stores one fixed-size scalar value directly in the aggregate state. |
41 | | template <PrimitiveType T> |
42 | | struct SingleValueDataFixed { |
43 | | private: |
44 | | using Self = SingleValueDataFixed; |
45 | | using ValueType = typename PrimitiveTypeTraits<T>::CppType; |
46 | | |
47 | 18.5M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 18.5M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 18.5M | TypeCheckOnRelease::DISABLE>(column) |
50 | 18.5M | .get_data()[row_num]; |
51 | 18.5M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE9_value_atERKNS_7IColumnEm _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 13 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 13 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 13 | TypeCheckOnRelease::DISABLE>(column) | 50 | 13 | .get_data()[row_num]; | 51 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.96M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.96M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.96M | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.96M | .get_data()[row_num]; | 51 | 3.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 31.5k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 31.5k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 31.5k | TypeCheckOnRelease::DISABLE>(column) | 50 | 31.5k | .get_data()[row_num]; | 51 | 31.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 920 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 920 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 920 | TypeCheckOnRelease::DISABLE>(column) | 50 | 920 | .get_data()[row_num]; | 51 | 920 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 6.03k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.03k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.03k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.03k | .get_data()[row_num]; | 51 | 6.03k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 300 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 300 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 300 | TypeCheckOnRelease::DISABLE>(column) | 50 | 300 | .get_data()[row_num]; | 51 | 300 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 69 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 69 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 69 | TypeCheckOnRelease::DISABLE>(column) | 50 | 69 | .get_data()[row_num]; | 51 | 69 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 67 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 67 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 67 | TypeCheckOnRelease::DISABLE>(column) | 50 | 67 | .get_data()[row_num]; | 51 | 67 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 606k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 606k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 606k | TypeCheckOnRelease::DISABLE>(column) | 50 | 606k | .get_data()[row_num]; | 51 | 606k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 693 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 693 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 693 | TypeCheckOnRelease::DISABLE>(column) | 50 | 693 | .get_data()[row_num]; | 51 | 693 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 176k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 176k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 176k | TypeCheckOnRelease::DISABLE>(column) | 50 | 176k | .get_data()[row_num]; | 51 | 176k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.81k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.81k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.81k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.81k | .get_data()[row_num]; | 51 | 3.81k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.08M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.08M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.08M | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.08M | .get_data()[row_num]; | 51 | 8.08M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 236k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 236k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 236k | TypeCheckOnRelease::DISABLE>(column) | 50 | 236k | .get_data()[row_num]; | 51 | 236k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.34k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.34k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.34k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.34k | .get_data()[row_num]; | 51 | 3.34k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.95k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.95k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.95k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.95k | .get_data()[row_num]; | 51 | 2.95k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 21.0k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 21.0k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 21.0k | TypeCheckOnRelease::DISABLE>(column) | 50 | 21.0k | .get_data()[row_num]; | 51 | 21.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 10.5k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 10.5k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 10.5k | TypeCheckOnRelease::DISABLE>(column) | 50 | 10.5k | .get_data()[row_num]; | 51 | 10.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 5.38M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.38M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.38M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.38M | .get_data()[row_num]; | 51 | 5.38M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 22.0k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 22.0k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 22.0k | TypeCheckOnRelease::DISABLE>(column) | 50 | 22.0k | .get_data()[row_num]; | 51 | 22.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 790 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 790 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 790 | TypeCheckOnRelease::DISABLE>(column) | 50 | 790 | .get_data()[row_num]; | 51 | 790 | } |
|
52 | | |
53 | | // AggregateFunctionIf and state merging must distinguish an empty state from a default value. |
54 | | bool has_value = false; |
55 | | ValueType value {}; |
56 | | |
57 | | public: |
58 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
59 | | static constexpr bool NeedCheckColumnType = true; |
60 | | |
61 | 916k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 8.93k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 1.09k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 997 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.85k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 3 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EEC2Ev Line | Count | Source | 61 | 65 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EEC2Ev Line | Count | Source | 61 | 65 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EEC2Ev Line | Count | Source | 61 | 145k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 232 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 293k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 694 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 357k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 75.6k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 868 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 617 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.48k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 203 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 18.5k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 802 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 147 | SingleValueDataFixed() = default; |
|
62 | 21.6M | bool has() const { return has_value; }Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3hasEv _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3hasEv Line | Count | Source | 62 | 12 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3hasEv Line | Count | Source | 62 | 3.98M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3hasEv Line | Count | Source | 62 | 31.8k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3hasEv Line | Count | Source | 62 | 1.51k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3hasEv Line | Count | Source | 62 | 8.06k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3hasEv Line | Count | Source | 62 | 204 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3hasEv Line | Count | Source | 62 | 115 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3hasEv Line | Count | Source | 62 | 115 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3hasEv Line | Count | Source | 62 | 949k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 829 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 897k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 4.22k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.95M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 336k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 4.19k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 3.44k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 22.2k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 15.7k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.39M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3hasEv Line | Count | Source | 62 | 40.9k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3hasEv Line | Count | Source | 62 | 22.2k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 1.06k | bool has() const { return has_value; } |
|
63 | | |
64 | | static constexpr bool UsesFixedLengthStateSerialization = true; |
65 | | |
66 | 1.41M | void set_value_to_min() { value = Compare::min_value<ValueType>(); }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE16set_value_to_minEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE16set_value_to_minEv Line | Count | Source | 66 | 1 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE16set_value_to_minEv Line | Count | Source | 66 | 2.04k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 808 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 355 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_minEv Line | Count | Source | 66 | 2.00k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_minEv Line | Count | Source | 66 | 1 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 35 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 35 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 62.7k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 103 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_minEv Line | Count | Source | 66 | 147k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 885 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.14M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 41.3k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 917 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 859 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.37k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.22k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.67k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE16set_value_to_minEv Line | Count | Source | 66 | 4.09k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE16set_value_to_minEv Line | Count | Source | 66 | 461 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 172 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 630k | void set_value_to_max() { value = Compare::max_value<ValueType>(); }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE16set_value_to_maxEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE16set_value_to_maxEv Line | Count | Source | 68 | 1 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE16set_value_to_maxEv Line | Count | Source | 68 | 1.93k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 498 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 353 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_maxEv Line | Count | Source | 68 | 2.00k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_maxEv Line | Count | Source | 68 | 1 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_maxEv Line | Count | Source | 68 | 35 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_maxEv Line | Count | Source | 68 | 35 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_maxEv Line | Count | Source | 68 | 66.8k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 98 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_maxEv Line | Count | Source | 68 | 147k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_maxEv Line | Count | Source | 68 | 205 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 354k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 37.6k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 236 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 131 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 654 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 97 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 14.0k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE16set_value_to_maxEv Line | Count | Source | 68 | 4.09k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE16set_value_to_maxEv Line | Count | Source | 68 | 384 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 172 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
|
69 | | |
70 | 1.24M | void insert_result_into(IColumn& to) const { |
71 | 1.24M | if (has()) { |
72 | 1.24M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
73 | 1.24M | to) |
74 | 1.24M | .insert_value(value); |
75 | 1.24M | } else { |
76 | 651 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 651 | to) |
78 | 651 | .insert_default(); |
79 | 651 | } |
80 | 1.24M | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE18insert_result_intoERNS_7IColumnE _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 2 | void insert_result_into(IColumn& to) const { | 71 | 2 | if (has()) { | 72 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2 | to) | 74 | 2 | .insert_value(value); | 75 | 2 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 8.55k | void insert_result_into(IColumn& to) const { | 71 | 8.55k | if (has()) { | 72 | 8.50k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.50k | to) | 74 | 8.50k | .insert_value(value); | 75 | 8.50k | } else { | 76 | 50 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 50 | to) | 78 | 50 | .insert_default(); | 79 | 50 | } | 80 | 8.55k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 807 | void insert_result_into(IColumn& to) const { | 71 | 807 | if (has()) { | 72 | 807 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 807 | to) | 74 | 807 | .insert_value(value); | 75 | 807 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 807 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 355 | void insert_result_into(IColumn& to) const { | 71 | 355 | if (has()) { | 72 | 355 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 355 | to) | 74 | 355 | .insert_value(value); | 75 | 355 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 355 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 2.31k | void insert_result_into(IColumn& to) const { | 71 | 2.31k | if (has()) { | 72 | 2.31k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2.31k | to) | 74 | 2.31k | .insert_value(value); | 75 | 2.31k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2.31k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 3 | void insert_result_into(IColumn& to) const { | 71 | 3 | if (has()) { | 72 | 3 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3 | to) | 74 | 3 | .insert_value(value); | 75 | 3 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 3 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 6.18k | void insert_result_into(IColumn& to) const { | 71 | 6.18k | if (has()) { | 72 | 6.18k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 6.18k | to) | 74 | 6.18k | .insert_value(value); | 75 | 6.18k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 6.18k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 91 | void insert_result_into(IColumn& to) const { | 71 | 91 | if (has()) { | 72 | 91 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 91 | to) | 74 | 91 | .insert_value(value); | 75 | 91 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 91 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.09k | void insert_result_into(IColumn& to) const { | 71 | 1.09k | if (has()) { | 72 | 1.08k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.08k | to) | 74 | 1.08k | .insert_value(value); | 75 | 1.08k | } else { | 76 | 12 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 12 | to) | 78 | 12 | .insert_default(); | 79 | 12 | } | 80 | 1.09k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 829 | void insert_result_into(IColumn& to) const { | 71 | 829 | if (has()) { | 72 | 827 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 827 | to) | 74 | 827 | .insert_value(value); | 75 | 827 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 829 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.18M | void insert_result_into(IColumn& to) const { | 71 | 1.18M | if (has()) { | 72 | 1.18M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.18M | to) | 74 | 1.18M | .insert_value(value); | 75 | 1.18M | } else { | 76 | 389 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 389 | to) | 78 | 389 | .insert_default(); | 79 | 389 | } | 80 | 1.18M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 7.83k | void insert_result_into(IColumn& to) const { | 71 | 7.83k | if (has()) { | 72 | 7.72k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 7.72k | to) | 74 | 7.72k | .insert_value(value); | 75 | 7.72k | } else { | 76 | 112 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 112 | to) | 78 | 112 | .insert_default(); | 79 | 112 | } | 80 | 7.83k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 838 | void insert_result_into(IColumn& to) const { | 71 | 838 | if (has()) { | 72 | 836 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 836 | to) | 74 | 836 | .insert_value(value); | 75 | 836 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 838 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 695 | void insert_result_into(IColumn& to) const { | 71 | 695 | if (has()) { | 72 | 695 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 695 | to) | 74 | 695 | .insert_value(value); | 75 | 695 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 695 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.27k | void insert_result_into(IColumn& to) const { | 71 | 1.27k | if (has()) { | 72 | 1.27k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.27k | to) | 74 | 1.27k | .insert_value(value); | 75 | 1.27k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.27k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 5.20k | void insert_result_into(IColumn& to) const { | 71 | 5.20k | if (has()) { | 72 | 5.20k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 5.20k | to) | 74 | 5.20k | .insert_value(value); | 75 | 5.20k | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 5.20k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 16.2k | void insert_result_into(IColumn& to) const { | 71 | 16.2k | if (has()) { | 72 | 16.1k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 16.1k | to) | 74 | 16.1k | .insert_value(value); | 75 | 16.1k | } else { | 76 | 83 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 83 | to) | 78 | 83 | .insert_default(); | 79 | 83 | } | 80 | 16.2k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 8.19k | void insert_result_into(IColumn& to) const { | 71 | 8.19k | if (has()) { | 72 | 8.19k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.19k | to) | 74 | 8.19k | .insert_value(value); | 75 | 8.19k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 8.19k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 739 | void insert_result_into(IColumn& to) const { | 71 | 739 | if (has()) { | 72 | 739 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 739 | to) | 74 | 739 | .insert_value(value); | 75 | 739 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 739 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 255 | void insert_result_into(IColumn& to) const { | 71 | 255 | if (has()) { | 72 | 255 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 255 | to) | 74 | 255 | .insert_value(value); | 75 | 255 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 255 | } |
|
81 | | |
82 | 2.04M | void reset() { has_value = false; }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5resetEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5resetEv Line | Count | Source | 82 | 2 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5resetEv Line | Count | Source | 82 | 3.97k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.32k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 707 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 4.01k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 2 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 70 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 70 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv Line | Count | Source | 82 | 128k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 201 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 293k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.09k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.49M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 74.9k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.18k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 990 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 2.02k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.32k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 17.6k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 854 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 344 | void reset() { has_value = false; } |
|
83 | | |
84 | 19.1k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
85 | 19.1k | buf.write_binary(has()); |
86 | 19.1k | if (has()) { |
87 | 19.0k | buf.write_binary(value); |
88 | 19.0k | } |
89 | 19.1k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 10 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 10 | buf.write_binary(has()); | 86 | 10 | if (has()) { | 87 | 10 | buf.write_binary(value); | 88 | 10 | } | 89 | 10 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 22 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 22 | buf.write_binary(has()); | 86 | 22 | if (has()) { | 87 | 20 | buf.write_binary(value); | 88 | 20 | } | 89 | 22 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 52 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 52 | buf.write_binary(has()); | 86 | 52 | if (has()) { | 87 | 52 | buf.write_binary(value); | 88 | 52 | } | 89 | 52 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 8.60k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 8.60k | buf.write_binary(has()); | 86 | 8.60k | if (has()) { | 87 | 8.60k | buf.write_binary(value); | 88 | 8.60k | } | 89 | 8.60k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 64 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 64 | buf.write_binary(has()); | 86 | 64 | if (has()) { | 87 | 63 | buf.write_binary(value); | 88 | 63 | } | 89 | 64 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 9.74k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.74k | buf.write_binary(has()); | 86 | 9.74k | if (has()) { | 87 | 9.67k | buf.write_binary(value); | 88 | 9.67k | } | 89 | 9.74k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 213 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 213 | buf.write_binary(has()); | 86 | 213 | if (has()) { | 87 | 181 | buf.write_binary(value); | 88 | 181 | } | 89 | 213 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 52 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 52 | buf.write_binary(has()); | 86 | 52 | if (has()) { | 87 | 52 | buf.write_binary(value); | 88 | 52 | } | 89 | 52 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 327 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 327 | buf.write_binary(has()); | 86 | 327 | if (has()) { | 87 | 324 | buf.write_binary(value); | 88 | 324 | } | 89 | 327 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
|
90 | | |
91 | 20.0k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 20.0k | buf.read_binary(has_value); |
93 | 20.0k | if (has()) { |
94 | 19.9k | buf.read_binary(value); |
95 | 19.9k | } |
96 | 20.0k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 10 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 10 | buf.read_binary(has_value); | 93 | 10 | if (has()) { | 94 | 10 | buf.read_binary(value); | 95 | 10 | } | 96 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 22 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 22 | buf.read_binary(has_value); | 93 | 22 | if (has()) { | 94 | 20 | buf.read_binary(value); | 95 | 20 | } | 96 | 22 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 52 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 52 | buf.read_binary(has_value); | 93 | 52 | if (has()) { | 94 | 52 | buf.read_binary(value); | 95 | 52 | } | 96 | 52 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 9.57k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.57k | buf.read_binary(has_value); | 93 | 9.57k | if (has()) { | 94 | 9.57k | buf.read_binary(value); | 95 | 9.57k | } | 96 | 9.57k | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 64 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 64 | buf.read_binary(has_value); | 93 | 64 | if (has()) { | 94 | 63 | buf.read_binary(value); | 95 | 63 | } | 96 | 64 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 9.67k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.67k | buf.read_binary(has_value); | 93 | 9.67k | if (has()) { | 94 | 9.58k | buf.read_binary(value); | 95 | 9.58k | } | 96 | 9.67k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 270 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 270 | buf.read_binary(has_value); | 93 | 270 | if (has()) { | 94 | 226 | buf.read_binary(value); | 95 | 226 | } | 96 | 270 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 49 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 49 | buf.read_binary(has_value); | 93 | 49 | if (has()) { | 94 | 49 | buf.read_binary(value); | 95 | 49 | } | 96 | 49 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 309 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 309 | buf.read_binary(has_value); | 93 | 309 | if (has()) { | 94 | 306 | buf.read_binary(value); | 95 | 306 | } | 96 | 309 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
|
97 | | |
98 | 1.84M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.84M | has_value = true; |
100 | 1.84M | value = _value_at(column, row_num); |
101 | 1.84M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5 | has_value = true; | 100 | 5 | value = _value_at(column, row_num); | 101 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 14.1k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 14.1k | has_value = true; | 100 | 14.1k | value = _value_at(column, row_num); | 101 | 14.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.78k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.78k | has_value = true; | 100 | 1.78k | value = _value_at(column, row_num); | 101 | 1.78k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 560 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 560 | has_value = true; | 100 | 560 | value = _value_at(column, row_num); | 101 | 560 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 2.73k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.73k | has_value = true; | 100 | 2.73k | value = _value_at(column, row_num); | 101 | 2.73k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 102 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 102 | has_value = true; | 100 | 102 | value = _value_at(column, row_num); | 101 | 102 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 32 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 32 | has_value = true; | 100 | 32 | value = _value_at(column, row_num); | 101 | 32 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 30 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 30 | has_value = true; | 100 | 30 | value = _value_at(column, row_num); | 101 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 71.8k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 71.8k | has_value = true; | 100 | 71.8k | value = _value_at(column, row_num); | 101 | 71.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 111 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 111 | has_value = true; | 100 | 111 | value = _value_at(column, row_num); | 101 | 111 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 148k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 148k | has_value = true; | 100 | 148k | value = _value_at(column, row_num); | 101 | 148k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.28k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.28k | has_value = true; | 100 | 1.28k | value = _value_at(column, row_num); | 101 | 1.28k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.46M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.46M | has_value = true; | 100 | 1.46M | value = _value_at(column, row_num); | 101 | 1.46M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 94.8k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 94.8k | has_value = true; | 100 | 94.8k | value = _value_at(column, row_num); | 101 | 94.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.20k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.20k | has_value = true; | 100 | 1.20k | value = _value_at(column, row_num); | 101 | 1.20k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.05k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.05k | has_value = true; | 100 | 1.05k | value = _value_at(column, row_num); | 101 | 1.05k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.81k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.81k | has_value = true; | 100 | 1.81k | value = _value_at(column, row_num); | 101 | 1.81k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.28k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.28k | has_value = true; | 100 | 5.28k | value = _value_at(column, row_num); | 101 | 5.28k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 18.8k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 18.8k | has_value = true; | 100 | 18.8k | value = _value_at(column, row_num); | 101 | 18.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 12.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 12.2k | has_value = true; | 100 | 12.2k | value = _value_at(column, row_num); | 101 | 12.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.44k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.44k | has_value = true; | 100 | 1.44k | value = _value_at(column, row_num); | 101 | 1.44k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 313 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 313 | has_value = true; | 100 | 313 | value = _value_at(column, row_num); | 101 | 313 | } |
|
102 | | |
103 | 431k | void set(const Self& to, Arena&) { |
104 | 431k | DORIS_CHECK(to.has()); |
105 | 431k | has_value = true; |
106 | 431k | value = to.value; |
107 | 431k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 4.99k | void set(const Self& to, Arena&) { | 104 | 4.99k | DORIS_CHECK(to.has()); | 105 | 4.99k | has_value = true; | 106 | 4.99k | value = to.value; | 107 | 4.99k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 106 | void set(const Self& to, Arena&) { | 104 | 106 | DORIS_CHECK(to.has()); | 105 | 106 | has_value = true; | 106 | 106 | value = to.value; | 107 | 106 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 112 | void set(const Self& to, Arena&) { | 104 | 112 | DORIS_CHECK(to.has()); | 105 | 112 | has_value = true; | 106 | 112 | value = to.value; | 107 | 112 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 29 | void set(const Self& to, Arena&) { | 104 | 29 | DORIS_CHECK(to.has()); | 105 | 29 | has_value = true; | 106 | 29 | value = to.value; | 107 | 29 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 11 | void set(const Self& to, Arena&) { | 104 | 11 | DORIS_CHECK(to.has()); | 105 | 11 | has_value = true; | 106 | 11 | value = to.value; | 107 | 11 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 11 | void set(const Self& to, Arena&) { | 104 | 11 | DORIS_CHECK(to.has()); | 105 | 11 | has_value = true; | 106 | 11 | value = to.value; | 107 | 11 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 66.5k | void set(const Self& to, Arena&) { | 104 | 66.5k | DORIS_CHECK(to.has()); | 105 | 66.5k | has_value = true; | 106 | 66.5k | value = to.value; | 107 | 66.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 144k | void set(const Self& to, Arena&) { | 104 | 144k | DORIS_CHECK(to.has()); | 105 | 144k | has_value = true; | 106 | 144k | value = to.value; | 107 | 144k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 13 | void set(const Self& to, Arena&) { | 104 | 13 | DORIS_CHECK(to.has()); | 105 | 13 | has_value = true; | 106 | 13 | value = to.value; | 107 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 163k | void set(const Self& to, Arena&) { | 104 | 163k | DORIS_CHECK(to.has()); | 105 | 163k | has_value = true; | 106 | 163k | value = to.value; | 107 | 163k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 41.6k | void set(const Self& to, Arena&) { | 104 | 41.6k | DORIS_CHECK(to.has()); | 105 | 41.6k | has_value = true; | 106 | 41.6k | value = to.value; | 107 | 41.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 54 | void set(const Self& to, Arena&) { | 104 | 54 | DORIS_CHECK(to.has()); | 105 | 54 | has_value = true; | 106 | 54 | value = to.value; | 107 | 54 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 48 | void set(const Self& to, Arena&) { | 104 | 48 | DORIS_CHECK(to.has()); | 105 | 48 | has_value = true; | 106 | 48 | value = to.value; | 107 | 48 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 157 | void set(const Self& to, Arena&) { | 104 | 157 | DORIS_CHECK(to.has()); | 105 | 157 | has_value = true; | 106 | 157 | value = to.value; | 107 | 157 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 31 | void set(const Self& to, Arena&) { | 104 | 31 | DORIS_CHECK(to.has()); | 105 | 31 | has_value = true; | 106 | 31 | value = to.value; | 107 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 1.92k | void set(const Self& to, Arena&) { | 104 | 1.92k | DORIS_CHECK(to.has()); | 105 | 1.92k | has_value = true; | 106 | 1.92k | value = to.value; | 107 | 1.92k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 8.19k | void set(const Self& to, Arena&) { | 104 | 8.19k | DORIS_CHECK(to.has()); | 105 | 8.19k | has_value = true; | 106 | 8.19k | value = to.value; | 107 | 8.19k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 35 | void set(const Self& to, Arena&) { | 104 | 35 | DORIS_CHECK(to.has()); | 105 | 35 | has_value = true; | 106 | 35 | value = to.value; | 107 | 35 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 16 | void set(const Self& to, Arena&) { | 104 | 16 | DORIS_CHECK(to.has()); | 105 | 16 | has_value = true; | 106 | 16 | value = to.value; | 107 | 16 | } |
|
108 | | |
109 | 8.77M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 8.77M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 439k | set(column, row_num, arena); |
112 | 439k | return true; |
113 | 439k | } |
114 | 8.33M | return false; |
115 | 8.77M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 5 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 5 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2 | set(column, row_num, arena); | 112 | 2 | return true; | 113 | 2 | } | 114 | 3 | return false; | 115 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.97M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.97M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2.39k | set(column, row_num, arena); | 112 | 2.39k | return true; | 113 | 2.39k | } | 114 | 1.97M | return false; | 115 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 15.1k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 15.1k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 481 | set(column, row_num, arena); | 112 | 481 | return true; | 113 | 481 | } | 114 | 14.6k | return false; | 115 | 15.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 367 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 367 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 229 | set(column, row_num, arena); | 112 | 229 | return true; | 113 | 229 | } | 114 | 138 | return false; | 115 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.81k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.81k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1.33k | set(column, row_num, arena); | 112 | 1.33k | return true; | 113 | 1.33k | } | 114 | 1.48k | return false; | 115 | 2.81k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 100 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 100 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 99 | return false; | 115 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 16 | set(column, row_num, arena); | 112 | 16 | return true; | 113 | 16 | } | 114 | 15 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 14 | set(column, row_num, arena); | 112 | 14 | return true; | 113 | 14 | } | 114 | 17 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 303k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 303k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 35.6k | set(column, row_num, arena); | 112 | 35.6k | return true; | 113 | 35.6k | } | 114 | 267k | return false; | 115 | 303k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 342 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 342 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 55 | set(column, row_num, arena); | 112 | 55 | return true; | 113 | 55 | } | 114 | 287 | return false; | 115 | 342 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 87.2k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 87.2k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 74.0k | set(column, row_num, arena); | 112 | 74.0k | return true; | 113 | 74.0k | } | 114 | 13.1k | return false; | 115 | 87.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.12k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.12k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 218 | set(column, row_num, arena); | 112 | 218 | return true; | 113 | 218 | } | 114 | 902 | return false; | 115 | 1.12k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.57M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.57M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 287k | set(column, row_num, arena); | 112 | 287k | return true; | 113 | 287k | } | 114 | 3.28M | return false; | 115 | 3.57M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.5k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.5k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 22.8k | set(column, row_num, arena); | 112 | 22.8k | return true; | 113 | 22.8k | } | 114 | 63.6k | return false; | 115 | 86.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 904 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 904 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 224 | set(column, row_num, arena); | 112 | 224 | return true; | 113 | 224 | } | 114 | 680 | return false; | 115 | 904 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 734 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 734 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 122 | set(column, row_num, arena); | 112 | 122 | return true; | 113 | 122 | } | 114 | 612 | return false; | 115 | 734 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 17.6k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 17.6k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 424 | set(column, row_num, arena); | 112 | 424 | return true; | 113 | 424 | } | 114 | 17.2k | return false; | 115 | 17.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 185 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 185 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 68 | set(column, row_num, arena); | 112 | 68 | return true; | 113 | 68 | } | 114 | 117 | return false; | 115 | 185 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.69M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.69M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 14.0k | set(column, row_num, arena); | 112 | 14.0k | return true; | 113 | 14.0k | } | 114 | 2.67M | return false; | 115 | 2.69M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 4.09k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 4.09k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 4.09k | return false; | 115 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 9.60k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.60k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 583 | set(column, row_num, arena); | 112 | 583 | return true; | 113 | 583 | } | 114 | 9.02k | return false; | 115 | 9.60k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 372 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 372 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 137 | set(column, row_num, arena); | 112 | 137 | return true; | 113 | 137 | } | 114 | 235 | return false; | 115 | 372 | } |
|
116 | | |
117 | 395k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 395k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 200k | set(to, arena); |
120 | 200k | return true; |
121 | 200k | } |
122 | 194k | return false; |
123 | 395k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 76 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 76 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 51 | set(to, arena); | 120 | 51 | return true; | 121 | 51 | } | 122 | 25 | return false; | 123 | 76 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 30 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 30 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 26 | set(to, arena); | 120 | 26 | return true; | 121 | 26 | } | 122 | 4 | return false; | 123 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 29 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 29 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 27 | set(to, arena); | 120 | 27 | return true; | 121 | 27 | } | 122 | 2 | return false; | 123 | 29 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 22 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 22 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 13 | set(to, arena); | 120 | 13 | return true; | 121 | 13 | } | 122 | 9 | return false; | 123 | 22 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 6 | set(to, arena); | 120 | 6 | return true; | 121 | 6 | } | 122 | 1 | return false; | 123 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 6 | set(to, arena); | 120 | 6 | return true; | 121 | 6 | } | 122 | 1 | return false; | 123 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 62.1k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 62.1k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 31.7k | set(to, arena); | 120 | 31.7k | return true; | 121 | 31.7k | } | 122 | 30.3k | return false; | 123 | 62.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 9 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 9 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 4 | set(to, arena); | 120 | 4 | return true; | 121 | 4 | } | 122 | 5 | return false; | 123 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 146k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 146k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 73.1k | set(to, arena); | 120 | 73.1k | return true; | 121 | 73.1k | } | 122 | 73.1k | return false; | 123 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 0 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 147k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 147k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 73.5k | set(to, arena); | 120 | 73.5k | return true; | 121 | 73.5k | } | 122 | 73.7k | return false; | 123 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 34.4k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 34.4k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 17.0k | set(to, arena); | 120 | 17.0k | return true; | 121 | 17.0k | } | 122 | 17.4k | return false; | 123 | 34.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 10 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 10 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 10 | set(to, arena); | 120 | 10 | return true; | 121 | 10 | } | 122 | 0 | return false; | 123 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 1 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 116 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 116 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 116 | set(to, arena); | 120 | 116 | return true; | 121 | 116 | } | 122 | 0 | return false; | 123 | 116 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 19 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 19 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 17 | set(to, arena); | 120 | 17 | return true; | 121 | 17 | } | 122 | 2 | return false; | 123 | 19 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 833 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 833 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 797 | set(to, arena); | 120 | 797 | return true; | 121 | 797 | } | 122 | 36 | return false; | 123 | 833 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 4.09k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 4.09k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 4.09k | set(to, arena); | 120 | 4.09k | return true; | 121 | 4.09k | } | 122 | 0 | return false; | 123 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 1 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 11 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 11 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 8 | set(to, arena); | 120 | 8 | return true; | 121 | 8 | } | 122 | 3 | return false; | 123 | 11 | } |
|
124 | | |
125 | 9.59M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 9.59M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.37M | set(column, row_num, arena); |
128 | 1.37M | return true; |
129 | 1.37M | } |
130 | 8.22M | return false; |
131 | 9.59M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 5 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 5 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 3 | set(column, row_num, arena); | 128 | 3 | return true; | 129 | 3 | } | 130 | 2 | return false; | 131 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.97M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.97M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.17k | set(column, row_num, arena); | 128 | 5.17k | return true; | 129 | 5.17k | } | 130 | 1.97M | return false; | 131 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 15.4k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 15.4k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.28k | set(column, row_num, arena); | 128 | 1.28k | return true; | 129 | 1.28k | } | 130 | 14.1k | return false; | 131 | 15.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 367 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 367 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 236 | set(column, row_num, arena); | 128 | 236 | return true; | 129 | 236 | } | 130 | 131 | return false; | 131 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.81k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.81k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.39k | set(column, row_num, arena); | 128 | 1.39k | return true; | 129 | 1.39k | } | 130 | 1.41k | return false; | 131 | 2.81k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 100 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 100 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 100 | set(column, row_num, arena); | 128 | 100 | return true; | 129 | 100 | } | 130 | 0 | return false; | 131 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 15 | set(column, row_num, arena); | 128 | 15 | return true; | 129 | 15 | } | 130 | 12 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 15 | set(column, row_num, arena); | 128 | 15 | return true; | 129 | 15 | } | 130 | 12 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 295k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 295k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 33.8k | set(column, row_num, arena); | 128 | 33.8k | return true; | 129 | 33.8k | } | 130 | 261k | return false; | 131 | 295k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 336 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 336 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 51 | set(column, row_num, arena); | 128 | 51 | return true; | 129 | 51 | } | 130 | 285 | return false; | 131 | 336 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 88.3k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 88.3k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 74.7k | set(column, row_num, arena); | 128 | 74.7k | return true; | 129 | 74.7k | } | 130 | 13.5k | return false; | 131 | 88.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.22k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.22k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.04k | set(column, row_num, arena); | 128 | 1.04k | return true; | 129 | 1.04k | } | 130 | 1.17k | return false; | 131 | 2.22k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.39M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.39M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.16M | set(column, row_num, arena); | 128 | 1.16M | return true; | 129 | 1.16M | } | 130 | 3.23M | return false; | 131 | 4.39M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 99.3k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 99.3k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 73.3k | set(column, row_num, arena); | 128 | 73.3k | return true; | 129 | 73.3k | } | 130 | 25.9k | return false; | 131 | 99.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.09k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.09k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 970 | set(column, row_num, arena); | 128 | 970 | return true; | 129 | 970 | } | 130 | 1.12k | return false; | 131 | 2.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.85k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.85k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 914 | set(column, row_num, arena); | 128 | 914 | return true; | 129 | 914 | } | 130 | 943 | return false; | 131 | 1.85k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.84k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.84k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.36k | set(column, row_num, arena); | 128 | 1.36k | return true; | 129 | 1.36k | } | 130 | 1.47k | return false; | 131 | 2.84k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 10.2k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 10.2k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.19k | set(column, row_num, arena); | 128 | 5.19k | return true; | 129 | 5.19k | } | 130 | 5.09k | return false; | 131 | 10.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.68M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.68M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.89k | set(column, row_num, arena); | 128 | 4.89k | return true; | 129 | 4.89k | } | 130 | 2.67M | return false; | 131 | 2.68M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.09k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.09k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.09k | set(column, row_num, arena); | 128 | 4.09k | return true; | 129 | 4.09k | } | 130 | 0 | return false; | 131 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 11.7k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.7k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 829 | set(column, row_num, arena); | 128 | 829 | return true; | 129 | 829 | } | 130 | 10.8k | return false; | 131 | 11.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 368 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 368 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 162 | set(column, row_num, arena); | 128 | 162 | return true; | 129 | 162 | } | 130 | 206 | return false; | 131 | 368 | } |
|
132 | | |
133 | 4.35k | bool is_equal_to(const IColumn& column, size_t row_num) const { |
134 | 4.35k | if (!has()) { |
135 | 0 | return false; |
136 | 0 | } |
137 | 4.35k | return Compare::equal(_value_at(column, row_num), value); |
138 | 4.35k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 11 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 11 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 11 | return Compare::equal(_value_at(column, row_num), value); | 138 | 11 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 4.09k | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 4.09k | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 4.09k | return Compare::equal(_value_at(column, row_num), value); | 138 | 4.09k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 3 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 3 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 3 | return Compare::equal(_value_at(column, row_num), value); | 138 | 3 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 93 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 93 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 93 | return Compare::equal(_value_at(column, row_num), value); | 138 | 93 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 142 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 142 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 142 | return Compare::equal(_value_at(column, row_num), value); | 138 | 142 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 9 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 9 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 9 | return Compare::equal(_value_at(column, row_num), value); | 138 | 9 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKNS_7IColumnEm |
139 | | |
140 | 19 | bool is_equal_to(const Self& to) const { |
141 | 19 | return has() && to.has() && Compare::equal(value, to.value); |
142 | 19 | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKS2_ Line | Count | Source | 140 | 2 | bool is_equal_to(const Self& to) const { | 141 | 2 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 2 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKS2_ Line | Count | Source | 140 | 13 | bool is_equal_to(const Self& to) const { | 141 | 13 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 13 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKS2_ Line | Count | Source | 140 | 2 | bool is_equal_to(const Self& to) const { | 141 | 2 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 2 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKS2_ Line | Count | Source | 140 | 2 | bool is_equal_to(const Self& to) const { | 141 | 2 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 2 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKS2_ |
143 | | |
144 | 411k | bool set_if_greater(const Self& to, Arena& arena) { |
145 | 411k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
146 | 233k | set(to, arena); |
147 | 233k | return true; |
148 | 233k | } |
149 | 178k | return false; |
150 | 411k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 29 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 29 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 24 | set(to, arena); | 147 | 24 | return true; | 148 | 24 | } | 149 | 5 | return false; | 150 | 29 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 95 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 95 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 72 | set(to, arena); | 147 | 72 | return true; | 148 | 72 | } | 149 | 23 | return false; | 150 | 95 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 33 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 33 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 33 | set(to, arena); | 147 | 33 | return true; | 148 | 33 | } | 149 | 0 | return false; | 150 | 33 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 22 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 22 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 14 | set(to, arena); | 147 | 14 | return true; | 148 | 14 | } | 149 | 8 | return false; | 150 | 22 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 5 | set(to, arena); | 147 | 5 | return true; | 148 | 5 | } | 149 | 1 | return false; | 150 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 5 | set(to, arena); | 147 | 5 | return true; | 148 | 5 | } | 149 | 1 | return false; | 150 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 62.2k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 62.2k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 32.4k | set(to, arena); | 147 | 32.4k | return true; | 148 | 32.4k | } | 149 | 29.8k | return false; | 150 | 62.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 9 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 9 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 4 | set(to, arena); | 147 | 4 | return true; | 148 | 4 | } | 149 | 5 | return false; | 150 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 146k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 146k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 73.1k | set(to, arena); | 147 | 73.1k | return true; | 148 | 73.1k | } | 149 | 73.3k | return false; | 150 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 8 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 8 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 8 | set(to, arena); | 147 | 8 | return true; | 148 | 8 | } | 149 | 0 | return false; | 150 | 8 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 163k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 163k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 89.6k | set(to, arena); | 147 | 89.6k | return true; | 148 | 89.6k | } | 149 | 73.7k | return false; | 150 | 163k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 33.9k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 33.9k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 32.8k | set(to, arena); | 147 | 32.8k | return true; | 148 | 32.8k | } | 149 | 1.12k | return false; | 150 | 33.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 64 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 64 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 42 | set(to, arena); | 147 | 42 | return true; | 148 | 42 | } | 149 | 22 | return false; | 150 | 64 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 44 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 44 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 44 | set(to, arena); | 147 | 44 | return true; | 148 | 44 | } | 149 | 0 | return false; | 150 | 44 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 46 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 46 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 38 | set(to, arena); | 147 | 38 | return true; | 148 | 38 | } | 149 | 8 | return false; | 150 | 46 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 12 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 12 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 12 | set(to, arena); | 147 | 12 | return true; | 148 | 12 | } | 149 | 0 | return false; | 150 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1.29k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1.29k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1.11k | set(to, arena); | 147 | 1.11k | return true; | 148 | 1.11k | } | 149 | 181 | return false; | 150 | 1.29k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 4.09k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 4.09k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 4.09k | set(to, arena); | 147 | 4.09k | return true; | 148 | 4.09k | } | 149 | 0 | return false; | 150 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 54 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 54 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 30 | set(to, arena); | 147 | 30 | return true; | 148 | 30 | } | 149 | 24 | return false; | 150 | 54 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 10 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 10 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 6 | set(to, arena); | 147 | 6 | return true; | 148 | 6 | } | 149 | 4 | return false; | 150 | 10 | } |
|
151 | | }; |
152 | | |
153 | | /// Stores short strings inline and allocates a separate buffer for long strings. |
154 | | struct SingleValueDataString { |
155 | | private: |
156 | | using Self = SingleValueDataString; |
157 | | // Keep the signed 32-bit size because -1 represents an empty state in the serialized format. |
158 | | Int32 size = -1; /// -1 indicates that there is no value. |
159 | | Int32 capacity = 0; /// power of two or zero |
160 | | DorisUniqueBufferPtr<char> large_data; |
161 | | |
162 | | public: |
163 | | static constexpr Int32 AUTOMATIC_STORAGE_SIZE = 64; |
164 | | static constexpr Int32 MAX_SMALL_STRING_SIZE = |
165 | | AUTOMATIC_STORAGE_SIZE - sizeof(size) - sizeof(capacity) - sizeof(large_data); |
166 | | |
167 | | private: |
168 | | char small_data[MAX_SMALL_STRING_SIZE]; |
169 | | |
170 | | public: |
171 | | using ColVecType = ColumnString; |
172 | | static constexpr bool NeedCheckColumnType = true; |
173 | | |
174 | 57.6k | ~SingleValueDataString() = default; |
175 | | |
176 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
177 | | |
178 | 10.0M | bool has() const { return size >= 0; } |
179 | | |
180 | | private: |
181 | 10.0M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
182 | 10.0M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
183 | 10.0M | row_num); |
184 | 10.0M | } |
185 | | |
186 | 10.0M | const char* _data() const { |
187 | 10.0M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
188 | 10.0M | } |
189 | | |
190 | 10.0M | StringRef _value() const { return StringRef(_data(), size); } |
191 | | |
192 | 50.6k | void _set(StringRef source) { |
193 | 50.6k | Int32 value_size = cast_set<Int32>(source.size); |
194 | 50.6k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
195 | | /// Don't free large_data here. |
196 | 50.3k | size = value_size; |
197 | | |
198 | 50.3k | if (size > 0) { |
199 | 50.2k | memcpy(small_data, source.data, size); |
200 | 50.2k | } |
201 | 50.3k | } else { |
202 | 286 | if (capacity < value_size) { |
203 | | /// Don't free large_data here. |
204 | 172 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
205 | 172 | large_data = DorisUniqueBufferPtr<char>(capacity); |
206 | 172 | } |
207 | | |
208 | 286 | size = value_size; |
209 | 286 | memcpy(large_data.get(), source.data, size); |
210 | 286 | } |
211 | 50.6k | } |
212 | | |
213 | | public: |
214 | 14.5k | void insert_result_into(IColumn& to) const { |
215 | 14.5k | if (has()) { |
216 | 14.3k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
217 | 14.3k | } else { |
218 | 239 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
219 | 239 | } |
220 | 14.5k | } |
221 | | |
222 | 56.7k | void reset() { |
223 | 56.7k | size = -1; |
224 | 56.7k | capacity = 0; |
225 | 56.7k | large_data.reset(); |
226 | 56.7k | } |
227 | | |
228 | 17.7k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
229 | 17.7k | buf.write_binary(size); |
230 | 17.7k | if (has()) { |
231 | 17.6k | buf.write(_data(), size); |
232 | 17.6k | } |
233 | 17.7k | } |
234 | | |
235 | 18.5k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
236 | 18.5k | Int32 rhs_size; |
237 | 18.5k | buf.read_binary(rhs_size); |
238 | | |
239 | 18.5k | if (rhs_size >= 0) { |
240 | 18.5k | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
241 | | /// Don't free large_data here. |
242 | | |
243 | 18.2k | size = rhs_size; |
244 | | |
245 | 18.2k | if (size > 0) { |
246 | 18.1k | buf.read(small_data, size); |
247 | 18.1k | } |
248 | 18.2k | } else { |
249 | 286 | if (capacity < rhs_size) { |
250 | 286 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
251 | 286 | large_data = DorisUniqueBufferPtr<char>(capacity); |
252 | 286 | } |
253 | | |
254 | 286 | size = rhs_size; |
255 | 286 | buf.read(large_data.get(), size); |
256 | 286 | } |
257 | 18.5k | } else { |
258 | | /// Don't free large_data here. |
259 | 13 | size = rhs_size; |
260 | 13 | } |
261 | 18.5k | } |
262 | | |
263 | 43.6k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
264 | | |
265 | 7.04k | void set(const Self& to, Arena&) { |
266 | 7.04k | DORIS_CHECK(to.has()); |
267 | 7.04k | _set(to._value()); |
268 | 7.04k | } |
269 | | |
270 | 3.98M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
271 | 3.98M | if (!has() || _value_at(column, row_num) < _value()) { |
272 | 23.0k | set(column, row_num, arena); |
273 | 23.0k | return true; |
274 | 23.0k | } |
275 | 3.96M | return false; |
276 | 3.98M | } |
277 | | |
278 | 6.03M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
279 | 6.03M | if (!has() || _value_at(column, row_num) > _value()) { |
280 | 20.0k | set(column, row_num, arena); |
281 | 20.0k | return true; |
282 | 20.0k | } |
283 | 6.01M | return false; |
284 | 6.03M | } |
285 | | |
286 | 17.6k | bool set_if_smaller(const Self& to, Arena& arena) { |
287 | 17.6k | if (to.has() && (!has() || to._value() < _value())) { |
288 | 6.64k | set(to, arena); |
289 | 6.64k | return true; |
290 | 6.64k | } |
291 | 11.0k | return false; |
292 | 17.6k | } |
293 | | |
294 | 323 | bool set_if_greater(const Self& to, Arena& arena) { |
295 | 323 | if (to.has() && (!has() || to._value() > _value())) { |
296 | 131 | set(to, arena); |
297 | 131 | return true; |
298 | 131 | } |
299 | 192 | return false; |
300 | 323 | } |
301 | | |
302 | 24 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
303 | 24 | if (!has()) { |
304 | 0 | return false; |
305 | 0 | } |
306 | 24 | return _value_at(column, row_num) == _value(); |
307 | 24 | } |
308 | | |
309 | 4 | bool is_equal_to(const Self& to) const { return has() && to.has() && _value() == to._value(); } |
310 | | }; |
311 | | |
312 | | static_assert(sizeof(SingleValueDataString) == SingleValueDataString::AUTOMATIC_STORAGE_SIZE); |
313 | | |
314 | | /// Owns a materialized one-row column for values without a dedicated representation above. |
315 | | class SingleValueDataColumn { |
316 | | private: |
317 | | using Self = SingleValueDataColumn; |
318 | | |
319 | | ColumnPtr _value; |
320 | | |
321 | | public: |
322 | | static constexpr bool NeedCheckColumnType = false; |
323 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
324 | | |
325 | 45.9k | bool has() const { return _value.get() != nullptr; } |
326 | | |
327 | | size_t allocated_bytes() const { return has() ? _value->allocated_bytes() : 0; } |
328 | | |
329 | 17.5k | void set(const IColumn& column, size_t row_num) { |
330 | 17.5k | auto value = column.clone_empty(); |
331 | 17.5k | DCHECK(value->empty()); |
332 | 17.5k | value->reserve(1); |
333 | 17.5k | value->insert_from(column, row_num); |
334 | 17.5k | DCHECK_EQ(value->size(), 1); |
335 | 17.5k | _value = std::move(value); |
336 | 17.5k | } |
337 | | |
338 | 20.6k | void insert_result_into(IColumn& to) const { |
339 | 20.6k | if (has()) { |
340 | 20.6k | to.insert_from(*_value, 0); |
341 | 20.6k | } else { |
342 | 9 | to.insert_default(); |
343 | 9 | } |
344 | 20.6k | } |
345 | | |
346 | 4.26k | void reset() { _value.reset(); } |
347 | | |
348 | 65 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
349 | 65 | buf.write_binary(has()); |
350 | 65 | if (!has()) { |
351 | 0 | return; |
352 | 0 | } |
353 | 65 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
354 | 65 | buf.write_binary(size_bytes); |
355 | 65 | buf.resize(size_bytes); |
356 | 65 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
357 | 65 | DCHECK_EQ(p, buf.data() + size_bytes); |
358 | 65 | buf.add_offset(size_bytes); |
359 | 65 | } |
360 | | |
361 | 65 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
362 | 65 | bool has_value = false; |
363 | 65 | buf.read_binary(has_value); |
364 | 65 | if (!has_value) { |
365 | 0 | reset(); |
366 | 0 | return; |
367 | 0 | } |
368 | 65 | int64_t size = 0; |
369 | 65 | buf.read_binary(size); |
370 | 65 | auto value = data_type->create_column(); |
371 | 65 | value->reserve(1); |
372 | 65 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
373 | 65 | DCHECK_EQ(p, buf.data() + size); |
374 | 65 | buf.add_offset(size); |
375 | 65 | _value = std::move(value); |
376 | 65 | } |
377 | | |
378 | 339 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
379 | | |
380 | 47 | void set(const Self& to, Arena&) { |
381 | 47 | DORIS_CHECK(to.has()); |
382 | | // Stored one-row columns are immutable, so merged states can share ownership. |
383 | 47 | _value = to._value; |
384 | 47 | } |
385 | | |
386 | 98 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
387 | 98 | if (!has() || column.compare_at(row_num, 0, *_value, 1) < 0) { |
388 | 75 | set(column, row_num, arena); |
389 | 75 | return true; |
390 | 75 | } |
391 | 23 | return false; |
392 | 98 | } |
393 | | |
394 | 13 | bool set_if_smaller(const Self& to, Arena& arena) { |
395 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
396 | 11 | set(to, arena); |
397 | 11 | return true; |
398 | 11 | } |
399 | 2 | return false; |
400 | 13 | } |
401 | | |
402 | 96 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
403 | 96 | if (!has() || column.compare_at(row_num, 0, *_value, 1) > 0) { |
404 | 39 | set(column, row_num, arena); |
405 | 39 | return true; |
406 | 39 | } |
407 | 57 | return false; |
408 | 96 | } |
409 | | |
410 | 13 | bool set_if_greater(const Self& to, Arena& arena) { |
411 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
412 | 9 | set(to, arena); |
413 | 9 | return true; |
414 | 9 | } |
415 | 4 | return false; |
416 | 13 | } |
417 | | |
418 | 1 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
419 | 1 | return has() && column.compare_at(row_num, 0, *_value, 1) == 0; |
420 | 1 | } |
421 | | |
422 | 0 | bool is_equal_to(const Self& to) const { |
423 | 0 | return has() && to.has() && _value->compare_at(0, 0, *to._value, 1) == 0; |
424 | 0 | } |
425 | | }; |
426 | | |
427 | | } // namespace doris |