be/src/exprs/aggregate/single_value_data.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <cstring> |
21 | | |
22 | | #include "common/cast_set.h" |
23 | | #include "common/compare.h" |
24 | | #include "common/logging.h" |
25 | | #include "core/assert_cast.h" |
26 | | #include "core/column/column.h" |
27 | | #include "core/column/column_decimal.h" |
28 | | #include "core/column/column_string.h" |
29 | | #include "core/custom_allocator.h" |
30 | | #include "core/data_type/data_type.h" |
31 | | #include "core/data_type/primitive_type.h" |
32 | | #include "core/string_buffer.hpp" |
33 | | #include "core/string_ref.h" |
34 | | #include "core/types.h" |
35 | | |
36 | | namespace doris { |
37 | | |
38 | | class Arena; |
39 | | |
40 | | /// Stores one fixed-size scalar value directly in the aggregate state. |
41 | | template <PrimitiveType T> |
42 | | struct SingleValueDataFixed { |
43 | | private: |
44 | | using Self = SingleValueDataFixed; |
45 | | using ValueType = typename PrimitiveTypeTraits<T>::CppType; |
46 | | |
47 | 18.5M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 18.5M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 18.5M | TypeCheckOnRelease::DISABLE>(column) |
50 | 18.5M | .get_data()[row_num]; |
51 | 18.5M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE9_value_atERKNS_7IColumnEm _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 13 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 13 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 13 | TypeCheckOnRelease::DISABLE>(column) | 50 | 13 | .get_data()[row_num]; | 51 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.96M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.96M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.96M | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.96M | .get_data()[row_num]; | 51 | 3.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 29.9k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 29.9k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 29.9k | TypeCheckOnRelease::DISABLE>(column) | 50 | 29.9k | .get_data()[row_num]; | 51 | 29.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 920 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 920 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 920 | TypeCheckOnRelease::DISABLE>(column) | 50 | 920 | .get_data()[row_num]; | 51 | 920 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 6.12k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.12k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.12k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.12k | .get_data()[row_num]; | 51 | 6.12k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 300 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 300 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 300 | TypeCheckOnRelease::DISABLE>(column) | 50 | 300 | .get_data()[row_num]; | 51 | 300 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 69 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 69 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 69 | TypeCheckOnRelease::DISABLE>(column) | 50 | 69 | .get_data()[row_num]; | 51 | 69 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 67 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 67 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 67 | TypeCheckOnRelease::DISABLE>(column) | 50 | 67 | .get_data()[row_num]; | 51 | 67 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 607k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 607k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 607k | TypeCheckOnRelease::DISABLE>(column) | 50 | 607k | .get_data()[row_num]; | 51 | 607k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 395 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 395 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 395 | TypeCheckOnRelease::DISABLE>(column) | 50 | 395 | .get_data()[row_num]; | 51 | 395 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 174k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 174k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 174k | TypeCheckOnRelease::DISABLE>(column) | 50 | 174k | .get_data()[row_num]; | 51 | 174k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.12k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.12k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.12k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.12k | .get_data()[row_num]; | 51 | 3.12k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.03M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.03M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.03M | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.03M | .get_data()[row_num]; | 51 | 8.03M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 220k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 220k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 220k | TypeCheckOnRelease::DISABLE>(column) | 50 | 220k | .get_data()[row_num]; | 51 | 220k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.71k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.71k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.71k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.71k | .get_data()[row_num]; | 51 | 2.71k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.28k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.28k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.28k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.28k | .get_data()[row_num]; | 51 | 2.28k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 10.5k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 10.5k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 10.5k | TypeCheckOnRelease::DISABLE>(column) | 50 | 10.5k | .get_data()[row_num]; | 51 | 10.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 5.39M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.39M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.39M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.39M | .get_data()[row_num]; | 51 | 5.39M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 21.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 21.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 21.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 21.4k | .get_data()[row_num]; | 51 | 21.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 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 | 940k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 8.96k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 962 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 714 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.82k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 21 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EEC2Ev Line | Count | Source | 61 | 60 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EEC2Ev Line | Count | Source | 61 | 60 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EEC2Ev Line | Count | Source | 61 | 152k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 199 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 293k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 730 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 356k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 83.7k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 1.12k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 632 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.39k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 239 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 28.3k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 883 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 205 | SingleValueDataFixed() = default; |
|
62 | 21.7M | bool has() const { return has_value; }Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3hasEv _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3hasEv Line | Count | Source | 62 | 12 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3hasEv Line | Count | Source | 62 | 3.98M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3hasEv Line | Count | Source | 62 | 30.2k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3hasEv Line | Count | Source | 62 | 1.49k | 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 | 117 | 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 | 959k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 524 | 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 | 3.56k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.91M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 395k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 3.58k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 2.73k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 21.6k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 15.7k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.42M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3hasEv Line | Count | Source | 62 | 40.9k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3hasEv Line | Count | Source | 62 | 21.6k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 1.07k | bool has() const { return has_value; } |
|
63 | | |
64 | | static constexpr bool UsesFixedLengthStateSerialization = true; |
65 | | |
66 | 1.40M | void set_value_to_min() { value = Compare::min_value<ValueType>(); }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE16set_value_to_minEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE16set_value_to_minEv Line | Count | Source | 66 | 1 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE16set_value_to_minEv Line | Count | Source | 66 | 2.01k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 704 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 215 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_minEv Line | Count | Source | 66 | 1.98k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_minEv Line | Count | Source | 66 | 7 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 25 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 25 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 64.2k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 88 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_minEv Line | Count | Source | 66 | 147k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 849 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.12M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 43.8k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 1.00k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 802 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.32k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.20k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.49k | 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 | 482 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 166 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 644k | void set_value_to_max() { value = Compare::max_value<ValueType>(); }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE16set_value_to_maxEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE16set_value_to_maxEv Line | Count | Source | 68 | 1 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE16set_value_to_maxEv Line | Count | Source | 68 | 1.91k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 409 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 213 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_maxEv Line | Count | Source | 68 | 1.98k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_maxEv Line | Count | Source | 68 | 7 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_maxEv Line | Count | Source | 68 | 24 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_maxEv Line | Count | Source | 68 | 24 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_maxEv Line | Count | Source | 68 | 68.2k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 81 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_maxEv Line | Count | Source | 68 | 147k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_maxEv Line | Count | Source | 68 | 186 | 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 | 41.1k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 308 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 112 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 514 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 77 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 24.0k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE16set_value_to_maxEv Line | Count | Source | 68 | 4.09k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE16set_value_to_maxEv Line | Count | Source | 68 | 372 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 165 | 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 | 335 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 335 | to) |
78 | 335 | .insert_default(); |
79 | 335 | } |
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 | 8.51k | void insert_result_into(IColumn& to) const { | 71 | 8.51k | if (has()) { | 72 | 8.46k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.46k | to) | 74 | 8.46k | .insert_value(value); | 75 | 8.46k | } else { | 76 | 50 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 50 | to) | 78 | 50 | .insert_default(); | 79 | 50 | } | 80 | 8.51k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 738 | void insert_result_into(IColumn& to) const { | 71 | 738 | if (has()) { | 72 | 738 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 738 | to) | 74 | 738 | .insert_value(value); | 75 | 738 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 738 | } |
_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 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 2.31k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 3 | void insert_result_into(IColumn& to) const { | 71 | 3 | if (has()) { | 72 | 3 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3 | to) | 74 | 3 | .insert_value(value); | 75 | 3 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 3 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 6.18k | void insert_result_into(IColumn& to) const { | 71 | 6.18k | if (has()) { | 72 | 6.18k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 6.18k | to) | 74 | 6.18k | .insert_value(value); | 75 | 6.18k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 6.18k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 83 | void insert_result_into(IColumn& to) const { | 71 | 83 | if (has()) { | 72 | 83 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 83 | to) | 74 | 83 | .insert_value(value); | 75 | 83 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 83 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.07k | void insert_result_into(IColumn& to) const { | 71 | 1.07k | if (has()) { | 72 | 1.06k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.06k | to) | 74 | 1.06k | .insert_value(value); | 75 | 1.06k | } else { | 76 | 12 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 12 | to) | 78 | 12 | .insert_default(); | 79 | 12 | } | 80 | 1.07k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 800 | void insert_result_into(IColumn& to) const { | 71 | 800 | if (has()) { | 72 | 798 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 798 | to) | 74 | 798 | .insert_value(value); | 75 | 798 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 800 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.16M | void insert_result_into(IColumn& to) const { | 71 | 1.16M | if (has()) { | 72 | 1.16M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.16M | to) | 74 | 1.16M | .insert_value(value); | 75 | 1.16M | } else { | 76 | 90 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 90 | to) | 78 | 90 | .insert_default(); | 79 | 90 | } | 80 | 1.16M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 7.76k | void insert_result_into(IColumn& to) const { | 71 | 7.76k | if (has()) { | 72 | 7.65k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 7.65k | to) | 74 | 7.65k | .insert_value(value); | 75 | 7.65k | } else { | 76 | 112 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 112 | to) | 78 | 112 | .insert_default(); | 79 | 112 | } | 80 | 7.76k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 808 | void insert_result_into(IColumn& to) const { | 71 | 808 | if (has()) { | 72 | 806 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 806 | to) | 74 | 806 | .insert_value(value); | 75 | 806 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 808 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 652 | void insert_result_into(IColumn& to) const { | 71 | 652 | if (has()) { | 72 | 652 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 652 | to) | 74 | 652 | .insert_value(value); | 75 | 652 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 652 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.24k | void insert_result_into(IColumn& to) const { | 71 | 1.24k | if (has()) { | 72 | 1.24k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.24k | to) | 74 | 1.24k | .insert_value(value); | 75 | 1.24k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.24k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 5.20k | void insert_result_into(IColumn& to) const { | 71 | 5.20k | if (has()) { | 72 | 5.20k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 5.20k | to) | 74 | 5.20k | .insert_value(value); | 75 | 5.20k | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 5.20k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 25.6k | void insert_result_into(IColumn& to) const { | 71 | 25.6k | if (has()) { | 72 | 25.5k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 25.5k | to) | 74 | 25.5k | .insert_value(value); | 75 | 25.5k | } else { | 76 | 65 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 65 | to) | 78 | 65 | .insert_default(); | 79 | 65 | } | 80 | 25.6k | } |
_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 | 724 | void insert_result_into(IColumn& to) const { | 71 | 724 | if (has()) { | 72 | 724 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 724 | to) | 74 | 724 | .insert_value(value); | 75 | 724 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 724 | } |
_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.92k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.11k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 428 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 3.97k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 14 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 49 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 49 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv Line | Count | Source | 82 | 132k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 169 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 293k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.03k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.47M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 83.1k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.34k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 914 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.83k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.28k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 27.0k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 863 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 331 | 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 | 52 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 52 | buf.write_binary(has()); | 86 | 52 | if (has()) { | 87 | 52 | buf.write_binary(value); | 88 | 52 | } | 89 | 52 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 9.65k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.65k | buf.write_binary(has()); | 86 | 9.65k | if (has()) { | 87 | 9.65k | buf.write_binary(value); | 88 | 9.65k | } | 89 | 9.65k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 22 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 22 | buf.write_binary(has()); | 86 | 22 | if (has()) { | 87 | 22 | buf.write_binary(value); | 88 | 22 | } | 89 | 22 | } |
_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.54k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.54k | buf.write_binary(has()); | 86 | 9.54k | if (has()) { | 87 | 9.54k | buf.write_binary(value); | 88 | 9.54k | } | 89 | 9.54k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 154 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 154 | buf.write_binary(has()); | 86 | 154 | if (has()) { | 87 | 150 | buf.write_binary(value); | 88 | 150 | } | 89 | 154 | } |
_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 | 320 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 320 | buf.write_binary(has()); | 86 | 320 | if (has()) { | 87 | 320 | buf.write_binary(value); | 88 | 320 | } | 89 | 320 | } |
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.6k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 20.6k | buf.read_binary(has_value); |
93 | 20.6k | if (has()) { |
94 | 20.5k | buf.read_binary(value); |
95 | 20.5k | } |
96 | 20.6k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 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 | 52 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 52 | buf.read_binary(has_value); | 93 | 52 | if (has()) { | 94 | 52 | buf.read_binary(value); | 95 | 52 | } | 96 | 52 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 10.6k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 10.6k | buf.read_binary(has_value); | 93 | 10.6k | if (has()) { | 94 | 10.6k | buf.read_binary(value); | 95 | 10.6k | } | 96 | 10.6k | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 22 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 22 | buf.read_binary(has_value); | 93 | 22 | if (has()) { | 94 | 22 | buf.read_binary(value); | 95 | 22 | } | 96 | 22 | } |
_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.27k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.27k | buf.read_binary(has_value); | 93 | 9.27k | if (has()) { | 94 | 9.27k | buf.read_binary(value); | 95 | 9.27k | } | 96 | 9.27k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 229 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 229 | buf.read_binary(has_value); | 93 | 229 | if (has()) { | 94 | 213 | buf.read_binary(value); | 95 | 213 | } | 96 | 229 | } |
_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 | 302 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 302 | buf.read_binary(has_value); | 93 | 302 | if (has()) { | 94 | 302 | buf.read_binary(value); | 95 | 302 | } | 96 | 302 | } |
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.78M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.78M | has_value = true; |
100 | 1.78M | value = _value_at(column, row_num); |
101 | 1.78M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5 | has_value = true; | 100 | 5 | value = _value_at(column, row_num); | 101 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 14.0k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 14.0k | has_value = true; | 100 | 14.0k | value = _value_at(column, row_num); | 101 | 14.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.61k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.61k | has_value = true; | 100 | 1.61k | value = _value_at(column, row_num); | 101 | 1.61k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 560 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 560 | has_value = true; | 100 | 560 | value = _value_at(column, row_num); | 101 | 560 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 2.71k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.71k | has_value = true; | 100 | 2.71k | value = _value_at(column, row_num); | 101 | 2.71k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 102 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 102 | has_value = true; | 100 | 102 | value = _value_at(column, row_num); | 101 | 102 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 32 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 32 | has_value = true; | 100 | 32 | value = _value_at(column, row_num); | 101 | 32 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 30 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 30 | has_value = true; | 100 | 30 | value = _value_at(column, row_num); | 101 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 71.7k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 71.7k | has_value = true; | 100 | 71.7k | value = _value_at(column, row_num); | 101 | 71.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 99 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 99 | has_value = true; | 100 | 99 | value = _value_at(column, row_num); | 101 | 99 | } |
_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.19k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.19k | has_value = true; | 100 | 1.19k | value = _value_at(column, row_num); | 101 | 1.19k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.40M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.40M | has_value = true; | 100 | 1.40M | value = _value_at(column, row_num); | 101 | 1.40M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 79.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 79.2k | has_value = true; | 100 | 79.2k | value = _value_at(column, row_num); | 101 | 79.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.15k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.15k | has_value = true; | 100 | 1.15k | value = _value_at(column, row_num); | 101 | 1.15k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 983 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 983 | has_value = true; | 100 | 983 | value = _value_at(column, row_num); | 101 | 983 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.75k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.75k | has_value = true; | 100 | 1.75k | value = _value_at(column, row_num); | 101 | 1.75k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.27k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.27k | has_value = true; | 100 | 5.27k | value = _value_at(column, row_num); | 101 | 5.27k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 29.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 29.2k | has_value = true; | 100 | 29.2k | value = _value_at(column, row_num); | 101 | 29.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 12.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 12.2k | has_value = true; | 100 | 12.2k | value = _value_at(column, row_num); | 101 | 12.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.46k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.46k | has_value = true; | 100 | 1.46k | value = _value_at(column, row_num); | 101 | 1.46k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 313 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 313 | has_value = true; | 100 | 313 | value = _value_at(column, row_num); | 101 | 313 | } |
|
102 | | |
103 | 443k | void set(const Self& to, Arena&) { |
104 | 443k | DORIS_CHECK(to.has()); |
105 | 443k | has_value = true; |
106 | 443k | value = to.value; |
107 | 443k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 4.99k | void set(const Self& to, Arena&) { | 104 | 4.99k | DORIS_CHECK(to.has()); | 105 | 4.99k | has_value = true; | 106 | 4.99k | value = to.value; | 107 | 4.99k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 100 | void set(const Self& to, Arena&) { | 104 | 100 | DORIS_CHECK(to.has()); | 105 | 100 | has_value = true; | 106 | 100 | value = to.value; | 107 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 73 | void set(const Self& to, Arena&) { | 104 | 73 | DORIS_CHECK(to.has()); | 105 | 73 | has_value = true; | 106 | 73 | value = to.value; | 107 | 73 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 10 | void set(const Self& to, Arena&) { | 104 | 10 | DORIS_CHECK(to.has()); | 105 | 10 | has_value = true; | 106 | 10 | value = to.value; | 107 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 3 | void set(const Self& to, Arena&) { | 104 | 3 | DORIS_CHECK(to.has()); | 105 | 3 | has_value = true; | 106 | 3 | value = to.value; | 107 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 11 | void set(const Self& to, Arena&) { | 104 | 11 | DORIS_CHECK(to.has()); | 105 | 11 | has_value = true; | 106 | 11 | value = to.value; | 107 | 11 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 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.0k | void set(const Self& to, Arena&) { | 104 | 68.0k | DORIS_CHECK(to.has()); | 105 | 68.0k | has_value = true; | 106 | 68.0k | value = to.value; | 107 | 68.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 13 | void set(const Self& to, Arena&) { | 104 | 13 | DORIS_CHECK(to.has()); | 105 | 13 | has_value = true; | 106 | 13 | value = to.value; | 107 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_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 | 14 | void set(const Self& to, Arena&) { | 104 | 14 | DORIS_CHECK(to.has()); | 105 | 14 | has_value = true; | 106 | 14 | value = to.value; | 107 | 14 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 163k | void set(const Self& to, Arena&) { | 104 | 163k | DORIS_CHECK(to.has()); | 105 | 163k | has_value = true; | 106 | 163k | value = to.value; | 107 | 163k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 51.3k | void set(const Self& to, Arena&) { | 104 | 51.3k | DORIS_CHECK(to.has()); | 105 | 51.3k | has_value = true; | 106 | 51.3k | value = to.value; | 107 | 51.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 56 | void set(const Self& to, Arena&) { | 104 | 56 | DORIS_CHECK(to.has()); | 105 | 56 | has_value = true; | 106 | 56 | value = to.value; | 107 | 56 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKS2_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_13PrimitiveTypeE9EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 154 | void set(const Self& to, Arena&) { | 104 | 154 | DORIS_CHECK(to.has()); | 105 | 154 | has_value = true; | 106 | 154 | value = to.value; | 107 | 154 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 34 | void set(const Self& to, Arena&) { | 104 | 34 | DORIS_CHECK(to.has()); | 105 | 34 | has_value = true; | 106 | 34 | value = to.value; | 107 | 34 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 1.62k | void set(const Self& to, Arena&) { | 104 | 1.62k | DORIS_CHECK(to.has()); | 105 | 1.62k | has_value = true; | 106 | 1.62k | value = to.value; | 107 | 1.62k | } |
_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 | 43 | void set(const Self& to, Arena&) { | 104 | 43 | DORIS_CHECK(to.has()); | 105 | 43 | has_value = true; | 106 | 43 | value = to.value; | 107 | 43 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 18 | void set(const Self& to, Arena&) { | 104 | 18 | DORIS_CHECK(to.has()); | 105 | 18 | has_value = true; | 106 | 18 | value = to.value; | 107 | 18 | } |
|
108 | | |
109 | 8.78M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 8.78M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 449k | set(column, row_num, arena); |
112 | 449k | return true; |
113 | 449k | } |
114 | 8.33M | return false; |
115 | 8.78M | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 367 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 367 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 228 | set(column, row_num, arena); | 112 | 228 | return true; | 113 | 228 | } | 114 | 139 | return false; | 115 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 194 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 194 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 47 | set(column, row_num, arena); | 112 | 47 | return true; | 113 | 47 | } | 114 | 147 | return false; | 115 | 194 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.8k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.8k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 73.9k | set(column, row_num, arena); | 112 | 73.9k | return true; | 113 | 73.9k | } | 114 | 12.8k | return false; | 115 | 86.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 816 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 816 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 187 | set(column, row_num, arena); | 112 | 187 | return true; | 113 | 187 | } | 114 | 629 | return false; | 115 | 816 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.56M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.56M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 286k | set(column, row_num, arena); | 112 | 286k | return true; | 113 | 286k | } | 114 | 3.28M | return false; | 115 | 3.56M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.6k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.6k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 22.9k | set(column, row_num, arena); | 112 | 22.9k | return true; | 113 | 22.9k | } | 114 | 63.6k | return false; | 115 | 86.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 616 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 616 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 209 | set(column, row_num, arena); | 112 | 209 | return true; | 113 | 209 | } | 114 | 407 | return false; | 115 | 616 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 438 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 438 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 97 | set(column, row_num, arena); | 112 | 97 | return true; | 113 | 97 | } | 114 | 341 | return false; | 115 | 438 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 17.3k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 17.3k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 384 | set(column, row_num, arena); | 112 | 384 | return true; | 113 | 384 | } | 114 | 17.0k | return false; | 115 | 17.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 169 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 169 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 63 | set(column, row_num, arena); | 112 | 63 | return true; | 113 | 63 | } | 114 | 106 | return false; | 115 | 169 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.70M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.70M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 24.4k | set(column, row_num, arena); | 112 | 24.4k | return true; | 113 | 24.4k | } | 114 | 2.68M | return false; | 115 | 2.70M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 4.09k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 4.09k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 4.09k | return false; | 115 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 9.31k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.31k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 591 | set(column, row_num, arena); | 112 | 591 | return true; | 113 | 591 | } | 114 | 8.72k | return false; | 115 | 9.31k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 372 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 372 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 137 | set(column, row_num, arena); | 112 | 137 | return true; | 113 | 137 | } | 114 | 235 | return false; | 115 | 372 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.97M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.97M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2.33k | set(column, row_num, arena); | 112 | 2.33k | return true; | 113 | 2.33k | } | 114 | 1.97M | return false; | 115 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 14.4k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 14.4k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 420 | set(column, row_num, arena); | 112 | 420 | return true; | 113 | 420 | } | 114 | 14.0k | return false; | 115 | 14.4k | } |
_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.86k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.86k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1.31k | set(column, row_num, arena); | 112 | 1.31k | return true; | 113 | 1.31k | } | 114 | 1.54k | return false; | 115 | 2.86k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 16 | set(column, row_num, arena); | 112 | 16 | return true; | 113 | 16 | } | 114 | 15 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 14 | set(column, row_num, arena); | 112 | 14 | return true; | 113 | 14 | } | 114 | 17 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 304k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 304k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 35.7k | set(column, row_num, arena); | 112 | 35.7k | return true; | 113 | 35.7k | } | 114 | 268k | return false; | 115 | 304k | } |
|
116 | | |
117 | 400k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 400k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 202k | set(to, arena); |
120 | 202k | return true; |
121 | 202k | } |
122 | 198k | return false; |
123 | 400k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 29 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 29 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 29 | set(to, arena); | 120 | 29 | return true; | 121 | 29 | } | 122 | 0 | return false; | 123 | 29 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_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 | 4 | set(to, arena); | 120 | 4 | return true; | 121 | 4 | } | 122 | 3 | return false; | 123 | 7 | } |
_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.0k | set(to, arena); | 120 | 73.0k | return true; | 121 | 73.0k | } | 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 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 1 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_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 | 72.8k | set(to, arena); | 120 | 72.8k | return true; | 121 | 72.8k | } | 122 | 73.9k | return false; | 123 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 38.9k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 38.9k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 19.3k | set(to, arena); | 120 | 19.3k | return true; | 121 | 19.3k | } | 122 | 19.5k | return false; | 123 | 38.9k | } |
_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 | 9 | set(to, arena); | 120 | 9 | return true; | 121 | 9 | } | 122 | 1 | 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 | 118 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 118 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 116 | set(to, arena); | 120 | 116 | return true; | 121 | 116 | } | 122 | 2 | return false; | 123 | 118 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 19 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 19 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 19 | set(to, arena); | 120 | 19 | return true; | 121 | 19 | } | 122 | 0 | return false; | 123 | 19 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 698 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 698 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 658 | set(to, arena); | 120 | 658 | return true; | 121 | 658 | } | 122 | 40 | return false; | 123 | 698 | } |
_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 | 9 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 9 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 6 | return false; | 123 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 11 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 11 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 9 | set(to, arena); | 120 | 9 | return true; | 121 | 9 | } | 122 | 2 | return false; | 123 | 11 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 74 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 74 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 51 | set(to, arena); | 120 | 51 | return true; | 121 | 51 | } | 122 | 23 | return false; | 123 | 74 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 27 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 27 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 21 | set(to, arena); | 120 | 21 | return true; | 121 | 21 | } | 122 | 6 | return false; | 123 | 27 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 1 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 1 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 1 | set(to, arena); | 120 | 1 | return true; | 121 | 1 | } | 122 | 0 | return false; | 123 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 4 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 4 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 4 | set(to, arena); | 120 | 4 | return true; | 121 | 4 | } | 122 | 0 | return false; | 123 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 5 | set(to, arena); | 120 | 5 | return true; | 121 | 5 | } | 122 | 2 | 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.6k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 63.6k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 32.6k | set(to, arena); | 120 | 32.6k | return true; | 121 | 32.6k | } | 122 | 30.9k | return false; | 123 | 63.6k | } |
|
124 | | |
125 | 9.57M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 9.57M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.30M | set(column, row_num, arena); |
128 | 1.30M | return true; |
129 | 1.30M | } |
130 | 8.27M | return false; |
131 | 9.57M | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 367 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 367 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 237 | set(column, row_num, arena); | 128 | 237 | return true; | 129 | 237 | } | 130 | 130 | return false; | 131 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 188 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 188 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 47 | set(column, row_num, arena); | 128 | 47 | return true; | 129 | 47 | } | 130 | 141 | return false; | 131 | 188 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 87.9k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 87.9k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 74.6k | set(column, row_num, arena); | 128 | 74.6k | return true; | 129 | 74.6k | } | 130 | 13.2k | return false; | 131 | 87.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_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 | 994 | set(column, row_num, arena); | 128 | 994 | return true; | 129 | 994 | } | 130 | 901 | return false; | 131 | 1.89k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.37M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.37M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.10M | set(column, row_num, arena); | 128 | 1.10M | return true; | 129 | 1.10M | } | 130 | 3.26M | return false; | 131 | 4.37M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 98.8k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 98.8k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 57.4k | set(column, row_num, arena); | 128 | 57.4k | return true; | 129 | 57.4k | } | 130 | 41.4k | return false; | 131 | 98.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.78k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.78k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 933 | set(column, row_num, arena); | 128 | 933 | return true; | 129 | 933 | } | 130 | 847 | return false; | 131 | 1.78k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.51k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.51k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 869 | set(column, row_num, arena); | 128 | 869 | return true; | 129 | 869 | } | 130 | 648 | return false; | 131 | 1.51k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.53k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.53k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.35k | set(column, row_num, arena); | 128 | 1.35k | return true; | 129 | 1.35k | } | 130 | 1.17k | return false; | 131 | 2.53k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 10.2k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 10.2k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.19k | set(column, row_num, arena); | 128 | 5.19k | return true; | 129 | 5.19k | } | 130 | 5.09k | return false; | 131 | 10.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.68M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.68M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.88k | set(column, row_num, arena); | 128 | 4.88k | return true; | 129 | 4.88k | } | 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.3k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.3k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 835 | set(column, row_num, arena); | 128 | 835 | return true; | 129 | 835 | } | 130 | 10.5k | return false; | 131 | 11.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 368 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 368 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 162 | set(column, row_num, arena); | 128 | 162 | return true; | 129 | 162 | } | 130 | 206 | return false; | 131 | 368 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.97M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.97M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.16k | set(column, row_num, arena); | 128 | 5.16k | return true; | 129 | 5.16k | } | 130 | 1.97M | return false; | 131 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 14.6k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 14.6k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.17k | set(column, row_num, arena); | 128 | 1.17k | return true; | 129 | 1.17k | } | 130 | 13.5k | return false; | 131 | 14.6k | } |
_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.86k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.86k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.38k | set(column, row_num, arena); | 128 | 1.38k | return true; | 129 | 1.38k | } | 130 | 1.47k | return false; | 131 | 2.86k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 15 | set(column, row_num, arena); | 128 | 15 | return true; | 129 | 15 | } | 130 | 12 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 15 | set(column, row_num, arena); | 128 | 15 | return true; | 129 | 15 | } | 130 | 12 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 295k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 295k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 33.8k | set(column, row_num, arena); | 128 | 33.8k | return true; | 129 | 33.8k | } | 130 | 262k | return false; | 131 | 295k | } |
|
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 | 418k | bool set_if_greater(const Self& to, Arena& arena) { |
141 | 418k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
142 | 232k | set(to, arena); |
143 | 232k | return true; |
144 | 232k | } |
145 | 185k | return false; |
146 | 418k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 33 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 33 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 32 | set(to, arena); | 143 | 32 | return true; | 144 | 32 | } | 145 | 1 | return false; | 146 | 33 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 9 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 9 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4 | set(to, arena); | 143 | 4 | return true; | 144 | 4 | } | 145 | 5 | return false; | 146 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 146k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 146k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 72.6k | set(to, arena); | 143 | 72.6k | return true; | 144 | 72.6k | } | 145 | 73.6k | return false; | 146 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 8 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 8 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 8 | set(to, arena); | 143 | 8 | return true; | 144 | 8 | } | 145 | 0 | return false; | 146 | 8 | } |
_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.4k | set(to, arena); | 143 | 89.4k | return true; | 144 | 89.4k | } | 145 | 74.0k | return false; | 146 | 163k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 39.7k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 39.7k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 32.5k | set(to, arena); | 143 | 32.5k | return true; | 144 | 32.5k | } | 145 | 7.16k | return false; | 146 | 39.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 71 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 71 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 44 | set(to, arena); | 143 | 44 | return true; | 144 | 44 | } | 145 | 27 | return false; | 146 | 71 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 31 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 31 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 31 | set(to, arena); | 143 | 31 | return true; | 144 | 31 | } | 145 | 0 | return false; | 146 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 39 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 39 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 33 | set(to, arena); | 143 | 33 | return true; | 144 | 33 | } | 145 | 6 | return false; | 146 | 39 | } |
_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 | 11 | set(to, arena); | 143 | 11 | return true; | 144 | 11 | } | 145 | 1 | return false; | 146 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1.15k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1.15k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 968 | set(to, arena); | 143 | 968 | return true; | 144 | 968 | } | 145 | 189 | return false; | 146 | 1.15k | } |
_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 | 73 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 73 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 36 | set(to, arena); | 143 | 36 | return true; | 144 | 36 | } | 145 | 37 | return false; | 146 | 73 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 10 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 10 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 6 | set(to, arena); | 143 | 6 | return true; | 144 | 6 | } | 145 | 4 | return false; | 146 | 10 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 30 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 30 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 25 | set(to, arena); | 143 | 25 | return true; | 144 | 25 | } | 145 | 5 | return false; | 146 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 92 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 92 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 72 | set(to, arena); | 143 | 72 | return true; | 144 | 72 | } | 145 | 20 | return false; | 146 | 92 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 1 | set(to, arena); | 143 | 1 | return true; | 144 | 1 | } | 145 | 0 | return false; | 146 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 4 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 4 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4 | set(to, arena); | 143 | 4 | return true; | 144 | 4 | } | 145 | 0 | return false; | 146 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 1 | return false; | 146 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 1 | return false; | 146 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 63.6k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 63.6k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 32.7k | set(to, arena); | 143 | 32.7k | return true; | 144 | 32.7k | } | 145 | 30.8k | return false; | 146 | 63.6k | } |
|
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 | 58.9k | ~SingleValueDataString() = default; |
171 | | |
172 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
173 | | |
174 | 10.1M | bool has() const { return size >= 0; } |
175 | | |
176 | | private: |
177 | 10.0M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
178 | 10.0M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
179 | 10.0M | row_num); |
180 | 10.0M | } |
181 | | |
182 | 10.0M | const char* _data() const { |
183 | 10.0M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
184 | 10.0M | } |
185 | | |
186 | 10.0M | StringRef _value() const { return StringRef(_data(), size); } |
187 | | |
188 | 61.3k | void _set(StringRef source) { |
189 | 61.3k | Int32 value_size = cast_set<Int32>(source.size); |
190 | 61.3k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
191 | | /// Don't free large_data here. |
192 | 61.0k | size = value_size; |
193 | | |
194 | 61.0k | if (size > 0) { |
195 | 61.0k | memcpy(small_data, source.data, size); |
196 | 61.0k | } |
197 | 61.0k | } else { |
198 | 286 | if (capacity < value_size) { |
199 | | /// Don't free large_data here. |
200 | 159 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
201 | 159 | large_data = DorisUniqueBufferPtr<char>(capacity); |
202 | 159 | } |
203 | | |
204 | 286 | size = value_size; |
205 | 286 | memcpy(large_data.get(), source.data, size); |
206 | 286 | } |
207 | 61.3k | } |
208 | | |
209 | | public: |
210 | 15.4k | void insert_result_into(IColumn& to) const { |
211 | 15.4k | if (has()) { |
212 | 15.1k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
213 | 15.1k | } else { |
214 | 227 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
215 | 227 | } |
216 | 15.4k | } |
217 | | |
218 | 57.2k | void reset() { |
219 | 57.2k | size = -1; |
220 | 57.2k | capacity = 0; |
221 | 57.2k | large_data.reset(); |
222 | 57.2k | } |
223 | | |
224 | 17.7k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
225 | 17.7k | buf.write_binary(size); |
226 | 17.7k | if (has()) { |
227 | 17.7k | buf.write(_data(), size); |
228 | 17.7k | } |
229 | 17.7k | } |
230 | | |
231 | 18.6k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
232 | 18.6k | Int32 rhs_size; |
233 | 18.6k | buf.read_binary(rhs_size); |
234 | | |
235 | 18.6k | if (rhs_size >= 0) { |
236 | 18.6k | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
237 | | /// Don't free large_data here. |
238 | | |
239 | 18.3k | size = rhs_size; |
240 | | |
241 | 18.3k | if (size > 0) { |
242 | 18.2k | buf.read(small_data, size); |
243 | 18.2k | } |
244 | 18.3k | } else { |
245 | 288 | if (capacity < rhs_size) { |
246 | 288 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
247 | 288 | large_data = DorisUniqueBufferPtr<char>(capacity); |
248 | 288 | } |
249 | | |
250 | 288 | size = rhs_size; |
251 | 288 | buf.read(large_data.get(), size); |
252 | 288 | } |
253 | 18.6k | } else { |
254 | | /// Don't free large_data here. |
255 | 12 | size = rhs_size; |
256 | 12 | } |
257 | 18.6k | } |
258 | | |
259 | 48.4k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
260 | | |
261 | 12.9k | void set(const Self& to, Arena&) { |
262 | 12.9k | DORIS_CHECK(to.has()); |
263 | 12.9k | _set(to._value()); |
264 | 12.9k | } |
265 | | |
266 | 3.98M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
267 | 3.98M | if (!has() || _value_at(column, row_num) < _value()) { |
268 | 26.7k | set(column, row_num, arena); |
269 | 26.7k | return true; |
270 | 26.7k | } |
271 | 3.95M | return false; |
272 | 3.98M | } |
273 | | |
274 | 6.06M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
275 | 6.06M | if (!has() || _value_at(column, row_num) > _value()) { |
276 | 21.1k | set(column, row_num, arena); |
277 | 21.1k | return true; |
278 | 21.1k | } |
279 | 6.04M | return false; |
280 | 6.06M | } |
281 | | |
282 | 17.6k | bool set_if_smaller(const Self& to, Arena& arena) { |
283 | 17.6k | if (to.has() && (!has() || to._value() < _value())) { |
284 | 12.4k | set(to, arena); |
285 | 12.4k | return true; |
286 | 12.4k | } |
287 | 5.19k | return false; |
288 | 17.6k | } |
289 | | |
290 | 320 | bool set_if_greater(const Self& to, Arena& arena) { |
291 | 320 | if (to.has() && (!has() || to._value() > _value())) { |
292 | 127 | set(to, arena); |
293 | 127 | return true; |
294 | 127 | } |
295 | 193 | return false; |
296 | 320 | } |
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.31k | 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 | 340 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
373 | | |
374 | 61 | void set(const Self& to, Arena&) { |
375 | 61 | DORIS_CHECK(to.has()); |
376 | | // Stored one-row columns are immutable, so merged states can share ownership. |
377 | 61 | _value = to._value; |
378 | 61 | } |
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 | 7 | set(to, arena); |
391 | 7 | return true; |
392 | 7 | } |
393 | 6 | return false; |
394 | 13 | } |
395 | | |
396 | 96 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
397 | 96 | if (!has() || column.compare_at(row_num, 0, *_value, 1) > 0) { |
398 | 40 | set(column, row_num, arena); |
399 | 40 | return true; |
400 | 40 | } |
401 | 56 | return false; |
402 | 96 | } |
403 | | |
404 | 13 | bool set_if_greater(const Self& to, Arena& arena) { |
405 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
406 | 11 | set(to, arena); |
407 | 11 | return true; |
408 | 11 | } |
409 | 2 | return false; |
410 | 13 | } |
411 | | |
412 | 1 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
413 | 1 | return has() && column.compare_at(row_num, 0, *_value, 1) == 0; |
414 | 1 | } |
415 | | }; |
416 | | |
417 | | } // namespace doris |