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.4M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 18.4M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 18.4M | TypeCheckOnRelease::DISABLE>(column) |
50 | 18.4M | .get_data()[row_num]; |
51 | 18.4M | } 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.94M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.94M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.94M | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.94M | .get_data()[row_num]; | 51 | 3.94M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 31.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 31.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 31.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 31.4k | .get_data()[row_num]; | 51 | 31.4k | } |
_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.09k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.09k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.09k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.09k | .get_data()[row_num]; | 51 | 6.09k | } |
_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 | 593k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 593k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 593k | TypeCheckOnRelease::DISABLE>(column) | 50 | 593k | .get_data()[row_num]; | 51 | 593k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 786 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 786 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 786 | TypeCheckOnRelease::DISABLE>(column) | 50 | 786 | .get_data()[row_num]; | 51 | 786 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 170k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 170k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 170k | TypeCheckOnRelease::DISABLE>(column) | 50 | 170k | .get_data()[row_num]; | 51 | 170k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.86k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.86k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.86k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.86k | .get_data()[row_num]; | 51 | 3.86k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.00M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.00M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.00M | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.00M | .get_data()[row_num]; | 51 | 8.00M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 195k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 195k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 195k | TypeCheckOnRelease::DISABLE>(column) | 50 | 195k | .get_data()[row_num]; | 51 | 195k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.40k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.40k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.40k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.40k | .get_data()[row_num]; | 51 | 3.40k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.97k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.97k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.97k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.97k | .get_data()[row_num]; | 51 | 2.97k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 22.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 22.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 22.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 22.4k | .get_data()[row_num]; | 51 | 22.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.07k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.07k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.07k | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.07k | .get_data()[row_num]; | 51 | 8.07k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 5.40M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.40M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.40M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.40M | .get_data()[row_num]; | 51 | 5.40M | } |
_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.1k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 22.1k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 22.1k | TypeCheckOnRelease::DISABLE>(column) | 50 | 22.1k | .get_data()[row_num]; | 51 | 22.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 789 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 789 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 789 | TypeCheckOnRelease::DISABLE>(column) | 50 | 789 | .get_data()[row_num]; | 51 | 789 | } |
|
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 | 908k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 3.81k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 969 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 1.15k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.84k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 12 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EEC2Ev Line | Count | Source | 61 | 44 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EEC2Ev Line | Count | Source | 61 | 44 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EEC2Ev Line | Count | Source | 61 | 114k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 204 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 291k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 709 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 368k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 82.7k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 935 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 605 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.25k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 191 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 30.6k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 785 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 114 | SingleValueDataFixed() = default; |
|
62 | 21.5M | 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.94M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3hasEv Line | Count | Source | 62 | 31.7k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3hasEv Line | Count | Source | 62 | 1.86k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3hasEv Line | Count | Source | 62 | 8.11k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3hasEv Line | Count | Source | 62 | 213 | 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 | 871k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 903 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 900k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 4.28k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.88M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 386k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 4.24k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 3.43k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 23.6k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 13.3k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.42M | 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.04k | bool has() const { return has_value; } |
|
63 | | |
64 | | static constexpr bool UsesFixedLengthStateSerialization = true; |
65 | | |
66 | 1.42M | 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.12k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 819 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 294 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_minEv Line | Count | Source | 66 | 1.98k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_minEv Line | Count | Source | 66 | 4 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 24 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 24 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 57.5k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 95 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_minEv Line | Count | Source | 66 | 146k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 899 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.15M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 43.7k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 960 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 846 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.31k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.23k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.81k | 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 | 460 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 161 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 637k | 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.91k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 403 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 293 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_maxEv Line | Count | Source | 68 | 1.98k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_maxEv Line | Count | Source | 68 | 4 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_maxEv Line | Count | Source | 68 | 25 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_maxEv Line | Count | Source | 68 | 25 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_maxEv Line | Count | Source | 68 | 61.3k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 81 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_maxEv Line | Count | Source | 68 | 146k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_maxEv Line | Count | Source | 68 | 195 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 352k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 40.8k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 253 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 121 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 465 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 92 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 26.1k | 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 | 367 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 162 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
|
69 | | |
70 | 1.26M | void insert_result_into(IColumn& to) const { |
71 | 1.26M | if (has()) { |
72 | 1.26M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
73 | 1.26M | to) |
74 | 1.26M | .insert_value(value); |
75 | 1.26M | } else { |
76 | 1.09k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 1.09k | to) |
78 | 1.09k | .insert_default(); |
79 | 1.09k | } |
80 | 1.26M | } 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 | 3.73k | void insert_result_into(IColumn& to) const { | 71 | 3.73k | if (has()) { | 72 | 3.68k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3.68k | to) | 74 | 3.68k | .insert_value(value); | 75 | 3.68k | } else { | 76 | 50 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 50 | to) | 78 | 50 | .insert_default(); | 79 | 50 | } | 80 | 3.73k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 884 | void insert_result_into(IColumn& to) const { | 71 | 884 | if (has()) { | 72 | 884 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 884 | to) | 74 | 884 | .insert_value(value); | 75 | 884 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 884 | } |
_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.29k | void insert_result_into(IColumn& to) const { | 71 | 2.29k | if (has()) { | 72 | 2.29k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2.29k | to) | 74 | 2.29k | .insert_value(value); | 75 | 2.29k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2.29k | } |
_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 | 4.93k | void insert_result_into(IColumn& to) const { | 71 | 4.93k | if (has()) { | 72 | 4.93k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 4.93k | to) | 74 | 4.93k | .insert_value(value); | 75 | 4.93k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 4.93k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 100 | void insert_result_into(IColumn& to) const { | 71 | 100 | if (has()) { | 72 | 100 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 100 | to) | 74 | 100 | .insert_value(value); | 75 | 100 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 100 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.12k | void insert_result_into(IColumn& to) const { | 71 | 1.12k | if (has()) { | 72 | 1.11k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.11k | to) | 74 | 1.11k | .insert_value(value); | 75 | 1.11k | } else { | 76 | 11 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 11 | to) | 78 | 11 | .insert_default(); | 79 | 11 | } | 80 | 1.12k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 863 | void insert_result_into(IColumn& to) const { | 71 | 863 | if (has()) { | 72 | 861 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 861 | to) | 74 | 861 | .insert_value(value); | 75 | 861 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 863 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.20M | void insert_result_into(IColumn& to) const { | 71 | 1.20M | if (has()) { | 72 | 1.20M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.20M | to) | 74 | 1.20M | .insert_value(value); | 75 | 1.20M | } else { | 76 | 807 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 807 | to) | 78 | 807 | .insert_default(); | 79 | 807 | } | 80 | 1.20M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 7.18k | void insert_result_into(IColumn& to) const { | 71 | 7.18k | if (has()) { | 72 | 7.11k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 7.11k | to) | 74 | 7.11k | .insert_value(value); | 75 | 7.11k | } else { | 76 | 70 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 70 | to) | 78 | 70 | .insert_default(); | 79 | 70 | } | 80 | 7.18k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 872 | void insert_result_into(IColumn& to) const { | 71 | 872 | if (has()) { | 72 | 870 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 870 | to) | 74 | 870 | .insert_value(value); | 75 | 870 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 872 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 709 | void insert_result_into(IColumn& to) const { | 71 | 709 | if (has()) { | 72 | 709 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 709 | to) | 74 | 709 | .insert_value(value); | 75 | 709 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 709 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.24k | void insert_result_into(IColumn& to) const { | 71 | 1.24k | if (has()) { | 72 | 1.24k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.24k | to) | 74 | 1.24k | .insert_value(value); | 75 | 1.24k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.24k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 5.22k | void insert_result_into(IColumn& to) const { | 71 | 5.22k | if (has()) { | 72 | 5.22k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 5.22k | to) | 74 | 5.22k | .insert_value(value); | 75 | 5.22k | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 5.22k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 22.7k | void insert_result_into(IColumn& to) const { | 71 | 22.7k | if (has()) { | 72 | 22.6k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 22.6k | to) | 74 | 22.6k | .insert_value(value); | 75 | 22.6k | } else { | 76 | 147 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 147 | to) | 78 | 147 | .insert_default(); | 79 | 147 | } | 80 | 22.7k | } |
_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 | 726 | void insert_result_into(IColumn& to) const { | 71 | 726 | if (has()) { | 72 | 726 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 726 | to) | 74 | 726 | .insert_value(value); | 75 | 726 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 726 | } |
_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.05M | 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 | 4.03k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.22k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 587 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 3.97k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 8 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 49 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 49 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv Line | Count | Source | 82 | 118k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 176 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 290k | 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.50M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 81.8k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.24k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 967 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.77k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.32k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 29.8k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 836 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 323 | void reset() { has_value = false; } |
|
83 | | |
84 | 10.2k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
85 | 10.2k | buf.write_binary(has()); |
86 | 10.2k | if (has()) { |
87 | 10.2k | buf.write_binary(value); |
88 | 10.2k | } |
89 | 10.2k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 8 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 8 | buf.write_binary(has()); | 86 | 8 | if (has()) { | 87 | 8 | buf.write_binary(value); | 88 | 8 | } | 89 | 8 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 14 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 14 | buf.write_binary(has()); | 86 | 14 | if (has()) { | 87 | 14 | buf.write_binary(value); | 88 | 14 | } | 89 | 14 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 104 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 104 | buf.write_binary(has()); | 86 | 104 | if (has()) { | 87 | 104 | buf.write_binary(value); | 88 | 104 | } | 89 | 104 | } |
_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 | 3 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 3 | buf.write_binary(has()); | 86 | 3 | if (has()) { | 87 | 3 | buf.write_binary(value); | 88 | 3 | } | 89 | 3 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 60 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 60 | buf.write_binary(has()); | 86 | 60 | if (has()) { | 87 | 60 | buf.write_binary(value); | 88 | 60 | } | 89 | 60 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 9.49k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.49k | buf.write_binary(has()); | 86 | 9.49k | if (has()) { | 87 | 9.49k | buf.write_binary(value); | 88 | 9.49k | } | 89 | 9.49k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 120 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 120 | buf.write_binary(has()); | 86 | 120 | if (has()) { | 87 | 120 | buf.write_binary(value); | 88 | 120 | } | 89 | 120 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 48 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 48 | buf.write_binary(has()); | 86 | 48 | if (has()) { | 87 | 48 | buf.write_binary(value); | 88 | 48 | } | 89 | 48 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 5 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 5 | buf.write_binary(has()); | 86 | 5 | if (has()) { | 87 | 5 | buf.write_binary(value); | 88 | 5 | } | 89 | 5 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 348 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 348 | buf.write_binary(has()); | 86 | 348 | if (has()) { | 87 | 348 | buf.write_binary(value); | 88 | 348 | } | 89 | 348 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi |
90 | | |
91 | 10.0k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 10.0k | buf.read_binary(has_value); |
93 | 10.0k | if (has()) { |
94 | 10.0k | buf.read_binary(value); |
95 | 10.0k | } |
96 | 10.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 | 8 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 8 | buf.read_binary(has_value); | 93 | 8 | if (has()) { | 94 | 8 | buf.read_binary(value); | 95 | 8 | } | 96 | 8 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 14 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 14 | buf.read_binary(has_value); | 93 | 14 | if (has()) { | 94 | 14 | buf.read_binary(value); | 95 | 14 | } | 96 | 14 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 104 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 104 | buf.read_binary(has_value); | 93 | 104 | if (has()) { | 94 | 104 | buf.read_binary(value); | 95 | 104 | } | 96 | 104 | } |
_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 | 3 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 3 | buf.read_binary(has_value); | 93 | 3 | if (has()) { | 94 | 3 | buf.read_binary(value); | 95 | 3 | } | 96 | 3 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 60 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 60 | buf.read_binary(has_value); | 93 | 60 | if (has()) { | 94 | 60 | buf.read_binary(value); | 95 | 60 | } | 96 | 60 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 9.36k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.36k | buf.read_binary(has_value); | 93 | 9.36k | if (has()) { | 94 | 9.34k | buf.read_binary(value); | 95 | 9.34k | } | 96 | 9.36k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 125 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 125 | buf.read_binary(has_value); | 93 | 125 | if (has()) { | 94 | 125 | buf.read_binary(value); | 95 | 125 | } | 96 | 125 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 43 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 43 | buf.read_binary(has_value); | 93 | 43 | if (has()) { | 94 | 43 | buf.read_binary(value); | 95 | 43 | } | 96 | 43 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 2 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 2 | buf.read_binary(has_value); | 93 | 2 | if (has()) { | 94 | 2 | buf.read_binary(value); | 95 | 2 | } | 96 | 2 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 330 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 330 | buf.read_binary(has_value); | 93 | 330 | if (has()) { | 94 | 330 | buf.read_binary(value); | 95 | 330 | } | 96 | 330 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE |
97 | | |
98 | 1.81M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.81M | has_value = true; |
100 | 1.81M | value = _value_at(column, row_num); |
101 | 1.81M | } 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 | 7.66k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 7.66k | has_value = true; | 100 | 7.66k | value = _value_at(column, row_num); | 101 | 7.66k | } |
_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.70k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.70k | has_value = true; | 100 | 2.70k | value = _value_at(column, row_num); | 101 | 2.70k | } |
_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 | 63.5k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 63.5k | has_value = true; | 100 | 63.5k | value = _value_at(column, row_num); | 101 | 63.5k | } |
_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 | 142k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 142k | has_value = true; | 100 | 142k | value = _value_at(column, row_num); | 101 | 142k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.31k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.31k | has_value = true; | 100 | 1.31k | value = _value_at(column, row_num); | 101 | 1.31k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.47M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.47M | has_value = true; | 100 | 1.47M | value = _value_at(column, row_num); | 101 | 1.47M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 58.5k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 58.5k | has_value = true; | 100 | 58.5k | value = _value_at(column, row_num); | 101 | 58.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.25k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.25k | has_value = true; | 100 | 1.25k | value = _value_at(column, row_num); | 101 | 1.25k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.06k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.06k | has_value = true; | 100 | 1.06k | value = _value_at(column, row_num); | 101 | 1.06k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.76k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.76k | has_value = true; | 100 | 1.76k | value = _value_at(column, row_num); | 101 | 1.76k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.30k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.30k | has_value = true; | 100 | 5.30k | value = _value_at(column, row_num); | 101 | 5.30k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 34.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 34.2k | has_value = true; | 100 | 34.2k | value = _value_at(column, row_num); | 101 | 34.2k | } |
_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.43k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.43k | has_value = true; | 100 | 1.43k | value = _value_at(column, row_num); | 101 | 1.43k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 312 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 312 | has_value = true; | 100 | 312 | value = _value_at(column, row_num); | 101 | 312 | } |
|
102 | | |
103 | 421k | void set(const Self& to, Arena&) { |
104 | 421k | DORIS_CHECK(to.has()); |
105 | 421k | has_value = true; |
106 | 421k | value = to.value; |
107 | 421k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 58 | void set(const Self& to, Arena&) { | 104 | 58 | DORIS_CHECK(to.has()); | 105 | 58 | has_value = true; | 106 | 58 | value = to.value; | 107 | 58 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 81 | void set(const Self& to, Arena&) { | 104 | 81 | DORIS_CHECK(to.has()); | 105 | 81 | has_value = true; | 106 | 81 | value = to.value; | 107 | 81 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 176 | void set(const Self& to, Arena&) { | 104 | 176 | DORIS_CHECK(to.has()); | 105 | 176 | has_value = true; | 106 | 176 | value = to.value; | 107 | 176 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 30 | void set(const Self& to, Arena&) { | 104 | 30 | DORIS_CHECK(to.has()); | 105 | 30 | has_value = true; | 106 | 30 | value = to.value; | 107 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 3 | void set(const Self& to, Arena&) { | 104 | 3 | DORIS_CHECK(to.has()); | 105 | 3 | has_value = true; | 106 | 3 | value = to.value; | 107 | 3 | } |
_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 | 55.0k | void set(const Self& to, Arena&) { | 104 | 55.0k | DORIS_CHECK(to.has()); | 105 | 55.0k | has_value = true; | 106 | 55.0k | value = to.value; | 107 | 55.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 9 | void set(const Self& to, Arena&) { | 104 | 9 | DORIS_CHECK(to.has()); | 105 | 9 | has_value = true; | 106 | 9 | value = to.value; | 107 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 147k | void set(const Self& to, Arena&) { | 104 | 147k | DORIS_CHECK(to.has()); | 105 | 147k | has_value = true; | 106 | 147k | value = to.value; | 107 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 6 | void set(const Self& to, Arena&) { | 104 | 6 | DORIS_CHECK(to.has()); | 105 | 6 | has_value = true; | 106 | 6 | value = to.value; | 107 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 165k | void set(const Self& to, Arena&) { | 104 | 165k | DORIS_CHECK(to.has()); | 105 | 165k | has_value = true; | 106 | 165k | value = to.value; | 107 | 165k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 42.4k | void set(const Self& to, Arena&) { | 104 | 42.4k | DORIS_CHECK(to.has()); | 105 | 42.4k | has_value = true; | 106 | 42.4k | value = to.value; | 107 | 42.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_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_13PrimitiveTypeE8EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 34 | void set(const Self& to, Arena&) { | 104 | 34 | DORIS_CHECK(to.has()); | 105 | 34 | has_value = true; | 106 | 34 | value = to.value; | 107 | 34 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 153 | void set(const Self& to, Arena&) { | 104 | 153 | DORIS_CHECK(to.has()); | 105 | 153 | has_value = true; | 106 | 153 | value = to.value; | 107 | 153 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 28 | void set(const Self& to, Arena&) { | 104 | 28 | DORIS_CHECK(to.has()); | 105 | 28 | has_value = true; | 106 | 28 | value = to.value; | 107 | 28 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 2.31k | void set(const Self& to, Arena&) { | 104 | 2.31k | DORIS_CHECK(to.has()); | 105 | 2.31k | has_value = true; | 106 | 2.31k | value = to.value; | 107 | 2.31k | } |
_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 | 36 | void set(const Self& to, Arena&) { | 104 | 36 | DORIS_CHECK(to.has()); | 105 | 36 | has_value = true; | 106 | 36 | value = to.value; | 107 | 36 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 15 | void set(const Self& to, Arena&) { | 104 | 15 | DORIS_CHECK(to.has()); | 105 | 15 | has_value = true; | 106 | 15 | value = to.value; | 107 | 15 | } |
|
108 | | |
109 | 8.73M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 8.73M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 449k | set(column, row_num, arena); |
112 | 449k | return true; |
113 | 449k | } |
114 | 8.28M | return false; |
115 | 8.73M | } _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 | 227 | set(column, row_num, arena); | 112 | 227 | return true; | 113 | 227 | } | 114 | 140 | return false; | 115 | 367 | } |
_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 | 51 | set(column, row_num, arena); | 112 | 51 | return true; | 113 | 51 | } | 114 | 291 | return false; | 115 | 342 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 85.1k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 85.1k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 72.0k | set(column, row_num, arena); | 112 | 72.0k | return true; | 113 | 72.0k | } | 114 | 13.1k | return false; | 115 | 85.1k | } |
_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 | 234 | set(column, row_num, arena); | 112 | 234 | return true; | 113 | 234 | } | 114 | 886 | return false; | 115 | 1.12k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.52M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.52M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 285k | set(column, row_num, arena); | 112 | 285k | return true; | 113 | 285k | } | 114 | 3.24M | return false; | 115 | 3.52M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 85.3k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 85.3k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 23.0k | set(column, row_num, arena); | 112 | 23.0k | return true; | 113 | 23.0k | } | 114 | 62.2k | return false; | 115 | 85.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 903 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 903 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 240 | set(column, row_num, arena); | 112 | 240 | return true; | 113 | 240 | } | 114 | 663 | return false; | 115 | 903 | } |
_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 | 133 | set(column, row_num, arena); | 112 | 133 | return true; | 113 | 133 | } | 114 | 601 | return false; | 115 | 734 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 18.1k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 18.1k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 397 | set(column, row_num, arena); | 112 | 397 | return true; | 113 | 397 | } | 114 | 17.7k | return false; | 115 | 18.1k | } |
_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 | 73 | set(column, row_num, arena); | 112 | 73 | return true; | 113 | 73 | } | 114 | 112 | return false; | 115 | 185 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.71M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.71M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 29.5k | set(column, row_num, arena); | 112 | 29.5k | return true; | 113 | 29.5k | } | 114 | 2.68M | return false; | 115 | 2.71M | } |
_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 | 591 | set(column, row_num, arena); | 112 | 591 | return true; | 113 | 591 | } | 114 | 9.01k | 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 | 136 | set(column, row_num, arena); | 112 | 136 | return true; | 113 | 136 | } | 114 | 236 | return false; | 115 | 372 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.96M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.96M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2.43k | set(column, row_num, arena); | 112 | 2.43k | return true; | 113 | 2.43k | } | 114 | 1.96M | return false; | 115 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 15.0k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 15.0k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 441 | set(column, row_num, arena); | 112 | 441 | return true; | 113 | 441 | } | 114 | 14.5k | return false; | 115 | 15.0k | } |
_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_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_13PrimitiveTypeE42EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.85k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.85k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1.31k | set(column, row_num, arena); | 112 | 1.31k | return true; | 113 | 1.31k | } | 114 | 1.53k | return false; | 115 | 2.85k | } |
_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 | 15 | set(column, row_num, arena); | 112 | 15 | return true; | 113 | 15 | } | 114 | 16 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 298k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 298k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 33.0k | set(column, row_num, arena); | 112 | 33.0k | return true; | 113 | 33.0k | } | 114 | 264k | return false; | 115 | 298k | } |
|
116 | | |
117 | 396k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 396k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 201k | set(to, arena); |
120 | 201k | return true; |
121 | 201k | } |
122 | 195k | return false; |
123 | 396k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 55 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 55 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 53 | set(to, arena); | 120 | 53 | return true; | 121 | 53 | } | 122 | 2 | return false; | 123 | 55 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 2 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 2 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 0 | return false; | 123 | 2 | } |
_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.9k | set(to, arena); | 120 | 73.9k | return true; | 121 | 73.9k | } | 122 | 72.9k | return false; | 123 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 2 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 2 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 1 | set(to, arena); | 120 | 1 | return true; | 121 | 1 | } | 122 | 1 | return false; | 123 | 2 | } |
_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 | 74.3k | set(to, arena); | 120 | 74.3k | return true; | 121 | 74.3k | } | 122 | 73.6k | return false; | 123 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 40.1k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 40.1k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 20.1k | set(to, arena); | 120 | 20.1k | return true; | 121 | 20.1k | } | 122 | 19.9k | return false; | 123 | 40.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_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 | 8 | set(to, arena); | 120 | 8 | return true; | 121 | 8 | } | 122 | 1 | return false; | 123 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 2 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 2 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 0 | return false; | 123 | 2 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 126 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 126 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 120 | set(to, arena); | 120 | 120 | return true; | 121 | 120 | } | 122 | 6 | return false; | 123 | 126 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 18 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 18 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 17 | set(to, arena); | 120 | 17 | return true; | 121 | 17 | } | 122 | 1 | return false; | 123 | 18 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 1.05k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 1.05k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 982 | set(to, arena); | 120 | 982 | return true; | 121 | 982 | } | 122 | 75 | return false; | 123 | 1.05k | } |
_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 | 4 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 4 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 1 | return false; | 123 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_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 | 8 | set(to, arena); | 120 | 8 | return true; | 121 | 8 | } | 122 | 2 | return false; | 123 | 10 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 70 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 70 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 39 | set(to, arena); | 120 | 39 | return true; | 121 | 39 | } | 122 | 31 | return false; | 123 | 70 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 18 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 18 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 15 | set(to, arena); | 120 | 15 | return true; | 121 | 15 | } | 122 | 3 | return false; | 123 | 18 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 1 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 1 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 1 | set(to, arena); | 120 | 1 | return true; | 121 | 1 | } | 122 | 0 | return false; | 123 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 24 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 24 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 11 | set(to, arena); | 120 | 11 | return true; | 121 | 11 | } | 122 | 13 | return false; | 123 | 24 | } |
_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 | 56.0k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 56.0k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 27.6k | set(to, arena); | 120 | 27.6k | return true; | 121 | 27.6k | } | 122 | 28.4k | return false; | 123 | 56.0k | } |
|
124 | | |
125 | 9.53M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 9.53M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.34M | set(column, row_num, arena); |
128 | 1.34M | return true; |
129 | 1.34M | } |
130 | 8.18M | return false; |
131 | 9.53M | } _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 | 238 | set(column, row_num, arena); | 128 | 238 | return true; | 129 | 238 | } | 130 | 129 | return false; | 131 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 429 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 429 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 55 | set(column, row_num, arena); | 128 | 55 | return true; | 129 | 55 | } | 130 | 374 | return false; | 131 | 429 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 86.6k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 86.6k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 73.1k | set(column, row_num, arena); | 128 | 73.1k | return true; | 129 | 73.1k | } | 130 | 13.5k | return false; | 131 | 86.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.27k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.27k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.06k | set(column, row_num, arena); | 128 | 1.06k | return true; | 129 | 1.06k | } | 130 | 1.21k | return false; | 131 | 2.27k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.35M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.35M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.17M | set(column, row_num, arena); | 128 | 1.17M | return true; | 129 | 1.17M | } | 130 | 3.17M | return false; | 131 | 4.35M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 97.8k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 97.8k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 36.9k | set(column, row_num, arena); | 128 | 36.9k | return true; | 129 | 36.9k | } | 130 | 60.9k | return false; | 131 | 97.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.14k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.14k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 996 | set(column, row_num, arena); | 128 | 996 | return true; | 129 | 996 | } | 130 | 1.15k | return false; | 131 | 2.14k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.88k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.88k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 918 | set(column, row_num, arena); | 128 | 918 | return true; | 129 | 918 | } | 130 | 967 | return false; | 131 | 1.88k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 3.82k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 3.82k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.35k | set(column, row_num, arena); | 128 | 1.35k | return true; | 129 | 1.35k | } | 130 | 2.47k | return false; | 131 | 3.82k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 7.81k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 7.81k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.21k | set(column, row_num, arena); | 128 | 5.21k | return true; | 129 | 5.21k | } | 130 | 2.60k | return false; | 131 | 7.81k | } |
_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.71k | set(column, row_num, arena); | 128 | 4.71k | return true; | 129 | 4.71k | } | 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 | 810 | set(column, row_num, arena); | 128 | 810 | return true; | 129 | 810 | } | 130 | 10.9k | 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 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.96M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.96M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.20k | set(column, row_num, arena); | 128 | 5.20k | return true; | 129 | 5.20k | } | 130 | 1.96M | return false; | 131 | 1.96M | } |
_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.32k | set(column, row_num, arena); | 128 | 1.32k | return true; | 129 | 1.32k | } | 130 | 14.1k | return false; | 131 | 15.4k | } |
_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_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_13PrimitiveTypeE42EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.85k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.85k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.38k | set(column, row_num, arena); | 128 | 1.38k | return true; | 129 | 1.38k | } | 130 | 1.46k | return false; | 131 | 2.85k | } |
_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 | 14 | set(column, row_num, arena); | 128 | 14 | return true; | 129 | 14 | } | 130 | 13 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 290k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 290k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 30.5k | set(column, row_num, arena); | 128 | 30.5k | return true; | 129 | 30.5k | } | 130 | 259k | return false; | 131 | 290k | } |
|
132 | | |
133 | 4.20k | bool is_equal_to(const IColumn& column, size_t row_num) const { |
134 | 4.20k | if (!has()) { |
135 | 0 | return false; |
136 | 0 | } |
137 | 4.20k | return Compare::equal(_value_at(column, row_num), value); |
138 | 4.20k | } 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 | 5 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 5 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 5 | return Compare::equal(_value_at(column, row_num), value); | 138 | 5 | } |
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 Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 14 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 14 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 14 | return Compare::equal(_value_at(column, row_num), value); | 138 | 14 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 96 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 96 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 96 | return Compare::equal(_value_at(column, row_num), value); | 138 | 96 | } |
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 Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKNS_7IColumnEm |
139 | | |
140 | 414k | bool set_if_greater(const Self& to, Arena& arena) { |
141 | 414k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
142 | 221k | set(to, arena); |
143 | 221k | return true; |
144 | 221k | } |
145 | 192k | return false; |
146 | 414k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 59 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 59 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 59 | set(to, arena); | 143 | 59 | return true; | 144 | 59 | } | 145 | 0 | return false; | 146 | 59 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 4 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 4 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4 | set(to, arena); | 143 | 4 | return true; | 144 | 4 | } | 145 | 0 | return false; | 146 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 147k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 147k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 73.9k | set(to, arena); | 143 | 73.9k | return true; | 144 | 73.9k | } | 145 | 73.2k | return false; | 146 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 4 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 4 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4 | set(to, arena); | 143 | 4 | return true; | 144 | 4 | } | 145 | 0 | return false; | 146 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 163k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 163k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 90.4k | set(to, arena); | 143 | 90.4k | return true; | 144 | 90.4k | } | 145 | 73.5k | return false; | 146 | 163k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 40.5k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 40.5k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 23.7k | set(to, arena); | 143 | 23.7k | return true; | 144 | 23.7k | } | 145 | 16.7k | return false; | 146 | 40.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 59 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 59 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 40 | set(to, arena); | 143 | 40 | return true; | 144 | 40 | } | 145 | 19 | return false; | 146 | 59 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 33 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 33 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 31 | set(to, arena); | 143 | 31 | return true; | 144 | 31 | } | 145 | 2 | return false; | 146 | 33 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 39 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 39 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 32 | set(to, arena); | 143 | 32 | return true; | 144 | 32 | } | 145 | 7 | return false; | 146 | 39 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 11 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 11 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 10 | set(to, arena); | 143 | 10 | return true; | 144 | 10 | } | 145 | 1 | return false; | 146 | 11 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1.55k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1.55k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 1.33k | set(to, arena); | 143 | 1.33k | return true; | 144 | 1.33k | } | 145 | 220 | return false; | 146 | 1.55k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 4.09k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 4.09k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4.09k | set(to, arena); | 143 | 4.09k | return true; | 144 | 4.09k | } | 145 | 0 | return false; | 146 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 63 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 63 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 33 | set(to, arena); | 143 | 33 | return true; | 144 | 33 | } | 145 | 30 | return false; | 146 | 63 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 9 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 9 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 7 | set(to, arena); | 143 | 7 | return true; | 144 | 7 | } | 145 | 2 | return false; | 146 | 9 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 24 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 24 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 18 | set(to, arena); | 143 | 18 | return true; | 144 | 18 | } | 145 | 6 | return false; | 146 | 24 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 83 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 83 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 65 | set(to, arena); | 143 | 65 | return true; | 144 | 65 | } | 145 | 18 | return false; | 146 | 83 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 1 | set(to, arena); | 143 | 1 | return true; | 144 | 1 | } | 145 | 0 | return false; | 146 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 24 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 24 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 17 | set(to, arena); | 143 | 17 | return true; | 144 | 17 | } | 145 | 7 | return false; | 146 | 24 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 1 | return false; | 146 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 1 | return false; | 146 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 56.3k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 56.3k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 27.7k | set(to, arena); | 143 | 27.7k | return true; | 144 | 27.7k | } | 145 | 28.6k | return false; | 146 | 56.3k | } |
|
147 | | }; |
148 | | |
149 | | /// Stores short strings inline and allocates a separate buffer for long strings. |
150 | | struct SingleValueDataString { |
151 | | private: |
152 | | using Self = SingleValueDataString; |
153 | | // Keep the signed 32-bit size because -1 represents an empty state in the serialized format. |
154 | | Int32 size = -1; /// -1 indicates that there is no value. |
155 | | Int32 capacity = 0; /// power of two or zero |
156 | | DorisUniqueBufferPtr<char> large_data; |
157 | | |
158 | | public: |
159 | | static constexpr Int32 AUTOMATIC_STORAGE_SIZE = 64; |
160 | | static constexpr Int32 MAX_SMALL_STRING_SIZE = |
161 | | AUTOMATIC_STORAGE_SIZE - sizeof(size) - sizeof(capacity) - sizeof(large_data); |
162 | | |
163 | | private: |
164 | | char small_data[MAX_SMALL_STRING_SIZE]; |
165 | | |
166 | | public: |
167 | | using ColVecType = ColumnString; |
168 | | static constexpr bool NeedCheckColumnType = true; |
169 | | |
170 | 55.3k | ~SingleValueDataString() = default; |
171 | | |
172 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
173 | | |
174 | 10.0M | bool has() const { return size >= 0; } |
175 | | |
176 | | private: |
177 | 9.97M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
178 | 9.97M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
179 | 9.97M | row_num); |
180 | 9.97M | } |
181 | | |
182 | 9.97M | const char* _data() const { |
183 | 9.97M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
184 | 9.97M | } |
185 | | |
186 | 9.94M | StringRef _value() const { return StringRef(_data(), size); } |
187 | | |
188 | 52.7k | void _set(StringRef source) { |
189 | 52.7k | Int32 value_size = cast_set<Int32>(source.size); |
190 | 52.7k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
191 | | /// Don't free large_data here. |
192 | 52.5k | size = value_size; |
193 | | |
194 | 52.5k | if (size > 0) { |
195 | 52.4k | memcpy(small_data, source.data, size); |
196 | 52.4k | } |
197 | 52.5k | } else { |
198 | 249 | if (capacity < value_size) { |
199 | | /// Don't free large_data here. |
200 | 158 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
201 | 158 | large_data = DorisUniqueBufferPtr<char>(capacity); |
202 | 158 | } |
203 | | |
204 | 249 | size = value_size; |
205 | 249 | memcpy(large_data.get(), source.data, size); |
206 | 249 | } |
207 | 52.7k | } |
208 | | |
209 | | public: |
210 | 12.7k | void insert_result_into(IColumn& to) const { |
211 | 12.7k | if (has()) { |
212 | 12.6k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
213 | 12.6k | } else { |
214 | 121 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
215 | 121 | } |
216 | 12.7k | } |
217 | | |
218 | 55.7k | void reset() { |
219 | 55.7k | size = -1; |
220 | 55.7k | capacity = 0; |
221 | 55.7k | large_data.reset(); |
222 | 55.7k | } |
223 | | |
224 | 17.7k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
225 | 17.7k | buf.write_binary(size); |
226 | 17.7k | if (has()) { |
227 | 17.6k | buf.write(_data(), size); |
228 | 17.6k | } |
229 | 17.7k | } |
230 | | |
231 | 17.8k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
232 | 17.8k | Int32 rhs_size; |
233 | 17.8k | buf.read_binary(rhs_size); |
234 | | |
235 | 17.8k | if (rhs_size >= 0) { |
236 | 17.8k | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
237 | | /// Don't free large_data here. |
238 | | |
239 | 17.7k | size = rhs_size; |
240 | | |
241 | 17.7k | if (size > 0) { |
242 | 17.7k | buf.read(small_data, size); |
243 | 17.7k | } |
244 | 17.7k | } else { |
245 | 44 | if (capacity < rhs_size) { |
246 | 44 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
247 | 44 | large_data = DorisUniqueBufferPtr<char>(capacity); |
248 | 44 | } |
249 | | |
250 | 44 | size = rhs_size; |
251 | 44 | buf.read(large_data.get(), size); |
252 | 44 | } |
253 | 17.8k | } else { |
254 | | /// Don't free large_data here. |
255 | 5 | size = rhs_size; |
256 | 5 | } |
257 | 17.8k | } |
258 | | |
259 | 45.1k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
260 | | |
261 | 7.67k | void set(const Self& to, Arena&) { |
262 | 7.67k | DORIS_CHECK(to.has()); |
263 | 7.67k | _set(to._value()); |
264 | 7.67k | } |
265 | | |
266 | 3.97M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
267 | 3.97M | if (!has() || _value_at(column, row_num) < _value()) { |
268 | 24.1k | set(column, row_num, arena); |
269 | 24.1k | return true; |
270 | 24.1k | } |
271 | 3.95M | return false; |
272 | 3.97M | } |
273 | | |
274 | 5.99M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
275 | 5.99M | if (!has() || _value_at(column, row_num) > _value()) { |
276 | 20.4k | set(column, row_num, arena); |
277 | 20.4k | return true; |
278 | 20.4k | } |
279 | 5.97M | return false; |
280 | 5.99M | } |
281 | | |
282 | 17.2k | bool set_if_smaller(const Self& to, Arena& arena) { |
283 | 17.2k | if (to.has() && (!has() || to._value() < _value())) { |
284 | 7.22k | set(to, arena); |
285 | 7.22k | return true; |
286 | 7.22k | } |
287 | 10.0k | return false; |
288 | 17.2k | } |
289 | | |
290 | 80 | bool set_if_greater(const Self& to, Arena& arena) { |
291 | 80 | if (to.has() && (!has() || to._value() > _value())) { |
292 | 74 | set(to, arena); |
293 | 74 | return true; |
294 | 74 | } |
295 | 6 | return false; |
296 | 80 | } |
297 | | |
298 | 0 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
299 | 0 | if (!has()) { |
300 | 0 | return false; |
301 | 0 | } |
302 | 0 | return _value_at(column, row_num) == _value(); |
303 | 0 | } |
304 | | }; |
305 | | |
306 | | static_assert(sizeof(SingleValueDataString) == SingleValueDataString::AUTOMATIC_STORAGE_SIZE); |
307 | | |
308 | | /// Owns a materialized one-row column for values without a dedicated representation above. |
309 | | class SingleValueDataColumn { |
310 | | private: |
311 | | using Self = SingleValueDataColumn; |
312 | | |
313 | | ColumnPtr _value; |
314 | | |
315 | | public: |
316 | | static constexpr bool NeedCheckColumnType = false; |
317 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
318 | | |
319 | 45.9k | bool has() const { return _value.get() != nullptr; } |
320 | | |
321 | | size_t allocated_bytes() const { return has() ? _value->allocated_bytes() : 0; } |
322 | | |
323 | 17.5k | void set(const IColumn& column, size_t row_num) { |
324 | 17.5k | auto value = column.clone_empty(); |
325 | 17.5k | DCHECK(value->empty()); |
326 | 17.5k | value->reserve(1); |
327 | 17.5k | value->insert_from(column, row_num); |
328 | 17.5k | DCHECK_EQ(value->size(), 1); |
329 | 17.5k | _value = std::move(value); |
330 | 17.5k | } |
331 | | |
332 | 20.6k | void insert_result_into(IColumn& to) const { |
333 | 20.6k | if (has()) { |
334 | 20.6k | to.insert_from(*_value, 0); |
335 | 20.6k | } else { |
336 | 6 | to.insert_default(); |
337 | 6 | } |
338 | 20.6k | } |
339 | | |
340 | 4.20k | void reset() { _value.reset(); } |
341 | | |
342 | 76 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
343 | 76 | buf.write_binary(has()); |
344 | 76 | if (!has()) { |
345 | 0 | return; |
346 | 0 | } |
347 | 76 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
348 | 76 | buf.write_binary(size_bytes); |
349 | 76 | buf.resize(size_bytes); |
350 | 76 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
351 | 76 | DCHECK_EQ(p, buf.data() + size_bytes); |
352 | 76 | buf.add_offset(size_bytes); |
353 | 76 | } |
354 | | |
355 | 76 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
356 | 76 | bool has_value = false; |
357 | 76 | buf.read_binary(has_value); |
358 | 76 | if (!has_value) { |
359 | 0 | reset(); |
360 | 0 | return; |
361 | 0 | } |
362 | 76 | int64_t size = 0; |
363 | 76 | buf.read_binary(size); |
364 | 76 | auto value = data_type->create_column(); |
365 | 76 | value->reserve(1); |
366 | 76 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
367 | 76 | DCHECK_EQ(p, buf.data() + size); |
368 | 76 | buf.add_offset(size); |
369 | 76 | _value = std::move(value); |
370 | 76 | } |
371 | | |
372 | 340 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
373 | | |
374 | 59 | void set(const Self& to, Arena&) { |
375 | 59 | DORIS_CHECK(to.has()); |
376 | | // Stored one-row columns are immutable, so merged states can share ownership. |
377 | 59 | _value = to._value; |
378 | 59 | } |
379 | | |
380 | 98 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
381 | 98 | if (!has() || column.compare_at(row_num, 0, *_value, 1) < 0) { |
382 | 75 | set(column, row_num, arena); |
383 | 75 | return true; |
384 | 75 | } |
385 | 23 | return false; |
386 | 98 | } |
387 | | |
388 | 13 | bool set_if_smaller(const Self& to, Arena& arena) { |
389 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
390 | 8 | set(to, arena); |
391 | 8 | return true; |
392 | 8 | } |
393 | 5 | return false; |
394 | 13 | } |
395 | | |
396 | 96 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
397 | 96 | if (!has() || column.compare_at(row_num, 0, *_value, 1) > 0) { |
398 | 40 | set(column, row_num, arena); |
399 | 40 | return true; |
400 | 40 | } |
401 | 56 | return false; |
402 | 96 | } |
403 | | |
404 | 13 | bool set_if_greater(const Self& to, Arena& arena) { |
405 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
406 | 11 | set(to, arena); |
407 | 11 | return true; |
408 | 11 | } |
409 | 2 | return false; |
410 | 13 | } |
411 | | |
412 | 1 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
413 | 1 | return has() && column.compare_at(row_num, 0, *_value, 1) == 0; |
414 | 1 | } |
415 | | }; |
416 | | |
417 | | } // namespace doris |