be/src/exprs/aggregate/single_value_data.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <cstring> |
21 | | |
22 | | #include "common/cast_set.h" |
23 | | #include "common/compare.h" |
24 | | #include "common/logging.h" |
25 | | #include "core/assert_cast.h" |
26 | | #include "core/column/column.h" |
27 | | #include "core/column/column_decimal.h" |
28 | | #include "core/column/column_string.h" |
29 | | #include "core/custom_allocator.h" |
30 | | #include "core/data_type/data_type.h" |
31 | | #include "core/data_type/primitive_type.h" |
32 | | #include "core/string_buffer.hpp" |
33 | | #include "core/string_ref.h" |
34 | | #include "core/types.h" |
35 | | |
36 | | namespace doris { |
37 | | |
38 | | class Arena; |
39 | | |
40 | | /// Stores one fixed-size scalar value directly in the aggregate state. |
41 | | template <PrimitiveType T> |
42 | | struct SingleValueDataFixed { |
43 | | private: |
44 | | using Self = SingleValueDataFixed; |
45 | | using ValueType = typename PrimitiveTypeTraits<T>::CppType; |
46 | | |
47 | 18.5M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 18.5M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 18.5M | TypeCheckOnRelease::DISABLE>(column) |
50 | 18.5M | .get_data()[row_num]; |
51 | 18.5M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE9_value_atERKNS_7IColumnEm _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 13 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 13 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 13 | TypeCheckOnRelease::DISABLE>(column) | 50 | 13 | .get_data()[row_num]; | 51 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.96M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.96M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.96M | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.96M | .get_data()[row_num]; | 51 | 3.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 30.0k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 30.0k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 30.0k | TypeCheckOnRelease::DISABLE>(column) | 50 | 30.0k | .get_data()[row_num]; | 51 | 30.0k | } |
_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.06k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.06k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.06k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.06k | .get_data()[row_num]; | 51 | 6.06k | } |
_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 | 610k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 610k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 610k | TypeCheckOnRelease::DISABLE>(column) | 50 | 610k | .get_data()[row_num]; | 51 | 610k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 395 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 395 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 395 | TypeCheckOnRelease::DISABLE>(column) | 50 | 395 | .get_data()[row_num]; | 51 | 395 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 175k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 175k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 175k | TypeCheckOnRelease::DISABLE>(column) | 50 | 175k | .get_data()[row_num]; | 51 | 175k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.13k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.13k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.13k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.13k | .get_data()[row_num]; | 51 | 3.13k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.10M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.10M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.10M | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.10M | .get_data()[row_num]; | 51 | 8.10M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 210k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 210k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 210k | TypeCheckOnRelease::DISABLE>(column) | 50 | 210k | .get_data()[row_num]; | 51 | 210k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.73k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.73k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.73k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.73k | .get_data()[row_num]; | 51 | 2.73k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.30k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.30k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.30k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.30k | .get_data()[row_num]; | 51 | 2.30k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_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_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.40M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.40M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.40M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.40M | .get_data()[row_num]; | 51 | 5.40M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 21.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 21.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 21.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 21.4k | .get_data()[row_num]; | 51 | 21.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 789 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 789 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 789 | TypeCheckOnRelease::DISABLE>(column) | 50 | 789 | .get_data()[row_num]; | 51 | 789 | } |
|
52 | | |
53 | | // AggregateFunctionIf and state merging must distinguish an empty state from a default value. |
54 | | bool has_value = false; |
55 | | ValueType value {}; |
56 | | |
57 | | public: |
58 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
59 | | static constexpr bool NeedCheckColumnType = true; |
60 | | |
61 | 935k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 8.88k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 1.05k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 2.62k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.86k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 9 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EEC2Ev Line | Count | Source | 61 | 62 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EEC2Ev Line | Count | Source | 61 | 62 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EEC2Ev Line | Count | Source | 61 | 136k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 188 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 295k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 700 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 358k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 85.0k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 935 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 599 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.35k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 222 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 31.2k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 816 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 262 | SingleValueDataFixed() = default; |
|
62 | 21.7M | bool has() const { return has_value; }Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3hasEv _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3hasEv Line | Count | Source | 62 | 12 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3hasEv Line | Count | Source | 62 | 3.98M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3hasEv Line | Count | Source | 62 | 30.4k | 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.09k | 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 | 92 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3hasEv Line | Count | Source | 62 | 92 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3hasEv Line | Count | Source | 62 | 939k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 493 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 910k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 3.56k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.93M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 383k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 3.57k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 2.73k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 21.6k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 15.7k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.43M | 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 | 21.6k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 1.06k | bool has() const { return has_value; } |
|
63 | | |
64 | | static constexpr bool UsesFixedLengthStateSerialization = true; |
65 | | |
66 | 1.40M | 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 | 1.99k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 767 | 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 | 2.01k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_minEv Line | Count | Source | 66 | 3 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 30 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 30 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 61.9k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 88 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_minEv Line | Count | Source | 66 | 148k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 860 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.12M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 44.1k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 928 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 809 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.31k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.21k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.56k | 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 | 457 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 215 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 648k | void set_value_to_max() { value = Compare::max_value<ValueType>(); }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE16set_value_to_maxEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE16set_value_to_maxEv Line | Count | Source | 68 | 1 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE16set_value_to_maxEv Line | Count | Source | 68 | 1.91k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 469 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 629 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_maxEv Line | Count | Source | 68 | 2.01k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_maxEv Line | Count | Source | 68 | 3 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_maxEv Line | Count | Source | 68 | 30 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_maxEv Line | Count | Source | 68 | 30 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_maxEv Line | Count | Source | 68 | 66.0k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 85 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_maxEv Line | Count | Source | 68 | 147k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_maxEv Line | Count | Source | 68 | 197 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 354k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 42.3k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 256 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 123 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 511 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 94 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 26.9k | 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 | 376 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 216 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
|
69 | | |
70 | 1.24M | void insert_result_into(IColumn& to) const { |
71 | 1.24M | if (has()) { |
72 | 1.24M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
73 | 1.24M | to) |
74 | 1.24M | .insert_value(value); |
75 | 1.24M | } else { |
76 | 548 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 548 | to) |
78 | 548 | .insert_default(); |
79 | 548 | } |
80 | 1.24M | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE18insert_result_intoERNS_7IColumnE _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 2 | void insert_result_into(IColumn& to) const { | 71 | 2 | if (has()) { | 72 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2 | to) | 74 | 2 | .insert_value(value); | 75 | 2 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 8.52k | void insert_result_into(IColumn& to) const { | 71 | 8.52k | if (has()) { | 72 | 8.47k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.47k | to) | 74 | 8.47k | .insert_value(value); | 75 | 8.47k | } else { | 76 | 50 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 50 | to) | 78 | 50 | .insert_default(); | 79 | 50 | } | 80 | 8.52k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 750 | void insert_result_into(IColumn& to) const { | 71 | 750 | if (has()) { | 72 | 750 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 750 | to) | 74 | 750 | .insert_value(value); | 75 | 750 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 750 | } |
_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.32k | void insert_result_into(IColumn& to) const { | 71 | 2.32k | if (has()) { | 72 | 2.32k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2.32k | to) | 74 | 2.32k | .insert_value(value); | 75 | 2.32k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2.32k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 3 | void insert_result_into(IColumn& to) const { | 71 | 3 | if (has()) { | 72 | 3 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3 | to) | 74 | 3 | .insert_value(value); | 75 | 3 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 3 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 6.18k | void insert_result_into(IColumn& to) const { | 71 | 6.18k | if (has()) { | 72 | 6.18k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 6.18k | to) | 74 | 6.18k | .insert_value(value); | 75 | 6.18k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 6.18k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 83 | void insert_result_into(IColumn& to) const { | 71 | 83 | if (has()) { | 72 | 83 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 83 | to) | 74 | 83 | .insert_value(value); | 75 | 83 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 83 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.07k | void insert_result_into(IColumn& to) const { | 71 | 1.07k | if (has()) { | 72 | 1.06k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.06k | to) | 74 | 1.06k | .insert_value(value); | 75 | 1.06k | } else { | 76 | 12 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 12 | to) | 78 | 12 | .insert_default(); | 79 | 12 | } | 80 | 1.07k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 803 | void insert_result_into(IColumn& to) const { | 71 | 803 | if (has()) { | 72 | 801 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 801 | to) | 74 | 801 | .insert_value(value); | 75 | 801 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 803 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.16M | void insert_result_into(IColumn& to) const { | 71 | 1.16M | if (has()) { | 72 | 1.16M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.16M | to) | 74 | 1.16M | .insert_value(value); | 75 | 1.16M | } else { | 76 | 332 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 332 | to) | 78 | 332 | .insert_default(); | 79 | 332 | } | 80 | 1.16M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 7.84k | void insert_result_into(IColumn& to) const { | 71 | 7.84k | if (has()) { | 72 | 7.73k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 7.73k | to) | 74 | 7.73k | .insert_value(value); | 75 | 7.73k | } else { | 76 | 112 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 112 | to) | 78 | 112 | .insert_default(); | 79 | 112 | } | 80 | 7.84k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 813 | void insert_result_into(IColumn& to) const { | 71 | 813 | if (has()) { | 72 | 811 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 811 | to) | 74 | 811 | .insert_value(value); | 75 | 811 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 813 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 655 | void insert_result_into(IColumn& to) const { | 71 | 655 | if (has()) { | 72 | 654 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 654 | to) | 74 | 654 | .insert_value(value); | 75 | 654 | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 655 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.25k | void insert_result_into(IColumn& to) const { | 71 | 1.25k | if (has()) { | 72 | 1.25k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.25k | to) | 74 | 1.25k | .insert_value(value); | 75 | 1.25k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.25k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 5.20k | void insert_result_into(IColumn& to) const { | 71 | 5.20k | if (has()) { | 72 | 5.20k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 5.20k | to) | 74 | 5.20k | .insert_value(value); | 75 | 5.20k | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 5.20k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 28.1k | void insert_result_into(IColumn& to) const { | 71 | 28.1k | if (has()) { | 72 | 28.1k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 28.1k | to) | 74 | 28.1k | .insert_value(value); | 75 | 28.1k | } else { | 76 | 36 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 36 | to) | 78 | 36 | .insert_default(); | 79 | 36 | } | 80 | 28.1k | } |
_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 | 723 | void insert_result_into(IColumn& to) const { | 71 | 723 | if (has()) { | 72 | 723 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 723 | to) | 74 | 723 | .insert_value(value); | 75 | 723 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 723 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 255 | void insert_result_into(IColumn& to) const { | 71 | 255 | if (has()) { | 72 | 255 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 255 | to) | 74 | 255 | .insert_value(value); | 75 | 255 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 255 | } |
|
81 | | |
82 | 2.05M | void reset() { has_value = false; }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5resetEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5resetEv Line | Count | Source | 82 | 2 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5resetEv Line | Count | Source | 82 | 3.90k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.26k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 1.26k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 4.02k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 6 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 60 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 60 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv Line | Count | Source | 82 | 127k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 173 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 295k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.05k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.48M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 85.0k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.21k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 932 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.82k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.31k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 30.5k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 842 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 432 | void reset() { has_value = false; } |
|
83 | | |
84 | 16.5k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
85 | 16.5k | buf.write_binary(has()); |
86 | 16.5k | if (has()) { |
87 | 16.4k | buf.write_binary(value); |
88 | 16.4k | } |
89 | 16.5k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 8 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 8 | buf.write_binary(has()); | 86 | 8 | if (has()) { | 87 | 8 | buf.write_binary(value); | 88 | 8 | } | 89 | 8 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 24 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 24 | buf.write_binary(has()); | 86 | 24 | if (has()) { | 87 | 22 | buf.write_binary(value); | 88 | 22 | } | 89 | 24 | } |
_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 | 58 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 58 | buf.write_binary(has()); | 86 | 58 | if (has()) { | 87 | 57 | buf.write_binary(value); | 88 | 57 | } | 89 | 58 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 9.76k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.76k | buf.write_binary(has()); | 86 | 9.76k | if (has()) { | 87 | 9.69k | buf.write_binary(value); | 88 | 9.69k | } | 89 | 9.76k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 217 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 217 | buf.write_binary(has()); | 86 | 217 | if (has()) { | 87 | 188 | buf.write_binary(value); | 88 | 188 | } | 89 | 217 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 52 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 52 | buf.write_binary(has()); | 86 | 52 | if (has()) { | 87 | 52 | buf.write_binary(value); | 88 | 52 | } | 89 | 52 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 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_13PrimitiveTypeE28EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 339 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 339 | buf.write_binary(has()); | 86 | 339 | if (has()) { | 87 | 336 | buf.write_binary(value); | 88 | 336 | } | 89 | 339 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
|
90 | | |
91 | 17.6k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 17.6k | buf.read_binary(has_value); |
93 | 17.6k | if (has()) { |
94 | 17.4k | buf.read_binary(value); |
95 | 17.4k | } |
96 | 17.6k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 8 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 8 | buf.read_binary(has_value); | 93 | 8 | if (has()) { | 94 | 8 | buf.read_binary(value); | 95 | 8 | } | 96 | 8 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 24 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 24 | buf.read_binary(has_value); | 93 | 24 | if (has()) { | 94 | 22 | buf.read_binary(value); | 95 | 22 | } | 96 | 24 | } |
_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 | 58 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 58 | buf.read_binary(has_value); | 93 | 58 | if (has()) { | 94 | 57 | buf.read_binary(value); | 95 | 57 | } | 96 | 58 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 9.78k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.78k | buf.read_binary(has_value); | 93 | 9.78k | if (has()) { | 94 | 9.70k | buf.read_binary(value); | 95 | 9.70k | } | 96 | 9.78k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 298 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 298 | buf.read_binary(has_value); | 93 | 298 | if (has()) { | 94 | 257 | buf.read_binary(value); | 95 | 257 | } | 96 | 298 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 47 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 47 | buf.read_binary(has_value); | 93 | 47 | if (has()) { | 94 | 47 | buf.read_binary(value); | 95 | 47 | } | 96 | 47 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 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_13PrimitiveTypeE28EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 321 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 321 | buf.read_binary(has_value); | 93 | 321 | if (has()) { | 94 | 318 | buf.read_binary(value); | 95 | 318 | } | 96 | 321 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
|
97 | | |
98 | 1.85M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.85M | has_value = true; |
100 | 1.85M | value = _value_at(column, row_num); |
101 | 1.85M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5 | has_value = true; | 100 | 5 | value = _value_at(column, row_num); | 101 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 14.0k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 14.0k | has_value = true; | 100 | 14.0k | value = _value_at(column, row_num); | 101 | 14.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.62k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.62k | has_value = true; | 100 | 1.62k | value = _value_at(column, row_num); | 101 | 1.62k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 560 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 560 | has_value = true; | 100 | 560 | value = _value_at(column, row_num); | 101 | 560 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 2.73k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.73k | has_value = true; | 100 | 2.73k | value = _value_at(column, row_num); | 101 | 2.73k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 102 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 102 | has_value = true; | 100 | 102 | value = _value_at(column, row_num); | 101 | 102 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 32 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 32 | has_value = true; | 100 | 32 | value = _value_at(column, row_num); | 101 | 32 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 30 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 30 | has_value = true; | 100 | 30 | value = _value_at(column, row_num); | 101 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 71.8k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 71.8k | has_value = true; | 100 | 71.8k | value = _value_at(column, row_num); | 101 | 71.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 92 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 92 | has_value = true; | 100 | 92 | value = _value_at(column, row_num); | 101 | 92 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 148k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 148k | has_value = true; | 100 | 148k | value = _value_at(column, row_num); | 101 | 148k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.20k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.20k | has_value = true; | 100 | 1.20k | value = _value_at(column, row_num); | 101 | 1.20k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.48M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.48M | has_value = true; | 100 | 1.48M | value = _value_at(column, row_num); | 101 | 1.48M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 69.9k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 69.9k | has_value = true; | 100 | 69.9k | value = _value_at(column, row_num); | 101 | 69.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.17k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.17k | has_value = true; | 100 | 1.17k | value = _value_at(column, row_num); | 101 | 1.17k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 997 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 997 | has_value = true; | 100 | 997 | value = _value_at(column, row_num); | 101 | 997 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.77k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.77k | has_value = true; | 100 | 1.77k | value = _value_at(column, row_num); | 101 | 1.77k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.27k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.27k | has_value = true; | 100 | 5.27k | value = _value_at(column, row_num); | 101 | 5.27k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 35.8k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 35.8k | has_value = true; | 100 | 35.8k | value = _value_at(column, row_num); | 101 | 35.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 12.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 12.2k | has_value = true; | 100 | 12.2k | value = _value_at(column, row_num); | 101 | 12.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.42k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.42k | has_value = true; | 100 | 1.42k | value = _value_at(column, row_num); | 101 | 1.42k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 312 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 312 | has_value = true; | 100 | 312 | value = _value_at(column, row_num); | 101 | 312 | } |
|
102 | | |
103 | 436k | void set(const Self& to, Arena&) { |
104 | 436k | DORIS_CHECK(to.has()); |
105 | 436k | has_value = true; |
106 | 436k | value = to.value; |
107 | 436k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 4.99k | void set(const Self& to, Arena&) { | 104 | 4.99k | DORIS_CHECK(to.has()); | 105 | 4.99k | has_value = true; | 106 | 4.99k | value = to.value; | 107 | 4.99k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 113 | void set(const Self& to, Arena&) { | 104 | 113 | DORIS_CHECK(to.has()); | 105 | 113 | has_value = true; | 106 | 113 | value = to.value; | 107 | 113 | } |
_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 | 29 | void set(const Self& to, Arena&) { | 104 | 29 | DORIS_CHECK(to.has()); | 105 | 29 | has_value = true; | 106 | 29 | value = to.value; | 107 | 29 | } |
_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 | 4 | void set(const Self& to, Arena&) { | 104 | 4 | DORIS_CHECK(to.has()); | 105 | 4 | has_value = true; | 106 | 4 | value = to.value; | 107 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 4 | void set(const Self& to, Arena&) { | 104 | 4 | DORIS_CHECK(to.has()); | 105 | 4 | has_value = true; | 106 | 4 | value = to.value; | 107 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 62.0k | void set(const Self& to, Arena&) { | 104 | 62.0k | DORIS_CHECK(to.has()); | 105 | 62.0k | has_value = true; | 106 | 62.0k | value = to.value; | 107 | 62.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 7 | void set(const Self& to, Arena&) { | 104 | 7 | DORIS_CHECK(to.has()); | 105 | 7 | has_value = true; | 106 | 7 | value = to.value; | 107 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 147k | void set(const Self& to, Arena&) { | 104 | 147k | DORIS_CHECK(to.has()); | 105 | 147k | has_value = true; | 106 | 147k | value = to.value; | 107 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 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_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 166k | void set(const Self& to, Arena&) { | 104 | 166k | DORIS_CHECK(to.has()); | 105 | 166k | has_value = true; | 106 | 166k | value = to.value; | 107 | 166k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 44.9k | void set(const Self& to, Arena&) { | 104 | 44.9k | DORIS_CHECK(to.has()); | 105 | 44.9k | has_value = true; | 106 | 44.9k | value = to.value; | 107 | 44.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 54 | void set(const Self& to, Arena&) { | 104 | 54 | DORIS_CHECK(to.has()); | 105 | 54 | has_value = true; | 106 | 54 | value = to.value; | 107 | 54 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 36 | void set(const Self& to, Arena&) { | 104 | 36 | DORIS_CHECK(to.has()); | 105 | 36 | has_value = true; | 106 | 36 | value = to.value; | 107 | 36 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 153 | void set(const Self& to, Arena&) { | 104 | 153 | DORIS_CHECK(to.has()); | 105 | 153 | has_value = true; | 106 | 153 | value = to.value; | 107 | 153 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 31 | void set(const Self& to, Arena&) { | 104 | 31 | DORIS_CHECK(to.has()); | 105 | 31 | has_value = true; | 106 | 31 | value = to.value; | 107 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 1.77k | void set(const Self& to, Arena&) { | 104 | 1.77k | DORIS_CHECK(to.has()); | 105 | 1.77k | has_value = true; | 106 | 1.77k | value = to.value; | 107 | 1.77k | } |
_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 | 34 | void set(const Self& to, Arena&) { | 104 | 34 | DORIS_CHECK(to.has()); | 105 | 34 | has_value = true; | 106 | 34 | value = to.value; | 107 | 34 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 16 | void set(const Self& to, Arena&) { | 104 | 16 | DORIS_CHECK(to.has()); | 105 | 16 | has_value = true; | 106 | 16 | value = to.value; | 107 | 16 | } |
|
108 | | |
109 | 8.79M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 8.79M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 456k | set(column, row_num, arena); |
112 | 456k | return true; |
113 | 456k | } |
114 | 8.33M | return false; |
115 | 8.79M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 5 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 5 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2 | set(column, row_num, arena); | 112 | 2 | return true; | 113 | 2 | } | 114 | 3 | return false; | 115 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.97M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.97M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2.39k | set(column, row_num, arena); | 112 | 2.39k | return true; | 113 | 2.39k | } | 114 | 1.97M | return false; | 115 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 14.4k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 14.4k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 417 | set(column, row_num, arena); | 112 | 417 | return true; | 113 | 417 | } | 114 | 14.0k | return false; | 115 | 14.4k | } |
_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 | 228 | set(column, row_num, arena); | 112 | 228 | return true; | 113 | 228 | } | 114 | 139 | return false; | 115 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.83k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.83k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1.33k | set(column, row_num, arena); | 112 | 1.33k | return true; | 113 | 1.33k | } | 114 | 1.50k | return false; | 115 | 2.83k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 100 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 100 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 99 | return false; | 115 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 14 | set(column, row_num, arena); | 112 | 14 | return true; | 113 | 14 | } | 114 | 17 | 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 | 304k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 304k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 35.7k | set(column, row_num, arena); | 112 | 35.7k | return true; | 113 | 35.7k | } | 114 | 269k | return false; | 115 | 304k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 194 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 194 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 45 | set(column, row_num, arena); | 112 | 45 | return true; | 113 | 45 | } | 114 | 149 | return false; | 115 | 194 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.7k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.7k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 73.8k | set(column, row_num, arena); | 112 | 73.8k | return true; | 113 | 73.8k | } | 114 | 12.8k | return false; | 115 | 86.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 816 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 816 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 185 | set(column, row_num, arena); | 112 | 185 | return true; | 113 | 185 | } | 114 | 631 | return false; | 115 | 816 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.56M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.56M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 286k | set(column, row_num, arena); | 112 | 286k | return true; | 113 | 286k | } | 114 | 3.28M | return false; | 115 | 3.56M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.7k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.7k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 23.3k | set(column, row_num, arena); | 112 | 23.3k | return true; | 113 | 23.3k | } | 114 | 63.4k | return false; | 115 | 86.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 616 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 616 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 206 | set(column, row_num, arena); | 112 | 206 | return true; | 113 | 206 | } | 114 | 410 | return false; | 115 | 616 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 438 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 438 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 97 | set(column, row_num, arena); | 112 | 97 | return true; | 113 | 97 | } | 114 | 341 | return false; | 115 | 438 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 17.3k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 17.3k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 387 | set(column, row_num, arena); | 112 | 387 | return true; | 113 | 387 | } | 114 | 17.0k | return false; | 115 | 17.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 169 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 169 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 64 | set(column, row_num, arena); | 112 | 64 | return true; | 113 | 64 | } | 114 | 105 | return false; | 115 | 169 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.71M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.71M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 30.9k | set(column, row_num, arena); | 112 | 30.9k | return true; | 113 | 30.9k | } | 114 | 2.68M | return false; | 115 | 2.71M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 4.09k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 4.09k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 4.09k | return false; | 115 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 9.30k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.30k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 573 | set(column, row_num, arena); | 112 | 573 | return true; | 113 | 573 | } | 114 | 8.73k | return false; | 115 | 9.30k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 372 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 372 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 136 | set(column, row_num, arena); | 112 | 136 | return true; | 113 | 136 | } | 114 | 236 | return false; | 115 | 372 | } |
|
116 | | |
117 | 402k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 402k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 203k | set(to, arena); |
120 | 203k | return true; |
121 | 203k | } |
122 | 198k | return false; |
123 | 402k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 72 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 72 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 48 | set(to, arena); | 120 | 48 | return true; | 121 | 48 | } | 122 | 24 | return false; | 123 | 72 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 33 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 33 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 27 | set(to, arena); | 120 | 27 | return true; | 121 | 27 | } | 122 | 6 | return false; | 123 | 33 | } |
_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_13PrimitiveTypeE42EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 22 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 22 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 16 | set(to, arena); | 120 | 16 | return true; | 121 | 16 | } | 122 | 6 | return false; | 123 | 22 | } |
_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_13PrimitiveTypeE36EE14set_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_13PrimitiveTypeE37EE14set_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_13PrimitiveTypeE44EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 61.5k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 61.5k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 30.3k | set(to, arena); | 120 | 30.3k | return true; | 121 | 30.3k | } | 122 | 31.2k | return false; | 123 | 61.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 2 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 2 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 1 | set(to, arena); | 120 | 1 | return true; | 121 | 1 | } | 122 | 1 | return false; | 123 | 2 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 147k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 147k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 73.7k | set(to, arena); | 120 | 73.7k | return true; | 121 | 73.7k | } | 122 | 73.5k | return false; | 123 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 0 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 148k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 148k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 74.4k | set(to, arena); | 120 | 74.4k | return true; | 121 | 74.4k | } | 122 | 73.7k | return false; | 123 | 148k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 40.1k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 40.1k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 20.0k | set(to, arena); | 120 | 20.0k | return true; | 121 | 20.0k | } | 122 | 20.0k | return false; | 123 | 40.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 10 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 10 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 10 | set(to, arena); | 120 | 10 | return true; | 121 | 10 | } | 122 | 0 | return false; | 123 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 1 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 116 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 116 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 114 | set(to, arena); | 120 | 114 | return true; | 121 | 114 | } | 122 | 2 | return false; | 123 | 116 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 18 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 18 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 17 | set(to, arena); | 120 | 17 | return true; | 121 | 17 | } | 122 | 1 | return false; | 123 | 18 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 780 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 780 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 727 | set(to, arena); | 120 | 727 | return true; | 121 | 727 | } | 122 | 53 | return false; | 123 | 780 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 4.09k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 4.09k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 4.09k | set(to, arena); | 120 | 4.09k | return true; | 121 | 4.09k | } | 122 | 0 | return false; | 123 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 1 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 11 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 11 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 7 | set(to, arena); | 120 | 7 | return true; | 121 | 7 | } | 122 | 4 | return false; | 123 | 11 | } |
|
124 | | |
125 | 9.57M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 9.57M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.36M | set(column, row_num, arena); |
128 | 1.36M | return true; |
129 | 1.36M | } |
130 | 8.21M | return false; |
131 | 9.57M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 5 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 5 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 3 | set(column, row_num, arena); | 128 | 3 | return true; | 129 | 3 | } | 130 | 2 | return false; | 131 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.97M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.97M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.12k | set(column, row_num, arena); | 128 | 5.12k | return true; | 129 | 5.12k | } | 130 | 1.97M | return false; | 131 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 14.7k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 14.7k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.17k | set(column, row_num, arena); | 128 | 1.17k | return true; | 129 | 1.17k | } | 130 | 13.5k | return false; | 131 | 14.7k | } |
_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 | 237 | set(column, row_num, arena); | 128 | 237 | return true; | 129 | 237 | } | 130 | 130 | return false; | 131 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.83k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.83k | 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.43k | return false; | 131 | 2.83k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 100 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 100 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 100 | set(column, row_num, arena); | 128 | 100 | return true; | 129 | 100 | } | 130 | 0 | return false; | 131 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 17 | set(column, row_num, arena); | 128 | 17 | return true; | 129 | 17 | } | 130 | 10 | 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 | 296k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 296k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 33.8k | set(column, row_num, arena); | 128 | 33.8k | return true; | 129 | 33.8k | } | 130 | 262k | return false; | 131 | 296k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 188 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 188 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 42 | set(column, row_num, arena); | 128 | 42 | return true; | 129 | 42 | } | 130 | 146 | return false; | 131 | 188 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 87.9k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 87.9k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 74.7k | set(column, row_num, arena); | 128 | 74.7k | return true; | 129 | 74.7k | } | 130 | 13.2k | return false; | 131 | 87.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.90k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.90k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.00k | set(column, row_num, arena); | 128 | 1.00k | return true; | 129 | 1.00k | } | 130 | 896 | return false; | 131 | 1.90k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.37M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.37M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.18M | set(column, row_num, arena); | 128 | 1.18M | return true; | 129 | 1.18M | } | 130 | 3.19M | return false; | 131 | 4.37M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 98.9k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 98.9k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 47.0k | set(column, row_num, arena); | 128 | 47.0k | return true; | 129 | 47.0k | } | 130 | 51.8k | return false; | 131 | 98.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.78k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.78k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 954 | set(column, row_num, arena); | 128 | 954 | return true; | 129 | 954 | } | 130 | 833 | return false; | 131 | 1.78k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.52k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.52k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 883 | set(column, row_num, arena); | 128 | 883 | return true; | 129 | 883 | } | 130 | 640 | return false; | 131 | 1.52k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.53k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.53k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.36k | set(column, row_num, arena); | 128 | 1.36k | return true; | 129 | 1.36k | } | 130 | 1.16k | return false; | 131 | 2.53k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 10.2k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 10.2k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.19k | set(column, row_num, arena); | 128 | 5.19k | return true; | 129 | 5.19k | } | 130 | 5.09k | return false; | 131 | 10.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.68M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.68M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.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.4k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.4k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 812 | set(column, row_num, arena); | 128 | 812 | return true; | 129 | 812 | } | 130 | 10.6k | return false; | 131 | 11.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 368 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 368 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 162 | set(column, row_num, arena); | 128 | 162 | return true; | 129 | 162 | } | 130 | 206 | return false; | 131 | 368 | } |
|
132 | | |
133 | 4.33k | bool is_equal_to(const IColumn& column, size_t row_num) const { |
134 | 4.33k | if (!has()) { |
135 | 0 | return false; |
136 | 0 | } |
137 | 4.33k | return Compare::equal(_value_at(column, row_num), value); |
138 | 4.33k | } 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 | 7 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 7 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 7 | return Compare::equal(_value_at(column, row_num), value); | 138 | 7 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 4.09k | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 4.09k | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 4.09k | return Compare::equal(_value_at(column, row_num), value); | 138 | 4.09k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 3 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 3 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 3 | return Compare::equal(_value_at(column, row_num), value); | 138 | 3 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 93 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 93 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 93 | return Compare::equal(_value_at(column, row_num), value); | 138 | 93 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 137 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 137 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 137 | return Compare::equal(_value_at(column, row_num), value); | 138 | 137 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 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_13PrimitiveTypeE20EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKNS_7IColumnEm |
139 | | |
140 | 32 | bool is_equal_to(const Self& to) const { |
141 | 32 | return has() && to.has() && Compare::equal(value, to.value); |
142 | 32 | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE11is_equal_toERKS2_ Line | Count | Source | 140 | 4 | bool is_equal_to(const Self& to) const { | 141 | 4 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 4 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKS2_ Line | Count | Source | 140 | 2 | bool is_equal_to(const Self& to) const { | 141 | 2 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 2 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKS2_ Line | Count | Source | 140 | 13 | bool is_equal_to(const Self& to) const { | 141 | 13 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 13 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKS2_ Line | Count | Source | 140 | 7 | bool is_equal_to(const Self& to) const { | 141 | 7 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 7 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKS2_ Line | Count | Source | 140 | 6 | bool is_equal_to(const Self& to) const { | 141 | 6 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 6 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKS2_ |
143 | | |
144 | 419k | bool set_if_greater(const Self& to, Arena& arena) { |
145 | 419k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
146 | 226k | set(to, arena); |
147 | 226k | return true; |
148 | 226k | } |
149 | 193k | return false; |
150 | 419k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 27 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 27 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 24 | set(to, arena); | 147 | 24 | return true; | 148 | 24 | } | 149 | 3 | return false; | 150 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 98 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 98 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 75 | set(to, arena); | 147 | 75 | return true; | 148 | 75 | } | 149 | 23 | return false; | 150 | 98 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 59 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 59 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 58 | set(to, arena); | 147 | 58 | return true; | 148 | 58 | } | 149 | 1 | return false; | 150 | 59 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 22 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 22 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 11 | set(to, arena); | 147 | 11 | return true; | 148 | 11 | } | 149 | 11 | return false; | 150 | 22 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1 | set(to, arena); | 147 | 1 | return true; | 148 | 1 | } | 149 | 0 | return false; | 150 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1 | set(to, arena); | 147 | 1 | return true; | 148 | 1 | } | 149 | 0 | return false; | 150 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1 | set(to, arena); | 147 | 1 | return true; | 148 | 1 | } | 149 | 0 | return false; | 150 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 61.5k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 61.5k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 30.7k | set(to, arena); | 147 | 30.7k | return true; | 148 | 30.7k | } | 149 | 30.8k | return false; | 150 | 61.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1 | set(to, arena); | 147 | 1 | return true; | 148 | 1 | } | 149 | 0 | return false; | 150 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 147k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 147k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 73.8k | set(to, arena); | 147 | 73.8k | return true; | 148 | 73.8k | } | 149 | 73.5k | return false; | 150 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 5 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 5 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 5 | set(to, arena); | 147 | 5 | return true; | 148 | 5 | } | 149 | 0 | return false; | 150 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 164k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 164k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 90.8k | set(to, arena); | 147 | 90.8k | return true; | 148 | 90.8k | } | 149 | 73.8k | return false; | 150 | 164k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 40.0k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 40.0k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 25.4k | set(to, arena); | 147 | 25.4k | return true; | 148 | 25.4k | } | 149 | 14.6k | return false; | 150 | 40.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 64 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 64 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 41 | set(to, arena); | 147 | 41 | return true; | 148 | 41 | } | 149 | 23 | return false; | 150 | 64 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 30 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 30 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 30 | set(to, arena); | 147 | 30 | return true; | 148 | 30 | } | 149 | 0 | return false; | 150 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 38 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 38 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 35 | set(to, arena); | 147 | 35 | return true; | 148 | 35 | } | 149 | 3 | return false; | 150 | 38 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 12 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 12 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 10 | set(to, arena); | 147 | 10 | return true; | 148 | 10 | } | 149 | 2 | return false; | 150 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1.24k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1.24k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1.04k | set(to, arena); | 147 | 1.04k | return true; | 148 | 1.04k | } | 149 | 200 | return false; | 150 | 1.24k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 4.09k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 4.09k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 4.09k | set(to, arena); | 147 | 4.09k | return true; | 148 | 4.09k | } | 149 | 0 | return false; | 150 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 52 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 52 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 28 | set(to, arena); | 147 | 28 | return true; | 148 | 28 | } | 149 | 24 | return false; | 150 | 52 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 10 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 10 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 6 | set(to, arena); | 147 | 6 | return true; | 148 | 6 | } | 149 | 4 | return false; | 150 | 10 | } |
|
151 | | }; |
152 | | |
153 | | /// Stores short strings inline and allocates a separate buffer for long strings. |
154 | | struct SingleValueDataString { |
155 | | private: |
156 | | using Self = SingleValueDataString; |
157 | | // Keep the signed 32-bit size because -1 represents an empty state in the serialized format. |
158 | | Int32 size = -1; /// -1 indicates that there is no value. |
159 | | Int32 capacity = 0; /// power of two or zero |
160 | | DorisUniqueBufferPtr<char> large_data; |
161 | | |
162 | | public: |
163 | | static constexpr Int32 AUTOMATIC_STORAGE_SIZE = 64; |
164 | | static constexpr Int32 MAX_SMALL_STRING_SIZE = |
165 | | AUTOMATIC_STORAGE_SIZE - sizeof(size) - sizeof(capacity) - sizeof(large_data); |
166 | | |
167 | | private: |
168 | | char small_data[MAX_SMALL_STRING_SIZE]; |
169 | | |
170 | | public: |
171 | | using ColVecType = ColumnString; |
172 | | static constexpr bool NeedCheckColumnType = true; |
173 | | |
174 | 58.6k | ~SingleValueDataString() = default; |
175 | | |
176 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
177 | | |
178 | 10.1M | bool has() const { return size >= 0; } |
179 | | |
180 | | private: |
181 | 10.0M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
182 | 10.0M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
183 | 10.0M | row_num); |
184 | 10.0M | } |
185 | | |
186 | 10.0M | const char* _data() const { |
187 | 10.0M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
188 | 10.0M | } |
189 | | |
190 | 10.0M | StringRef _value() const { return StringRef(_data(), size); } |
191 | | |
192 | 68.2k | void _set(StringRef source) { |
193 | 68.2k | Int32 value_size = cast_set<Int32>(source.size); |
194 | 68.2k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
195 | | /// Don't free large_data here. |
196 | 67.9k | size = value_size; |
197 | | |
198 | 67.9k | if (size > 0) { |
199 | 67.9k | memcpy(small_data, source.data, size); |
200 | 67.9k | } |
201 | 67.9k | } else { |
202 | 273 | if (capacity < value_size) { |
203 | | /// Don't free large_data here. |
204 | 162 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
205 | 162 | large_data = DorisUniqueBufferPtr<char>(capacity); |
206 | 162 | } |
207 | | |
208 | 273 | size = value_size; |
209 | 273 | memcpy(large_data.get(), source.data, size); |
210 | 273 | } |
211 | 68.2k | } |
212 | | |
213 | | public: |
214 | 15.3k | void insert_result_into(IColumn& to) const { |
215 | 15.3k | if (has()) { |
216 | 15.1k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
217 | 15.1k | } else { |
218 | 229 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
219 | 229 | } |
220 | 15.3k | } |
221 | | |
222 | 57.1k | void reset() { |
223 | 57.1k | size = -1; |
224 | 57.1k | capacity = 0; |
225 | 57.1k | large_data.reset(); |
226 | 57.1k | } |
227 | | |
228 | 17.8k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
229 | 17.8k | buf.write_binary(size); |
230 | 17.8k | if (has()) { |
231 | 17.8k | buf.write(_data(), size); |
232 | 17.8k | } |
233 | 17.8k | } |
234 | | |
235 | 18.6k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
236 | 18.6k | Int32 rhs_size; |
237 | 18.6k | buf.read_binary(rhs_size); |
238 | | |
239 | 18.6k | if (rhs_size >= 0) { |
240 | 18.6k | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
241 | | /// Don't free large_data here. |
242 | | |
243 | 18.3k | size = rhs_size; |
244 | | |
245 | 18.3k | if (size > 0) { |
246 | 18.2k | buf.read(small_data, size); |
247 | 18.2k | } |
248 | 18.3k | } else { |
249 | 288 | if (capacity < rhs_size) { |
250 | 288 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
251 | 288 | large_data = DorisUniqueBufferPtr<char>(capacity); |
252 | 288 | } |
253 | | |
254 | 288 | size = rhs_size; |
255 | 288 | buf.read(large_data.get(), size); |
256 | 288 | } |
257 | 18.6k | } else { |
258 | | /// Don't free large_data here. |
259 | 15 | size = rhs_size; |
260 | 15 | } |
261 | 18.6k | } |
262 | | |
263 | 52.1k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
264 | | |
265 | 16.0k | void set(const Self& to, Arena&) { |
266 | 16.0k | DORIS_CHECK(to.has()); |
267 | 16.0k | _set(to._value()); |
268 | 16.0k | } |
269 | | |
270 | 3.98M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
271 | 3.98M | if (!has() || _value_at(column, row_num) < _value()) { |
272 | 28.3k | set(column, row_num, arena); |
273 | 28.3k | return true; |
274 | 28.3k | } |
275 | 3.95M | return false; |
276 | 3.98M | } |
277 | | |
278 | 6.05M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
279 | 6.05M | if (!has() || _value_at(column, row_num) > _value()) { |
280 | 23.2k | set(column, row_num, arena); |
281 | 23.2k | return true; |
282 | 23.2k | } |
283 | 6.03M | return false; |
284 | 6.05M | } |
285 | | |
286 | 17.6k | bool set_if_smaller(const Self& to, Arena& arena) { |
287 | 17.6k | if (to.has() && (!has() || to._value() < _value())) { |
288 | 15.6k | set(to, arena); |
289 | 15.6k | return true; |
290 | 15.6k | } |
291 | 2.03k | return false; |
292 | 17.6k | } |
293 | | |
294 | 324 | bool set_if_greater(const Self& to, Arena& arena) { |
295 | 324 | if (to.has() && (!has() || to._value() > _value())) { |
296 | 135 | set(to, arena); |
297 | 135 | return true; |
298 | 135 | } |
299 | 189 | return false; |
300 | 324 | } |
301 | | |
302 | 20 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
303 | 20 | if (!has()) { |
304 | 0 | return false; |
305 | 0 | } |
306 | 20 | return _value_at(column, row_num) == _value(); |
307 | 20 | } |
308 | | |
309 | 8 | bool is_equal_to(const Self& to) const { return has() && to.has() && _value() == to._value(); } |
310 | | }; |
311 | | |
312 | | static_assert(sizeof(SingleValueDataString) == SingleValueDataString::AUTOMATIC_STORAGE_SIZE); |
313 | | |
314 | | /// Owns a materialized one-row column for values without a dedicated representation above. |
315 | | class SingleValueDataColumn { |
316 | | private: |
317 | | using Self = SingleValueDataColumn; |
318 | | |
319 | | ColumnPtr _value; |
320 | | |
321 | | public: |
322 | | static constexpr bool NeedCheckColumnType = false; |
323 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
324 | | |
325 | 46.0k | bool has() const { return _value.get() != nullptr; } |
326 | | |
327 | | size_t allocated_bytes() const { return has() ? _value->allocated_bytes() : 0; } |
328 | | |
329 | 17.5k | void set(const IColumn& column, size_t row_num) { |
330 | 17.5k | auto value = column.clone_empty(); |
331 | 17.5k | DCHECK(value->empty()); |
332 | 17.5k | value->reserve(1); |
333 | 17.5k | value->insert_from(column, row_num); |
334 | 17.5k | DCHECK_EQ(value->size(), 1); |
335 | 17.5k | _value = std::move(value); |
336 | 17.5k | } |
337 | | |
338 | 20.6k | void insert_result_into(IColumn& to) const { |
339 | 20.6k | if (has()) { |
340 | 20.6k | to.insert_from(*_value, 0); |
341 | 20.6k | } else { |
342 | 10 | to.insert_default(); |
343 | 10 | } |
344 | 20.6k | } |
345 | | |
346 | 4.18k | void reset() { _value.reset(); } |
347 | | |
348 | 82 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
349 | 82 | buf.write_binary(has()); |
350 | 82 | if (!has()) { |
351 | 0 | return; |
352 | 0 | } |
353 | 82 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
354 | 82 | buf.write_binary(size_bytes); |
355 | 82 | buf.resize(size_bytes); |
356 | 82 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
357 | 82 | DCHECK_EQ(p, buf.data() + size_bytes); |
358 | 82 | buf.add_offset(size_bytes); |
359 | 82 | } |
360 | | |
361 | 82 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
362 | 82 | bool has_value = false; |
363 | 82 | buf.read_binary(has_value); |
364 | 82 | if (!has_value) { |
365 | 0 | reset(); |
366 | 0 | return; |
367 | 0 | } |
368 | 82 | int64_t size = 0; |
369 | 82 | buf.read_binary(size); |
370 | 82 | auto value = data_type->create_column(); |
371 | 82 | value->reserve(1); |
372 | 82 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
373 | 82 | DCHECK_EQ(p, buf.data() + size); |
374 | 82 | buf.add_offset(size); |
375 | 82 | _value = std::move(value); |
376 | 82 | } |
377 | | |
378 | 338 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
379 | | |
380 | 61 | void set(const Self& to, Arena&) { |
381 | 61 | DORIS_CHECK(to.has()); |
382 | | // Stored one-row columns are immutable, so merged states can share ownership. |
383 | 61 | _value = to._value; |
384 | 61 | } |
385 | | |
386 | 98 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
387 | 98 | if (!has() || column.compare_at(row_num, 0, *_value, 1) < 0) { |
388 | 75 | set(column, row_num, arena); |
389 | 75 | return true; |
390 | 75 | } |
391 | 23 | return false; |
392 | 98 | } |
393 | | |
394 | 13 | bool set_if_smaller(const Self& to, Arena& arena) { |
395 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
396 | 8 | set(to, arena); |
397 | 8 | return true; |
398 | 8 | } |
399 | 5 | return false; |
400 | 13 | } |
401 | | |
402 | 96 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
403 | 96 | if (!has() || column.compare_at(row_num, 0, *_value, 1) > 0) { |
404 | 39 | set(column, row_num, arena); |
405 | 39 | return true; |
406 | 39 | } |
407 | 57 | return false; |
408 | 96 | } |
409 | | |
410 | 13 | bool set_if_greater(const Self& to, Arena& arena) { |
411 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
412 | 10 | set(to, arena); |
413 | 10 | return true; |
414 | 10 | } |
415 | 3 | return false; |
416 | 13 | } |
417 | | |
418 | 1 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
419 | 1 | return has() && column.compare_at(row_num, 0, *_value, 1) == 0; |
420 | 1 | } |
421 | | |
422 | 0 | bool is_equal_to(const Self& to) const { |
423 | 0 | return has() && to.has() && _value->compare_at(0, 0, *to._value, 1) == 0; |
424 | 0 | } |
425 | | }; |
426 | | |
427 | | } // namespace doris |