be/src/exprs/aggregate/single_value_data.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <cstring> |
21 | | |
22 | | #include "common/cast_set.h" |
23 | | #include "common/compare.h" |
24 | | #include "common/logging.h" |
25 | | #include "core/assert_cast.h" |
26 | | #include "core/column/column.h" |
27 | | #include "core/column/column_decimal.h" |
28 | | #include "core/column/column_string.h" |
29 | | #include "core/custom_allocator.h" |
30 | | #include "core/data_type/data_type.h" |
31 | | #include "core/data_type/primitive_type.h" |
32 | | #include "core/string_buffer.hpp" |
33 | | #include "core/string_ref.h" |
34 | | #include "core/types.h" |
35 | | |
36 | | namespace doris { |
37 | | |
38 | | class Arena; |
39 | | |
40 | | /// Stores one fixed-size scalar value directly in the aggregate state. |
41 | | template <PrimitiveType T> |
42 | | struct SingleValueDataFixed { |
43 | | private: |
44 | | using Self = SingleValueDataFixed; |
45 | | using ValueType = typename PrimitiveTypeTraits<T>::CppType; |
46 | | |
47 | 18.4M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 18.4M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 18.4M | TypeCheckOnRelease::DISABLE>(column) |
50 | 18.4M | .get_data()[row_num]; |
51 | 18.4M | } 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.93M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.93M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.93M | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.93M | .get_data()[row_num]; | 51 | 3.93M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 29.9k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 29.9k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 29.9k | TypeCheckOnRelease::DISABLE>(column) | 50 | 29.9k | .get_data()[row_num]; | 51 | 29.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 921 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 921 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 921 | TypeCheckOnRelease::DISABLE>(column) | 50 | 921 | .get_data()[row_num]; | 51 | 921 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 6.11k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.11k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.11k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.11k | .get_data()[row_num]; | 51 | 6.11k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 300 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 300 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 300 | TypeCheckOnRelease::DISABLE>(column) | 50 | 300 | .get_data()[row_num]; | 51 | 300 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 69 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 69 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 69 | TypeCheckOnRelease::DISABLE>(column) | 50 | 69 | .get_data()[row_num]; | 51 | 69 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 67 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 67 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 67 | TypeCheckOnRelease::DISABLE>(column) | 50 | 67 | .get_data()[row_num]; | 51 | 67 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 587k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 587k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 587k | TypeCheckOnRelease::DISABLE>(column) | 50 | 587k | .get_data()[row_num]; | 51 | 587k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 410 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 410 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 410 | TypeCheckOnRelease::DISABLE>(column) | 50 | 410 | .get_data()[row_num]; | 51 | 410 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 175k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 175k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 175k | TypeCheckOnRelease::DISABLE>(column) | 50 | 175k | .get_data()[row_num]; | 51 | 175k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.16k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.16k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.16k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.16k | .get_data()[row_num]; | 51 | 3.16k | } |
_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 | 235k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 235k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 235k | TypeCheckOnRelease::DISABLE>(column) | 50 | 235k | .get_data()[row_num]; | 51 | 235k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.76k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.76k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.76k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.76k | .get_data()[row_num]; | 51 | 2.76k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.33k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.33k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.33k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.33k | .get_data()[row_num]; | 51 | 2.33k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 19.7k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 19.7k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 19.7k | TypeCheckOnRelease::DISABLE>(column) | 50 | 19.7k | .get_data()[row_num]; | 51 | 19.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 10.5k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 10.5k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 10.5k | TypeCheckOnRelease::DISABLE>(column) | 50 | 10.5k | .get_data()[row_num]; | 51 | 10.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 5.39M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.39M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.39M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.39M | .get_data()[row_num]; | 51 | 5.39M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 21.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 21.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 21.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 21.4k | .get_data()[row_num]; | 51 | 21.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 789 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 789 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 789 | TypeCheckOnRelease::DISABLE>(column) | 50 | 789 | .get_data()[row_num]; | 51 | 789 | } |
|
52 | | |
53 | | // AggregateFunctionIf and state merging must distinguish an empty state from a default value. |
54 | | bool has_value = false; |
55 | | ValueType value {}; |
56 | | |
57 | | public: |
58 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
59 | | static constexpr bool NeedCheckColumnType = true; |
60 | | |
61 | 883k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 3.72k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 1.01k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 1.17k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.85k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 21 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EEC2Ev Line | Count | Source | 61 | 48 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EEC2Ev Line | Count | Source | 61 | 47 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EEC2Ev Line | Count | Source | 61 | 115k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 176 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 296k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 687 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 373k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 47.4k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 843 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 603 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.30k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 216 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 30.1k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 848 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 98 | SingleValueDataFixed() = default; |
|
62 | 21.4M | 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.93M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3hasEv Line | Count | Source | 62 | 30.2k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3hasEv Line | Count | Source | 62 | 1.85k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3hasEv Line | Count | Source | 62 | 8.13k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3hasEv Line | Count | Source | 62 | 213 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3hasEv Line | Count | Source | 62 | 117 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3hasEv Line | Count | Source | 62 | 118 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3hasEv Line | Count | Source | 62 | 880k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 545 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 905k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 3.63k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.84M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 296k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 3.55k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 2.80k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 20.8k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 15.7k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.42M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3hasEv Line | Count | Source | 62 | 40.9k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3hasEv Line | Count | Source | 62 | 21.6k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 1.02k | bool has() const { return has_value; } |
|
63 | | |
64 | | static constexpr bool UsesFixedLengthStateSerialization = true; |
65 | | |
66 | 1.39M | void set_value_to_min() { value = Compare::min_value<ValueType>(); }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE16set_value_to_minEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE16set_value_to_minEv Line | Count | Source | 66 | 1 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE16set_value_to_minEv Line | Count | Source | 66 | 2.01k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 786 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 316 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_minEv Line | Count | Source | 66 | 2.00k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_minEv Line | Count | Source | 66 | 7 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 26 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 26 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 57.8k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 93 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_minEv Line | Count | Source | 66 | 148k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 880 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.14M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 25.0k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 933 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 847 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.33k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.23k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.87k | 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 | 509 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 143 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 623k | 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.88k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 425 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 314 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_maxEv Line | Count | Source | 68 | 2.00k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_maxEv Line | Count | Source | 68 | 7 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_maxEv Line | Count | Source | 68 | 22 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_maxEv Line | Count | Source | 68 | 21 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_maxEv Line | Count | Source | 68 | 61.9k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 81 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_maxEv Line | Count | Source | 68 | 147k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_maxEv Line | Count | Source | 68 | 184 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 354k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 22.7k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 194 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 110 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 488 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 86 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 25.5k | 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 | 353 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 139 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
|
69 | | |
70 | 1.24M | void insert_result_into(IColumn& to) const { |
71 | 1.24M | if (has()) { |
72 | 1.24M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
73 | 1.24M | to) |
74 | 1.24M | .insert_value(value); |
75 | 1.24M | } else { |
76 | 650 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 650 | to) |
78 | 650 | .insert_default(); |
79 | 650 | } |
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 | 3.60k | void insert_result_into(IColumn& to) const { | 71 | 3.60k | if (has()) { | 72 | 3.55k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3.55k | to) | 74 | 3.55k | .insert_value(value); | 75 | 3.55k | } else { | 76 | 50 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 50 | to) | 78 | 50 | .insert_default(); | 79 | 50 | } | 80 | 3.60k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 741 | void insert_result_into(IColumn& to) const { | 71 | 741 | if (has()) { | 72 | 741 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 741 | to) | 74 | 741 | .insert_value(value); | 75 | 741 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 741 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 355 | void insert_result_into(IColumn& to) const { | 71 | 355 | if (has()) { | 72 | 355 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 355 | to) | 74 | 355 | .insert_value(value); | 75 | 355 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 355 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 2.31k | void insert_result_into(IColumn& to) const { | 71 | 2.31k | if (has()) { | 72 | 2.31k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2.31k | to) | 74 | 2.31k | .insert_value(value); | 75 | 2.31k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2.31k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 3 | void insert_result_into(IColumn& to) const { | 71 | 3 | if (has()) { | 72 | 3 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3 | to) | 74 | 3 | .insert_value(value); | 75 | 3 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 3 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 4.92k | void insert_result_into(IColumn& to) const { | 71 | 4.92k | if (has()) { | 72 | 4.92k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 4.92k | to) | 74 | 4.92k | .insert_value(value); | 75 | 4.92k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 4.92k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 86 | void insert_result_into(IColumn& to) const { | 71 | 86 | if (has()) { | 72 | 86 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 86 | to) | 74 | 86 | .insert_value(value); | 75 | 86 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 86 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.08k | void insert_result_into(IColumn& to) const { | 71 | 1.08k | if (has()) { | 72 | 1.07k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.07k | to) | 74 | 1.07k | .insert_value(value); | 75 | 1.07k | } else { | 76 | 10 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 10 | to) | 78 | 10 | .insert_default(); | 79 | 10 | } | 80 | 1.08k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_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_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.18M | void insert_result_into(IColumn& to) const { | 71 | 1.18M | if (has()) { | 72 | 1.17M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.17M | to) | 74 | 1.17M | .insert_value(value); | 75 | 1.17M | } else { | 76 | 492 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 492 | to) | 78 | 492 | .insert_default(); | 79 | 492 | } | 80 | 1.18M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 7.14k | void insert_result_into(IColumn& to) const { | 71 | 7.14k | if (has()) { | 72 | 7.07k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 7.07k | to) | 74 | 7.07k | .insert_value(value); | 75 | 7.07k | } else { | 76 | 66 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 66 | to) | 78 | 66 | .insert_default(); | 79 | 66 | } | 80 | 7.14k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 838 | void insert_result_into(IColumn& to) const { | 71 | 838 | if (has()) { | 72 | 836 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 836 | to) | 74 | 836 | .insert_value(value); | 75 | 836 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 838 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 679 | void insert_result_into(IColumn& to) const { | 71 | 679 | if (has()) { | 72 | 679 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 679 | to) | 74 | 679 | .insert_value(value); | 75 | 679 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 679 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.20k | void insert_result_into(IColumn& to) const { | 71 | 1.20k | if (has()) { | 72 | 1.20k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.20k | to) | 74 | 1.20k | .insert_value(value); | 75 | 1.20k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.20k | } |
_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.21k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 5.21k | to) | 74 | 5.21k | .insert_value(value); | 75 | 5.21k | } 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 | 23.0k | void insert_result_into(IColumn& to) const { | 71 | 23.0k | if (has()) { | 72 | 23.0k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 23.0k | to) | 74 | 23.0k | .insert_value(value); | 75 | 23.0k | } else { | 76 | 27 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 27 | to) | 78 | 27 | .insert_default(); | 79 | 27 | } | 80 | 23.0k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 8.19k | void insert_result_into(IColumn& to) const { | 71 | 8.19k | if (has()) { | 72 | 8.19k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.19k | to) | 74 | 8.19k | .insert_value(value); | 75 | 8.19k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 8.19k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 705 | void insert_result_into(IColumn& to) const { | 71 | 705 | if (has()) { | 72 | 705 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 705 | to) | 74 | 705 | .insert_value(value); | 75 | 705 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 705 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 255 | void insert_result_into(IColumn& to) const { | 71 | 255 | if (has()) { | 72 | 255 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 255 | to) | 74 | 255 | .insert_value(value); | 75 | 255 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 255 | } |
|
81 | | |
82 | 2.01M | 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.89k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.21k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 629 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 4.00k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 14 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 48 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 46 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv Line | Count | Source | 82 | 119k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 174 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 295k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.06k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.49M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 47.6k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.15k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 957 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.81k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.31k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 29.2k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 871 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 282 | void reset() { has_value = false; } |
|
83 | | |
84 | 10.2k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
85 | 10.2k | buf.write_binary(has()); |
86 | 10.2k | if (has()) { |
87 | 10.2k | buf.write_binary(value); |
88 | 10.2k | } |
89 | 10.2k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 12 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 12 | buf.write_binary(has()); | 86 | 12 | if (has()) { | 87 | 12 | buf.write_binary(value); | 88 | 12 | } | 89 | 12 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 18 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 18 | buf.write_binary(has()); | 86 | 18 | if (has()) { | 87 | 18 | buf.write_binary(value); | 88 | 18 | } | 89 | 18 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 104 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 104 | buf.write_binary(has()); | 86 | 104 | if (has()) { | 87 | 104 | buf.write_binary(value); | 88 | 104 | } | 89 | 104 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 3 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 3 | buf.write_binary(has()); | 86 | 3 | if (has()) { | 87 | 3 | buf.write_binary(value); | 88 | 3 | } | 89 | 3 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 64 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 64 | buf.write_binary(has()); | 86 | 64 | if (has()) { | 87 | 64 | buf.write_binary(value); | 88 | 64 | } | 89 | 64 | } |
_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.51k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.51k | buf.write_binary(has()); | 86 | 9.51k | if (has()) { | 87 | 9.51k | buf.write_binary(value); | 88 | 9.51k | } | 89 | 9.51k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 103 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 103 | buf.write_binary(has()); | 86 | 103 | if (has()) { | 87 | 103 | buf.write_binary(value); | 88 | 103 | } | 89 | 103 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 44 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 44 | buf.write_binary(has()); | 86 | 44 | if (has()) { | 87 | 44 | buf.write_binary(value); | 88 | 44 | } | 89 | 44 | } |
_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 | 334 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 334 | buf.write_binary(has()); | 86 | 334 | if (has()) { | 87 | 334 | buf.write_binary(value); | 88 | 334 | } | 89 | 334 | } |
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.98k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 9.98k | buf.read_binary(has_value); |
93 | 9.98k | if (has()) { |
94 | 9.97k | buf.read_binary(value); |
95 | 9.97k | } |
96 | 9.98k | } 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 | 12 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 12 | buf.read_binary(has_value); | 93 | 12 | if (has()) { | 94 | 12 | buf.read_binary(value); | 95 | 12 | } | 96 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 18 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 18 | buf.read_binary(has_value); | 93 | 18 | if (has()) { | 94 | 18 | buf.read_binary(value); | 95 | 18 | } | 96 | 18 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 104 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 104 | buf.read_binary(has_value); | 93 | 104 | if (has()) { | 94 | 104 | buf.read_binary(value); | 95 | 104 | } | 96 | 104 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 3 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 3 | buf.read_binary(has_value); | 93 | 3 | if (has()) { | 94 | 3 | buf.read_binary(value); | 95 | 3 | } | 96 | 3 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 64 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 64 | buf.read_binary(has_value); | 93 | 64 | if (has()) { | 94 | 64 | buf.read_binary(value); | 95 | 64 | } | 96 | 64 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 9.29k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.29k | buf.read_binary(has_value); | 93 | 9.29k | if (has()) { | 94 | 9.29k | buf.read_binary(value); | 95 | 9.29k | } | 96 | 9.29k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 106 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 106 | buf.read_binary(has_value); | 93 | 106 | if (has()) { | 94 | 106 | buf.read_binary(value); | 95 | 106 | } | 96 | 106 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 41 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 41 | buf.read_binary(has_value); | 93 | 41 | if (has()) { | 94 | 41 | buf.read_binary(value); | 95 | 41 | } | 96 | 41 | } |
_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 | 310 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 310 | buf.read_binary(has_value); | 93 | 310 | if (has()) { | 94 | 310 | buf.read_binary(value); | 95 | 310 | } | 96 | 310 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
|
97 | | |
98 | 1.85M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.85M | has_value = true; |
100 | 1.85M | value = _value_at(column, row_num); |
101 | 1.85M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5 | has_value = true; | 100 | 5 | value = _value_at(column, row_num); | 101 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 7.47k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 7.47k | has_value = true; | 100 | 7.47k | value = _value_at(column, row_num); | 101 | 7.47k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.61k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.61k | has_value = true; | 100 | 1.61k | value = _value_at(column, row_num); | 101 | 1.61k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 559 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 559 | has_value = true; | 100 | 559 | value = _value_at(column, row_num); | 101 | 559 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 2.73k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.73k | has_value = true; | 100 | 2.73k | value = _value_at(column, row_num); | 101 | 2.73k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 102 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 102 | has_value = true; | 100 | 102 | value = _value_at(column, row_num); | 101 | 102 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 32 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 32 | has_value = true; | 100 | 32 | value = _value_at(column, row_num); | 101 | 32 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 30 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 30 | has_value = true; | 100 | 30 | value = _value_at(column, row_num); | 101 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 63.4k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 63.4k | has_value = true; | 100 | 63.4k | value = _value_at(column, row_num); | 101 | 63.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 104 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 104 | has_value = true; | 100 | 104 | value = _value_at(column, row_num); | 101 | 104 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 148k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 148k | has_value = true; | 100 | 148k | value = _value_at(column, row_num); | 101 | 148k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.22k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.22k | has_value = true; | 100 | 1.22k | value = _value_at(column, row_num); | 101 | 1.22k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.49M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.49M | has_value = true; | 100 | 1.49M | value = _value_at(column, row_num); | 101 | 1.49M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 75.9k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 75.9k | has_value = true; | 100 | 75.9k | value = _value_at(column, row_num); | 101 | 75.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.19k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.19k | has_value = true; | 100 | 1.19k | value = _value_at(column, row_num); | 101 | 1.19k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.01k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.01k | has_value = true; | 100 | 1.01k | value = _value_at(column, row_num); | 101 | 1.01k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.71k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.71k | has_value = true; | 100 | 1.71k | value = _value_at(column, row_num); | 101 | 1.71k | } |
_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 | 33.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 33.2k | has_value = true; | 100 | 33.2k | value = _value_at(column, row_num); | 101 | 33.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 12.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 12.2k | has_value = true; | 100 | 12.2k | value = _value_at(column, row_num); | 101 | 12.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.41k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.41k | has_value = true; | 100 | 1.41k | value = _value_at(column, row_num); | 101 | 1.41k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 304 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 304 | has_value = true; | 100 | 304 | value = _value_at(column, row_num); | 101 | 304 | } |
|
102 | | |
103 | 401k | void set(const Self& to, Arena&) { |
104 | 401k | DORIS_CHECK(to.has()); |
105 | 401k | has_value = true; |
106 | 401k | value = to.value; |
107 | 401k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 75 | void set(const Self& to, Arena&) { | 104 | 75 | DORIS_CHECK(to.has()); | 105 | 75 | has_value = true; | 106 | 75 | value = to.value; | 107 | 75 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 103 | void set(const Self& to, Arena&) { | 104 | 103 | DORIS_CHECK(to.has()); | 105 | 103 | has_value = true; | 106 | 103 | value = to.value; | 107 | 103 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 175 | void set(const Self& to, Arena&) { | 104 | 175 | DORIS_CHECK(to.has()); | 105 | 175 | has_value = true; | 106 | 175 | value = to.value; | 107 | 175 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 29 | void set(const Self& to, Arena&) { | 104 | 29 | DORIS_CHECK(to.has()); | 105 | 29 | has_value = true; | 106 | 29 | value = to.value; | 107 | 29 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 3 | void set(const Self& to, Arena&) { | 104 | 3 | DORIS_CHECK(to.has()); | 105 | 3 | has_value = true; | 106 | 3 | value = to.value; | 107 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 11 | void set(const Self& to, Arena&) { | 104 | 11 | DORIS_CHECK(to.has()); | 105 | 11 | has_value = true; | 106 | 11 | value = to.value; | 107 | 11 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 58.0k | void set(const Self& to, Arena&) { | 104 | 58.0k | DORIS_CHECK(to.has()); | 105 | 58.0k | has_value = true; | 106 | 58.0k | value = to.value; | 107 | 58.0k | } |
_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 | 146k | void set(const Self& to, Arena&) { | 104 | 146k | DORIS_CHECK(to.has()); | 105 | 146k | has_value = true; | 106 | 146k | value = to.value; | 107 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 14 | void set(const Self& to, Arena&) { | 104 | 14 | DORIS_CHECK(to.has()); | 105 | 14 | has_value = true; | 106 | 14 | value = to.value; | 107 | 14 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 163k | void set(const Self& to, Arena&) { | 104 | 163k | DORIS_CHECK(to.has()); | 105 | 163k | has_value = true; | 106 | 163k | value = to.value; | 107 | 163k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 22.0k | void set(const Self& to, Arena&) { | 104 | 22.0k | DORIS_CHECK(to.has()); | 105 | 22.0k | has_value = true; | 106 | 22.0k | value = to.value; | 107 | 22.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 34 | void set(const Self& to, Arena&) { | 104 | 34 | DORIS_CHECK(to.has()); | 105 | 34 | has_value = true; | 106 | 34 | value = to.value; | 107 | 34 | } |
_ZN5doris20SingleValueDataFixedILNS_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 | 155 | void set(const Self& to, Arena&) { | 104 | 155 | DORIS_CHECK(to.has()); | 105 | 155 | has_value = true; | 106 | 155 | value = to.value; | 107 | 155 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 31 | void set(const Self& to, Arena&) { | 104 | 31 | DORIS_CHECK(to.has()); | 105 | 31 | has_value = true; | 106 | 31 | value = to.value; | 107 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 2.35k | void set(const Self& to, Arena&) { | 104 | 2.35k | DORIS_CHECK(to.has()); | 105 | 2.35k | has_value = true; | 106 | 2.35k | value = to.value; | 107 | 2.35k | } |
_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 | 45 | void set(const Self& to, Arena&) { | 104 | 45 | DORIS_CHECK(to.has()); | 105 | 45 | has_value = true; | 106 | 45 | value = to.value; | 107 | 45 | } |
_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 | 8.72M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 8.72M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 440k | set(column, row_num, arena); |
112 | 440k | return true; |
113 | 440k | } |
114 | 8.28M | return false; |
115 | 8.72M | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 367 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 367 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 229 | set(column, row_num, arena); | 112 | 229 | return true; | 113 | 229 | } | 114 | 138 | return false; | 115 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 194 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 194 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 49 | set(column, row_num, arena); | 112 | 49 | return true; | 113 | 49 | } | 114 | 145 | return false; | 115 | 194 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.9k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.9k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 74.0k | set(column, row_num, arena); | 112 | 74.0k | return true; | 113 | 74.0k | } | 114 | 12.8k | return false; | 115 | 86.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 816 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 816 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 193 | set(column, row_num, arena); | 112 | 193 | return true; | 113 | 193 | } | 114 | 623 | return false; | 115 | 816 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.52M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.52M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 286k | set(column, row_num, arena); | 112 | 286k | return true; | 113 | 286k | } | 114 | 3.24M | return false; | 115 | 3.52M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.4k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.4k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 13.4k | set(column, row_num, arena); | 112 | 13.4k | return true; | 113 | 13.4k | } | 114 | 73.0k | return false; | 115 | 86.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 616 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 616 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 214 | set(column, row_num, arena); | 112 | 214 | return true; | 113 | 214 | } | 114 | 402 | return false; | 115 | 616 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 438 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 438 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 107 | set(column, row_num, arena); | 112 | 107 | return true; | 113 | 107 | } | 114 | 331 | return false; | 115 | 438 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 16.7k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 16.7k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 385 | set(column, row_num, arena); | 112 | 385 | return true; | 113 | 385 | } | 114 | 16.3k | return false; | 115 | 16.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 169 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 169 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 64 | set(column, row_num, arena); | 112 | 64 | return true; | 113 | 64 | } | 114 | 105 | return false; | 115 | 169 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.71M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.71M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 28.4k | set(column, row_num, arena); | 112 | 28.4k | return true; | 113 | 28.4k | } | 114 | 2.68M | return false; | 115 | 2.71M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 4.09k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 4.09k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 4.09k | return false; | 115 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 9.28k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.28k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 564 | set(column, row_num, arena); | 112 | 564 | return true; | 113 | 564 | } | 114 | 8.71k | return false; | 115 | 9.28k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 372 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 372 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 132 | set(column, row_num, arena); | 112 | 132 | return true; | 113 | 132 | } | 114 | 240 | return false; | 115 | 372 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.96M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.96M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2.28k | set(column, row_num, arena); | 112 | 2.28k | return true; | 113 | 2.28k | } | 114 | 1.96M | return false; | 115 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 14.4k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 14.4k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 418 | set(column, row_num, arena); | 112 | 418 | return true; | 113 | 418 | } | 114 | 14.0k | return false; | 115 | 14.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 5 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 5 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2 | set(column, row_num, arena); | 112 | 2 | return true; | 113 | 2 | } | 114 | 3 | return false; | 115 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 100 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 100 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 99 | return false; | 115 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.85k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.85k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1.32k | set(column, row_num, arena); | 112 | 1.32k | return true; | 113 | 1.32k | } | 114 | 1.53k | return false; | 115 | 2.85k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 16 | set(column, row_num, arena); | 112 | 16 | return true; | 113 | 16 | } | 114 | 15 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 15 | set(column, row_num, arena); | 112 | 15 | return true; | 113 | 15 | } | 114 | 16 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 295k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 295k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 32.9k | set(column, row_num, arena); | 112 | 32.9k | return true; | 113 | 32.9k | } | 114 | 262k | return false; | 115 | 295k | } |
|
116 | | |
117 | 378k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 378k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 191k | set(to, arena); |
120 | 191k | return true; |
121 | 191k | } |
122 | 186k | return false; |
123 | 378k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 54 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 54 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 53 | set(to, arena); | 120 | 53 | return true; | 121 | 53 | } | 122 | 1 | return false; | 123 | 54 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 9 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 9 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 6 | return false; | 123 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 146k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 146k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 73.4k | set(to, arena); | 120 | 73.4k | return true; | 121 | 73.4k | } | 122 | 73.5k | return false; | 123 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 1 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 147k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 147k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 73.7k | set(to, arena); | 120 | 73.7k | return true; | 121 | 73.7k | } | 122 | 73.8k | return false; | 123 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 20.1k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 20.1k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 10.1k | set(to, arena); | 120 | 10.1k | return true; | 121 | 10.1k | } | 122 | 10.0k | return false; | 123 | 20.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_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_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 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 0 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 119 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 119 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 113 | set(to, arena); | 120 | 113 | return true; | 121 | 113 | } | 122 | 6 | return false; | 123 | 119 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 17 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 17 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 16 | set(to, arena); | 120 | 16 | return true; | 121 | 16 | } | 122 | 1 | return false; | 123 | 17 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 1.09k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 1.09k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 1.01k | set(to, arena); | 120 | 1.01k | return true; | 121 | 1.01k | } | 122 | 79 | return false; | 123 | 1.09k | } |
_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 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 62 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 62 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 48 | set(to, arena); | 120 | 48 | return true; | 121 | 48 | } | 122 | 14 | return false; | 123 | 62 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 30 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 30 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 24 | set(to, arena); | 120 | 24 | return true; | 121 | 24 | } | 122 | 6 | return false; | 123 | 30 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 1 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 1 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 1 | set(to, arena); | 120 | 1 | return true; | 121 | 1 | } | 122 | 0 | return false; | 123 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 18 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 18 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 13 | set(to, arena); | 120 | 13 | return true; | 121 | 13 | } | 122 | 5 | return false; | 123 | 18 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 5 | set(to, arena); | 120 | 5 | return true; | 121 | 5 | } | 122 | 2 | return false; | 123 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 6 | set(to, arena); | 120 | 6 | return true; | 121 | 6 | } | 122 | 1 | return false; | 123 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 57.8k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 57.8k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 28.9k | set(to, arena); | 120 | 28.9k | return true; | 121 | 28.9k | } | 122 | 28.8k | return false; | 123 | 57.8k | } |
|
124 | | |
125 | 9.51M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 9.51M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.39M | set(column, row_num, arena); |
128 | 1.39M | return true; |
129 | 1.39M | } |
130 | 8.12M | return false; |
131 | 9.51M | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 367 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 367 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 235 | set(column, row_num, arena); | 128 | 235 | return true; | 129 | 235 | } | 130 | 132 | return false; | 131 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 203 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 203 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 50 | set(column, row_num, arena); | 128 | 50 | return true; | 129 | 50 | } | 130 | 153 | return false; | 131 | 203 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 88.0k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 88.0k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 74.7k | set(column, row_num, arena); | 128 | 74.7k | return true; | 129 | 74.7k | } | 130 | 13.2k | return false; | 131 | 88.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.93k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.93k | 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 | 918 | return false; | 131 | 1.93k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.33M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.33M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.19M | set(column, row_num, arena); | 128 | 1.19M | return true; | 129 | 1.19M | } | 130 | 3.13M | return false; | 131 | 4.33M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 98.9k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 98.9k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 62.5k | set(column, row_num, arena); | 128 | 62.5k | return true; | 129 | 62.5k | } | 130 | 36.4k | return false; | 131 | 98.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.82k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.82k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 967 | set(column, row_num, arena); | 128 | 967 | return true; | 129 | 967 | } | 130 | 855 | return false; | 131 | 1.82k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.55k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.55k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 891 | set(column, row_num, arena); | 128 | 891 | return true; | 129 | 891 | } | 130 | 665 | return false; | 131 | 1.55k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.47k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.47k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.31k | set(column, row_num, arena); | 128 | 1.31k | return true; | 129 | 1.31k | } | 130 | 1.16k | return false; | 131 | 2.47k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 10.2k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 10.2k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.20k | set(column, row_num, arena); | 128 | 5.20k | return true; | 129 | 5.20k | } | 130 | 5.08k | return false; | 131 | 10.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.68M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.68M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.76k | set(column, row_num, arena); | 128 | 4.76k | return true; | 129 | 4.76k | } | 130 | 2.67M | return false; | 131 | 2.68M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.09k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.09k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.09k | set(column, row_num, arena); | 128 | 4.09k | return true; | 129 | 4.09k | } | 130 | 0 | return false; | 131 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 11.4k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.4k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 819 | set(column, row_num, arena); | 128 | 819 | return true; | 129 | 819 | } | 130 | 10.5k | return false; | 131 | 11.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 368 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 368 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 158 | set(column, row_num, arena); | 128 | 158 | return true; | 129 | 158 | } | 130 | 210 | return false; | 131 | 368 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.96M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.96M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.16k | set(column, row_num, arena); | 128 | 5.16k | return true; | 129 | 5.16k | } | 130 | 1.96M | return false; | 131 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 14.6k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 14.6k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.17k | set(column, row_num, arena); | 128 | 1.17k | return true; | 129 | 1.17k | } | 130 | 13.5k | return false; | 131 | 14.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 5 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 5 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 3 | set(column, row_num, arena); | 128 | 3 | return true; | 129 | 3 | } | 130 | 2 | return false; | 131 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 100 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 100 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 100 | set(column, row_num, arena); | 128 | 100 | return true; | 129 | 100 | } | 130 | 0 | return false; | 131 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.85k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.85k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.40k | set(column, row_num, arena); | 128 | 1.40k | return true; | 129 | 1.40k | } | 130 | 1.45k | return false; | 131 | 2.85k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 15 | set(column, row_num, arena); | 128 | 15 | return true; | 129 | 15 | } | 130 | 12 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 14 | set(column, row_num, arena); | 128 | 14 | return true; | 129 | 14 | } | 130 | 13 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 288k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 288k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 30.5k | set(column, row_num, arena); | 128 | 30.5k | return true; | 129 | 30.5k | } | 130 | 257k | return false; | 131 | 288k | } |
|
132 | | |
133 | 4.20k | bool is_equal_to(const IColumn& column, size_t row_num) const { |
134 | 4.20k | if (!has()) { |
135 | 0 | return false; |
136 | 0 | } |
137 | 4.20k | return Compare::equal(_value_at(column, row_num), value); |
138 | 4.20k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 5 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 5 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 5 | return Compare::equal(_value_at(column, row_num), value); | 138 | 5 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 4.09k | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 4.09k | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 4.09k | return Compare::equal(_value_at(column, row_num), value); | 138 | 4.09k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 14 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 14 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 14 | return Compare::equal(_value_at(column, row_num), value); | 138 | 14 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 96 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 96 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 96 | return Compare::equal(_value_at(column, row_num), value); | 138 | 96 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKNS_7IColumnEm |
139 | | |
140 | 395k | bool set_if_greater(const Self& to, Arena& arena) { |
141 | 395k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
142 | 209k | set(to, arena); |
143 | 209k | return true; |
144 | 209k | } |
145 | 185k | return false; |
146 | 395k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 58 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 58 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 58 | set(to, arena); | 143 | 58 | return true; | 144 | 58 | } | 145 | 0 | return false; | 146 | 58 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 9 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 9 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4 | set(to, arena); | 143 | 4 | return true; | 144 | 4 | } | 145 | 5 | return false; | 146 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 147k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 147k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 73.3k | set(to, arena); | 143 | 73.3k | return true; | 144 | 73.3k | } | 145 | 73.6k | return false; | 146 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 8 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 8 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 8 | set(to, arena); | 143 | 8 | return true; | 144 | 8 | } | 145 | 0 | return false; | 146 | 8 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 163k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 163k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 89.8k | set(to, arena); | 143 | 89.8k | return true; | 144 | 89.8k | } | 145 | 73.7k | return false; | 146 | 163k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 20.5k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 20.5k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 11.7k | set(to, arena); | 143 | 11.7k | return true; | 144 | 11.7k | } | 145 | 8.80k | return false; | 146 | 20.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 53 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 53 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 29 | set(to, arena); | 143 | 29 | return true; | 144 | 29 | } | 145 | 24 | return false; | 146 | 53 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 35 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 35 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 32 | set(to, arena); | 143 | 32 | return true; | 144 | 32 | } | 145 | 3 | return false; | 146 | 35 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 43 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 43 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 37 | set(to, arena); | 143 | 37 | return true; | 144 | 37 | } | 145 | 6 | return false; | 146 | 43 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 12 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 12 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 11 | set(to, arena); | 143 | 11 | return true; | 144 | 11 | } | 145 | 1 | return false; | 146 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1.55k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1.55k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 1.33k | set(to, arena); | 143 | 1.33k | return true; | 144 | 1.33k | } | 145 | 216 | return false; | 146 | 1.55k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 4.09k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 4.09k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4.09k | set(to, arena); | 143 | 4.09k | return true; | 144 | 4.09k | } | 145 | 0 | return false; | 146 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 71 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 71 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 38 | set(to, arena); | 143 | 38 | return true; | 144 | 38 | } | 145 | 33 | return false; | 146 | 71 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 2 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 2 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 2 | set(to, arena); | 143 | 2 | return true; | 144 | 2 | } | 145 | 0 | return false; | 146 | 2 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 27 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 27 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 21 | set(to, arena); | 143 | 21 | return true; | 144 | 21 | } | 145 | 6 | return false; | 146 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 95 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 95 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 72 | set(to, arena); | 143 | 72 | return true; | 144 | 72 | } | 145 | 23 | return false; | 146 | 95 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 1 | set(to, arena); | 143 | 1 | return true; | 144 | 1 | } | 145 | 0 | return false; | 146 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 18 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 18 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 14 | set(to, arena); | 143 | 14 | return true; | 144 | 14 | } | 145 | 4 | return false; | 146 | 18 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 1 | return false; | 146 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 1 | return false; | 146 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 57.8k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 57.8k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 29.0k | set(to, arena); | 143 | 29.0k | return true; | 144 | 29.0k | } | 145 | 28.8k | return false; | 146 | 57.8k | } |
|
147 | | }; |
148 | | |
149 | | /// Stores short strings inline and allocates a separate buffer for long strings. |
150 | | struct SingleValueDataString { |
151 | | private: |
152 | | using Self = SingleValueDataString; |
153 | | // Keep the signed 32-bit size because -1 represents an empty state in the serialized format. |
154 | | Int32 size = -1; /// -1 indicates that there is no value. |
155 | | Int32 capacity = 0; /// power of two or zero |
156 | | DorisUniqueBufferPtr<char> large_data; |
157 | | |
158 | | public: |
159 | | static constexpr Int32 AUTOMATIC_STORAGE_SIZE = 64; |
160 | | static constexpr Int32 MAX_SMALL_STRING_SIZE = |
161 | | AUTOMATIC_STORAGE_SIZE - sizeof(size) - sizeof(capacity) - sizeof(large_data); |
162 | | |
163 | | private: |
164 | | char small_data[MAX_SMALL_STRING_SIZE]; |
165 | | |
166 | | public: |
167 | | using ColVecType = ColumnString; |
168 | | static constexpr bool NeedCheckColumnType = true; |
169 | | |
170 | 16.3k | ~SingleValueDataString() = default; |
171 | | |
172 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
173 | | |
174 | 10.0M | bool has() const { return size >= 0; } |
175 | | |
176 | | private: |
177 | 9.99M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
178 | 9.99M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
179 | 9.99M | row_num); |
180 | 9.99M | } |
181 | | |
182 | 9.99M | const char* _data() const { |
183 | 9.99M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
184 | 9.99M | } |
185 | | |
186 | 9.98M | StringRef _value() const { return StringRef(_data(), size); } |
187 | | |
188 | 20.5k | void _set(StringRef source) { |
189 | 20.5k | Int32 value_size = cast_set<Int32>(source.size); |
190 | 20.5k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
191 | | /// Don't free large_data here. |
192 | 20.2k | size = value_size; |
193 | | |
194 | 20.2k | if (size > 0) { |
195 | 20.2k | memcpy(small_data, source.data, size); |
196 | 20.2k | } |
197 | 20.2k | } else { |
198 | 246 | if (capacity < value_size) { |
199 | | /// Don't free large_data here. |
200 | 109 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
201 | 109 | large_data = DorisUniqueBufferPtr<char>(capacity); |
202 | 109 | } |
203 | | |
204 | 246 | size = value_size; |
205 | 246 | memcpy(large_data.get(), source.data, size); |
206 | 246 | } |
207 | 20.5k | } |
208 | | |
209 | | public: |
210 | 14.6k | void insert_result_into(IColumn& to) const { |
211 | 14.6k | if (has()) { |
212 | 14.4k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
213 | 14.4k | } else { |
214 | 221 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
215 | 221 | } |
216 | 14.6k | } |
217 | | |
218 | 15.5k | void reset() { |
219 | 15.5k | size = -1; |
220 | 15.5k | capacity = 0; |
221 | 15.5k | large_data.reset(); |
222 | 15.5k | } |
223 | | |
224 | 632 | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
225 | 632 | buf.write_binary(size); |
226 | 632 | if (has()) { |
227 | 627 | buf.write(_data(), size); |
228 | 627 | } |
229 | 632 | } |
230 | | |
231 | 613 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
232 | 613 | Int32 rhs_size; |
233 | 613 | buf.read_binary(rhs_size); |
234 | | |
235 | 613 | if (rhs_size >= 0) { |
236 | 608 | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
237 | | /// Don't free large_data here. |
238 | | |
239 | 604 | size = rhs_size; |
240 | | |
241 | 604 | if (size > 0) { |
242 | 602 | buf.read(small_data, size); |
243 | 602 | } |
244 | 604 | } else { |
245 | 4 | if (capacity < rhs_size) { |
246 | 4 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
247 | 4 | large_data = DorisUniqueBufferPtr<char>(capacity); |
248 | 4 | } |
249 | | |
250 | 4 | size = rhs_size; |
251 | 4 | buf.read(large_data.get(), size); |
252 | 4 | } |
253 | 608 | } else { |
254 | | /// Don't free large_data here. |
255 | 5 | size = rhs_size; |
256 | 5 | } |
257 | 613 | } |
258 | | |
259 | 20.0k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
260 | | |
261 | 471 | void set(const Self& to, Arena&) { |
262 | 471 | DORIS_CHECK(to.has()); |
263 | 471 | _set(to._value()); |
264 | 471 | } |
265 | | |
266 | 3.94M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
267 | 3.94M | if (!has() || _value_at(column, row_num) < _value()) { |
268 | 3.37k | set(column, row_num, arena); |
269 | 3.37k | return true; |
270 | 3.37k | } |
271 | 3.94M | return false; |
272 | 3.94M | } |
273 | | |
274 | 6.04M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
275 | 6.04M | if (!has() || _value_at(column, row_num) > _value()) { |
276 | 16.0k | set(column, row_num, arena); |
277 | 16.0k | return true; |
278 | 16.0k | } |
279 | 6.03M | return false; |
280 | 6.04M | } |
281 | | |
282 | 55 | bool set_if_smaller(const Self& to, Arena& arena) { |
283 | 55 | if (to.has() && (!has() || to._value() < _value())) { |
284 | 52 | set(to, arena); |
285 | 52 | return true; |
286 | 52 | } |
287 | 3 | return false; |
288 | 55 | } |
289 | | |
290 | 68 | bool set_if_greater(const Self& to, Arena& arena) { |
291 | 68 | if (to.has() && (!has() || to._value() > _value())) { |
292 | 63 | set(to, arena); |
293 | 63 | return true; |
294 | 63 | } |
295 | 5 | return false; |
296 | 68 | } |
297 | | |
298 | 0 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
299 | 0 | if (!has()) { |
300 | 0 | return false; |
301 | 0 | } |
302 | 0 | return _value_at(column, row_num) == _value(); |
303 | 0 | } |
304 | | }; |
305 | | |
306 | | static_assert(sizeof(SingleValueDataString) == SingleValueDataString::AUTOMATIC_STORAGE_SIZE); |
307 | | |
308 | | /// Owns a materialized one-row column for values without a dedicated representation above. |
309 | | class SingleValueDataColumn { |
310 | | private: |
311 | | using Self = SingleValueDataColumn; |
312 | | |
313 | | ColumnPtr _value; |
314 | | |
315 | | public: |
316 | | static constexpr bool NeedCheckColumnType = false; |
317 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
318 | | |
319 | 46.0k | bool has() const { return _value.get() != nullptr; } |
320 | | |
321 | | size_t allocated_bytes() const { return has() ? _value->allocated_bytes() : 0; } |
322 | | |
323 | 17.5k | void set(const IColumn& column, size_t row_num) { |
324 | 17.5k | auto value = column.clone_empty(); |
325 | 17.5k | DCHECK(value->empty()); |
326 | 17.5k | value->reserve(1); |
327 | 17.5k | value->insert_from(column, row_num); |
328 | 17.5k | DCHECK_EQ(value->size(), 1); |
329 | 17.5k | _value = std::move(value); |
330 | 17.5k | } |
331 | | |
332 | 20.6k | void insert_result_into(IColumn& to) const { |
333 | 20.6k | if (has()) { |
334 | 20.6k | to.insert_from(*_value, 0); |
335 | 20.6k | } else { |
336 | 9 | to.insert_default(); |
337 | 9 | } |
338 | 20.6k | } |
339 | | |
340 | 4.25k | void reset() { _value.reset(); } |
341 | | |
342 | 82 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
343 | 82 | buf.write_binary(has()); |
344 | 82 | if (!has()) { |
345 | 0 | return; |
346 | 0 | } |
347 | 82 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
348 | 82 | buf.write_binary(size_bytes); |
349 | 82 | buf.resize(size_bytes); |
350 | 82 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
351 | 82 | DCHECK_EQ(p, buf.data() + size_bytes); |
352 | 82 | buf.add_offset(size_bytes); |
353 | 82 | } |
354 | | |
355 | 82 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
356 | 82 | bool has_value = false; |
357 | 82 | buf.read_binary(has_value); |
358 | 82 | if (!has_value) { |
359 | 0 | reset(); |
360 | 0 | return; |
361 | 0 | } |
362 | 82 | int64_t size = 0; |
363 | 82 | buf.read_binary(size); |
364 | 82 | auto value = data_type->create_column(); |
365 | 82 | value->reserve(1); |
366 | 82 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
367 | 82 | DCHECK_EQ(p, buf.data() + size); |
368 | 82 | buf.add_offset(size); |
369 | 82 | _value = std::move(value); |
370 | 82 | } |
371 | | |
372 | 339 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
373 | | |
374 | 59 | void set(const Self& to, Arena&) { |
375 | 59 | DORIS_CHECK(to.has()); |
376 | | // Stored one-row columns are immutable, so merged states can share ownership. |
377 | 59 | _value = to._value; |
378 | 59 | } |
379 | | |
380 | 98 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
381 | 98 | if (!has() || column.compare_at(row_num, 0, *_value, 1) < 0) { |
382 | 74 | set(column, row_num, arena); |
383 | 74 | return true; |
384 | 74 | } |
385 | 24 | return false; |
386 | 98 | } |
387 | | |
388 | 13 | bool set_if_smaller(const Self& to, Arena& arena) { |
389 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
390 | 8 | set(to, arena); |
391 | 8 | return true; |
392 | 8 | } |
393 | 5 | return false; |
394 | 13 | } |
395 | | |
396 | 96 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
397 | 96 | if (!has() || column.compare_at(row_num, 0, *_value, 1) > 0) { |
398 | 40 | set(column, row_num, arena); |
399 | 40 | return true; |
400 | 40 | } |
401 | 56 | return false; |
402 | 96 | } |
403 | | |
404 | 13 | bool set_if_greater(const Self& to, Arena& arena) { |
405 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
406 | 9 | set(to, arena); |
407 | 9 | return true; |
408 | 9 | } |
409 | 4 | return false; |
410 | 13 | } |
411 | | |
412 | 1 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
413 | 1 | return has() && column.compare_at(row_num, 0, *_value, 1) == 0; |
414 | 1 | } |
415 | | }; |
416 | | |
417 | | } // namespace doris |