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 | 19.2M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 19.2M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 19.2M | TypeCheckOnRelease::DISABLE>(column) |
50 | 19.2M | .get_data()[row_num]; |
51 | 19.2M | } 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 | 33.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 33.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 33.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 33.4k | .get_data()[row_num]; | 51 | 33.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.10k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.10k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.10k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.10k | .get_data()[row_num]; | 51 | 6.10k | } |
_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 | 1.09M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 1.09M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 1.09M | TypeCheckOnRelease::DISABLE>(column) | 50 | 1.09M | .get_data()[row_num]; | 51 | 1.09M | } |
_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 | 176k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 176k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 176k | TypeCheckOnRelease::DISABLE>(column) | 50 | 176k | .get_data()[row_num]; | 51 | 176k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.85k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.85k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.85k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.85k | .get_data()[row_num]; | 51 | 3.85k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.03M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.03M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.03M | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.03M | .get_data()[row_num]; | 51 | 8.03M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 512k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 512k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 512k | TypeCheckOnRelease::DISABLE>(column) | 50 | 512k | .get_data()[row_num]; | 51 | 512k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.42k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.42k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.42k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.42k | .get_data()[row_num]; | 51 | 3.42k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.00k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.00k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.00k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.00k | .get_data()[row_num]; | 51 | 3.00k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 21.2k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 21.2k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 21.2k | TypeCheckOnRelease::DISABLE>(column) | 50 | 21.2k | .get_data()[row_num]; | 51 | 21.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 10.5k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 10.5k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 10.5k | TypeCheckOnRelease::DISABLE>(column) | 50 | 10.5k | .get_data()[row_num]; | 51 | 10.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 5.39M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.39M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.39M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.39M | .get_data()[row_num]; | 51 | 5.39M | } |
_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 | 790 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 790 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 790 | TypeCheckOnRelease::DISABLE>(column) | 50 | 790 | .get_data()[row_num]; | 51 | 790 | } |
|
52 | | |
53 | | // AggregateFunctionIf and state merging must distinguish an empty state from a default value. |
54 | | bool has_value = false; |
55 | | ValueType value {}; |
56 | | |
57 | | public: |
58 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
59 | | static constexpr bool NeedCheckColumnType = true; |
60 | | |
61 | 1.10M | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 3.74k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 1.51k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 2.30k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.82k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 21 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EEC2Ev Line | Count | Source | 61 | 42 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EEC2Ev Line | Count | Source | 61 | 42 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EEC2Ev Line | Count | Source | 61 | 659k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 186 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 1.88k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 716 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 80.3k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 308k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 861 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 610 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.41k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 193 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 27.3k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 790 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 96 | SingleValueDataFixed() = default; |
|
62 | 22.0M | 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 | 34.1k | 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.05k | 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 | 118 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3hasEv Line | Count | Source | 62 | 118 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3hasEv Line | Count | Source | 62 | 2.33M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 923 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 177k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 4.32k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.16M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 806k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 4.27k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 3.47k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 22.4k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 15.8k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.41M | 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.3k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 1.05k | bool has() const { return has_value; } |
|
63 | | |
64 | | static constexpr bool UsesFixedLengthStateSerialization = true; |
65 | | |
66 | 1.91M | 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.08k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 1.32k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 631 | 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 | 7 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 22 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 22 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 585k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 94 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_minEv Line | Count | Source | 66 | 1.12k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 913 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.01M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 286k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 922 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 860 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.36k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.22k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.71k | 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 | 474 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 151 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 329k | 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.90k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 452 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 630 | 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 | 7 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_maxEv Line | Count | Source | 68 | 21 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_maxEv Line | Count | Source | 68 | 21 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_maxEv Line | Count | Source | 68 | 65.4k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 84 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_maxEv Line | Count | Source | 68 | 411 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_maxEv Line | Count | Source | 68 | 191 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 207k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 22.3k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 201 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 117 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 562 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 90 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 22.7k | 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 | 370 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 150 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
|
69 | | |
70 | 1.78M | void insert_result_into(IColumn& to) const { |
71 | 1.78M | if (has()) { |
72 | 1.78M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
73 | 1.78M | to) |
74 | 1.78M | .insert_value(value); |
75 | 1.78M | } else { |
76 | 902 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 902 | to) |
78 | 902 | .insert_default(); |
79 | 902 | } |
80 | 1.78M | } 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 | 1.40k | void insert_result_into(IColumn& to) const { | 71 | 1.40k | if (has()) { | 72 | 1.40k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.40k | to) | 74 | 1.40k | .insert_value(value); | 75 | 1.40k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.40k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 355 | void insert_result_into(IColumn& to) const { | 71 | 355 | if (has()) { | 72 | 355 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 355 | to) | 74 | 355 | .insert_value(value); | 75 | 355 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 355 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 2.31k | void insert_result_into(IColumn& to) const { | 71 | 2.31k | if (has()) { | 72 | 2.31k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2.31k | to) | 74 | 2.31k | .insert_value(value); | 75 | 2.31k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2.31k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 3 | void insert_result_into(IColumn& to) const { | 71 | 3 | if (has()) { | 72 | 3 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3 | to) | 74 | 3 | .insert_value(value); | 75 | 3 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 3 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 268k | void insert_result_into(IColumn& to) const { | 71 | 268k | if (has()) { | 72 | 268k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 268k | to) | 74 | 268k | .insert_value(value); | 75 | 268k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 268k | } |
_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.17k | void insert_result_into(IColumn& to) const { | 71 | 1.17k | if (has()) { | 72 | 1.16k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.16k | to) | 74 | 1.16k | .insert_value(value); | 75 | 1.16k | } else { | 76 | 10 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 10 | to) | 78 | 10 | .insert_default(); | 79 | 10 | } | 80 | 1.17k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 874 | void insert_result_into(IColumn& to) const { | 71 | 874 | if (has()) { | 72 | 872 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 872 | to) | 74 | 872 | .insert_value(value); | 75 | 872 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 874 | } |
_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 | 667 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 667 | to) | 78 | 667 | .insert_default(); | 79 | 667 | } | 80 | 1.20M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 269k | void insert_result_into(IColumn& to) const { | 71 | 269k | if (has()) { | 72 | 269k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 269k | to) | 74 | 269k | .insert_value(value); | 75 | 269k | } else { | 76 | 66 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 66 | to) | 78 | 66 | .insert_default(); | 79 | 66 | } | 80 | 269k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 883 | void insert_result_into(IColumn& to) const { | 71 | 883 | if (has()) { | 72 | 881 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 881 | to) | 74 | 881 | .insert_value(value); | 75 | 881 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 883 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_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_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.34k | void insert_result_into(IColumn& to) const { | 71 | 1.34k | if (has()) { | 72 | 1.34k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.34k | to) | 74 | 1.34k | .insert_value(value); | 75 | 1.34k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.34k | } |
_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 | 104 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 104 | to) | 78 | 104 | .insert_default(); | 79 | 104 | } | 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 | 745 | void insert_result_into(IColumn& to) const { | 71 | 745 | if (has()) { | 72 | 745 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 745 | to) | 74 | 745 | .insert_value(value); | 75 | 745 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 745 | } |
_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.23M | void reset() { has_value = false; }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5resetEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5resetEv Line | Count | Source | 82 | 2 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5resetEv Line | Count | Source | 82 | 3.98k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.77k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 1.26k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 3.97k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 14 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 43 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 43 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv Line | Count | Source | 82 | 650k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 178 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 1.53k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.10k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.22M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 308k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.16k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 977 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.92k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.31k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 25.9k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 853 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 301 | void reset() { has_value = false; } |
|
83 | | |
84 | 16.0k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
85 | 16.0k | buf.write_binary(has()); |
86 | 16.0k | if (has()) { |
87 | 16.0k | buf.write_binary(value); |
88 | 16.0k | } |
89 | 16.0k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 6 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 6 | buf.write_binary(has()); | 86 | 6 | if (has()) { | 87 | 6 | buf.write_binary(value); | 88 | 6 | } | 89 | 6 | } |
_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 | 5.96k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 5.96k | buf.write_binary(has()); | 86 | 5.96k | if (has()) { | 87 | 5.96k | buf.write_binary(value); | 88 | 5.96k | } | 89 | 5.96k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 36 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 36 | buf.write_binary(has()); | 86 | 36 | if (has()) { | 87 | 36 | buf.write_binary(value); | 88 | 36 | } | 89 | 36 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 9.47k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.47k | buf.write_binary(has()); | 86 | 9.47k | if (has()) { | 87 | 9.47k | buf.write_binary(value); | 88 | 9.47k | } | 89 | 9.47k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 114 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 114 | buf.write_binary(has()); | 86 | 114 | if (has()) { | 87 | 114 | buf.write_binary(value); | 88 | 114 | } | 89 | 114 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 51 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 51 | buf.write_binary(has()); | 86 | 51 | if (has()) { | 87 | 51 | buf.write_binary(value); | 88 | 51 | } | 89 | 51 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 2 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 2 | buf.write_binary(has()); | 86 | 2 | if (has()) { | 87 | 2 | buf.write_binary(value); | 88 | 2 | } | 89 | 2 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 330 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 330 | buf.write_binary(has()); | 86 | 330 | if (has()) { | 87 | 330 | buf.write_binary(value); | 88 | 330 | } | 89 | 330 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi |
90 | | |
91 | 16.9k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 16.9k | buf.read_binary(has_value); |
93 | 16.9k | if (has()) { |
94 | 16.9k | buf.read_binary(value); |
95 | 16.9k | } |
96 | 16.9k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 6 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 6 | buf.read_binary(has_value); | 93 | 6 | if (has()) { | 94 | 6 | buf.read_binary(value); | 95 | 6 | } | 96 | 6 | } |
_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 | 6.93k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 6.93k | buf.read_binary(has_value); | 93 | 6.93k | if (has()) { | 94 | 6.93k | buf.read_binary(value); | 95 | 6.93k | } | 96 | 6.93k | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 36 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 36 | buf.read_binary(has_value); | 93 | 36 | if (has()) { | 94 | 36 | buf.read_binary(value); | 95 | 36 | } | 96 | 36 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 9.34k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.34k | buf.read_binary(has_value); | 93 | 9.38k | if (has()) { | 94 | 9.38k | buf.read_binary(value); | 95 | 9.38k | } | 96 | 9.34k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 111 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 111 | buf.read_binary(has_value); | 93 | 111 | if (has()) { | 94 | 111 | buf.read_binary(value); | 95 | 111 | } | 96 | 111 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 52 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 52 | buf.read_binary(has_value); | 93 | 52 | if (has()) { | 94 | 52 | buf.read_binary(value); | 95 | 52 | } | 96 | 52 | } |
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 | 312 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 312 | buf.read_binary(has_value); | 93 | 312 | if (has()) { | 94 | 312 | buf.read_binary(value); | 95 | 312 | } | 96 | 312 | } |
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 | 2.23M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 2.23M | has_value = true; |
100 | 2.23M | value = _value_at(column, row_num); |
101 | 2.23M | } 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.70k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 7.70k | has_value = true; | 100 | 7.70k | value = _value_at(column, row_num); | 101 | 7.70k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 2.44k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.44k | has_value = true; | 100 | 2.44k | value = _value_at(column, row_num); | 101 | 2.44k | } |
_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.71k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.71k | has_value = true; | 100 | 2.71k | value = _value_at(column, row_num); | 101 | 2.71k | } |
_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 | 463k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 463k | has_value = true; | 100 | 463k | value = _value_at(column, row_num); | 101 | 463k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 115 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 115 | has_value = true; | 100 | 115 | value = _value_at(column, row_num); | 101 | 115 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.55k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.55k | has_value = true; | 100 | 1.55k | value = _value_at(column, row_num); | 101 | 1.55k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.29k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.29k | has_value = true; | 100 | 1.29k | value = _value_at(column, row_num); | 101 | 1.29k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.35M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.35M | has_value = true; | 100 | 1.35M | value = _value_at(column, row_num); | 101 | 1.35M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 349k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 349k | has_value = true; | 100 | 349k | value = _value_at(column, row_num); | 101 | 349k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.26k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.26k | has_value = true; | 100 | 1.26k | value = _value_at(column, row_num); | 101 | 1.26k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.08k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.08k | has_value = true; | 100 | 1.08k | value = _value_at(column, row_num); | 101 | 1.08k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.88k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.88k | has_value = true; | 100 | 1.88k | value = _value_at(column, row_num); | 101 | 1.88k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.29k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.29k | has_value = true; | 100 | 5.29k | value = _value_at(column, row_num); | 101 | 5.29k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 27.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 27.2k | has_value = true; | 100 | 27.2k | value = _value_at(column, row_num); | 101 | 27.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.51k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.51k | has_value = true; | 100 | 1.51k | value = _value_at(column, row_num); | 101 | 1.51k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 313 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 313 | has_value = true; | 100 | 313 | value = _value_at(column, row_num); | 101 | 313 | } |
|
102 | | |
103 | 243k | void set(const Self& to, Arena&) { |
104 | 243k | DORIS_CHECK(to.has()); |
105 | 243k | has_value = true; |
106 | 243k | value = to.value; |
107 | 243k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 66 | void set(const Self& to, Arena&) { | 104 | 66 | DORIS_CHECK(to.has()); | 105 | 66 | has_value = true; | 106 | 66 | value = to.value; | 107 | 66 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 92 | void set(const Self& to, Arena&) { | 104 | 92 | DORIS_CHECK(to.has()); | 105 | 92 | has_value = true; | 106 | 92 | value = to.value; | 107 | 92 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 177 | void set(const Self& to, Arena&) { | 104 | 177 | DORIS_CHECK(to.has()); | 105 | 177 | has_value = true; | 106 | 177 | value = to.value; | 107 | 177 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 10 | void set(const Self& to, Arena&) { | 104 | 10 | DORIS_CHECK(to.has()); | 105 | 10 | has_value = true; | 106 | 10 | value = to.value; | 107 | 10 | } |
_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 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 191k | void set(const Self& to, Arena&) { | 104 | 191k | DORIS_CHECK(to.has()); | 105 | 191k | has_value = true; | 106 | 191k | value = to.value; | 107 | 191k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 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_13PrimitiveTypeE4EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 10 | void set(const Self& to, Arena&) { | 104 | 10 | DORIS_CHECK(to.has()); | 105 | 10 | has_value = true; | 106 | 10 | value = to.value; | 107 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 18.1k | void set(const Self& to, Arena&) { | 104 | 18.1k | DORIS_CHECK(to.has()); | 105 | 18.1k | has_value = true; | 106 | 18.1k | value = to.value; | 107 | 18.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 22.9k | void set(const Self& to, Arena&) { | 104 | 22.9k | DORIS_CHECK(to.has()); | 105 | 22.9k | has_value = true; | 106 | 22.9k | value = to.value; | 107 | 22.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 38 | void set(const Self& to, Arena&) { | 104 | 38 | DORIS_CHECK(to.has()); | 105 | 38 | has_value = true; | 106 | 38 | value = to.value; | 107 | 38 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 33 | void set(const Self& to, Arena&) { | 104 | 33 | DORIS_CHECK(to.has()); | 105 | 33 | has_value = true; | 106 | 33 | value = to.value; | 107 | 33 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 163 | void set(const Self& to, Arena&) { | 104 | 163 | DORIS_CHECK(to.has()); | 105 | 163 | has_value = true; | 106 | 163 | value = to.value; | 107 | 163 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 25 | void set(const Self& to, Arena&) { | 104 | 25 | DORIS_CHECK(to.has()); | 105 | 25 | has_value = true; | 106 | 25 | value = to.value; | 107 | 25 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 2.00k | void set(const Self& to, Arena&) { | 104 | 2.00k | DORIS_CHECK(to.has()); | 105 | 2.00k | has_value = true; | 106 | 2.00k | value = to.value; | 107 | 2.00k | } |
_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 | 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_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.74M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 8.74M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 291k | set(column, row_num, arena); |
112 | 291k | return true; |
113 | 291k | } |
114 | 8.44M | return false; |
115 | 8.74M | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 367 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 367 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 229 | set(column, row_num, arena); | 112 | 229 | return true; | 113 | 229 | } | 114 | 138 | return false; | 115 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_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 | 53 | set(column, row_num, arena); | 112 | 53 | return true; | 113 | 53 | } | 114 | 289 | return false; | 115 | 342 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 87.2k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 87.2k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 358 | set(column, row_num, arena); | 112 | 358 | return true; | 113 | 358 | } | 114 | 86.8k | return false; | 115 | 87.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.12k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.12k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 207 | set(column, row_num, arena); | 112 | 207 | return true; | 113 | 207 | } | 114 | 913 | return false; | 115 | 1.12k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.53M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.53M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 213k | set(column, row_num, arena); | 112 | 213k | return true; | 113 | 213k | } | 114 | 3.31M | return false; | 115 | 3.53M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 88.8k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 88.8k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 13.7k | set(column, row_num, arena); | 112 | 13.7k | return true; | 113 | 13.7k | } | 114 | 75.0k | return false; | 115 | 88.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 904 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 904 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 224 | set(column, row_num, arena); | 112 | 224 | return true; | 113 | 224 | } | 114 | 680 | return false; | 115 | 904 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 734 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 734 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 123 | set(column, row_num, arena); | 112 | 123 | return true; | 113 | 123 | } | 114 | 611 | return false; | 115 | 734 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 17.7k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 17.7k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 432 | set(column, row_num, arena); | 112 | 432 | return true; | 113 | 432 | } | 114 | 17.2k | return false; | 115 | 17.7k | } |
_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.70M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.70M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 22.5k | set(column, row_num, arena); | 112 | 22.5k | return true; | 113 | 22.5k | } | 114 | 2.68M | return false; | 115 | 2.70M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 4.09k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 4.09k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 4.09k | return false; | 115 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 9.60k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.60k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 583 | set(column, row_num, arena); | 112 | 583 | return true; | 113 | 583 | } | 114 | 9.02k | return false; | 115 | 9.60k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 372 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 372 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 137 | set(column, row_num, arena); | 112 | 137 | return true; | 113 | 137 | } | 114 | 235 | return false; | 115 | 372 | } |
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.38k | set(column, row_num, arena); | 112 | 2.38k | return true; | 113 | 2.38k | } | 114 | 1.96M | return false; | 115 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 15.6k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 15.6k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 487 | set(column, row_num, arena); | 112 | 487 | return true; | 113 | 487 | } | 114 | 15.1k | return false; | 115 | 15.6k | } |
_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.32k | set(column, row_num, arena); | 112 | 1.32k | return true; | 113 | 1.32k | } | 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 | 306k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 306k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 35.6k | set(column, row_num, arena); | 112 | 35.6k | return true; | 113 | 35.6k | } | 114 | 271k | return false; | 115 | 306k | } |
|
116 | | |
117 | 86.3k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 86.3k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 44.7k | set(to, arena); |
120 | 44.7k | return true; |
121 | 44.7k | } |
122 | 41.5k | return false; |
123 | 86.3k | } _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 | 55 | set(to, arena); | 120 | 55 | return true; | 121 | 55 | } | 122 | 0 | return false; | 123 | 55 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 9 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 9 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 6 | return false; | 123 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 59 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 59 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 53 | set(to, arena); | 120 | 53 | return true; | 121 | 53 | } | 122 | 6 | return false; | 123 | 59 | } |
_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 | 903 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 903 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 652 | set(to, arena); | 120 | 652 | return true; | 121 | 652 | } | 122 | 251 | return false; | 123 | 903 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 19.2k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 19.2k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 9.19k | set(to, arena); | 120 | 9.19k | return true; | 121 | 9.19k | } | 122 | 10.0k | return false; | 123 | 19.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_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_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 | 129 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 129 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 129 | set(to, arena); | 120 | 129 | return true; | 121 | 129 | } | 122 | 0 | return false; | 123 | 129 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 16 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 16 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 14 | set(to, arena); | 120 | 14 | return true; | 121 | 14 | } | 122 | 2 | return false; | 123 | 16 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 892 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 892 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 830 | set(to, arena); | 120 | 830 | return true; | 121 | 830 | } | 122 | 62 | return false; | 123 | 892 | } |
_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 | 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_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 | 7 | set(to, arena); | 120 | 7 | return true; | 121 | 7 | } | 122 | 3 | return false; | 123 | 10 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 59 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 59 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 44 | set(to, arena); | 120 | 44 | return true; | 121 | 44 | } | 122 | 15 | return false; | 123 | 59 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 26 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 26 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 18 | set(to, arena); | 120 | 18 | return true; | 121 | 18 | } | 122 | 8 | return false; | 123 | 26 | } |
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 | 4 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 4 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 4 | set(to, arena); | 120 | 4 | return true; | 121 | 4 | } | 122 | 0 | return false; | 123 | 4 | } |
_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 | 60.8k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 60.8k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 29.6k | set(to, arena); | 120 | 29.6k | return true; | 121 | 29.6k | } | 122 | 31.1k | return false; | 123 | 60.8k | } |
|
124 | | |
125 | 10.3M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 10.3M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.91M | set(column, row_num, arena); |
128 | 1.91M | return true; |
129 | 1.91M | } |
130 | 8.38M | return false; |
131 | 10.3M | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 367 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 367 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 236 | set(column, row_num, arena); | 128 | 236 | return true; | 129 | 236 | } | 130 | 131 | return false; | 131 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_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 | 57 | set(column, row_num, arena); | 128 | 57 | return true; | 129 | 57 | } | 130 | 372 | return false; | 131 | 429 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 88.4k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 88.4k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.11k | set(column, row_num, arena); | 128 | 1.11k | return true; | 129 | 1.11k | } | 130 | 87.3k | return false; | 131 | 88.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.29k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.29k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.07k | set(column, row_num, arena); | 128 | 1.07k | return true; | 129 | 1.07k | } | 130 | 1.22k | return false; | 131 | 2.29k | } |
_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.12M | set(column, row_num, arena); | 128 | 1.12M | return true; | 129 | 1.12M | } | 130 | 3.22M | return false; | 131 | 4.35M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 363k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 363k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 335k | set(column, row_num, arena); | 128 | 335k | return true; | 129 | 335k | } | 130 | 28.8k | return false; | 131 | 363k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.16k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.16k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.02k | set(column, row_num, arena); | 128 | 1.02k | return true; | 129 | 1.02k | } | 130 | 1.14k | return false; | 131 | 2.16k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.91k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.91k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 942 | set(column, row_num, arena); | 128 | 942 | return true; | 129 | 942 | } | 130 | 971 | return false; | 131 | 1.91k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.93k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.93k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.43k | set(column, row_num, arena); | 128 | 1.43k | return true; | 129 | 1.43k | } | 130 | 1.50k | return false; | 131 | 2.93k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 10.3k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 10.3k | 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 | 5.10k | return false; | 131 | 10.3k | } |
_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.85k | set(column, row_num, arena); | 128 | 4.85k | return true; | 129 | 4.85k | } | 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.8k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.8k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 897 | set(column, row_num, arena); | 128 | 897 | return true; | 129 | 897 | } | 130 | 10.9k | return false; | 131 | 11.8k | } |
_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.29k | set(column, row_num, arena); | 128 | 5.29k | return true; | 129 | 5.29k | } | 130 | 1.96M | return false; | 131 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 16.7k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 16.7k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.93k | set(column, row_num, arena); | 128 | 1.93k | return true; | 129 | 1.93k | } | 130 | 14.7k | return false; | 131 | 16.7k | } |
_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.39k | set(column, row_num, arena); | 128 | 1.39k | return true; | 129 | 1.39k | } | 130 | 1.45k | 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 | 785k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 785k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 425k | set(column, row_num, arena); | 128 | 425k | return true; | 129 | 425k | } | 130 | 360k | return false; | 131 | 785k | } |
|
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 | 362k | bool set_if_greater(const Self& to, Arena& arena) { |
141 | 362k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
142 | 200k | set(to, arena); |
143 | 200k | return true; |
144 | 200k | } |
145 | 162k | return false; |
146 | 362k | } _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 | 58 | set(to, arena); | 143 | 58 | return true; | 144 | 58 | } | 145 | 1 | 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 | 51 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 51 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 43 | set(to, arena); | 143 | 43 | return true; | 144 | 43 | } | 145 | 8 | return false; | 146 | 51 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 7 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 7 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 7 | set(to, arena); | 143 | 7 | return true; | 144 | 7 | } | 145 | 0 | return false; | 146 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 17.1k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 17.1k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 16.9k | set(to, arena); | 143 | 16.9k | return true; | 144 | 16.9k | } | 145 | 230 | return false; | 146 | 17.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 16.6k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 16.6k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 16.3k | set(to, arena); | 143 | 16.3k | return true; | 144 | 16.3k | } | 145 | 369 | return false; | 146 | 16.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 61 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 61 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 35 | set(to, arena); | 143 | 35 | return true; | 144 | 35 | } | 145 | 26 | return false; | 146 | 61 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 29 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 29 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 29 | set(to, arena); | 143 | 29 | return true; | 144 | 29 | } | 145 | 0 | return false; | 146 | 29 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 34 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 34 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 31 | set(to, arena); | 143 | 31 | return true; | 144 | 31 | } | 145 | 3 | return false; | 146 | 34 | } |
_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 | 9 | set(to, arena); | 143 | 9 | return true; | 144 | 9 | } | 145 | 2 | return false; | 146 | 11 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1.36k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1.36k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 1.17k | set(to, arena); | 143 | 1.17k | return true; | 144 | 1.17k | } | 145 | 193 | return false; | 146 | 1.36k | } |
_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 | 71 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 71 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 25 | set(to, arena); | 143 | 25 | return true; | 144 | 25 | } | 145 | 46 | return false; | 146 | 71 | } |
_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 | 20 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 20 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 18 | set(to, arena); | 143 | 18 | return true; | 144 | 18 | } | 145 | 2 | return false; | 146 | 20 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 85 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 85 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 69 | set(to, arena); | 143 | 69 | return true; | 144 | 69 | } | 145 | 16 | return false; | 146 | 85 | } |
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 | 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_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 | 323k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 323k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 161k | set(to, arena); | 143 | 161k | return true; | 144 | 161k | } | 145 | 161k | return false; | 146 | 323k | } |
|
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 | 15.5k | ~SingleValueDataString() = default; |
171 | | |
172 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
173 | | |
174 | 9.97M | bool has() const { return size >= 0; } |
175 | | |
176 | | private: |
177 | 9.96M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
178 | 9.96M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
179 | 9.96M | row_num); |
180 | 9.96M | } |
181 | | |
182 | 9.95M | const char* _data() const { |
183 | 9.95M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
184 | 9.95M | } |
185 | | |
186 | 9.93M | StringRef _value() const { return StringRef(_data(), size); } |
187 | | |
188 | 21.7k | void _set(StringRef source) { |
189 | 21.7k | Int32 value_size = cast_set<Int32>(source.size); |
190 | 21.7k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
191 | | /// Don't free large_data here. |
192 | 21.4k | size = value_size; |
193 | | |
194 | 21.4k | if (size > 0) { |
195 | 21.4k | memcpy(small_data, source.data, size); |
196 | 21.4k | } |
197 | 21.4k | } else { |
198 | 273 | if (capacity < value_size) { |
199 | | /// Don't free large_data here. |
200 | 146 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
201 | 146 | large_data = DorisUniqueBufferPtr<char>(capacity); |
202 | 146 | } |
203 | | |
204 | 273 | size = value_size; |
205 | 273 | memcpy(large_data.get(), source.data, size); |
206 | 273 | } |
207 | 21.7k | } |
208 | | |
209 | | public: |
210 | 14.7k | void insert_result_into(IColumn& to) const { |
211 | 14.7k | if (has()) { |
212 | 14.5k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
213 | 14.5k | } else { |
214 | 240 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
215 | 240 | } |
216 | 14.7k | } |
217 | | |
218 | 15.5k | void reset() { |
219 | 15.5k | size = -1; |
220 | 15.5k | capacity = 0; |
221 | 15.5k | large_data.reset(); |
222 | 15.5k | } |
223 | | |
224 | 553 | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
225 | 553 | buf.write_binary(size); |
226 | 553 | if (has()) { |
227 | 550 | buf.write(_data(), size); |
228 | 550 | } |
229 | 553 | } |
230 | | |
231 | 542 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
232 | 542 | Int32 rhs_size; |
233 | 542 | buf.read_binary(rhs_size); |
234 | | |
235 | 542 | if (rhs_size >= 0) { |
236 | 537 | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
237 | | /// Don't free large_data here. |
238 | | |
239 | 529 | size = rhs_size; |
240 | | |
241 | 529 | if (size > 0) { |
242 | 527 | buf.read(small_data, size); |
243 | 527 | } |
244 | 529 | } else { |
245 | 8 | if (capacity < rhs_size) { |
246 | 8 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
247 | 8 | large_data = DorisUniqueBufferPtr<char>(capacity); |
248 | 8 | } |
249 | | |
250 | 8 | size = rhs_size; |
251 | 8 | buf.read(large_data.get(), size); |
252 | 8 | } |
253 | 537 | } else { |
254 | | /// Don't free large_data here. |
255 | 5 | size = rhs_size; |
256 | 5 | } |
257 | 542 | } |
258 | | |
259 | 21.3k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
260 | | |
261 | 400 | void set(const Self& to, Arena&) { |
262 | 400 | DORIS_CHECK(to.has()); |
263 | 400 | _set(to._value()); |
264 | 400 | } |
265 | | |
266 | 3.94M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
267 | 3.94M | if (!has() || _value_at(column, row_num) < _value()) { |
268 | 3.41k | set(column, row_num, arena); |
269 | 3.41k | return true; |
270 | 3.41k | } |
271 | 3.94M | return false; |
272 | 3.94M | } |
273 | | |
274 | 6.01M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
275 | 6.01M | if (!has() || _value_at(column, row_num) > _value()) { |
276 | 17.3k | set(column, row_num, arena); |
277 | 17.3k | return true; |
278 | 17.3k | } |
279 | 5.99M | return false; |
280 | 6.01M | } |
281 | | |
282 | 41 | bool set_if_smaller(const Self& to, Arena& arena) { |
283 | 41 | if (to.has() && (!has() || to._value() < _value())) { |
284 | 37 | set(to, arena); |
285 | 37 | return true; |
286 | 37 | } |
287 | 4 | return false; |
288 | 41 | } |
289 | | |
290 | 47 | bool set_if_greater(const Self& to, Arena& arena) { |
291 | 47 | if (to.has() && (!has() || to._value() > _value())) { |
292 | 43 | set(to, arena); |
293 | 43 | return true; |
294 | 43 | } |
295 | 4 | return false; |
296 | 47 | } |
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.8k | 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 | 7 | to.insert_default(); |
337 | 7 | } |
338 | 20.6k | } |
339 | | |
340 | 4.20k | void reset() { _value.reset(); } |
341 | | |
342 | 18 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
343 | 18 | buf.write_binary(has()); |
344 | 18 | if (!has()) { |
345 | 0 | return; |
346 | 0 | } |
347 | 18 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
348 | 18 | buf.write_binary(size_bytes); |
349 | 18 | buf.resize(size_bytes); |
350 | 18 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
351 | 18 | DCHECK_EQ(p, buf.data() + size_bytes); |
352 | 18 | buf.add_offset(size_bytes); |
353 | 18 | } |
354 | | |
355 | 18 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
356 | 18 | bool has_value = false; |
357 | 18 | buf.read_binary(has_value); |
358 | 18 | if (!has_value) { |
359 | 0 | reset(); |
360 | 0 | return; |
361 | 0 | } |
362 | 18 | int64_t size = 0; |
363 | 18 | buf.read_binary(size); |
364 | 18 | auto value = data_type->create_column(); |
365 | 18 | value->reserve(1); |
366 | 18 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
367 | 18 | DCHECK_EQ(p, buf.data() + size); |
368 | 18 | buf.add_offset(size); |
369 | 18 | _value = std::move(value); |
370 | 18 | } |
371 | | |
372 | 276 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
373 | | |
374 | 18 | void set(const Self& to, Arena&) { |
375 | 18 | DORIS_CHECK(to.has()); |
376 | | // Stored one-row columns are immutable, so merged states can share ownership. |
377 | 18 | _value = to._value; |
378 | 18 | } |
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 | 57 | set(column, row_num, arena); |
383 | 57 | return true; |
384 | 57 | } |
385 | 41 | return false; |
386 | 98 | } |
387 | | |
388 | 0 | bool set_if_smaller(const Self& to, Arena& arena) { |
389 | 0 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
390 | 0 | set(to, arena); |
391 | 0 | return true; |
392 | 0 | } |
393 | 0 | return false; |
394 | 0 | } |
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 | 33 | set(column, row_num, arena); |
399 | 33 | return true; |
400 | 33 | } |
401 | 63 | return false; |
402 | 96 | } |
403 | | |
404 | 0 | bool set_if_greater(const Self& to, Arena& arena) { |
405 | 0 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
406 | 0 | set(to, arena); |
407 | 0 | return true; |
408 | 0 | } |
409 | 0 | return false; |
410 | 0 | } |
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 |