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.3M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 18.3M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 18.3M | TypeCheckOnRelease::DISABLE>(column) |
50 | 18.3M | .get_data()[row_num]; |
51 | 18.3M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE9_value_atERKNS_7IColumnEm _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 13 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 13 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 13 | TypeCheckOnRelease::DISABLE>(column) | 50 | 13 | .get_data()[row_num]; | 51 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.94M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.94M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.94M | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.94M | .get_data()[row_num]; | 51 | 3.94M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 31.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 31.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 31.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 31.4k | .get_data()[row_num]; | 51 | 31.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 917 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 917 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 917 | TypeCheckOnRelease::DISABLE>(column) | 50 | 917 | .get_data()[row_num]; | 51 | 917 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 6.03k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.03k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.03k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.03k | .get_data()[row_num]; | 51 | 6.03k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 300 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 300 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 300 | TypeCheckOnRelease::DISABLE>(column) | 50 | 300 | .get_data()[row_num]; | 51 | 300 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 69 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 69 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 69 | TypeCheckOnRelease::DISABLE>(column) | 50 | 69 | .get_data()[row_num]; | 51 | 69 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 66 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 66 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 66 | TypeCheckOnRelease::DISABLE>(column) | 50 | 66 | .get_data()[row_num]; | 51 | 66 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 605k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 605k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 605k | TypeCheckOnRelease::DISABLE>(column) | 50 | 605k | .get_data()[row_num]; | 51 | 605k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 777 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 777 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 777 | TypeCheckOnRelease::DISABLE>(column) | 50 | 777 | .get_data()[row_num]; | 51 | 777 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 176k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 176k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 176k | TypeCheckOnRelease::DISABLE>(column) | 50 | 176k | .get_data()[row_num]; | 51 | 176k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.84k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.84k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.84k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.84k | .get_data()[row_num]; | 51 | 3.84k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 7.93M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 7.93M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 7.93M | TypeCheckOnRelease::DISABLE>(column) | 50 | 7.93M | .get_data()[row_num]; | 51 | 7.93M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 224k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 224k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 224k | TypeCheckOnRelease::DISABLE>(column) | 50 | 224k | .get_data()[row_num]; | 51 | 224k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.42k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.42k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.42k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.42k | .get_data()[row_num]; | 51 | 3.42k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.99k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.99k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.99k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.99k | .get_data()[row_num]; | 51 | 2.99k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 21.1k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 21.1k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 21.1k | TypeCheckOnRelease::DISABLE>(column) | 50 | 21.1k | .get_data()[row_num]; | 51 | 21.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 10.5k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 10.5k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 10.5k | TypeCheckOnRelease::DISABLE>(column) | 50 | 10.5k | .get_data()[row_num]; | 51 | 10.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 5.38M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.38M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.38M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.38M | .get_data()[row_num]; | 51 | 5.38M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 22.1k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 22.1k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 22.1k | TypeCheckOnRelease::DISABLE>(column) | 50 | 22.1k | .get_data()[row_num]; | 51 | 22.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 790 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 790 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 790 | TypeCheckOnRelease::DISABLE>(column) | 50 | 790 | .get_data()[row_num]; | 51 | 790 | } |
|
52 | | |
53 | | // AggregateFunctionIf and state merging must distinguish an empty state from a default value. |
54 | | bool has_value = false; |
55 | | ValueType value {}; |
56 | | |
57 | | public: |
58 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
59 | | static constexpr bool NeedCheckColumnType = true; |
60 | | |
61 | 934k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 3.76k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 1.05k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 1.32k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.86k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 12 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EEC2Ev Line | Count | Source | 61 | 48 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EEC2Ev Line | Count | Source | 61 | 48 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EEC2Ev Line | Count | Source | 61 | 147k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 186 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 294k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 727 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 372k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 78.6k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 909 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 626 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.39k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 222 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 19.0k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 800 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 106 | SingleValueDataFixed() = default; |
|
62 | 21.5M | bool has() const { return has_value; }Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3hasEv _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3hasEv Line | Count | Source | 62 | 12 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3hasEv Line | Count | Source | 62 | 3.94M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3hasEv Line | Count | Source | 62 | 31.7k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3hasEv Line | Count | Source | 62 | 1.85k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3hasEv Line | Count | Source | 62 | 8.08k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3hasEv Line | Count | Source | 62 | 213 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3hasEv Line | Count | Source | 62 | 118 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3hasEv Line | Count | Source | 62 | 118 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3hasEv Line | Count | Source | 62 | 958k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 889 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 905k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 4.32k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.84M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 370k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 4.30k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 3.48k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 22.4k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 15.8k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.39M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3hasEv Line | Count | Source | 62 | 40.9k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3hasEv Line | Count | Source | 62 | 22.3k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 1.05k | bool has() const { return has_value; } |
|
63 | | |
64 | | static constexpr bool UsesFixedLengthStateSerialization = true; |
65 | | |
66 | 1.41M | void set_value_to_min() { value = Compare::min_value<ValueType>(); }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE16set_value_to_minEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE16set_value_to_minEv Line | Count | Source | 66 | 1 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE16set_value_to_minEv Line | Count | Source | 66 | 2.06k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 840 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 337 | 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 | 4 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 22 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 22 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 63.3k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 92 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_minEv Line | Count | Source | 66 | 147k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 906 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.13M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 42.1k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 934 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 856 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.36k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.24k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.50k | 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 | 463 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 147 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 632k | void set_value_to_max() { value = Compare::max_value<ValueType>(); }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE16set_value_to_maxEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE16set_value_to_maxEv Line | Count | Source | 68 | 1 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE16set_value_to_maxEv Line | Count | Source | 68 | 1.90k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 437 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 332 | 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 | 4 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_maxEv Line | Count | Source | 68 | 26 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_maxEv Line | Count | Source | 68 | 26 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_maxEv Line | Count | Source | 68 | 67.3k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 82 | 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 | 196 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 353k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 38.6k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 227 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 122 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 538 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 89 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 14.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 | 375 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 151 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
|
69 | | |
70 | 1.23M | void insert_result_into(IColumn& to) const { |
71 | 1.23M | if (has()) { |
72 | 1.23M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
73 | 1.23M | to) |
74 | 1.23M | .insert_value(value); |
75 | 1.23M | } else { |
76 | 894 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 894 | to) |
78 | 894 | .insert_default(); |
79 | 894 | } |
80 | 1.23M | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE18insert_result_intoERNS_7IColumnE _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 2 | void insert_result_into(IColumn& to) const { | 71 | 2 | if (has()) { | 72 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2 | to) | 74 | 2 | .insert_value(value); | 75 | 2 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 3.72k | void insert_result_into(IColumn& to) const { | 71 | 3.72k | if (has()) { | 72 | 3.67k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3.67k | to) | 74 | 3.67k | .insert_value(value); | 75 | 3.67k | } else { | 76 | 50 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 50 | to) | 78 | 50 | .insert_default(); | 79 | 50 | } | 80 | 3.72k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 884 | void insert_result_into(IColumn& to) const { | 71 | 884 | if (has()) { | 72 | 884 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 884 | to) | 74 | 884 | .insert_value(value); | 75 | 884 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 884 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 355 | void insert_result_into(IColumn& to) const { | 71 | 355 | if (has()) { | 72 | 355 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 355 | to) | 74 | 355 | .insert_value(value); | 75 | 355 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 355 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 2.31k | void insert_result_into(IColumn& to) const { | 71 | 2.31k | if (has()) { | 72 | 2.31k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2.31k | to) | 74 | 2.31k | .insert_value(value); | 75 | 2.31k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2.31k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 3 | void insert_result_into(IColumn& to) const { | 71 | 3 | if (has()) { | 72 | 3 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3 | to) | 74 | 3 | .insert_value(value); | 75 | 3 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 3 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 6.14k | void insert_result_into(IColumn& to) const { | 71 | 6.14k | if (has()) { | 72 | 6.14k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 6.14k | to) | 74 | 6.14k | .insert_value(value); | 75 | 6.14k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 6.14k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 98 | void insert_result_into(IColumn& to) const { | 71 | 98 | if (has()) { | 72 | 98 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 98 | to) | 74 | 98 | .insert_value(value); | 75 | 98 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 98 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.12k | void insert_result_into(IColumn& to) const { | 71 | 1.12k | if (has()) { | 72 | 1.11k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.11k | to) | 74 | 1.11k | .insert_value(value); | 75 | 1.11k | } else { | 76 | 10 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 10 | to) | 78 | 10 | .insert_default(); | 79 | 10 | } | 80 | 1.12k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 870 | void insert_result_into(IColumn& to) const { | 71 | 870 | if (has()) { | 72 | 868 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 868 | to) | 74 | 868 | .insert_value(value); | 75 | 868 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 870 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.18M | void insert_result_into(IColumn& to) const { | 71 | 1.18M | if (has()) { | 72 | 1.18M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.18M | to) | 74 | 1.18M | .insert_value(value); | 75 | 1.18M | } else { | 76 | 679 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 679 | to) | 78 | 679 | .insert_default(); | 79 | 679 | } | 80 | 1.18M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 7.31k | void insert_result_into(IColumn& to) const { | 71 | 7.31k | if (has()) { | 72 | 7.25k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 7.25k | to) | 74 | 7.25k | .insert_value(value); | 75 | 7.25k | } else { | 76 | 66 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 66 | to) | 78 | 66 | .insert_default(); | 79 | 66 | } | 80 | 7.31k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 879 | void insert_result_into(IColumn& to) const { | 71 | 879 | if (has()) { | 72 | 877 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 877 | to) | 74 | 877 | .insert_value(value); | 75 | 877 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 879 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 716 | void insert_result_into(IColumn& to) const { | 71 | 716 | if (has()) { | 72 | 716 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 716 | to) | 74 | 716 | .insert_value(value); | 75 | 716 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 716 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.31k | void insert_result_into(IColumn& to) const { | 71 | 1.31k | if (has()) { | 72 | 1.31k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.31k | to) | 74 | 1.31k | .insert_value(value); | 75 | 1.31k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.31k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 5.22k | void insert_result_into(IColumn& to) const { | 71 | 5.22k | if (has()) { | 72 | 5.22k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 5.22k | to) | 74 | 5.22k | .insert_value(value); | 75 | 5.22k | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 5.22k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 12.0k | void insert_result_into(IColumn& to) const { | 71 | 12.0k | if (has()) { | 72 | 11.9k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 11.9k | to) | 74 | 11.9k | .insert_value(value); | 75 | 11.9k | } else { | 76 | 84 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 84 | to) | 78 | 84 | .insert_default(); | 79 | 84 | } | 80 | 12.0k | } |
_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 | 743 | void insert_result_into(IColumn& to) const { | 71 | 743 | if (has()) { | 72 | 743 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 743 | to) | 74 | 743 | .insert_value(value); | 75 | 743 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 743 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 255 | void insert_result_into(IColumn& to) const { | 71 | 255 | if (has()) { | 72 | 255 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 255 | to) | 74 | 255 | .insert_value(value); | 75 | 255 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 255 | } |
|
81 | | |
82 | 2.04M | void reset() { has_value = false; }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5resetEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5resetEv Line | Count | Source | 82 | 2 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5resetEv Line | Count | Source | 82 | 3.97k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.27k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 668 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 4.02k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 8 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 48 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 48 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv Line | Count | Source | 82 | 130k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 174 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 294k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.10k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.49M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 77.6k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 978 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.90k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.33k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 18.4k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 847 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 298 | void reset() { has_value = false; } |
|
83 | | |
84 | 19.8k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
85 | 19.8k | buf.write_binary(has()); |
86 | 19.8k | if (has()) { |
87 | 19.8k | buf.write_binary(value); |
88 | 19.8k | } |
89 | 19.8k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 10 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 10 | buf.write_binary(has()); | 86 | 10 | if (has()) { | 87 | 10 | buf.write_binary(value); | 88 | 10 | } | 89 | 10 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 16 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 16 | buf.write_binary(has()); | 86 | 16 | if (has()) { | 87 | 16 | buf.write_binary(value); | 88 | 16 | } | 89 | 16 | } |
_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 | 9.60k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.60k | buf.write_binary(has()); | 86 | 9.60k | if (has()) { | 87 | 9.60k | buf.write_binary(value); | 88 | 9.60k | } | 89 | 9.60k | } |
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 | 58 | buf.write_binary(value); | 88 | 58 | } | 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.52k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.52k | buf.write_binary(has()); | 86 | 9.52k | if (has()) { | 87 | 9.52k | buf.write_binary(value); | 88 | 9.52k | } | 89 | 9.52k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 118 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 118 | buf.write_binary(has()); | 86 | 118 | if (has()) { | 87 | 118 | buf.write_binary(value); | 88 | 118 | } | 89 | 118 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 55 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 55 | buf.write_binary(has()); | 86 | 55 | if (has()) { | 87 | 55 | buf.write_binary(value); | 88 | 55 | } | 89 | 55 | } |
_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 | 338 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 338 | buf.write_binary(has()); | 86 | 338 | if (has()) { | 87 | 338 | buf.write_binary(value); | 88 | 338 | } | 89 | 338 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
|
90 | | |
91 | 20.7k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 20.7k | buf.read_binary(has_value); |
93 | 20.7k | if (has()) { |
94 | 20.7k | buf.read_binary(value); |
95 | 20.7k | } |
96 | 20.7k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 10 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 10 | buf.read_binary(has_value); | 93 | 10 | if (has()) { | 94 | 10 | buf.read_binary(value); | 95 | 10 | } | 96 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 16 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 16 | buf.read_binary(has_value); | 93 | 16 | if (has()) { | 94 | 16 | buf.read_binary(value); | 95 | 16 | } | 96 | 16 | } |
_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 | 10.5k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 10.5k | buf.read_binary(has_value); | 93 | 10.5k | if (has()) { | 94 | 10.5k | buf.read_binary(value); | 95 | 10.5k | } | 96 | 10.5k | } |
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 | 58 | buf.read_binary(value); | 95 | 58 | } | 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.48k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.48k | buf.read_binary(has_value); | 93 | 9.48k | if (has()) { | 94 | 9.46k | buf.read_binary(value); | 95 | 9.46k | } | 96 | 9.48k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 119 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 119 | buf.read_binary(has_value); | 93 | 119 | if (has()) { | 94 | 119 | buf.read_binary(value); | 95 | 119 | } | 96 | 119 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 52 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 52 | buf.read_binary(has_value); | 93 | 52 | if (has()) { | 94 | 52 | buf.read_binary(value); | 95 | 52 | } | 96 | 52 | } |
_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 | 316 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 316 | buf.read_binary(has_value); | 93 | 316 | if (has()) { | 94 | 316 | buf.read_binary(value); | 95 | 316 | } | 96 | 316 | } |
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.77M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.77M | has_value = true; |
100 | 1.77M | value = _value_at(column, row_num); |
101 | 1.77M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5 | has_value = true; | 100 | 5 | value = _value_at(column, row_num); | 101 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 7.69k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 7.69k | has_value = true; | 100 | 7.69k | value = _value_at(column, row_num); | 101 | 7.69k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_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_13PrimitiveTypeE43EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 556 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 556 | has_value = true; | 100 | 556 | value = _value_at(column, row_num); | 101 | 556 | } |
_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 | 29 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 29 | has_value = true; | 100 | 29 | value = _value_at(column, row_num); | 101 | 29 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 71.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 71.2k | has_value = true; | 100 | 71.2k | value = _value_at(column, row_num); | 101 | 71.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 108 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 108 | has_value = true; | 100 | 108 | value = _value_at(column, row_num); | 101 | 108 | } |
_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.29k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.29k | has_value = true; | 100 | 1.29k | value = _value_at(column, row_num); | 101 | 1.29k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.41M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.41M | has_value = true; | 100 | 1.41M | value = _value_at(column, row_num); | 101 | 1.41M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 85.1k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 85.1k | has_value = true; | 100 | 85.1k | value = _value_at(column, row_num); | 101 | 85.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.25k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.25k | has_value = true; | 100 | 1.25k | value = _value_at(column, row_num); | 101 | 1.25k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.07k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.07k | has_value = true; | 100 | 1.07k | value = _value_at(column, row_num); | 101 | 1.07k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.87k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.87k | has_value = true; | 100 | 1.87k | value = _value_at(column, row_num); | 101 | 1.87k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.30k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.30k | has_value = true; | 100 | 5.30k | value = _value_at(column, row_num); | 101 | 5.30k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 21.4k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 21.4k | has_value = true; | 100 | 21.4k | value = _value_at(column, row_num); | 101 | 21.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 12.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 12.2k | has_value = true; | 100 | 12.2k | value = _value_at(column, row_num); | 101 | 12.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.44k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.44k | has_value = true; | 100 | 1.44k | value = _value_at(column, row_num); | 101 | 1.44k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 305 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 305 | has_value = true; | 100 | 305 | value = _value_at(column, row_num); | 101 | 305 | } |
|
102 | | |
103 | 429k | void set(const Self& to, Arena&) { |
104 | 429k | DORIS_CHECK(to.has()); |
105 | 429k | has_value = true; |
106 | 429k | value = to.value; |
107 | 429k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 60 | void set(const Self& to, Arena&) { | 104 | 60 | DORIS_CHECK(to.has()); | 105 | 60 | has_value = true; | 106 | 60 | value = to.value; | 107 | 60 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 94 | void set(const Self& to, Arena&) { | 104 | 94 | DORIS_CHECK(to.has()); | 105 | 94 | has_value = true; | 106 | 94 | value = to.value; | 107 | 94 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 175 | void set(const Self& to, Arena&) { | 104 | 175 | DORIS_CHECK(to.has()); | 105 | 175 | has_value = true; | 106 | 175 | value = to.value; | 107 | 175 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 30 | void set(const Self& to, Arena&) { | 104 | 30 | DORIS_CHECK(to.has()); | 105 | 30 | has_value = true; | 106 | 30 | value = to.value; | 107 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 3 | void set(const Self& to, Arena&) { | 104 | 3 | DORIS_CHECK(to.has()); | 105 | 3 | has_value = true; | 106 | 3 | value = to.value; | 107 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 68.4k | void set(const Self& to, Arena&) { | 104 | 68.4k | DORIS_CHECK(to.has()); | 105 | 68.4k | has_value = true; | 106 | 68.4k | value = to.value; | 107 | 68.4k | } |
_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 | 145k | void set(const Self& to, Arena&) { | 104 | 145k | DORIS_CHECK(to.has()); | 105 | 145k | has_value = true; | 106 | 145k | value = to.value; | 107 | 145k | } |
_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 | 162k | void set(const Self& to, Arena&) { | 104 | 162k | DORIS_CHECK(to.has()); | 105 | 162k | has_value = true; | 106 | 162k | value = to.value; | 107 | 162k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 42.2k | void set(const Self& to, Arena&) { | 104 | 42.2k | DORIS_CHECK(to.has()); | 105 | 42.2k | has_value = true; | 106 | 42.2k | value = to.value; | 107 | 42.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 55 | void set(const Self& to, Arena&) { | 104 | 55 | DORIS_CHECK(to.has()); | 105 | 55 | has_value = true; | 106 | 55 | value = to.value; | 107 | 55 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 38 | void set(const Self& to, Arena&) { | 104 | 38 | DORIS_CHECK(to.has()); | 105 | 38 | has_value = true; | 106 | 38 | value = to.value; | 107 | 38 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 164 | void set(const Self& to, Arena&) { | 104 | 164 | DORIS_CHECK(to.has()); | 105 | 164 | has_value = true; | 106 | 164 | value = to.value; | 107 | 164 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 30 | void set(const Self& to, Arena&) { | 104 | 30 | DORIS_CHECK(to.has()); | 105 | 30 | has_value = true; | 106 | 30 | value = to.value; | 107 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 1.93k | void set(const Self& to, Arena&) { | 104 | 1.93k | DORIS_CHECK(to.has()); | 105 | 1.93k | has_value = true; | 106 | 1.93k | value = to.value; | 107 | 1.93k | } |
_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 | 37 | void set(const Self& to, Arena&) { | 104 | 37 | DORIS_CHECK(to.has()); | 105 | 37 | has_value = true; | 106 | 37 | value = to.value; | 107 | 37 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 15 | void set(const Self& to, Arena&) { | 104 | 15 | DORIS_CHECK(to.has()); | 105 | 15 | has_value = true; | 106 | 15 | value = to.value; | 107 | 15 | } |
|
108 | | |
109 | 8.72M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 8.72M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 442k | set(column, row_num, arena); |
112 | 442k | return true; |
113 | 442k | } |
114 | 8.28M | return false; |
115 | 8.72M | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 366 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 366 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 227 | set(column, row_num, arena); | 112 | 227 | return true; | 113 | 227 | } | 114 | 139 | return false; | 115 | 366 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 342 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 342 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 49 | set(column, row_num, arena); | 112 | 49 | return true; | 113 | 49 | } | 114 | 293 | return false; | 115 | 342 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 87.2k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 87.2k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 74.0k | set(column, row_num, arena); | 112 | 74.0k | return true; | 113 | 74.0k | } | 114 | 13.1k | return false; | 115 | 87.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.12k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.12k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 204 | set(column, row_num, arena); | 112 | 204 | return true; | 113 | 204 | } | 114 | 916 | return false; | 115 | 1.12k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.52M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.52M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 286k | set(column, row_num, arena); | 112 | 286k | return true; | 113 | 286k | } | 114 | 3.24M | return false; | 115 | 3.52M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.0k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.0k | 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 | 62.7k | return false; | 115 | 86.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 904 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 904 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 220 | set(column, row_num, arena); | 112 | 220 | return true; | 113 | 220 | } | 114 | 684 | return false; | 115 | 904 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 734 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 734 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 122 | set(column, row_num, arena); | 112 | 122 | return true; | 113 | 122 | } | 114 | 612 | return false; | 115 | 734 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 17.6k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 17.6k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 428 | set(column, row_num, arena); | 112 | 428 | return true; | 113 | 428 | } | 114 | 17.2k | return false; | 115 | 17.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 185 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 185 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 70 | set(column, row_num, arena); | 112 | 70 | return true; | 113 | 70 | } | 114 | 115 | return false; | 115 | 185 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.69M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.69M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 16.7k | set(column, row_num, arena); | 112 | 16.7k | return true; | 113 | 16.7k | } | 114 | 2.68M | return false; | 115 | 2.69M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 4.09k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 4.09k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 4.09k | return false; | 115 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 9.60k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.60k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 581 | set(column, row_num, arena); | 112 | 581 | return true; | 113 | 581 | } | 114 | 9.02k | return false; | 115 | 9.60k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 372 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 372 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 133 | set(column, row_num, arena); | 112 | 133 | return true; | 113 | 133 | } | 114 | 239 | return false; | 115 | 372 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.96M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.96M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2.36k | set(column, row_num, arena); | 112 | 2.36k | return true; | 113 | 2.36k | } | 114 | 1.96M | return false; | 115 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 15.0k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 15.0k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 462 | set(column, row_num, arena); | 112 | 462 | return true; | 113 | 462 | } | 114 | 14.5k | return false; | 115 | 15.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 5 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 5 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2 | set(column, row_num, arena); | 112 | 2 | return true; | 113 | 2 | } | 114 | 3 | return false; | 115 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 100 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 100 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 99 | return false; | 115 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.82k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.82k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1.33k | set(column, row_num, arena); | 112 | 1.33k | return true; | 113 | 1.33k | } | 114 | 1.48k | return false; | 115 | 2.82k | } |
_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 | 15 | set(column, row_num, arena); | 112 | 15 | return true; | 113 | 15 | } | 114 | 16 | 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 | 11 | set(column, row_num, arena); | 112 | 11 | return true; | 113 | 11 | } | 114 | 20 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 302k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 302k | 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 | 267k | return false; | 115 | 302k | } |
|
116 | | |
117 | 399k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 399k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 201k | set(to, arena); |
120 | 201k | return true; |
121 | 201k | } |
122 | 198k | return false; |
123 | 399k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 54 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 54 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 54 | set(to, arena); | 120 | 54 | return true; | 121 | 54 | } | 122 | 0 | return false; | 123 | 54 | } |
_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 | 146k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 146k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 73.4k | set(to, arena); | 120 | 73.4k | return true; | 121 | 73.4k | } | 122 | 73.5k | return false; | 123 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 0 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 147k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 147k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 73.6k | set(to, arena); | 120 | 73.6k | return true; | 121 | 73.6k | } | 122 | 73.9k | return false; | 123 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 36.6k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 36.6k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 16.4k | set(to, arena); | 120 | 16.4k | return true; | 121 | 16.4k | } | 122 | 20.2k | return false; | 123 | 36.6k | } |
_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 | 126 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 126 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 119 | set(to, arena); | 120 | 119 | return true; | 121 | 119 | } | 122 | 7 | return false; | 123 | 126 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 18 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 18 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 17 | set(to, arena); | 120 | 17 | return true; | 121 | 17 | } | 122 | 1 | return false; | 123 | 18 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 853 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 853 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 799 | set(to, arena); | 120 | 799 | return true; | 121 | 799 | } | 122 | 54 | return false; | 123 | 853 | } |
_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 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 6 | set(to, arena); | 120 | 6 | return true; | 121 | 6 | } | 122 | 1 | return false; | 123 | 7 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 65 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 65 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 43 | set(to, arena); | 120 | 43 | return true; | 121 | 43 | } | 122 | 22 | return false; | 123 | 65 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 29 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 29 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 22 | set(to, arena); | 120 | 22 | return true; | 121 | 22 | } | 122 | 7 | return false; | 123 | 29 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 1 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 1 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 1 | set(to, arena); | 120 | 1 | return true; | 121 | 1 | } | 122 | 0 | return false; | 123 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 24 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 24 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 12 | set(to, arena); | 120 | 12 | return true; | 121 | 12 | } | 122 | 12 | return false; | 123 | 24 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 6 | set(to, arena); | 120 | 6 | return true; | 121 | 6 | } | 122 | 1 | return false; | 123 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 6 | set(to, arena); | 120 | 6 | return true; | 121 | 6 | } | 122 | 1 | return false; | 123 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 63.4k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 63.4k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 32.5k | set(to, arena); | 120 | 32.5k | return true; | 121 | 32.5k | } | 122 | 30.8k | return false; | 123 | 63.4k | } |
|
124 | | |
125 | 9.52M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 9.52M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.30M | set(column, row_num, arena); |
128 | 1.30M | return true; |
129 | 1.30M | } |
130 | 8.21M | return false; |
131 | 9.52M | } _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 | 234 | set(column, row_num, arena); | 128 | 234 | return true; | 129 | 234 | } | 130 | 133 | return false; | 131 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 421 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 421 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 54 | set(column, row_num, arena); | 128 | 54 | return true; | 129 | 54 | } | 130 | 367 | return false; | 131 | 421 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 88.4k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 88.4k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 74.8k | set(column, row_num, arena); | 128 | 74.8k | return true; | 129 | 74.8k | } | 130 | 13.5k | return false; | 131 | 88.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.29k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.29k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.07k | set(column, row_num, arena); | 128 | 1.07k | return true; | 129 | 1.07k | } | 130 | 1.21k | return false; | 131 | 2.29k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.33M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.33M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.11M | set(column, row_num, arena); | 128 | 1.11M | return true; | 129 | 1.11M | } | 130 | 3.22M | return false; | 131 | 4.33M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 98.7k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 98.7k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 62.2k | set(column, row_num, arena); | 128 | 62.2k | return true; | 129 | 62.2k | } | 130 | 36.4k | return false; | 131 | 98.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.16k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.16k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.02k | set(column, row_num, arena); | 128 | 1.02k | return true; | 129 | 1.02k | } | 130 | 1.13k | return false; | 131 | 2.16k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.89k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.89k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 936 | set(column, row_num, arena); | 128 | 936 | return true; | 129 | 936 | } | 130 | 963 | return false; | 131 | 1.89k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.92k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.92k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.43k | set(column, row_num, arena); | 128 | 1.43k | return true; | 129 | 1.43k | } | 130 | 1.49k | return false; | 131 | 2.92k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 10.3k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 10.3k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.21k | set(column, row_num, arena); | 128 | 5.21k | return true; | 129 | 5.21k | } | 130 | 5.10k | return false; | 131 | 10.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.68M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.68M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.64k | set(column, row_num, arena); | 128 | 4.64k | return true; | 129 | 4.64k | } | 130 | 2.67M | return false; | 131 | 2.68M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.09k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.09k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.09k | set(column, row_num, arena); | 128 | 4.09k | return true; | 129 | 4.09k | } | 130 | 0 | return false; | 131 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 11.7k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.7k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 825 | set(column, row_num, arena); | 128 | 825 | return true; | 129 | 825 | } | 130 | 10.9k | return false; | 131 | 11.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 368 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 368 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 158 | set(column, row_num, arena); | 128 | 158 | return true; | 129 | 158 | } | 130 | 210 | return false; | 131 | 368 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.96M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.96M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.31k | set(column, row_num, arena); | 128 | 5.31k | return true; | 129 | 5.31k | } | 130 | 1.96M | return false; | 131 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 15.4k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 15.4k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.29k | set(column, row_num, arena); | 128 | 1.29k | return true; | 129 | 1.29k | } | 130 | 14.1k | return false; | 131 | 15.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 5 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 5 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 3 | set(column, row_num, arena); | 128 | 3 | return true; | 129 | 3 | } | 130 | 2 | return false; | 131 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 100 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 100 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 100 | set(column, row_num, arena); | 128 | 100 | return true; | 129 | 100 | } | 130 | 0 | return false; | 131 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.82k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.82k | 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.42k | return false; | 131 | 2.82k | } |
_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 | 16 | set(column, row_num, arena); | 128 | 16 | return true; | 129 | 16 | } | 130 | 11 | 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 | 17 | set(column, row_num, arena); | 128 | 17 | return true; | 129 | 17 | } | 130 | 10 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 294k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 294k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 33.2k | set(column, row_num, arena); | 128 | 33.2k | return true; | 129 | 33.2k | } | 130 | 261k | return false; | 131 | 294k | } |
|
132 | | |
133 | 4.20k | bool is_equal_to(const IColumn& column, size_t row_num) const { |
134 | 4.20k | if (!has()) { |
135 | 0 | return false; |
136 | 0 | } |
137 | 4.20k | return Compare::equal(_value_at(column, row_num), value); |
138 | 4.20k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 5 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 5 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 5 | return Compare::equal(_value_at(column, row_num), value); | 138 | 5 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 4.09k | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 4.09k | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 4.09k | return Compare::equal(_value_at(column, row_num), value); | 138 | 4.09k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 14 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 14 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 14 | return Compare::equal(_value_at(column, row_num), value); | 138 | 14 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 96 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 96 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 96 | return Compare::equal(_value_at(column, row_num), value); | 138 | 96 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKNS_7IColumnEm |
139 | | |
140 | 417k | bool set_if_greater(const Self& to, Arena& arena) { |
141 | 417k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
142 | 229k | set(to, arena); |
143 | 229k | return true; |
144 | 229k | } |
145 | 187k | return false; |
146 | 417k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 58 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 58 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 57 | set(to, arena); | 143 | 57 | return true; | 144 | 57 | } | 145 | 1 | return false; | 146 | 58 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 4 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 4 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4 | set(to, arena); | 143 | 4 | return true; | 144 | 4 | } | 145 | 0 | return false; | 146 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 147k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 147k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 73.3k | set(to, arena); | 143 | 73.3k | return true; | 144 | 73.3k | } | 145 | 73.7k | return false; | 146 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 5 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 5 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 0 | return false; | 146 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 163k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 163k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 89.6k | set(to, arena); | 143 | 89.6k | return true; | 144 | 89.6k | } | 145 | 73.9k | return false; | 146 | 163k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 37.6k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 37.6k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 28.1k | set(to, arena); | 143 | 28.1k | return true; | 144 | 28.1k | } | 145 | 9.48k | return false; | 146 | 37.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 59 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 59 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 42 | set(to, arena); | 143 | 42 | return true; | 144 | 42 | } | 145 | 17 | return false; | 146 | 59 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 35 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 35 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 32 | set(to, arena); | 143 | 32 | return true; | 144 | 32 | } | 145 | 3 | return false; | 146 | 35 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 43 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 43 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 40 | set(to, arena); | 143 | 40 | return true; | 144 | 40 | } | 145 | 3 | return false; | 146 | 43 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 12 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 12 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 9 | set(to, arena); | 143 | 9 | return true; | 144 | 9 | } | 145 | 3 | return false; | 146 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1.32k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1.32k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 1.13k | set(to, arena); | 143 | 1.13k | return true; | 144 | 1.13k | } | 145 | 192 | return false; | 146 | 1.32k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 4.09k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 4.09k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4.09k | set(to, arena); | 143 | 4.09k | return true; | 144 | 4.09k | } | 145 | 0 | return false; | 146 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 56 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 56 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 31 | set(to, arena); | 143 | 31 | return true; | 144 | 31 | } | 145 | 25 | return false; | 146 | 56 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 6 | set(to, arena); | 143 | 6 | return true; | 144 | 6 | } | 145 | 0 | return false; | 146 | 6 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 13 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 13 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 11 | set(to, arena); | 143 | 11 | return true; | 144 | 11 | } | 145 | 2 | return false; | 146 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 81 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 81 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 65 | set(to, arena); | 143 | 65 | return true; | 144 | 65 | } | 145 | 16 | return false; | 146 | 81 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 1 | set(to, arena); | 143 | 1 | return true; | 144 | 1 | } | 145 | 0 | return false; | 146 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 24 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 24 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 16 | set(to, arena); | 143 | 16 | return true; | 144 | 16 | } | 145 | 8 | return false; | 146 | 24 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 1 | return false; | 146 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 1 | return false; | 146 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 63.5k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 63.5k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 33.0k | set(to, arena); | 143 | 33.0k | return true; | 144 | 33.0k | } | 145 | 30.5k | return false; | 146 | 63.5k | } |
|
147 | | }; |
148 | | |
149 | | /// Stores short strings inline and allocates a separate buffer for long strings. |
150 | | struct SingleValueDataString { |
151 | | private: |
152 | | using Self = SingleValueDataString; |
153 | | // Keep the signed 32-bit size because -1 represents an empty state in the serialized format. |
154 | | Int32 size = -1; /// -1 indicates that there is no value. |
155 | | Int32 capacity = 0; /// power of two or zero |
156 | | DorisUniqueBufferPtr<char> large_data; |
157 | | |
158 | | public: |
159 | | static constexpr Int32 AUTOMATIC_STORAGE_SIZE = 64; |
160 | | static constexpr Int32 MAX_SMALL_STRING_SIZE = |
161 | | AUTOMATIC_STORAGE_SIZE - sizeof(size) - sizeof(capacity) - sizeof(large_data); |
162 | | |
163 | | private: |
164 | | char small_data[MAX_SMALL_STRING_SIZE]; |
165 | | |
166 | | public: |
167 | | using ColVecType = ColumnString; |
168 | | static constexpr bool NeedCheckColumnType = true; |
169 | | |
170 | 16.7k | ~SingleValueDataString() = default; |
171 | | |
172 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
173 | | |
174 | 9.97M | bool has() const { return size >= 0; } |
175 | | |
176 | | private: |
177 | 9.97M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
178 | 9.97M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
179 | 9.97M | row_num); |
180 | 9.97M | } |
181 | | |
182 | 9.96M | const char* _data() const { |
183 | 9.96M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
184 | 9.96M | } |
185 | | |
186 | 9.95M | StringRef _value() const { return StringRef(_data(), size); } |
187 | | |
188 | 27.7k | void _set(StringRef source) { |
189 | 27.7k | Int32 value_size = cast_set<Int32>(source.size); |
190 | 27.7k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
191 | | /// Don't free large_data here. |
192 | 27.4k | size = value_size; |
193 | | |
194 | 27.4k | if (size > 0) { |
195 | 27.4k | memcpy(small_data, source.data, size); |
196 | 27.4k | } |
197 | 27.4k | } else { |
198 | 296 | if (capacity < value_size) { |
199 | | /// Don't free large_data here. |
200 | 158 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
201 | 158 | large_data = DorisUniqueBufferPtr<char>(capacity); |
202 | 158 | } |
203 | | |
204 | 296 | size = value_size; |
205 | 296 | memcpy(large_data.get(), source.data, size); |
206 | 296 | } |
207 | 27.7k | } |
208 | | |
209 | | public: |
210 | 14.7k | void insert_result_into(IColumn& to) const { |
211 | 14.7k | if (has()) { |
212 | 14.5k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
213 | 14.5k | } else { |
214 | 216 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
215 | 216 | } |
216 | 14.7k | } |
217 | | |
218 | 15.9k | void reset() { |
219 | 15.9k | size = -1; |
220 | 15.9k | capacity = 0; |
221 | 15.9k | large_data.reset(); |
222 | 15.9k | } |
223 | | |
224 | 632 | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
225 | 632 | buf.write_binary(size); |
226 | 632 | if (has()) { |
227 | 628 | buf.write(_data(), size); |
228 | 628 | } |
229 | 632 | } |
230 | | |
231 | 615 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
232 | 615 | Int32 rhs_size; |
233 | 615 | buf.read_binary(rhs_size); |
234 | | |
235 | 615 | if (rhs_size >= 0) { |
236 | 611 | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
237 | | /// Don't free large_data here. |
238 | | |
239 | 604 | size = rhs_size; |
240 | | |
241 | 604 | if (size > 0) { |
242 | 602 | buf.read(small_data, size); |
243 | 602 | } |
244 | 604 | } else { |
245 | 7 | if (capacity < rhs_size) { |
246 | 7 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
247 | 7 | large_data = DorisUniqueBufferPtr<char>(capacity); |
248 | 7 | } |
249 | | |
250 | 7 | size = rhs_size; |
251 | 7 | buf.read(large_data.get(), size); |
252 | 7 | } |
253 | 611 | } else { |
254 | | /// Don't free large_data here. |
255 | 4 | size = rhs_size; |
256 | 4 | } |
257 | 615 | } |
258 | | |
259 | 27.2k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
260 | | |
261 | 467 | void set(const Self& to, Arena&) { |
262 | 467 | DORIS_CHECK(to.has()); |
263 | 467 | _set(to._value()); |
264 | 467 | } |
265 | | |
266 | 3.94M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
267 | 3.94M | if (!has() || _value_at(column, row_num) < _value()) { |
268 | 3.48k | set(column, row_num, arena); |
269 | 3.48k | return true; |
270 | 3.48k | } |
271 | 3.94M | return false; |
272 | 3.94M | } |
273 | | |
274 | 6.01M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
275 | 6.01M | if (!has() || _value_at(column, row_num) > _value()) { |
276 | 23.2k | set(column, row_num, arena); |
277 | 23.2k | return true; |
278 | 23.2k | } |
279 | 5.99M | return false; |
280 | 6.01M | } |
281 | | |
282 | 87 | bool set_if_smaller(const Self& to, Arena& arena) { |
283 | 87 | if (to.has() && (!has() || to._value() < _value())) { |
284 | 78 | set(to, arena); |
285 | 78 | return true; |
286 | 78 | } |
287 | 9 | return false; |
288 | 87 | } |
289 | | |
290 | 86 | bool set_if_greater(const Self& to, Arena& arena) { |
291 | 86 | if (to.has() && (!has() || to._value() > _value())) { |
292 | 81 | set(to, arena); |
293 | 81 | return true; |
294 | 81 | } |
295 | 5 | return false; |
296 | 86 | } |
297 | | |
298 | 0 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
299 | 0 | if (!has()) { |
300 | 0 | return false; |
301 | 0 | } |
302 | 0 | return _value_at(column, row_num) == _value(); |
303 | 0 | } |
304 | | }; |
305 | | |
306 | | static_assert(sizeof(SingleValueDataString) == SingleValueDataString::AUTOMATIC_STORAGE_SIZE); |
307 | | |
308 | | /// Owns a materialized one-row column for values without a dedicated representation above. |
309 | | class SingleValueDataColumn { |
310 | | private: |
311 | | using Self = SingleValueDataColumn; |
312 | | |
313 | | ColumnPtr _value; |
314 | | |
315 | | public: |
316 | | static constexpr bool NeedCheckColumnType = false; |
317 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
318 | | |
319 | 46.0k | bool has() const { return _value.get() != nullptr; } |
320 | | |
321 | | size_t allocated_bytes() const { return has() ? _value->allocated_bytes() : 0; } |
322 | | |
323 | 17.5k | void set(const IColumn& column, size_t row_num) { |
324 | 17.5k | auto value = column.clone_empty(); |
325 | 17.5k | DCHECK(value->empty()); |
326 | 17.5k | value->reserve(1); |
327 | 17.5k | value->insert_from(column, row_num); |
328 | 17.5k | DCHECK_EQ(value->size(), 1); |
329 | 17.5k | _value = std::move(value); |
330 | 17.5k | } |
331 | | |
332 | 20.6k | void insert_result_into(IColumn& to) const { |
333 | 20.6k | if (has()) { |
334 | 20.6k | to.insert_from(*_value, 0); |
335 | 20.6k | } else { |
336 | 9 | to.insert_default(); |
337 | 9 | } |
338 | 20.6k | } |
339 | | |
340 | 4.19k | void reset() { _value.reset(); } |
341 | | |
342 | 82 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
343 | 82 | buf.write_binary(has()); |
344 | 82 | if (!has()) { |
345 | 0 | return; |
346 | 0 | } |
347 | 82 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
348 | 82 | buf.write_binary(size_bytes); |
349 | 82 | buf.resize(size_bytes); |
350 | 82 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
351 | 82 | DCHECK_EQ(p, buf.data() + size_bytes); |
352 | 82 | buf.add_offset(size_bytes); |
353 | 82 | } |
354 | | |
355 | 82 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
356 | 82 | bool has_value = false; |
357 | 82 | buf.read_binary(has_value); |
358 | 82 | if (!has_value) { |
359 | 0 | reset(); |
360 | 0 | return; |
361 | 0 | } |
362 | 82 | int64_t size = 0; |
363 | 82 | buf.read_binary(size); |
364 | 82 | auto value = data_type->create_column(); |
365 | 82 | value->reserve(1); |
366 | 82 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
367 | 82 | DCHECK_EQ(p, buf.data() + size); |
368 | 82 | buf.add_offset(size); |
369 | 82 | _value = std::move(value); |
370 | 82 | } |
371 | | |
372 | 339 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
373 | | |
374 | 63 | void set(const Self& to, Arena&) { |
375 | 63 | DORIS_CHECK(to.has()); |
376 | | // Stored one-row columns are immutable, so merged states can share ownership. |
377 | 63 | _value = to._value; |
378 | 63 | } |
379 | | |
380 | 98 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
381 | 98 | if (!has() || column.compare_at(row_num, 0, *_value, 1) < 0) { |
382 | 75 | set(column, row_num, arena); |
383 | 75 | return true; |
384 | 75 | } |
385 | 23 | return false; |
386 | 98 | } |
387 | | |
388 | 13 | bool set_if_smaller(const Self& to, Arena& arena) { |
389 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
390 | 9 | set(to, arena); |
391 | 9 | return true; |
392 | 9 | } |
393 | 4 | return false; |
394 | 13 | } |
395 | | |
396 | 96 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
397 | 96 | if (!has() || column.compare_at(row_num, 0, *_value, 1) > 0) { |
398 | 39 | set(column, row_num, arena); |
399 | 39 | return true; |
400 | 39 | } |
401 | 57 | return false; |
402 | 96 | } |
403 | | |
404 | 13 | bool set_if_greater(const Self& to, Arena& arena) { |
405 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
406 | 9 | set(to, arena); |
407 | 9 | return true; |
408 | 9 | } |
409 | 4 | return false; |
410 | 13 | } |
411 | | |
412 | 1 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
413 | 1 | return has() && column.compare_at(row_num, 0, *_value, 1) == 0; |
414 | 1 | } |
415 | | }; |
416 | | |
417 | | } // namespace doris |