be/src/exprs/aggregate/single_value_data.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <cstring> |
21 | | |
22 | | #include "common/cast_set.h" |
23 | | #include "common/compare.h" |
24 | | #include "common/logging.h" |
25 | | #include "core/assert_cast.h" |
26 | | #include "core/column/column.h" |
27 | | #include "core/column/column_decimal.h" |
28 | | #include "core/column/column_string.h" |
29 | | #include "core/custom_allocator.h" |
30 | | #include "core/data_type/data_type.h" |
31 | | #include "core/data_type/primitive_type.h" |
32 | | #include "core/string_buffer.hpp" |
33 | | #include "core/string_ref.h" |
34 | | #include "core/types.h" |
35 | | |
36 | | namespace doris { |
37 | | |
38 | | class Arena; |
39 | | |
40 | | /// Stores one fixed-size scalar value directly in the aggregate state. |
41 | | template <PrimitiveType T> |
42 | | struct SingleValueDataFixed { |
43 | | private: |
44 | | using Self = SingleValueDataFixed; |
45 | | using ValueType = typename PrimitiveTypeTraits<T>::CppType; |
46 | | |
47 | 18.5M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 18.5M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 18.5M | TypeCheckOnRelease::DISABLE>(column) |
50 | 18.5M | .get_data()[row_num]; |
51 | 18.5M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE9_value_atERKNS_7IColumnEm _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 13 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 13 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 13 | TypeCheckOnRelease::DISABLE>(column) | 50 | 13 | .get_data()[row_num]; | 51 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.94M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.94M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.94M | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.94M | .get_data()[row_num]; | 51 | 3.94M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 31.3k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 31.3k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 31.3k | TypeCheckOnRelease::DISABLE>(column) | 50 | 31.3k | .get_data()[row_num]; | 51 | 31.3k | } |
_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 | 5.93k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.93k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.93k | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.93k | .get_data()[row_num]; | 51 | 5.93k | } |
_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 | 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_13PrimitiveTypeE37EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 68 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 68 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 68 | TypeCheckOnRelease::DISABLE>(column) | 50 | 68 | .get_data()[row_num]; | 51 | 68 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 592k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 592k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 592k | TypeCheckOnRelease::DISABLE>(column) | 50 | 592k | .get_data()[row_num]; | 51 | 592k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 786 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 786 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 786 | TypeCheckOnRelease::DISABLE>(column) | 50 | 786 | .get_data()[row_num]; | 51 | 786 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 176k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 176k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 176k | TypeCheckOnRelease::DISABLE>(column) | 50 | 176k | .get_data()[row_num]; | 51 | 176k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.86k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.86k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.86k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.86k | .get_data()[row_num]; | 51 | 3.86k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.04M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.04M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.04M | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.04M | .get_data()[row_num]; | 51 | 8.04M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 229k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 229k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 229k | TypeCheckOnRelease::DISABLE>(column) | 50 | 229k | .get_data()[row_num]; | 51 | 229k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.43k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.43k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.43k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.43k | .get_data()[row_num]; | 51 | 3.43k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.01k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.01k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.01k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.01k | .get_data()[row_num]; | 51 | 3.01k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.9k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.9k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.9k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.9k | .get_data()[row_num]; | 51 | 20.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 10.5k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 10.5k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 10.5k | TypeCheckOnRelease::DISABLE>(column) | 50 | 10.5k | .get_data()[row_num]; | 51 | 10.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 5.40M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.40M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.40M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.40M | .get_data()[row_num]; | 51 | 5.40M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 22.0k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 22.0k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 22.0k | TypeCheckOnRelease::DISABLE>(column) | 50 | 22.0k | .get_data()[row_num]; | 51 | 22.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 790 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 790 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 790 | TypeCheckOnRelease::DISABLE>(column) | 50 | 790 | .get_data()[row_num]; | 51 | 790 | } |
|
52 | | |
53 | | // AggregateFunctionIf and state merging must distinguish an empty state from a default value. |
54 | | bool has_value = false; |
55 | | ValueType value {}; |
56 | | |
57 | | public: |
58 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
59 | | static constexpr bool NeedCheckColumnType = true; |
60 | | |
61 | 905k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 4.00k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 1.02k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 1.08k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.85k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 18 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EEC2Ev Line | Count | Source | 61 | 51 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EEC2Ev Line | Count | Source | 61 | 51 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EEC2Ev Line | Count | Source | 61 | 113k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 196 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 292k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 755 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 370k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 77.4k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 922 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 620 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.23k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 227 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 30.5k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 806 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 237 | SingleValueDataFixed() = default; |
|
62 | 21.5M | bool has() const { return has_value; }Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3hasEv _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3hasEv Line | Count | Source | 62 | 12 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3hasEv Line | Count | Source | 62 | 3.94M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3hasEv Line | Count | Source | 62 | 31.7k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3hasEv Line | Count | Source | 62 | 1.50k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3hasEv Line | Count | Source | 62 | 7.96k | 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 | 112 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3hasEv Line | Count | Source | 62 | 112 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3hasEv Line | Count | Source | 62 | 876k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 901 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 887k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 4.37k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.87M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 379k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 4.35k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 3.42k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 22.0k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 15.8k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.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 | 22.2k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 1.06k | bool has() const { return has_value; } |
|
63 | | |
64 | | static constexpr bool UsesFixedLengthStateSerialization = true; |
65 | | |
66 | 1.43M | 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.25k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 812 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 369 | 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 | 6 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 21 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 21 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 57.0k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 92 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_minEv Line | Count | Source | 66 | 147k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 925 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.16M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 41.9k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 955 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 841 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.35k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.22k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.78k | 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 | 460 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 202 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 635k | 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.93k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 416 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 367 | 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 | 6 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_maxEv Line | Count | Source | 68 | 19 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_maxEv Line | Count | Source | 68 | 19 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_maxEv Line | Count | Source | 68 | 61.2k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 77 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_maxEv Line | Count | Source | 68 | 146k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_maxEv Line | Count | Source | 68 | 189 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 353k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 37.9k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 213 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 115 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 370 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 80 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 26.0k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE16set_value_to_maxEv Line | Count | Source | 68 | 4.09k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE16set_value_to_maxEv Line | Count | Source | 68 | 358 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 200 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
|
69 | | |
70 | 1.27M | void insert_result_into(IColumn& to) const { |
71 | 1.27M | if (has()) { |
72 | 1.26M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
73 | 1.26M | to) |
74 | 1.26M | .insert_value(value); |
75 | 1.26M | } else { |
76 | 697 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 697 | to) |
78 | 697 | .insert_default(); |
79 | 697 | } |
80 | 1.27M | } 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.85k | void insert_result_into(IColumn& to) const { | 71 | 3.85k | if (has()) { | 72 | 3.80k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3.80k | to) | 74 | 3.80k | .insert_value(value); | 75 | 3.80k | } else { | 76 | 49 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 49 | to) | 78 | 49 | .insert_default(); | 79 | 49 | } | 80 | 3.85k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 860 | void insert_result_into(IColumn& to) const { | 71 | 860 | if (has()) { | 72 | 860 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 860 | to) | 74 | 860 | .insert_value(value); | 75 | 860 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 860 | } |
_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.30k | void insert_result_into(IColumn& to) const { | 71 | 2.30k | if (has()) { | 72 | 2.30k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2.30k | to) | 74 | 2.30k | .insert_value(value); | 75 | 18.4E | } else { | 76 | 18.4E | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 18.4E | to) | 78 | 18.4E | .insert_default(); | 79 | 18.4E | } | 80 | 2.30k | } |
_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 | 100 | void insert_result_into(IColumn& to) const { | 71 | 100 | if (has()) { | 72 | 100 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 100 | to) | 74 | 100 | .insert_value(value); | 75 | 100 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 100 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.14k | void insert_result_into(IColumn& to) const { | 71 | 1.14k | if (has()) { | 72 | 1.13k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.13k | to) | 74 | 1.13k | .insert_value(value); | 75 | 1.13k | } else { | 76 | 10 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 10 | to) | 78 | 10 | .insert_default(); | 79 | 10 | } | 80 | 1.14k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 883 | void insert_result_into(IColumn& to) const { | 71 | 883 | if (has()) { | 72 | 881 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 881 | to) | 74 | 881 | .insert_value(value); | 75 | 881 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 883 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.20M | void insert_result_into(IColumn& to) const { | 71 | 1.20M | if (has()) { | 72 | 1.20M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.20M | to) | 74 | 1.20M | .insert_value(value); | 75 | 1.20M | } else { | 76 | 528 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 528 | to) | 78 | 528 | .insert_default(); | 79 | 528 | } | 80 | 1.20M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 7.22k | void insert_result_into(IColumn& to) const { | 71 | 7.22k | if (has()) { | 72 | 7.15k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 7.15k | to) | 74 | 7.15k | .insert_value(value); | 75 | 7.15k | } else { | 76 | 66 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 66 | to) | 78 | 66 | .insert_default(); | 79 | 66 | } | 80 | 7.22k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 892 | void insert_result_into(IColumn& to) const { | 71 | 892 | if (has()) { | 72 | 890 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 890 | to) | 74 | 890 | .insert_value(value); | 75 | 890 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 892 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 729 | void insert_result_into(IColumn& to) const { | 71 | 729 | if (has()) { | 72 | 729 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 729 | to) | 74 | 729 | .insert_value(value); | 75 | 729 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 729 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.26k | void insert_result_into(IColumn& to) const { | 71 | 1.26k | if (has()) { | 72 | 1.26k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.26k | to) | 74 | 1.26k | .insert_value(value); | 75 | 1.26k | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 1.26k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 5.22k | void insert_result_into(IColumn& to) const { | 71 | 5.22k | if (has()) { | 72 | 5.22k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 5.22k | to) | 74 | 5.22k | .insert_value(value); | 75 | 5.22k | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 5.22k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 27.2k | void insert_result_into(IColumn& to) const { | 71 | 27.2k | if (has()) { | 72 | 27.1k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 27.1k | to) | 74 | 27.1k | .insert_value(value); | 75 | 27.1k | } else { | 76 | 39 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 39 | to) | 78 | 39 | .insert_default(); | 79 | 39 | } | 80 | 27.2k | } |
_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 | 725 | void insert_result_into(IColumn& to) const { | 71 | 725 | if (has()) { | 72 | 725 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 725 | to) | 74 | 725 | .insert_value(value); | 75 | 725 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 725 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 255 | void insert_result_into(IColumn& to) const { | 71 | 255 | if (has()) { | 72 | 255 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 255 | to) | 74 | 255 | .insert_value(value); | 75 | 255 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 255 | } |
|
81 | | |
82 | 2.05M | void reset() { has_value = false; }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5resetEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5resetEv Line | Count | Source | 82 | 2 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5resetEv Line | Count | Source | 82 | 4.18k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.22k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 736 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 4.00k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 12 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 40 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 40 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv Line | Count | Source | 82 | 117k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 169 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 292k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.11k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.51M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 76.6k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.20k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 956 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.72k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.30k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 29.7k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 827 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 402 | 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 | 8 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 8 | buf.write_binary(has()); | 86 | 8 | if (has()) { | 87 | 8 | buf.write_binary(value); | 88 | 8 | } | 89 | 8 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 14 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 14 | buf.write_binary(has()); | 86 | 14 | if (has()) { | 87 | 14 | buf.write_binary(value); | 88 | 14 | } | 89 | 14 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 52 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 52 | buf.write_binary(has()); | 86 | 52 | if (has()) { | 87 | 52 | buf.write_binary(value); | 88 | 52 | } | 89 | 52 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 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 | 52 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 52 | buf.write_binary(has()); | 86 | 52 | if (has()) { | 87 | 52 | buf.write_binary(value); | 88 | 52 | } | 89 | 52 | } |
_ZNK5doris20SingleValueDataFixedILNS_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 | 134 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 134 | buf.write_binary(has()); | 86 | 134 | if (has()) { | 87 | 134 | buf.write_binary(value); | 88 | 134 | } | 89 | 134 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 55 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 55 | buf.write_binary(has()); | 86 | 55 | if (has()) { | 87 | 55 | buf.write_binary(value); | 88 | 55 | } | 89 | 55 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 6 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 6 | buf.write_binary(has()); | 86 | 6 | if (has()) { | 87 | 6 | buf.write_binary(value); | 88 | 6 | } | 89 | 6 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 352 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 352 | buf.write_binary(has()); | 86 | 352 | if (has()) { | 87 | 352 | buf.write_binary(value); | 88 | 352 | } | 89 | 352 | } |
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.70k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 9.70k | buf.read_binary(has_value); |
93 | 9.70k | if (has()) { |
94 | 9.66k | buf.read_binary(value); |
95 | 9.66k | } |
96 | 9.70k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 8 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 8 | buf.read_binary(has_value); | 93 | 8 | if (has()) { | 94 | 8 | buf.read_binary(value); | 95 | 8 | } | 96 | 8 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 14 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 14 | buf.read_binary(has_value); | 93 | 14 | if (has()) { | 94 | 14 | buf.read_binary(value); | 95 | 14 | } | 96 | 14 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 52 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 52 | buf.read_binary(has_value); | 93 | 52 | if (has()) { | 94 | 52 | buf.read_binary(value); | 95 | 52 | } | 96 | 52 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 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 | 52 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 52 | buf.read_binary(has_value); | 93 | 52 | if (has()) { | 94 | 52 | buf.read_binary(value); | 95 | 52 | } | 96 | 52 | } |
_ZN5doris20SingleValueDataFixedILNS_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.02k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.02k | buf.read_binary(has_value); | 93 | 9.02k | if (has()) { | 94 | 8.97k | buf.read_binary(value); | 95 | 8.97k | } | 96 | 9.02k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 143 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 143 | buf.read_binary(has_value); | 93 | 143 | if (has()) { | 94 | 143 | buf.read_binary(value); | 95 | 143 | } | 96 | 143 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 50 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 50 | buf.read_binary(has_value); | 93 | 50 | if (has()) { | 94 | 50 | buf.read_binary(value); | 95 | 50 | } | 96 | 50 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 6 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 6 | buf.read_binary(has_value); | 93 | 6 | if (has()) { | 94 | 6 | buf.read_binary(value); | 95 | 6 | } | 96 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 334 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 334 | buf.read_binary(has_value); | 93 | 334 | if (has()) { | 94 | 334 | buf.read_binary(value); | 95 | 334 | } | 96 | 334 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
|
97 | | |
98 | 1.88M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.88M | has_value = true; |
100 | 1.88M | value = _value_at(column, row_num); |
101 | 1.88M | } 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.82k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 7.82k | has_value = true; | 100 | 7.82k | value = _value_at(column, row_num); | 101 | 7.82k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.74k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.74k | has_value = true; | 100 | 1.74k | value = _value_at(column, row_num); | 101 | 1.74k | } |
_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.71k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.71k | has_value = true; | 100 | 2.71k | value = _value_at(column, row_num); | 101 | 2.71k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 102 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 102 | has_value = true; | 100 | 102 | value = _value_at(column, row_num); | 101 | 102 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 29 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 29 | has_value = true; | 100 | 29 | value = _value_at(column, row_num); | 101 | 29 | } |
_ZN5doris20SingleValueDataFixedILNS_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 | 62.8k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 62.8k | has_value = true; | 100 | 62.8k | value = _value_at(column, row_num); | 101 | 62.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 110 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 110 | has_value = true; | 100 | 110 | value = _value_at(column, row_num); | 101 | 110 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 148k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 148k | has_value = true; | 100 | 148k | value = _value_at(column, row_num); | 101 | 148k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.29k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.29k | has_value = true; | 100 | 1.29k | value = _value_at(column, row_num); | 101 | 1.29k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.51M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.51M | has_value = true; | 100 | 1.51M | value = _value_at(column, row_num); | 101 | 1.51M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 90.1k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 90.1k | has_value = true; | 100 | 90.1k | value = _value_at(column, row_num); | 101 | 90.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.26k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.26k | has_value = true; | 100 | 1.26k | value = _value_at(column, row_num); | 101 | 1.26k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.08k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.08k | has_value = true; | 100 | 1.08k | value = _value_at(column, row_num); | 101 | 1.08k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.75k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.75k | has_value = true; | 100 | 1.75k | value = _value_at(column, row_num); | 101 | 1.75k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.30k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.30k | has_value = true; | 100 | 5.30k | value = _value_at(column, row_num); | 101 | 5.30k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 33.8k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 33.8k | has_value = true; | 100 | 33.8k | value = _value_at(column, row_num); | 101 | 33.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 12.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 12.2k | has_value = true; | 100 | 12.2k | value = _value_at(column, row_num); | 101 | 12.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.42k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.42k | has_value = true; | 100 | 1.42k | value = _value_at(column, row_num); | 101 | 1.42k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 312 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 312 | has_value = true; | 100 | 312 | value = _value_at(column, row_num); | 101 | 312 | } |
|
102 | | |
103 | 423k | void set(const Self& to, Arena&) { |
104 | 423k | DORIS_CHECK(to.has()); |
105 | 423k | has_value = true; |
106 | 423k | value = to.value; |
107 | 423k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 65 | void set(const Self& to, Arena&) { | 104 | 65 | DORIS_CHECK(to.has()); | 105 | 65 | has_value = true; | 106 | 65 | value = to.value; | 107 | 65 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 97 | void set(const Self& to, Arena&) { | 104 | 97 | DORIS_CHECK(to.has()); | 105 | 97 | has_value = true; | 106 | 97 | value = to.value; | 107 | 97 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 111 | void set(const Self& to, Arena&) { | 104 | 111 | DORIS_CHECK(to.has()); | 105 | 111 | has_value = true; | 106 | 111 | value = to.value; | 107 | 111 | } |
_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 | 10 | void set(const Self& to, Arena&) { | 104 | 10 | DORIS_CHECK(to.has()); | 105 | 10 | has_value = true; | 106 | 10 | value = to.value; | 107 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 10 | void set(const Self& to, Arena&) { | 104 | 10 | DORIS_CHECK(to.has()); | 105 | 10 | has_value = true; | 106 | 10 | value = to.value; | 107 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 57.7k | void set(const Self& to, Arena&) { | 104 | 57.7k | DORIS_CHECK(to.has()); | 105 | 57.7k | has_value = true; | 106 | 57.7k | value = to.value; | 107 | 57.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKS2_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 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 141k | void set(const Self& to, Arena&) { | 104 | 141k | DORIS_CHECK(to.has()); | 105 | 141k | has_value = true; | 106 | 141k | value = to.value; | 107 | 141k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 13 | void set(const Self& to, Arena&) { | 104 | 13 | DORIS_CHECK(to.has()); | 105 | 13 | has_value = true; | 106 | 13 | value = to.value; | 107 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 159k | void set(const Self& to, Arena&) { | 104 | 159k | DORIS_CHECK(to.has()); | 105 | 159k | has_value = true; | 106 | 159k | value = to.value; | 107 | 159k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 53.7k | void set(const Self& to, Arena&) { | 104 | 53.7k | DORIS_CHECK(to.has()); | 105 | 53.7k | has_value = true; | 106 | 53.7k | value = to.value; | 107 | 53.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 57 | void set(const Self& to, Arena&) { | 104 | 57 | DORIS_CHECK(to.has()); | 105 | 57 | has_value = true; | 106 | 57 | value = to.value; | 107 | 57 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKS2_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 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 77 | void set(const Self& to, Arena&) { | 104 | 77 | DORIS_CHECK(to.has()); | 105 | 77 | has_value = true; | 106 | 77 | value = to.value; | 107 | 77 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_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_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 2.27k | void set(const Self& to, Arena&) { | 104 | 2.27k | DORIS_CHECK(to.has()); | 105 | 2.27k | has_value = true; | 106 | 2.27k | value = to.value; | 107 | 2.27k | } |
_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 | 42 | void set(const Self& to, Arena&) { | 104 | 42 | DORIS_CHECK(to.has()); | 105 | 42 | has_value = true; | 106 | 42 | value = to.value; | 107 | 42 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 16 | void set(const Self& to, Arena&) { | 104 | 16 | DORIS_CHECK(to.has()); | 105 | 16 | has_value = true; | 106 | 16 | value = to.value; | 107 | 16 | } |
|
108 | | |
109 | 8.73M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 8.73M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 448k | set(column, row_num, arena); |
112 | 448k | return true; |
113 | 448k | } |
114 | 8.28M | return false; |
115 | 8.73M | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 366 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 366 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 227 | set(column, row_num, arena); | 112 | 227 | return true; | 113 | 227 | } | 114 | 139 | return false; | 115 | 366 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 342 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 342 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 48 | set(column, row_num, arena); | 112 | 48 | return true; | 113 | 48 | } | 114 | 294 | return false; | 115 | 342 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 87.2k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 87.2k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 74.0k | set(column, row_num, arena); | 112 | 74.0k | return true; | 113 | 74.0k | } | 114 | 13.1k | return false; | 115 | 87.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.12k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.12k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 207 | set(column, row_num, arena); | 112 | 207 | return true; | 113 | 207 | } | 114 | 913 | return false; | 115 | 1.12k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.52M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.52M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 286k | set(column, row_num, arena); | 112 | 286k | return true; | 113 | 286k | } | 114 | 3.24M | return false; | 115 | 3.52M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 83.2k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 83.2k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 20.3k | set(column, row_num, arena); | 112 | 20.3k | return true; | 113 | 20.3k | } | 114 | 62.9k | return false; | 115 | 83.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 904 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 904 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 210 | set(column, row_num, arena); | 112 | 210 | return true; | 113 | 210 | } | 114 | 694 | return false; | 115 | 904 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 734 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 734 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 119 | set(column, row_num, arena); | 112 | 119 | return true; | 113 | 119 | } | 114 | 615 | return false; | 115 | 734 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 17.6k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 17.6k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 355 | set(column, row_num, arena); | 112 | 355 | return true; | 113 | 355 | } | 114 | 17.2k | return false; | 115 | 17.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 185 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 185 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 72 | set(column, row_num, arena); | 112 | 72 | return true; | 113 | 72 | } | 114 | 113 | return false; | 115 | 185 | } |
_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 | 29.0k | set(column, row_num, arena); | 112 | 29.0k | return true; | 113 | 29.0k | } | 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.58k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.58k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 561 | set(column, row_num, arena); | 112 | 561 | return true; | 113 | 561 | } | 114 | 9.02k | return false; | 115 | 9.58k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 372 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 372 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 136 | set(column, row_num, arena); | 112 | 136 | return true; | 113 | 136 | } | 114 | 236 | return false; | 115 | 372 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.96M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.96M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2.36k | set(column, row_num, arena); | 112 | 2.36k | return true; | 113 | 2.36k | } | 114 | 1.96M | return false; | 115 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 15.0k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 15.0k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 433 | set(column, row_num, arena); | 112 | 433 | return true; | 113 | 433 | } | 114 | 14.5k | return false; | 115 | 15.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 5 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 5 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2 | set(column, row_num, arena); | 112 | 2 | return true; | 113 | 2 | } | 114 | 3 | return false; | 115 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 100 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 100 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 99 | return false; | 115 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.77k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.77k | 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.44k | return false; | 115 | 2.77k | } |
_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 | 11 | set(column, row_num, arena); | 112 | 11 | return true; | 113 | 11 | } | 114 | 20 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 14 | set(column, row_num, arena); | 112 | 14 | return true; | 113 | 14 | } | 114 | 17 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 298k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 298k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 33.0k | set(column, row_num, arena); | 112 | 33.0k | return true; | 113 | 33.0k | } | 114 | 265k | return false; | 115 | 298k | } |
|
116 | | |
117 | 392k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 392k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 198k | set(to, arena); |
120 | 198k | return true; |
121 | 198k | } |
122 | 194k | return false; |
123 | 392k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 28 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 28 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 27 | set(to, arena); | 120 | 27 | return true; | 121 | 27 | } | 122 | 1 | return false; | 123 | 28 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_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_13PrimitiveTypeE3EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 145k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 145k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 72.0k | set(to, arena); | 120 | 72.0k | return true; | 121 | 72.0k | } | 122 | 73.0k | return false; | 123 | 145k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_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_13PrimitiveTypeE5EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 146k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 146k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 72.9k | set(to, arena); | 120 | 72.9k | return true; | 121 | 72.9k | } | 122 | 73.4k | return false; | 123 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 39.2k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 39.2k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 19.5k | set(to, arena); | 120 | 19.5k | return true; | 121 | 19.5k | } | 122 | 19.7k | return false; | 123 | 39.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 8 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 8 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 8 | set(to, arena); | 120 | 8 | return true; | 121 | 8 | } | 122 | 0 | return false; | 123 | 8 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_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_13PrimitiveTypeE9EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 32 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 32 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 30 | set(to, arena); | 120 | 30 | return true; | 121 | 30 | } | 122 | 2 | return false; | 123 | 32 | } |
_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.04k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 1.04k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 967 | set(to, arena); | 120 | 967 | return true; | 121 | 967 | } | 122 | 76 | return false; | 123 | 1.04k | } |
_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 | 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_13PrimitiveTypeE35EE14set_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 | 6 | set(to, arena); | 120 | 6 | return true; | 121 | 6 | } | 122 | 3 | return false; | 123 | 9 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 67 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 67 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 39 | set(to, arena); | 120 | 39 | return true; | 121 | 39 | } | 122 | 28 | return false; | 123 | 67 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 26 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 26 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 20 | set(to, arena); | 120 | 20 | return true; | 121 | 20 | } | 122 | 6 | return false; | 123 | 26 | } |
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 | 22 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 22 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 13 | set(to, arena); | 120 | 13 | return true; | 121 | 13 | } | 122 | 9 | return false; | 123 | 22 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 5 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 5 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 4 | set(to, arena); | 120 | 4 | return true; | 121 | 4 | } | 122 | 1 | return false; | 123 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 5 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 5 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 4 | set(to, arena); | 120 | 4 | return true; | 121 | 4 | } | 122 | 1 | return false; | 123 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 56.5k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 56.5k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 28.7k | set(to, arena); | 120 | 28.7k | return true; | 121 | 28.7k | } | 122 | 27.8k | return false; | 123 | 56.5k | } |
|
124 | | |
125 | 9.53M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 9.53M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.42M | set(column, row_num, arena); |
128 | 1.42M | return true; |
129 | 1.42M | } |
130 | 8.11M | return false; |
131 | 9.53M | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 367 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 367 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 237 | set(column, row_num, arena); | 128 | 237 | return true; | 129 | 237 | } | 130 | 130 | return false; | 131 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 429 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 429 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 57 | set(column, row_num, arena); | 128 | 57 | return true; | 129 | 57 | } | 130 | 372 | return false; | 131 | 429 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 88.4k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 88.4k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 74.8k | set(column, row_num, arena); | 128 | 74.8k | return true; | 129 | 74.8k | } | 130 | 13.6k | return false; | 131 | 88.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.31k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.31k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.07k | set(column, row_num, arena); | 128 | 1.07k | return true; | 129 | 1.07k | } | 130 | 1.24k | return false; | 131 | 2.31k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.35M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.35M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.21M | set(column, row_num, arena); | 128 | 1.21M | return true; | 129 | 1.21M | } | 130 | 3.14M | return false; | 131 | 4.35M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 95.8k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 95.8k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 71.7k | set(column, row_num, arena); | 128 | 71.7k | return true; | 129 | 71.7k | } | 130 | 24.0k | return false; | 131 | 95.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.18k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.18k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.03k | set(column, row_num, arena); | 128 | 1.03k | return true; | 129 | 1.03k | } | 130 | 1.14k | return false; | 131 | 2.18k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.92k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.92k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 948 | set(column, row_num, arena); | 128 | 948 | return true; | 129 | 948 | } | 130 | 977 | return false; | 131 | 1.92k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.86k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.86k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.38k | set(column, row_num, arena); | 128 | 1.38k | return true; | 129 | 1.38k | } | 130 | 1.48k | return false; | 131 | 2.86k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 10.3k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 10.3k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.21k | set(column, row_num, arena); | 128 | 5.21k | return true; | 129 | 5.21k | } | 130 | 5.10k | return false; | 131 | 10.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.68M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.68M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.83k | set(column, row_num, arena); | 128 | 4.83k | return true; | 129 | 4.83k | } | 130 | 2.67M | return false; | 131 | 2.68M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.09k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.09k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.09k | set(column, row_num, arena); | 128 | 4.09k | return true; | 129 | 4.09k | } | 130 | 0 | return false; | 131 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 11.7k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.7k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 833 | set(column, row_num, arena); | 128 | 833 | return true; | 129 | 833 | } | 130 | 10.9k | return false; | 131 | 11.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 368 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 368 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 162 | set(column, row_num, arena); | 128 | 162 | return true; | 129 | 162 | } | 130 | 206 | return false; | 131 | 368 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.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.44k | set(column, row_num, arena); | 128 | 5.44k | return true; | 129 | 5.44k | } | 130 | 1.96M | return false; | 131 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 15.4k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 15.4k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.28k | set(column, row_num, arena); | 128 | 1.28k | return true; | 129 | 1.28k | } | 130 | 14.1k | return false; | 131 | 15.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 5 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 5 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 3 | set(column, row_num, arena); | 128 | 3 | return true; | 129 | 3 | } | 130 | 2 | return false; | 131 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 100 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 100 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 100 | set(column, row_num, arena); | 128 | 100 | return true; | 129 | 100 | } | 130 | 0 | return false; | 131 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.77k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.77k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.39k | set(column, row_num, arena); | 128 | 1.39k | return true; | 129 | 1.39k | } | 130 | 1.38k | return false; | 131 | 2.77k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 17 | set(column, row_num, arena); | 128 | 17 | return true; | 129 | 17 | } | 130 | 10 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 15 | set(column, row_num, arena); | 128 | 15 | return true; | 129 | 15 | } | 130 | 12 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 290k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 290k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 30.0k | set(column, row_num, arena); | 128 | 30.0k | return true; | 129 | 30.0k | } | 130 | 260k | return false; | 131 | 290k | } |
|
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 | 408k | bool set_if_greater(const Self& to, Arena& arena) { |
141 | 408k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
142 | 232k | set(to, arena); |
143 | 232k | return true; |
144 | 232k | } |
145 | 175k | return false; |
146 | 408k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 32 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 32 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 32 | set(to, arena); | 143 | 32 | return true; | 144 | 32 | } | 145 | 0 | return false; | 146 | 32 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 4 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 4 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4 | set(to, arena); | 143 | 4 | return true; | 144 | 4 | } | 145 | 0 | return false; | 146 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 145k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 145k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 71.8k | set(to, arena); | 143 | 71.8k | return true; | 144 | 71.8k | } | 145 | 73.1k | return false; | 146 | 145k | } |
_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 | 162k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 162k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 88.4k | set(to, arena); | 143 | 88.4k | return true; | 144 | 88.4k | } | 145 | 73.9k | return false; | 146 | 162k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 38.3k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 38.3k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 38.1k | set(to, arena); | 143 | 38.1k | return true; | 144 | 38.1k | } | 145 | 182 | return false; | 146 | 38.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 69 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 69 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 46 | set(to, arena); | 143 | 46 | return true; | 144 | 46 | } | 145 | 23 | return false; | 146 | 69 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 3 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 3 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 3 | set(to, arena); | 143 | 3 | return true; | 144 | 3 | } | 145 | 0 | return false; | 146 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 49 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 49 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 42 | set(to, arena); | 143 | 42 | return true; | 144 | 42 | } | 145 | 7 | return false; | 146 | 49 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 12 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 12 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 9 | set(to, arena); | 143 | 9 | return true; | 144 | 9 | } | 145 | 3 | return false; | 146 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1.53k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1.53k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 1.31k | set(to, arena); | 143 | 1.31k | return true; | 144 | 1.31k | } | 145 | 220 | return false; | 146 | 1.53k | } |
_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 | 65 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 65 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 37 | set(to, arena); | 143 | 37 | return true; | 144 | 37 | } | 145 | 28 | return false; | 146 | 65 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 10 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 10 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 7 | set(to, arena); | 143 | 7 | return true; | 144 | 7 | } | 145 | 3 | return false; | 146 | 10 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 24 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 24 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 20 | set(to, arena); | 143 | 20 | return true; | 144 | 20 | } | 145 | 4 | return false; | 146 | 24 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 90 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 90 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 70 | set(to, arena); | 143 | 70 | return true; | 144 | 70 | } | 145 | 20 | return false; | 146 | 90 | } |
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 | 22 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 22 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 14 | set(to, arena); | 143 | 14 | return true; | 144 | 14 | } | 145 | 8 | return false; | 146 | 22 | } |
_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 | 56.7k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 56.7k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 28.8k | set(to, arena); | 143 | 28.8k | return true; | 144 | 28.8k | } | 145 | 27.8k | return false; | 146 | 56.7k | } |
|
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 | 17.0k | ~SingleValueDataString() = default; |
171 | | |
172 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
173 | | |
174 | 9.93M | bool has() const { return size >= 0; } |
175 | | |
176 | | private: |
177 | 9.93M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
178 | 9.93M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
179 | 9.93M | row_num); |
180 | 9.93M | } |
181 | | |
182 | 9.86M | const char* _data() const { |
183 | 9.86M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
184 | 9.86M | } |
185 | | |
186 | 9.85M | StringRef _value() const { return StringRef(_data(), size); } |
187 | | |
188 | 24.7k | void _set(StringRef source) { |
189 | 24.7k | Int32 value_size = cast_set<Int32>(source.size); |
190 | 24.7k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
191 | | /// Don't free large_data here. |
192 | 24.4k | size = value_size; |
193 | | |
194 | 24.4k | if (size > 0) { |
195 | 24.4k | memcpy(small_data, source.data, size); |
196 | 24.4k | } |
197 | 24.4k | } else { |
198 | 273 | if (capacity < value_size) { |
199 | | /// Don't free large_data here. |
200 | 150 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
201 | 150 | large_data = DorisUniqueBufferPtr<char>(capacity); |
202 | 150 | } |
203 | | |
204 | 273 | size = value_size; |
205 | 273 | memcpy(large_data.get(), source.data, size); |
206 | 273 | } |
207 | 24.7k | } |
208 | | |
209 | | public: |
210 | 10.9k | void insert_result_into(IColumn& to) const { |
211 | 10.9k | if (has()) { |
212 | 10.7k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
213 | 10.7k | } else { |
214 | 271 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
215 | 271 | } |
216 | 10.9k | } |
217 | | |
218 | 15.7k | void reset() { |
219 | 15.7k | size = -1; |
220 | 15.7k | capacity = 0; |
221 | 15.7k | large_data.reset(); |
222 | 15.7k | } |
223 | | |
224 | 623 | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
225 | 623 | buf.write_binary(size); |
226 | 623 | if (has()) { |
227 | 618 | buf.write(_data(), size); |
228 | 618 | } |
229 | 623 | } |
230 | | |
231 | 610 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
232 | 610 | Int32 rhs_size; |
233 | 610 | buf.read_binary(rhs_size); |
234 | | |
235 | 610 | if (rhs_size >= 0) { |
236 | 605 | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
237 | | /// Don't free large_data here. |
238 | | |
239 | 602 | size = rhs_size; |
240 | | |
241 | 602 | if (size > 0) { |
242 | 600 | buf.read(small_data, size); |
243 | 600 | } |
244 | 602 | } else { |
245 | 3 | if (capacity < rhs_size) { |
246 | 3 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
247 | 3 | large_data = DorisUniqueBufferPtr<char>(capacity); |
248 | 3 | } |
249 | | |
250 | 3 | size = rhs_size; |
251 | 3 | buf.read(large_data.get(), size); |
252 | 3 | } |
253 | 605 | } else { |
254 | | /// Don't free large_data here. |
255 | 5 | size = rhs_size; |
256 | 5 | } |
257 | 610 | } |
258 | | |
259 | 24.3k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
260 | | |
261 | 451 | void set(const Self& to, Arena&) { |
262 | 451 | DORIS_CHECK(to.has()); |
263 | 451 | _set(to._value()); |
264 | 451 | } |
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.42k | set(column, row_num, arena); |
269 | 3.42k | return true; |
270 | 3.42k | } |
271 | 3.94M | return false; |
272 | 3.94M | } |
273 | | |
274 | 5.97M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
275 | 5.97M | if (!has() || _value_at(column, row_num) > _value()) { |
276 | 20.3k | set(column, row_num, arena); |
277 | 20.3k | return true; |
278 | 20.3k | } |
279 | 5.95M | return false; |
280 | 5.97M | } |
281 | | |
282 | 66 | bool set_if_smaller(const Self& to, Arena& arena) { |
283 | 66 | if (to.has() && (!has() || to._value() < _value())) { |
284 | 62 | set(to, arena); |
285 | 62 | return true; |
286 | 62 | } |
287 | 4 | return false; |
288 | 66 | } |
289 | | |
290 | 83 | bool set_if_greater(const Self& to, Arena& arena) { |
291 | 83 | if (to.has() && (!has() || to._value() > _value())) { |
292 | 77 | set(to, arena); |
293 | 77 | return true; |
294 | 77 | } |
295 | 6 | return false; |
296 | 83 | } |
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 | 45.9k | 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 | 8 | to.insert_default(); |
337 | 8 | } |
338 | 20.6k | } |
339 | | |
340 | 4.21k | void reset() { _value.reset(); } |
341 | | |
342 | 62 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
343 | 62 | buf.write_binary(has()); |
344 | 62 | if (!has()) { |
345 | 0 | return; |
346 | 0 | } |
347 | 62 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
348 | 62 | buf.write_binary(size_bytes); |
349 | 62 | buf.resize(size_bytes); |
350 | 62 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
351 | 62 | DCHECK_EQ(p, buf.data() + size_bytes); |
352 | 62 | buf.add_offset(size_bytes); |
353 | 62 | } |
354 | | |
355 | 62 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
356 | 62 | bool has_value = false; |
357 | 62 | buf.read_binary(has_value); |
358 | 62 | if (!has_value) { |
359 | 0 | reset(); |
360 | 0 | return; |
361 | 0 | } |
362 | 62 | int64_t size = 0; |
363 | 62 | buf.read_binary(size); |
364 | 62 | auto value = data_type->create_column(); |
365 | 62 | value->reserve(1); |
366 | 62 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
367 | 62 | DCHECK_EQ(p, buf.data() + size); |
368 | 62 | buf.add_offset(size); |
369 | 62 | _value = std::move(value); |
370 | 62 | } |
371 | | |
372 | 315 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
373 | | |
374 | 52 | void set(const Self& to, Arena&) { |
375 | 52 | DORIS_CHECK(to.has()); |
376 | | // Stored one-row columns are immutable, so merged states can share ownership. |
377 | 52 | _value = to._value; |
378 | 52 | } |
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 | 71 | set(column, row_num, arena); |
383 | 71 | return true; |
384 | 71 | } |
385 | 27 | return false; |
386 | 98 | } |
387 | | |
388 | 9 | bool set_if_smaller(const Self& to, Arena& arena) { |
389 | 9 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
390 | 6 | set(to, arena); |
391 | 6 | return true; |
392 | 6 | } |
393 | 3 | return false; |
394 | 9 | } |
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 | 35 | set(column, row_num, arena); |
399 | 35 | return true; |
400 | 35 | } |
401 | 61 | return false; |
402 | 96 | } |
403 | | |
404 | 9 | bool set_if_greater(const Self& to, Arena& arena) { |
405 | 9 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
406 | 8 | set(to, arena); |
407 | 8 | return true; |
408 | 8 | } |
409 | 1 | return false; |
410 | 9 | } |
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 |