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 | 21.0M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 21.0M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 21.0M | TypeCheckOnRelease::DISABLE>(column) |
50 | 21.0M | .get_data()[row_num]; |
51 | 21.0M | } 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 | 6.97k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.97k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.97k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.97k | .get_data()[row_num]; | 51 | 6.97k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 325 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 325 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 325 | TypeCheckOnRelease::DISABLE>(column) | 50 | 325 | .get_data()[row_num]; | 51 | 325 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 45 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 45 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 45 | TypeCheckOnRelease::DISABLE>(column) | 50 | 45 | .get_data()[row_num]; | 51 | 45 | } |
_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 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE9_value_atERKNS_7IColumnEm _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 692 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 692 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 692 | TypeCheckOnRelease::DISABLE>(column) | 50 | 692 | .get_data()[row_num]; | 51 | 692 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.84k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.84k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.84k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.84k | .get_data()[row_num]; | 51 | 3.84k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.78k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.78k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.78k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.78k | .get_data()[row_num]; | 51 | 3.78k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.02M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.02M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.02M | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.02M | .get_data()[row_num]; | 51 | 8.02M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.56M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.56M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.56M | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.56M | .get_data()[row_num]; | 51 | 3.56M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.32k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.32k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.32k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.32k | .get_data()[row_num]; | 51 | 3.32k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.90k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.90k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.90k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.90k | .get_data()[row_num]; | 51 | 2.90k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 21.0k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 21.0k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 21.0k | TypeCheckOnRelease::DISABLE>(column) | 50 | 21.0k | .get_data()[row_num]; | 51 | 21.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 10.5k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 10.5k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 10.5k | TypeCheckOnRelease::DISABLE>(column) | 50 | 10.5k | .get_data()[row_num]; | 51 | 10.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 5.38M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.38M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.38M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.38M | .get_data()[row_num]; | 51 | 5.38M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 22.0k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 22.0k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 22.0k | TypeCheckOnRelease::DISABLE>(column) | 50 | 22.0k | .get_data()[row_num]; | 51 | 22.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 528 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 528 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 528 | TypeCheckOnRelease::DISABLE>(column) | 50 | 528 | .get_data()[row_num]; | 51 | 528 | } |
|
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 | 188k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 8.90k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 1.01k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 52 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 12 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 24 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EEC2Ev Line | Count | Source | 61 | 46 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EEC2Ev Line | Count | Source | 61 | 47 | SingleValueDataFixed() = default; |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 182 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 1.09k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 695 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 63.1k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 83.3k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 853 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 601 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.29k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 200 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 18.2k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 817 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 86 | SingleValueDataFixed() = default; |
|
62 | 21.9M | 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 | 7.22k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3hasEv Line | Count | Source | 62 | 412 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3hasEv Line | Count | Source | 62 | 52 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3hasEv Line | Count | Source | 62 | 213 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3hasEv Line | Count | Source | 62 | 118 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3hasEv Line | Count | Source | 62 | 118 | bool has() const { return has_value; } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3hasEv _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 821 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 4.84k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 4.19k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.12M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 3.33M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 4.15k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 3.35k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 22.3k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 15.8k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.39M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3hasEv Line | Count | Source | 62 | 40.9k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3hasEv Line | Count | Source | 62 | 22.2k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 762 | bool has() const { return has_value; } |
|
63 | | |
64 | | static constexpr bool UsesFixedLengthStateSerialization = true; |
65 | | |
66 | 1.06M | 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.02k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 763 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 82 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_minEv Line | Count | Source | 66 | 8 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_minEv Line | Count | Source | 66 | 8 | 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>(); } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 92 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_minEv Line | Count | Source | 66 | 1.03k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 857 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.00M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 43.7k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 887 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 814 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.30k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.21k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.35k | 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 | 470 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 130 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 271k | 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 | 466 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 82 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_maxEv Line | Count | Source | 68 | 8 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_maxEv Line | Count | Source | 68 | 8 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_maxEv Line | Count | Source | 68 | 22 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_maxEv Line | Count | Source | 68 | 22 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_maxEv _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 | 320 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_maxEv Line | Count | Source | 68 | 192 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 207k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 41.0k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 216 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 118 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 492 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 83 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 14.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 | 127 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
|
69 | | |
70 | 1.24M | void insert_result_into(IColumn& to) const { |
71 | 1.24M | if (has()) { |
72 | 1.24M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
73 | 1.24M | to) |
74 | 1.24M | .insert_value(value); |
75 | 18.4E | } else { |
76 | 18.4E | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 18.4E | to) |
78 | 18.4E | .insert_default(); |
79 | 18.4E | } |
80 | 1.24M | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE18insert_result_intoERNS_7IColumnE _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 2 | void insert_result_into(IColumn& to) const { | 71 | 2 | if (has()) { | 72 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2 | to) | 74 | 2 | .insert_value(value); | 75 | 2 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 8.55k | void insert_result_into(IColumn& to) const { | 71 | 8.55k | if (has()) { | 72 | 8.50k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.50k | to) | 74 | 8.50k | .insert_value(value); | 75 | 8.50k | } else { | 76 | 50 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 50 | to) | 78 | 50 | .insert_default(); | 79 | 50 | } | 80 | 8.55k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 800 | void insert_result_into(IColumn& to) const { | 71 | 800 | if (has()) { | 72 | 800 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 800 | to) | 74 | 800 | .insert_value(value); | 75 | 800 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 800 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 108 | void insert_result_into(IColumn& to) const { | 71 | 108 | if (has()) { | 72 | 108 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 108 | to) | 74 | 108 | .insert_value(value); | 75 | 108 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 108 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 14 | void insert_result_into(IColumn& to) const { | 71 | 14 | if (has()) { | 72 | 14 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 14 | to) | 74 | 14 | .insert_value(value); | 75 | 14 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 14 | } |
_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 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE18insert_result_intoERNS_7IColumnE _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 90 | void insert_result_into(IColumn& to) const { | 71 | 90 | if (has()) { | 72 | 90 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 90 | to) | 74 | 90 | .insert_value(value); | 75 | 90 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 90 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.03k | void insert_result_into(IColumn& to) const { | 71 | 1.03k | if (has()) { | 72 | 1.02k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.02k | to) | 74 | 1.02k | .insert_value(value); | 75 | 1.02k | } else { | 76 | 12 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 12 | to) | 78 | 12 | .insert_default(); | 79 | 12 | } | 80 | 1.03k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 816 | void insert_result_into(IColumn& to) const { | 71 | 816 | if (has()) { | 72 | 814 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 814 | to) | 74 | 814 | .insert_value(value); | 75 | 814 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 816 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.19M | void insert_result_into(IColumn& to) const { | 71 | 1.19M | if (has()) { | 72 | 1.19M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.19M | to) | 74 | 1.19M | .insert_value(value); | 75 | 18.4E | } else { | 76 | 18.4E | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 18.4E | to) | 78 | 18.4E | .insert_default(); | 79 | 18.4E | } | 80 | 1.19M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 8.24k | void insert_result_into(IColumn& to) const { | 71 | 8.24k | if (has()) { | 72 | 8.13k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.13k | to) | 74 | 8.13k | .insert_value(value); | 75 | 8.13k | } else { | 76 | 112 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 112 | to) | 78 | 112 | .insert_default(); | 79 | 112 | } | 80 | 8.24k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 825 | void insert_result_into(IColumn& to) const { | 71 | 825 | if (has()) { | 72 | 823 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 823 | to) | 74 | 823 | .insert_value(value); | 75 | 823 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 825 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 668 | void insert_result_into(IColumn& to) const { | 71 | 668 | if (has()) { | 72 | 668 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 668 | to) | 74 | 668 | .insert_value(value); | 75 | 668 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 668 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.26k | void insert_result_into(IColumn& to) const { | 71 | 1.26k | if (has()) { | 72 | 1.26k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.26k | to) | 74 | 1.26k | .insert_value(value); | 75 | 1.26k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.26k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 5.21k | void insert_result_into(IColumn& to) const { | 71 | 5.21k | 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.21k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 14.7k | void insert_result_into(IColumn& to) const { | 71 | 14.7k | if (has()) { | 72 | 14.7k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 14.7k | to) | 74 | 14.7k | .insert_value(value); | 75 | 18.4E | } else { | 76 | 18.4E | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 18.4E | to) | 78 | 18.4E | .insert_default(); | 79 | 18.4E | } | 80 | 14.7k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 8.19k | void insert_result_into(IColumn& to) const { | 71 | 8.19k | if (has()) { | 72 | 8.19k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.19k | to) | 74 | 8.19k | .insert_value(value); | 75 | 8.19k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 8.19k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 739 | void insert_result_into(IColumn& to) const { | 71 | 739 | if (has()) { | 72 | 739 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 739 | to) | 74 | 739 | .insert_value(value); | 75 | 739 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 739 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 239 | void insert_result_into(IColumn& to) const { | 71 | 239 | if (has()) { | 72 | 239 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 239 | to) | 74 | 239 | .insert_value(value); | 75 | 239 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 239 | } |
|
81 | | |
82 | 1.33M | 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.94k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.24k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 164 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 16 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 16 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 47 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 47 | void reset() { has_value = false; } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 173 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 1.36k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.04k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.21M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 82.7k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.13k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 932 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.79k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.29k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 17.3k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 851 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 257 | void reset() { has_value = false; } |
|
83 | | |
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.56k | buf.write_binary(value); |
88 | 9.56k | } |
89 | 9.65k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5writeERNS_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_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 | 14 | buf.write_binary(value); | 88 | 14 | } | 89 | 16 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5writeERNS_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_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.00k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.00k | buf.write_binary(has()); | 86 | 9.00k | if (has()) { | 87 | 8.93k | buf.write_binary(value); | 88 | 8.93k | } | 89 | 9.00k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 193 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 193 | buf.write_binary(has()); | 86 | 193 | if (has()) { | 87 | 168 | buf.write_binary(value); | 88 | 168 | } | 89 | 193 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 52 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 52 | buf.write_binary(has()); | 86 | 52 | if (has()) { | 87 | 52 | buf.write_binary(value); | 88 | 52 | } | 89 | 52 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 6 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 6 | buf.write_binary(has()); | 86 | 6 | if (has()) { | 87 | 6 | buf.write_binary(value); | 88 | 6 | } | 89 | 6 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 356 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 356 | buf.write_binary(has()); | 86 | 356 | if (has()) { | 87 | 354 | buf.write_binary(value); | 88 | 354 | } | 89 | 356 | } |
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 | 9.56k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 9.56k | buf.read_binary(has_value); |
93 | 9.56k | if (has()) { |
94 | 9.46k | buf.read_binary(value); |
95 | 9.46k | } |
96 | 9.56k | } 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 | 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_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 | 14 | buf.read_binary(value); | 95 | 14 | } | 96 | 16 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE4readERNS_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_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 | 8.87k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 8.87k | buf.read_binary(has_value); | 93 | 8.87k | if (has()) { | 94 | 8.81k | buf.read_binary(value); | 95 | 8.81k | } | 96 | 8.87k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 256 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 256 | buf.read_binary(has_value); | 93 | 256 | if (has()) { | 94 | 219 | buf.read_binary(value); | 95 | 219 | } | 96 | 256 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 49 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 49 | buf.read_binary(has_value); | 93 | 49 | if (has()) { | 94 | 49 | buf.read_binary(value); | 95 | 49 | } | 96 | 49 | } |
_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 | 334 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 334 | buf.read_binary(has_value); | 93 | 334 | if (has()) { | 94 | 332 | buf.read_binary(value); | 95 | 332 | } | 96 | 334 | } |
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.89M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.89M | has_value = true; |
100 | 1.89M | value = _value_at(column, row_num); |
101 | 1.89M | } 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.1k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 14.1k | has_value = true; | 100 | 14.1k | value = _value_at(column, row_num); | 101 | 14.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.73k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.73k | has_value = true; | 100 | 1.73k | value = _value_at(column, row_num); | 101 | 1.73k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 129 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 129 | has_value = true; | 100 | 129 | value = _value_at(column, row_num); | 101 | 129 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 21 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 21 | has_value = true; | 100 | 21 | value = _value_at(column, row_num); | 101 | 21 | } |
_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 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 106 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 106 | has_value = true; | 100 | 106 | value = _value_at(column, row_num); | 101 | 106 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.39k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.39k | has_value = true; | 100 | 1.39k | value = _value_at(column, row_num); | 101 | 1.39k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.26k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.26k | has_value = true; | 100 | 1.26k | value = _value_at(column, row_num); | 101 | 1.26k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.36M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.36M | has_value = true; | 100 | 1.36M | value = _value_at(column, row_num); | 101 | 1.36M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 470k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 470k | has_value = true; | 100 | 470k | value = _value_at(column, row_num); | 101 | 470k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.20k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.20k | has_value = true; | 100 | 1.20k | value = _value_at(column, row_num); | 101 | 1.20k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.03k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.03k | has_value = true; | 100 | 1.03k | value = _value_at(column, row_num); | 101 | 1.03k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.80k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.80k | has_value = true; | 100 | 1.80k | value = _value_at(column, row_num); | 101 | 1.80k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.28k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.28k | has_value = true; | 100 | 5.28k | value = _value_at(column, row_num); | 101 | 5.28k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 19.3k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 19.3k | has_value = true; | 100 | 19.3k | value = _value_at(column, row_num); | 101 | 19.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 12.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 12.2k | has_value = true; | 100 | 12.2k | value = _value_at(column, row_num); | 101 | 12.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.43k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.43k | has_value = true; | 100 | 1.43k | value = _value_at(column, row_num); | 101 | 1.43k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 277 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 277 | has_value = true; | 100 | 277 | value = _value_at(column, row_num); | 101 | 277 | } |
|
102 | | |
103 | 80.6k | void set(const Self& to, Arena&) { |
104 | 80.6k | DORIS_CHECK(to.has()); |
105 | 80.6k | has_value = true; |
106 | 80.6k | value = to.value; |
107 | 80.6k | } 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 | 97 | void set(const Self& to, Arena&) { | 104 | 97 | DORIS_CHECK(to.has()); | 105 | 97 | has_value = true; | 106 | 97 | value = to.value; | 107 | 97 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 3 | void set(const Self& to, Arena&) { | 104 | 3 | DORIS_CHECK(to.has()); | 105 | 3 | has_value = true; | 106 | 3 | value = to.value; | 107 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 95 | void set(const Self& to, Arena&) { | 104 | 95 | DORIS_CHECK(to.has()); | 105 | 95 | has_value = true; | 106 | 95 | value = to.value; | 107 | 95 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 15 | void set(const Self& to, Arena&) { | 104 | 15 | DORIS_CHECK(to.has()); | 105 | 15 | has_value = true; | 106 | 15 | value = to.value; | 107 | 15 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 17.7k | void set(const Self& to, Arena&) { | 104 | 17.7k | DORIS_CHECK(to.has()); | 105 | 17.7k | has_value = true; | 106 | 17.7k | value = to.value; | 107 | 17.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 47.2k | void set(const Self& to, Arena&) { | 104 | 47.2k | DORIS_CHECK(to.has()); | 105 | 47.2k | has_value = true; | 106 | 47.2k | value = to.value; | 107 | 47.2k | } |
_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 | 39 | void set(const Self& to, Arena&) { | 104 | 39 | DORIS_CHECK(to.has()); | 105 | 39 | has_value = true; | 106 | 39 | value = to.value; | 107 | 39 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 157 | void set(const Self& to, Arena&) { | 104 | 157 | DORIS_CHECK(to.has()); | 105 | 157 | has_value = true; | 106 | 157 | value = to.value; | 107 | 157 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 28 | void set(const Self& to, Arena&) { | 104 | 28 | DORIS_CHECK(to.has()); | 105 | 28 | has_value = true; | 106 | 28 | value = to.value; | 107 | 28 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 1.89k | void set(const Self& to, Arena&) { | 104 | 1.89k | DORIS_CHECK(to.has()); | 105 | 1.89k | has_value = true; | 106 | 1.89k | value = to.value; | 107 | 1.89k | } |
_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 | 40 | void set(const Self& to, Arena&) { | 104 | 40 | DORIS_CHECK(to.has()); | 105 | 40 | has_value = true; | 106 | 40 | value = to.value; | 107 | 40 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 8 | void set(const Self& to, Arena&) { | 104 | 8 | DORIS_CHECK(to.has()); | 105 | 8 | has_value = true; | 106 | 8 | value = to.value; | 107 | 8 | } |
|
108 | | |
109 | 9.78M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 9.78M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 257k | set(column, row_num, arena); |
112 | 257k | return true; |
113 | 257k | } |
114 | 9.52M | return false; |
115 | 9.78M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 5 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 5 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2 | set(column, row_num, arena); | 112 | 2 | return true; | 113 | 2 | } | 114 | 3 | return false; | 115 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.97M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.97M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2.39k | set(column, row_num, arena); | 112 | 2.39k | return true; | 113 | 2.39k | } | 114 | 1.97M | return false; | 115 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.88k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.88k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 451 | set(column, row_num, arena); | 112 | 451 | return true; | 113 | 451 | } | 114 | 2.43k | return false; | 115 | 2.88k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 152 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 152 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 58 | set(column, row_num, arena); | 112 | 58 | return true; | 113 | 58 | } | 114 | 94 | return false; | 115 | 152 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 19 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 19 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 9 | set(column, row_num, arena); | 112 | 9 | return true; | 113 | 9 | } | 114 | 10 | return false; | 115 | 19 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 100 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 100 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 99 | return false; | 115 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 15 | set(column, row_num, arena); | 112 | 15 | return true; | 113 | 15 | } | 114 | 16 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 14 | set(column, row_num, arena); | 112 | 14 | return true; | 113 | 14 | } | 114 | 17 | return false; | 115 | 31 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 342 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 342 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 51 | set(column, row_num, arena); | 112 | 51 | return true; | 113 | 51 | } | 114 | 291 | return false; | 115 | 342 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.14k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.14k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 282 | set(column, row_num, arena); | 112 | 282 | return true; | 113 | 282 | } | 114 | 861 | return false; | 115 | 1.14k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.12k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.12k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 212 | set(column, row_num, arena); | 112 | 212 | return true; | 113 | 212 | } | 114 | 908 | return false; | 115 | 1.12k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.51M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.51M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 214k | set(column, row_num, arena); | 112 | 214k | return true; | 113 | 214k | } | 114 | 3.29M | return false; | 115 | 3.51M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.56M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.56M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 22.8k | set(column, row_num, arena); | 112 | 22.8k | return true; | 113 | 22.8k | } | 114 | 1.54M | return false; | 115 | 1.56M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 904 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 904 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 221 | set(column, row_num, arena); | 112 | 221 | return true; | 113 | 221 | } | 114 | 683 | return false; | 115 | 904 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 734 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 734 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 118 | set(column, row_num, arena); | 112 | 118 | return true; | 113 | 118 | } | 114 | 616 | return false; | 115 | 734 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 17.6k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 17.6k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 423 | set(column, row_num, arena); | 112 | 423 | return true; | 113 | 423 | } | 114 | 17.2k | return false; | 115 | 17.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 185 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 185 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 71 | set(column, row_num, arena); | 112 | 71 | return true; | 113 | 71 | } | 114 | 114 | return false; | 115 | 185 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.69M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.69M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 15.0k | set(column, row_num, arena); | 112 | 15.0k | return true; | 113 | 15.0k | } | 114 | 2.67M | return false; | 115 | 2.69M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 4.09k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 4.09k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 4.09k | return false; | 115 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 9.61k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.61k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 588 | set(column, row_num, arena); | 112 | 588 | return true; | 113 | 588 | } | 114 | 9.02k | return false; | 115 | 9.61k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 247 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 247 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 121 | set(column, row_num, arena); | 112 | 121 | return true; | 113 | 121 | } | 114 | 126 | return false; | 115 | 247 | } |
|
116 | | |
117 | 42.9k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 42.9k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 24.9k | set(to, arena); |
120 | 24.9k | return true; |
121 | 24.9k | } |
122 | 17.9k | return false; |
123 | 42.9k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 69 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 69 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 53 | set(to, arena); | 120 | 53 | return true; | 121 | 53 | } | 122 | 16 | return false; | 123 | 69 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 23 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 23 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 21 | set(to, arena); | 120 | 21 | return true; | 121 | 21 | } | 122 | 2 | return false; | 123 | 23 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_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_13PrimitiveTypeE36EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 6 | set(to, arena); | 120 | 6 | return true; | 121 | 6 | } | 122 | 1 | return false; | 123 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 6 | set(to, arena); | 120 | 6 | return true; | 121 | 6 | } | 122 | 1 | return false; | 123 | 7 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 5 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 5 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 2 | return false; | 123 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 21 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 21 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 19 | set(to, arena); | 120 | 19 | return true; | 121 | 19 | } | 122 | 2 | return false; | 123 | 21 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 0 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 776 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 776 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 600 | set(to, arena); | 120 | 600 | return true; | 121 | 600 | } | 122 | 176 | return false; | 123 | 776 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 36.8k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 36.8k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 19.2k | set(to, arena); | 120 | 19.2k | return true; | 121 | 19.2k | } | 122 | 17.6k | return false; | 123 | 36.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 10 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 10 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 10 | set(to, arena); | 120 | 10 | return true; | 121 | 10 | } | 122 | 0 | return false; | 123 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 1 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 129 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 129 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 120 | set(to, arena); | 120 | 120 | return true; | 121 | 120 | } | 122 | 9 | return false; | 123 | 129 | } |
_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 | 16 | set(to, arena); | 120 | 16 | return true; | 121 | 16 | } | 122 | 3 | return false; | 123 | 19 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 836 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 836 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 770 | set(to, arena); | 120 | 770 | return true; | 121 | 770 | } | 122 | 66 | return false; | 123 | 836 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 4.09k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 4.09k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 4.09k | set(to, arena); | 120 | 4.09k | return true; | 121 | 4.09k | } | 122 | 0 | return false; | 123 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 0 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 0 | return false; | 123 | 3 | } |
|
124 | | |
125 | 10.6M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 10.6M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.61M | set(column, row_num, arena); |
128 | 1.61M | return true; |
129 | 1.61M | } |
130 | 9.00M | return false; |
131 | 10.6M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 5 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 5 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 3 | set(column, row_num, arena); | 128 | 3 | return true; | 129 | 3 | } | 130 | 2 | return false; | 131 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.97M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.97M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.15k | set(column, row_num, arena); | 128 | 5.15k | return true; | 129 | 5.15k | } | 130 | 1.97M | return false; | 131 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 3.14k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 3.14k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.26k | set(column, row_num, arena); | 128 | 1.26k | return true; | 129 | 1.26k | } | 130 | 1.88k | return false; | 131 | 3.14k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 152 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 152 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 71 | set(column, row_num, arena); | 128 | 71 | return true; | 129 | 71 | } | 130 | 81 | return false; | 131 | 152 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 19 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 19 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 12 | set(column, row_num, arena); | 128 | 12 | return true; | 129 | 12 | } | 130 | 7 | return false; | 131 | 19 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 100 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 100 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 100 | set(column, row_num, arena); | 128 | 100 | return true; | 129 | 100 | } | 130 | 0 | return false; | 131 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 16 | set(column, row_num, arena); | 128 | 16 | return true; | 129 | 16 | } | 130 | 11 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 15 | set(column, row_num, arena); | 128 | 15 | return true; | 129 | 15 | } | 130 | 12 | return false; | 131 | 27 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 335 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 335 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 50 | set(column, row_num, arena); | 128 | 50 | return true; | 129 | 50 | } | 130 | 285 | return false; | 131 | 335 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.27k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.27k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.01k | set(column, row_num, arena); | 128 | 1.01k | return true; | 129 | 1.01k | } | 130 | 1.25k | return false; | 131 | 2.27k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.19k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.19k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.03k | set(column, row_num, arena); | 128 | 1.03k | return true; | 129 | 1.03k | } | 130 | 1.16k | return false; | 131 | 2.19k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.34M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.34M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.13M | set(column, row_num, arena); | 128 | 1.13M | return true; | 129 | 1.13M | } | 130 | 3.20M | return false; | 131 | 4.34M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.57M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.57M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 448k | set(column, row_num, arena); | 128 | 448k | return true; | 129 | 448k | } | 130 | 1.12M | return false; | 131 | 1.57M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.06k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.06k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 974 | set(column, row_num, arena); | 128 | 974 | return true; | 129 | 974 | } | 130 | 1.09k | return false; | 131 | 2.06k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.81k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.81k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 895 | set(column, row_num, arena); | 128 | 895 | return true; | 129 | 895 | } | 130 | 918 | return false; | 131 | 1.81k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.83k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.83k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.36k | set(column, row_num, arena); | 128 | 1.36k | return true; | 129 | 1.36k | } | 130 | 1.46k | return false; | 131 | 2.83k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 10.3k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 10.3k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.19k | set(column, row_num, arena); | 128 | 5.19k | return true; | 129 | 5.19k | } | 130 | 5.10k | return false; | 131 | 10.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.68M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.68M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.33k | set(column, row_num, arena); | 128 | 4.33k | return true; | 129 | 4.33k | } | 130 | 2.67M | return false; | 131 | 2.68M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.09k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.09k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.09k | set(column, row_num, arena); | 128 | 4.09k | return true; | 129 | 4.09k | } | 130 | 0 | return false; | 131 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 11.7k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.7k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 816 | set(column, row_num, arena); | 128 | 816 | return true; | 129 | 816 | } | 130 | 10.8k | return false; | 131 | 11.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 243 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 243 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 142 | set(column, row_num, arena); | 128 | 142 | return true; | 129 | 142 | } | 130 | 101 | return false; | 131 | 243 | } |
|
132 | | |
133 | 262 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
134 | 262 | if (!has()) { |
135 | 0 | return false; |
136 | 0 | } |
137 | 262 | return Compare::equal(_value_at(column, row_num), value); |
138 | 262 | } 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 | 11 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 11 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 11 | return Compare::equal(_value_at(column, row_num), value); | 138 | 11 | } |
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 Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_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_13PrimitiveTypeE4EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 93 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 93 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 93 | return Compare::equal(_value_at(column, row_num), value); | 138 | 93 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 142 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 142 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 142 | return Compare::equal(_value_at(column, row_num), value); | 138 | 142 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 11 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 11 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 11 | return Compare::equal(_value_at(column, row_num), value); | 138 | 11 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKNS_7IColumnEm |
139 | | |
140 | 15 | bool is_equal_to(const Self& to) const { |
141 | 15 | return has() && to.has() && Compare::equal(value, to.value); |
142 | 15 | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKS2_ Line | Count | Source | 140 | 13 | bool is_equal_to(const Self& to) const { | 141 | 13 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 13 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKS2_ Line | Count | Source | 140 | 2 | bool is_equal_to(const Self& to) const { | 141 | 2 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 2 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKS2_ |
143 | | |
144 | 60.0k | bool set_if_greater(const Self& to, Arena& arena) { |
145 | 60.0k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
146 | 52.4k | set(to, arena); |
147 | 52.4k | return true; |
148 | 52.4k | } |
149 | 7.51k | return false; |
150 | 60.0k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 24 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 24 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 21 | set(to, arena); | 147 | 21 | return true; | 148 | 21 | } | 149 | 3 | return false; | 150 | 24 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 82 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 82 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 65 | set(to, arena); | 147 | 65 | return true; | 148 | 65 | } | 149 | 17 | return false; | 150 | 82 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1 | set(to, arena); | 147 | 1 | return true; | 148 | 1 | } | 149 | 0 | return false; | 150 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 5 | set(to, arena); | 147 | 5 | return true; | 148 | 5 | } | 149 | 1 | return false; | 150 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 5 | set(to, arena); | 147 | 5 | return true; | 148 | 5 | } | 149 | 1 | return false; | 150 | 6 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 9 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 9 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 4 | set(to, arena); | 147 | 4 | return true; | 148 | 4 | } | 149 | 5 | return false; | 150 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 36 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 36 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 31 | set(to, arena); | 147 | 31 | return true; | 148 | 31 | } | 149 | 5 | return false; | 150 | 36 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 8 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 8 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 8 | set(to, arena); | 147 | 8 | return true; | 148 | 8 | } | 149 | 0 | return false; | 150 | 8 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 16.8k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 16.8k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 16.5k | set(to, arena); | 147 | 16.5k | return true; | 148 | 16.5k | } | 149 | 292 | return false; | 150 | 16.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 37.3k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 37.3k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 30.4k | set(to, arena); | 147 | 30.4k | return true; | 148 | 30.4k | } | 149 | 6.92k | return false; | 150 | 37.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 64 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 64 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 43 | set(to, arena); | 147 | 43 | return true; | 148 | 43 | } | 149 | 21 | return false; | 150 | 64 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 35 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 35 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 33 | set(to, arena); | 147 | 33 | return true; | 148 | 33 | } | 149 | 2 | return false; | 150 | 35 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 37 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 37 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 32 | set(to, arena); | 147 | 32 | return true; | 148 | 32 | } | 149 | 5 | return false; | 150 | 37 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 10 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 10 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 8 | set(to, arena); | 147 | 8 | return true; | 148 | 8 | } | 149 | 2 | return false; | 150 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1.32k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1.32k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1.11k | set(to, arena); | 147 | 1.11k | return true; | 148 | 1.11k | } | 149 | 203 | return false; | 150 | 1.32k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 4.09k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 4.09k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 4.09k | set(to, arena); | 147 | 4.09k | return true; | 148 | 4.09k | } | 149 | 0 | return false; | 150 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 59 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 59 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 33 | set(to, arena); | 147 | 33 | return true; | 148 | 33 | } | 149 | 26 | return false; | 150 | 59 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 2 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 2 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 2 | set(to, arena); | 147 | 2 | return true; | 148 | 2 | } | 149 | 0 | return false; | 150 | 2 | } |
|
151 | | }; |
152 | | |
153 | | /// Stores short strings inline and allocates a separate buffer for long strings. |
154 | | struct SingleValueDataString { |
155 | | private: |
156 | | using Self = SingleValueDataString; |
157 | | // Keep the signed 32-bit size because -1 represents an empty state in the serialized format. |
158 | | Int32 size = -1; /// -1 indicates that there is no value. |
159 | | Int32 capacity = 0; /// power of two or zero |
160 | | DorisUniqueBufferPtr<char> large_data; |
161 | | |
162 | | public: |
163 | | static constexpr Int32 AUTOMATIC_STORAGE_SIZE = 64; |
164 | | static constexpr Int32 MAX_SMALL_STRING_SIZE = |
165 | | AUTOMATIC_STORAGE_SIZE - sizeof(size) - sizeof(capacity) - sizeof(large_data); |
166 | | |
167 | | private: |
168 | | char small_data[MAX_SMALL_STRING_SIZE]; |
169 | | |
170 | | public: |
171 | | using ColVecType = ColumnString; |
172 | | static constexpr bool NeedCheckColumnType = true; |
173 | | |
174 | 17.5k | ~SingleValueDataString() = default; |
175 | | |
176 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
177 | | |
178 | 10.0M | bool has() const { return size >= 0; } |
179 | | |
180 | | private: |
181 | 10.0M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
182 | 10.0M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
183 | 10.0M | row_num); |
184 | 10.0M | } |
185 | | |
186 | 10.0M | const char* _data() const { |
187 | 10.0M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
188 | 10.0M | } |
189 | | |
190 | 10.0M | StringRef _value() const { return StringRef(_data(), size); } |
191 | | |
192 | 24.7k | void _set(StringRef source) { |
193 | 24.7k | Int32 value_size = cast_set<Int32>(source.size); |
194 | 24.7k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
195 | | /// Don't free large_data here. |
196 | 24.4k | size = value_size; |
197 | | |
198 | 24.4k | if (size > 0) { |
199 | 24.4k | memcpy(small_data, source.data, size); |
200 | 24.4k | } |
201 | 24.4k | } else { |
202 | 307 | if (capacity < value_size) { |
203 | | /// Don't free large_data here. |
204 | 168 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
205 | 168 | large_data = DorisUniqueBufferPtr<char>(capacity); |
206 | 168 | } |
207 | | |
208 | 307 | size = value_size; |
209 | 307 | memcpy(large_data.get(), source.data, size); |
210 | 307 | } |
211 | 24.7k | } |
212 | | |
213 | | public: |
214 | 15.2k | void insert_result_into(IColumn& to) const { |
215 | 15.2k | if (has()) { |
216 | 15.1k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
217 | 15.1k | } else { |
218 | 101 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
219 | 101 | } |
220 | 15.2k | } |
221 | | |
222 | 16.4k | void reset() { |
223 | 16.4k | size = -1; |
224 | 16.4k | capacity = 0; |
225 | 16.4k | large_data.reset(); |
226 | 16.4k | } |
227 | | |
228 | 620 | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
229 | 620 | buf.write_binary(size); |
230 | 620 | if (has()) { |
231 | 612 | buf.write(_data(), size); |
232 | 612 | } |
233 | 620 | } |
234 | | |
235 | 1.43k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
236 | 1.43k | Int32 rhs_size; |
237 | 1.43k | buf.read_binary(rhs_size); |
238 | | |
239 | 1.43k | if (rhs_size >= 0) { |
240 | 1.42k | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
241 | | /// Don't free large_data here. |
242 | | |
243 | 1.13k | size = rhs_size; |
244 | | |
245 | 1.13k | if (size > 0) { |
246 | 1.01k | buf.read(small_data, size); |
247 | 1.01k | } |
248 | 1.13k | } else { |
249 | 288 | if (capacity < rhs_size) { |
250 | 288 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
251 | 288 | large_data = DorisUniqueBufferPtr<char>(capacity); |
252 | 288 | } |
253 | | |
254 | 288 | size = rhs_size; |
255 | 288 | buf.read(large_data.get(), size); |
256 | 288 | } |
257 | 1.42k | } else { |
258 | | /// Don't free large_data here. |
259 | 14 | size = rhs_size; |
260 | 14 | } |
261 | 1.43k | } |
262 | | |
263 | 24.1k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
264 | | |
265 | 614 | void set(const Self& to, Arena&) { |
266 | 614 | DORIS_CHECK(to.has()); |
267 | 614 | _set(to._value()); |
268 | 614 | } |
269 | | |
270 | 3.95M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
271 | 3.95M | if (!has() || _value_at(column, row_num) < _value()) { |
272 | 3.50k | set(column, row_num, arena); |
273 | 3.50k | return true; |
274 | 3.50k | } |
275 | 3.95M | return false; |
276 | 3.95M | } |
277 | | |
278 | 6.06M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
279 | 6.06M | if (!has() || _value_at(column, row_num) > _value()) { |
280 | 20.2k | set(column, row_num, arena); |
281 | 20.2k | return true; |
282 | 20.2k | } |
283 | 6.04M | return false; |
284 | 6.06M | } |
285 | | |
286 | 513 | bool set_if_smaller(const Self& to, Arena& arena) { |
287 | 513 | if (to.has() && (!has() || to._value() < _value())) { |
288 | 186 | set(to, arena); |
289 | 186 | return true; |
290 | 186 | } |
291 | 327 | return false; |
292 | 513 | } |
293 | | |
294 | 321 | bool set_if_greater(const Self& to, Arena& arena) { |
295 | 321 | if (to.has() && (!has() || to._value() > _value())) { |
296 | 131 | set(to, arena); |
297 | 131 | return true; |
298 | 131 | } |
299 | 190 | return false; |
300 | 321 | } |
301 | | |
302 | 24 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
303 | 24 | if (!has()) { |
304 | 0 | return false; |
305 | 0 | } |
306 | 24 | return _value_at(column, row_num) == _value(); |
307 | 24 | } |
308 | | |
309 | 4 | bool is_equal_to(const Self& to) const { return has() && to.has() && _value() == to._value(); } |
310 | | }; |
311 | | |
312 | | static_assert(sizeof(SingleValueDataString) == SingleValueDataString::AUTOMATIC_STORAGE_SIZE); |
313 | | |
314 | | /// Owns a materialized one-row column for values without a dedicated representation above. |
315 | | class SingleValueDataColumn { |
316 | | private: |
317 | | using Self = SingleValueDataColumn; |
318 | | |
319 | | ColumnPtr _value; |
320 | | |
321 | | public: |
322 | | static constexpr bool NeedCheckColumnType = false; |
323 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
324 | | |
325 | 9.66k | bool has() const { return _value.get() != nullptr; } |
326 | | |
327 | | size_t allocated_bytes() const { return has() ? _value->allocated_bytes() : 0; } |
328 | | |
329 | 3.44k | void set(const IColumn& column, size_t row_num) { |
330 | 3.44k | auto value = column.clone_empty(); |
331 | 3.44k | DCHECK(value->empty()); |
332 | 3.44k | value->reserve(1); |
333 | 3.44k | value->insert_from(column, row_num); |
334 | 3.44k | DCHECK_EQ(value->size(), 1); |
335 | 3.44k | _value = std::move(value); |
336 | 3.44k | } |
337 | | |
338 | 4.85k | void insert_result_into(IColumn& to) const { |
339 | 4.85k | if (has()) { |
340 | 4.84k | to.insert_from(*_value, 0); |
341 | 4.84k | } else { |
342 | 9 | to.insert_default(); |
343 | 9 | } |
344 | 4.85k | } |
345 | | |
346 | 2.59k | void reset() { _value.reset(); } |
347 | | |
348 | 18 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
349 | 18 | buf.write_binary(has()); |
350 | 18 | if (!has()) { |
351 | 0 | return; |
352 | 0 | } |
353 | 18 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
354 | 18 | buf.write_binary(size_bytes); |
355 | 18 | buf.resize(size_bytes); |
356 | 18 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
357 | 18 | DCHECK_EQ(p, buf.data() + size_bytes); |
358 | 18 | buf.add_offset(size_bytes); |
359 | 18 | } |
360 | | |
361 | 18 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
362 | 18 | bool has_value = false; |
363 | 18 | buf.read_binary(has_value); |
364 | 18 | if (!has_value) { |
365 | 0 | reset(); |
366 | 0 | return; |
367 | 0 | } |
368 | 18 | int64_t size = 0; |
369 | 18 | buf.read_binary(size); |
370 | 18 | auto value = data_type->create_column(); |
371 | 18 | value->reserve(1); |
372 | 18 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
373 | 18 | DCHECK_EQ(p, buf.data() + size); |
374 | 18 | buf.add_offset(size); |
375 | 18 | _value = std::move(value); |
376 | 18 | } |
377 | | |
378 | 278 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
379 | | |
380 | 18 | void set(const Self& to, Arena&) { |
381 | 18 | DORIS_CHECK(to.has()); |
382 | | // Stored one-row columns are immutable, so merged states can share ownership. |
383 | 18 | _value = to._value; |
384 | 18 | } |
385 | | |
386 | 98 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
387 | 98 | if (!has() || column.compare_at(row_num, 0, *_value, 1) < 0) { |
388 | 57 | set(column, row_num, arena); |
389 | 57 | return true; |
390 | 57 | } |
391 | 41 | return false; |
392 | 98 | } |
393 | | |
394 | 0 | bool set_if_smaller(const Self& to, Arena& arena) { |
395 | 0 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
396 | 0 | set(to, arena); |
397 | 0 | return true; |
398 | 0 | } |
399 | 0 | return false; |
400 | 0 | } |
401 | | |
402 | 96 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
403 | 96 | if (!has() || column.compare_at(row_num, 0, *_value, 1) > 0) { |
404 | 35 | set(column, row_num, arena); |
405 | 35 | return true; |
406 | 35 | } |
407 | 61 | return false; |
408 | 96 | } |
409 | | |
410 | 0 | bool set_if_greater(const Self& to, Arena& arena) { |
411 | 0 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
412 | 0 | set(to, arena); |
413 | 0 | return true; |
414 | 0 | } |
415 | 0 | return false; |
416 | 0 | } |
417 | | |
418 | 1 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
419 | 1 | return has() && column.compare_at(row_num, 0, *_value, 1) == 0; |
420 | 1 | } |
421 | | |
422 | 0 | bool is_equal_to(const Self& to) const { |
423 | 0 | return has() && to.has() && _value->compare_at(0, 0, *to._value, 1) == 0; |
424 | 0 | } |
425 | | }; |
426 | | |
427 | | } // namespace doris |