be/src/exprs/aggregate/single_value_data.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <cstring> |
21 | | |
22 | | #include "common/cast_set.h" |
23 | | #include "common/compare.h" |
24 | | #include "common/logging.h" |
25 | | #include "core/assert_cast.h" |
26 | | #include "core/column/column.h" |
27 | | #include "core/column/column_decimal.h" |
28 | | #include "core/column/column_string.h" |
29 | | #include "core/custom_allocator.h" |
30 | | #include "core/data_type/data_type.h" |
31 | | #include "core/data_type/primitive_type.h" |
32 | | #include "core/string_buffer.hpp" |
33 | | #include "core/string_ref.h" |
34 | | #include "core/types.h" |
35 | | |
36 | | namespace doris { |
37 | | |
38 | | class Arena; |
39 | | |
40 | | /// Stores one fixed-size scalar value directly in the aggregate state. |
41 | | template <PrimitiveType T> |
42 | | struct SingleValueDataFixed { |
43 | | private: |
44 | | using Self = SingleValueDataFixed; |
45 | | using ValueType = typename PrimitiveTypeTraits<T>::CppType; |
46 | | |
47 | 18.4M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 18.4M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 18.4M | TypeCheckOnRelease::DISABLE>(column) |
50 | 18.4M | .get_data()[row_num]; |
51 | 18.4M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE9_value_atERKNS_7IColumnEm _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 13 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 13 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 13 | TypeCheckOnRelease::DISABLE>(column) | 50 | 13 | .get_data()[row_num]; | 51 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.93M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.93M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.93M | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.93M | .get_data()[row_num]; | 51 | 3.93M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 30.0k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 30.0k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 30.0k | TypeCheckOnRelease::DISABLE>(column) | 50 | 30.0k | .get_data()[row_num]; | 51 | 30.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 915 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 915 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 915 | TypeCheckOnRelease::DISABLE>(column) | 50 | 915 | .get_data()[row_num]; | 51 | 915 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 6.03k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.03k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.03k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.03k | .get_data()[row_num]; | 51 | 6.03k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 300 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 300 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 300 | TypeCheckOnRelease::DISABLE>(column) | 50 | 300 | .get_data()[row_num]; | 51 | 300 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 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 | 600k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 600k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 600k | TypeCheckOnRelease::DISABLE>(column) | 50 | 600k | .get_data()[row_num]; | 51 | 600k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 410 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 410 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 410 | TypeCheckOnRelease::DISABLE>(column) | 50 | 410 | .get_data()[row_num]; | 51 | 410 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 172k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 172k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 172k | TypeCheckOnRelease::DISABLE>(column) | 50 | 172k | .get_data()[row_num]; | 51 | 172k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.14k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.14k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.14k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.14k | .get_data()[row_num]; | 51 | 3.14k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 7.98M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 7.98M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 7.98M | TypeCheckOnRelease::DISABLE>(column) | 50 | 7.98M | .get_data()[row_num]; | 51 | 7.98M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 226k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 226k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 226k | TypeCheckOnRelease::DISABLE>(column) | 50 | 226k | .get_data()[row_num]; | 51 | 226k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.73k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.73k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.73k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.73k | .get_data()[row_num]; | 51 | 2.73k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.34k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.34k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.34k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.34k | .get_data()[row_num]; | 51 | 2.34k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.5k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.5k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.5k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.5k | .get_data()[row_num]; | 51 | 20.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.02k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.02k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.02k | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.02k | .get_data()[row_num]; | 51 | 8.02k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 5.39M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.39M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.39M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.39M | .get_data()[row_num]; | 51 | 5.39M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 21.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 21.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 21.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 21.4k | .get_data()[row_num]; | 51 | 21.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 791 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 791 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 791 | TypeCheckOnRelease::DISABLE>(column) | 50 | 791 | .get_data()[row_num]; | 51 | 791 | } |
|
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 | 944k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 3.74k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 1.01k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 1.66k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.87k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 3 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EEC2Ev Line | Count | Source | 61 | 56 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EEC2Ev Line | Count | Source | 61 | 56 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EEC2Ev Line | Count | Source | 61 | 145k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 175 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 292k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 731 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 371k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 84.6k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 943 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 661 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.39k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 228 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 29.0k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 860 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 210 | SingleValueDataFixed() = default; |
|
62 | 21.6M | bool has() const { return has_value; }Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3hasEv _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3hasEv Line | Count | Source | 62 | 12 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3hasEv Line | Count | Source | 62 | 3.93M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3hasEv Line | Count | Source | 62 | 30.3k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3hasEv Line | Count | Source | 62 | 1.85k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3hasEv Line | Count | Source | 62 | 8.08k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3hasEv Line | Count | Source | 62 | 204 | 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 | 949k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 516 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 902k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 3.58k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.88M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 396k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 3.61k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 2.83k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 21.6k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 13.2k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.41M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3hasEv Line | Count | Source | 62 | 40.9k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3hasEv Line | Count | Source | 62 | 21.6k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 1.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.00k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 760 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 394 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_minEv Line | Count | Source | 66 | 2.02k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_minEv Line | Count | Source | 66 | 1 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 35 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 35 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 63.0k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 102 | 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 | 872 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.15M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 44.0k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 920 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 853 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.34k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.21k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.62k | 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 | 473 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 180 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 642k | 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.89k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 414 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 391 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_maxEv Line | Count | Source | 68 | 2.02k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_maxEv Line | Count | Source | 68 | 1 | 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 | 66.8k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 71 | 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 | 181 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 353k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 41.7k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 219 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 107 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 508 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 65 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 24.5k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE16set_value_to_maxEv Line | Count | Source | 68 | 4.09k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE16set_value_to_maxEv Line | Count | Source | 68 | 366 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 164 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
|
69 | | |
70 | 1.26M | void insert_result_into(IColumn& to) const { |
71 | 1.26M | 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 | 1.31k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 1.31k | to) |
78 | 1.31k | .insert_default(); |
79 | 1.31k | } |
80 | 1.26M | } 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.63k | void insert_result_into(IColumn& to) const { | 71 | 3.63k | if (has()) { | 72 | 3.58k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3.58k | to) | 74 | 3.58k | .insert_value(value); | 75 | 3.58k | } else { | 76 | 50 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 50 | to) | 78 | 50 | .insert_default(); | 79 | 50 | } | 80 | 3.63k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 772 | void insert_result_into(IColumn& to) const { | 71 | 772 | if (has()) { | 72 | 772 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 772 | to) | 74 | 772 | .insert_value(value); | 75 | 772 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 772 | } |
_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.33k | void insert_result_into(IColumn& to) const { | 71 | 2.33k | if (has()) { | 72 | 2.33k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2.33k | to) | 74 | 2.33k | .insert_value(value); | 75 | 2.33k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2.33k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 3 | void insert_result_into(IColumn& to) const { | 71 | 3 | if (has()) { | 72 | 3 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3 | to) | 74 | 3 | .insert_value(value); | 75 | 3 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 3 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 6.14k | void insert_result_into(IColumn& to) const { | 71 | 6.14k | if (has()) { | 72 | 6.14k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 6.14k | to) | 74 | 6.14k | .insert_value(value); | 75 | 6.14k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 6.14k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 86 | void insert_result_into(IColumn& to) const { | 71 | 86 | if (has()) { | 72 | 86 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 86 | to) | 74 | 86 | .insert_value(value); | 75 | 86 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 86 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.08k | void insert_result_into(IColumn& to) const { | 71 | 1.08k | if (has()) { | 72 | 1.07k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.07k | to) | 74 | 1.07k | .insert_value(value); | 75 | 1.07k | } else { | 76 | 10 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 10 | to) | 78 | 10 | .insert_default(); | 79 | 10 | } | 80 | 1.08k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 815 | void insert_result_into(IColumn& to) const { | 71 | 815 | if (has()) { | 72 | 813 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 813 | to) | 74 | 813 | .insert_value(value); | 75 | 813 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 815 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.19M | void insert_result_into(IColumn& to) const { | 71 | 1.19M | if (has()) { | 72 | 1.19M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.19M | to) | 74 | 1.19M | .insert_value(value); | 75 | 1.19M | } else { | 76 | 649 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 649 | to) | 78 | 649 | .insert_default(); | 79 | 649 | } | 80 | 1.19M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 7.30k | void insert_result_into(IColumn& to) const { | 71 | 7.30k | if (has()) { | 72 | 7.24k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 7.24k | to) | 74 | 7.24k | .insert_value(value); | 75 | 7.24k | } else { | 76 | 66 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 66 | to) | 78 | 66 | .insert_default(); | 79 | 66 | } | 80 | 7.30k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 828 | void insert_result_into(IColumn& to) const { | 71 | 828 | if (has()) { | 72 | 826 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 826 | to) | 74 | 826 | .insert_value(value); | 75 | 826 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 828 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 683 | void insert_result_into(IColumn& to) const { | 71 | 683 | if (has()) { | 72 | 683 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 683 | to) | 74 | 683 | .insert_value(value); | 75 | 683 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 683 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.26k | void insert_result_into(IColumn& to) const { | 71 | 1.26k | if (has()) { | 72 | 1.26k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.26k | to) | 74 | 1.26k | .insert_value(value); | 75 | 1.26k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.26k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 5.20k | void insert_result_into(IColumn& to) const { | 71 | 5.20k | if (has()) { | 72 | 5.20k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 5.20k | to) | 74 | 5.20k | .insert_value(value); | 75 | 5.20k | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 5.20k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 22.1k | void insert_result_into(IColumn& to) const { | 71 | 22.1k | if (has()) { | 72 | 21.6k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21.6k | to) | 74 | 21.6k | .insert_value(value); | 75 | 21.6k | } else { | 76 | 533 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 533 | to) | 78 | 533 | .insert_default(); | 79 | 533 | } | 80 | 22.1k | } |
_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 | 726 | void insert_result_into(IColumn& to) const { | 71 | 726 | if (has()) { | 72 | 726 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 726 | to) | 74 | 726 | .insert_value(value); | 75 | 726 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 726 | } |
_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.07M | void reset() { has_value = false; }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5resetEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5resetEv Line | Count | Source | 82 | 2 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5resetEv Line | Count | Source | 82 | 3.89k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.17k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 785 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 4.04k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 2 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 54 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 54 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv Line | Count | Source | 82 | 129k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 173 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 291k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.05k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.50M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 84.1k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.17k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 960 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.84k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.28k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 27.5k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 848 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 344 | void reset() { has_value = false; } |
|
83 | | |
84 | 18.8k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
85 | 18.8k | buf.write_binary(has()); |
86 | 18.8k | if (has()) { |
87 | 18.8k | buf.write_binary(value); |
88 | 18.8k | } |
89 | 18.8k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 12 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 12 | buf.write_binary(has()); | 86 | 12 | if (has()) { | 87 | 12 | buf.write_binary(value); | 88 | 12 | } | 89 | 12 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 18 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 18 | buf.write_binary(has()); | 86 | 18 | if (has()) { | 87 | 18 | buf.write_binary(value); | 88 | 18 | } | 89 | 18 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 104 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 104 | buf.write_binary(has()); | 86 | 104 | if (has()) { | 87 | 104 | buf.write_binary(value); | 88 | 104 | } | 89 | 104 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 8.60k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 8.60k | buf.write_binary(has()); | 86 | 8.60k | if (has()) { | 87 | 8.60k | buf.write_binary(value); | 88 | 8.60k | } | 89 | 8.60k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 64 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 64 | buf.write_binary(has()); | 86 | 64 | if (has()) { | 87 | 64 | buf.write_binary(value); | 88 | 64 | } | 89 | 64 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 9.52k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.52k | buf.write_binary(has()); | 86 | 9.52k | if (has()) { | 87 | 9.52k | buf.write_binary(value); | 88 | 9.52k | } | 89 | 9.52k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 114 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 114 | buf.write_binary(has()); | 86 | 114 | if (has()) { | 87 | 114 | buf.write_binary(value); | 88 | 114 | } | 89 | 114 | } |
_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 | 363 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 363 | buf.write_binary(has()); | 86 | 363 | if (has()) { | 87 | 363 | buf.write_binary(value); | 88 | 363 | } | 89 | 363 | } |
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 | 19.8k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 19.8k | buf.read_binary(has_value); |
93 | 19.8k | if (has()) { |
94 | 19.8k | buf.read_binary(value); |
95 | 19.8k | } |
96 | 19.8k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 12 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 12 | buf.read_binary(has_value); | 93 | 12 | if (has()) { | 94 | 12 | buf.read_binary(value); | 95 | 12 | } | 96 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 18 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 18 | buf.read_binary(has_value); | 93 | 18 | if (has()) { | 94 | 18 | buf.read_binary(value); | 95 | 18 | } | 96 | 18 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 104 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 104 | buf.read_binary(has_value); | 93 | 104 | if (has()) { | 94 | 104 | buf.read_binary(value); | 95 | 104 | } | 96 | 104 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 9.57k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.57k | buf.read_binary(has_value); | 93 | 9.57k | if (has()) { | 94 | 9.57k | buf.read_binary(value); | 95 | 9.57k | } | 96 | 9.57k | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 64 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 64 | buf.read_binary(has_value); | 93 | 64 | if (has()) { | 94 | 64 | buf.read_binary(value); | 95 | 64 | } | 96 | 64 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 9.53k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.53k | buf.read_binary(has_value); | 93 | 9.53k | if (has()) { | 94 | 9.52k | buf.read_binary(value); | 95 | 9.52k | } | 96 | 9.53k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 119 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 119 | buf.read_binary(has_value); | 93 | 119 | if (has()) { | 94 | 119 | buf.read_binary(value); | 95 | 119 | } | 96 | 119 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 52 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 52 | buf.read_binary(has_value); | 93 | 52 | if (has()) { | 94 | 52 | buf.read_binary(value); | 95 | 52 | } | 96 | 52 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 6 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 6 | buf.read_binary(has_value); | 93 | 6 | if (has()) { | 94 | 6 | buf.read_binary(value); | 95 | 6 | } | 96 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 344 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 344 | buf.read_binary(has_value); | 93 | 344 | if (has()) { | 94 | 344 | buf.read_binary(value); | 95 | 344 | } | 96 | 344 | } |
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.83M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.83M | has_value = true; |
100 | 1.83M | value = _value_at(column, row_num); |
101 | 1.83M | } 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.53k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 7.53k | has_value = true; | 100 | 7.53k | value = _value_at(column, row_num); | 101 | 7.53k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.63k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.63k | has_value = true; | 100 | 1.63k | value = _value_at(column, row_num); | 101 | 1.63k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 558 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 558 | has_value = true; | 100 | 558 | value = _value_at(column, row_num); | 101 | 558 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 2.75k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.75k | has_value = true; | 100 | 2.75k | value = _value_at(column, row_num); | 101 | 2.75k | } |
_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 | 71.1k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 71.1k | has_value = true; | 100 | 71.1k | value = _value_at(column, row_num); | 101 | 71.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 99 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 99 | has_value = true; | 100 | 99 | value = _value_at(column, row_num); | 101 | 99 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 145k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 145k | has_value = true; | 100 | 145k | value = _value_at(column, row_num); | 101 | 145k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.21k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.21k | has_value = true; | 100 | 1.21k | value = _value_at(column, row_num); | 101 | 1.21k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.46M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.46M | has_value = true; | 100 | 1.46M | value = _value_at(column, row_num); | 101 | 1.46M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 86.5k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 86.5k | has_value = true; | 100 | 86.5k | value = _value_at(column, row_num); | 101 | 86.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.18k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.18k | has_value = true; | 100 | 1.18k | value = _value_at(column, row_num); | 101 | 1.18k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.02k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.02k | has_value = true; | 100 | 1.02k | value = _value_at(column, row_num); | 101 | 1.02k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.86k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.86k | has_value = true; | 100 | 1.86k | value = _value_at(column, row_num); | 101 | 1.86k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.27k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.27k | has_value = true; | 100 | 5.27k | value = _value_at(column, row_num); | 101 | 5.27k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 30.7k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 30.7k | has_value = true; | 100 | 30.7k | value = _value_at(column, row_num); | 101 | 30.7k | } |
_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.45k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.45k | has_value = true; | 100 | 1.45k | value = _value_at(column, row_num); | 101 | 1.45k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 313 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 313 | has_value = true; | 100 | 313 | value = _value_at(column, row_num); | 101 | 313 | } |
|
102 | | |
103 | 438k | void set(const Self& to, Arena&) { |
104 | 438k | DORIS_CHECK(to.has()); |
105 | 438k | has_value = true; |
106 | 438k | value = to.value; |
107 | 438k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 59 | void set(const Self& to, Arena&) { | 104 | 59 | DORIS_CHECK(to.has()); | 105 | 59 | has_value = true; | 106 | 59 | value = to.value; | 107 | 59 | } |
_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 | 176 | void set(const Self& to, Arena&) { | 104 | 176 | DORIS_CHECK(to.has()); | 105 | 176 | has_value = true; | 106 | 176 | value = to.value; | 107 | 176 | } |
_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 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKS2_RNS_5ArenaE _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 | 66.5k | void set(const Self& to, Arena&) { | 104 | 66.5k | DORIS_CHECK(to.has()); | 105 | 66.5k | has_value = true; | 106 | 66.5k | value = to.value; | 107 | 66.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 6 | void set(const Self& to, Arena&) { | 104 | 6 | DORIS_CHECK(to.has()); | 105 | 6 | has_value = true; | 106 | 6 | value = to.value; | 107 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 145k | void set(const Self& to, Arena&) { | 104 | 145k | DORIS_CHECK(to.has()); | 105 | 145k | has_value = true; | 106 | 145k | value = to.value; | 107 | 145k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 9 | void set(const Self& to, Arena&) { | 104 | 9 | DORIS_CHECK(to.has()); | 105 | 9 | has_value = true; | 106 | 9 | value = to.value; | 107 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 164k | void set(const Self& to, Arena&) { | 104 | 164k | DORIS_CHECK(to.has()); | 105 | 164k | has_value = true; | 106 | 164k | value = to.value; | 107 | 164k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 51.3k | void set(const Self& to, Arena&) { | 104 | 51.3k | DORIS_CHECK(to.has()); | 105 | 51.3k | has_value = true; | 106 | 51.3k | value = to.value; | 107 | 51.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 56 | void set(const Self& to, Arena&) { | 104 | 56 | DORIS_CHECK(to.has()); | 105 | 56 | has_value = true; | 106 | 56 | value = to.value; | 107 | 56 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 49 | void set(const Self& to, Arena&) { | 104 | 49 | DORIS_CHECK(to.has()); | 105 | 49 | has_value = true; | 106 | 49 | value = to.value; | 107 | 49 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 143 | void set(const Self& to, Arena&) { | 104 | 143 | DORIS_CHECK(to.has()); | 105 | 143 | has_value = true; | 106 | 143 | value = to.value; | 107 | 143 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 20 | void set(const Self& to, Arena&) { | 104 | 20 | DORIS_CHECK(to.has()); | 105 | 20 | has_value = true; | 106 | 20 | value = to.value; | 107 | 20 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 1.89k | void set(const Self& to, Arena&) { | 104 | 1.89k | DORIS_CHECK(to.has()); | 105 | 1.89k | has_value = true; | 106 | 1.89k | value = to.value; | 107 | 1.89k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 8.19k | void set(const Self& to, Arena&) { | 104 | 8.19k | DORIS_CHECK(to.has()); | 105 | 8.19k | has_value = true; | 106 | 8.19k | value = to.value; | 107 | 8.19k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 40 | void set(const Self& to, Arena&) { | 104 | 40 | DORIS_CHECK(to.has()); | 105 | 40 | has_value = true; | 106 | 40 | value = to.value; | 107 | 40 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 17 | void set(const Self& to, Arena&) { | 104 | 17 | DORIS_CHECK(to.has()); | 105 | 17 | has_value = true; | 106 | 17 | value = to.value; | 107 | 17 | } |
|
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 | 451k | set(column, row_num, arena); |
112 | 451k | return true; |
113 | 451k | } |
114 | 8.27M | return false; |
115 | 8.73M | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 364 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 364 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 226 | set(column, row_num, arena); | 112 | 226 | return true; | 113 | 226 | } | 114 | 138 | return false; | 115 | 364 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 194 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 194 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 44 | set(column, row_num, arena); | 112 | 44 | return true; | 113 | 44 | } | 114 | 150 | return false; | 115 | 194 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 85.9k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 85.9k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 73.0k | set(column, row_num, arena); | 112 | 73.0k | return true; | 113 | 73.0k | } | 114 | 12.8k | return false; | 115 | 85.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 816 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 816 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 191 | set(column, row_num, arena); | 112 | 191 | return true; | 113 | 191 | } | 114 | 625 | return false; | 115 | 816 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.52M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.52M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 285k | set(column, row_num, arena); | 112 | 285k | return true; | 113 | 285k | } | 114 | 3.24M | return false; | 115 | 3.52M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 87.0k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 87.0k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 23.6k | set(column, row_num, arena); | 112 | 23.6k | return true; | 113 | 23.6k | } | 114 | 63.3k | return false; | 115 | 87.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 616 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 616 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 205 | set(column, row_num, arena); | 112 | 205 | return true; | 113 | 205 | } | 114 | 411 | return false; | 115 | 616 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 438 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 438 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 100 | set(column, row_num, arena); | 112 | 100 | return true; | 113 | 100 | } | 114 | 338 | return false; | 115 | 438 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 17.3k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 17.3k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 491 | set(column, row_num, arena); | 112 | 491 | return true; | 113 | 491 | } | 114 | 16.8k | return false; | 115 | 17.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 169 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 169 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 62 | set(column, row_num, arena); | 112 | 62 | return true; | 113 | 62 | } | 114 | 107 | return false; | 115 | 169 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.70M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.70M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 26.3k | set(column, row_num, arena); | 112 | 26.3k | return true; | 113 | 26.3k | } | 114 | 2.68M | return false; | 115 | 2.70M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 4.09k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 4.09k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 4.09k | return false; | 115 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 9.32k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.32k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 590 | set(column, row_num, arena); | 112 | 590 | return true; | 113 | 590 | } | 114 | 8.73k | return false; | 115 | 9.32k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 372 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 372 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 137 | set(column, row_num, arena); | 112 | 137 | return true; | 113 | 137 | } | 114 | 235 | return false; | 115 | 372 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.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.35k | set(column, row_num, arena); | 112 | 2.35k | return true; | 113 | 2.35k | } | 114 | 1.96M | return false; | 115 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 14.4k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 14.4k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 399 | set(column, row_num, arena); | 112 | 399 | return true; | 113 | 399 | } | 114 | 14.0k | return false; | 115 | 14.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 5 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 5 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2 | set(column, row_num, arena); | 112 | 2 | return true; | 113 | 2 | } | 114 | 3 | return false; | 115 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 100 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 100 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 99 | return false; | 115 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.81k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.81k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1.34k | set(column, row_num, arena); | 112 | 1.34k | return true; | 113 | 1.34k | } | 114 | 1.47k | return false; | 115 | 2.81k | } |
_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 | 12 | set(column, row_num, arena); | 112 | 12 | return true; | 113 | 12 | } | 114 | 19 | 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 | 13 | set(column, row_num, arena); | 112 | 13 | return true; | 113 | 13 | } | 114 | 18 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 301k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 301k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 35.7k | set(column, row_num, arena); | 112 | 35.7k | return true; | 113 | 35.7k | } | 114 | 265k | return false; | 115 | 301k | } |
|
116 | | |
117 | 403k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 403k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 204k | set(to, arena); |
120 | 204k | return true; |
121 | 204k | } |
122 | 198k | return false; |
123 | 403k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 55 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 55 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 53 | set(to, arena); | 120 | 53 | return true; | 121 | 53 | } | 122 | 2 | return false; | 123 | 55 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 147k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 147k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 73.6k | set(to, arena); | 120 | 73.6k | return true; | 121 | 73.6k | } | 122 | 73.4k | return false; | 123 | 147k | } |
_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 | 147k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 147k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 73.9k | set(to, arena); | 120 | 73.9k | return true; | 121 | 73.9k | } | 122 | 73.7k | return false; | 123 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 40.1k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 40.1k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 20.0k | set(to, arena); | 120 | 20.0k | return true; | 121 | 20.0k | } | 122 | 20.0k | return false; | 123 | 40.1k | } |
_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 | 121 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 121 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 108 | set(to, arena); | 120 | 108 | return true; | 121 | 108 | } | 122 | 13 | return false; | 123 | 121 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 10 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 10 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 9 | set(to, arena); | 120 | 9 | return true; | 121 | 9 | } | 122 | 1 | return false; | 123 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 824 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 824 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 775 | set(to, arena); | 120 | 775 | return true; | 121 | 775 | } | 122 | 49 | return false; | 123 | 824 | } |
_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 | 6 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 6 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 3 | return false; | 123 | 6 | } |
_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 | 7 | set(to, arena); | 120 | 7 | return true; | 121 | 7 | } | 122 | 2 | return false; | 123 | 9 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 69 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 69 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 42 | set(to, arena); | 120 | 42 | return true; | 121 | 42 | } | 122 | 27 | return false; | 123 | 69 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_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 | 20 | set(to, arena); | 120 | 20 | return true; | 121 | 20 | } | 122 | 8 | return false; | 123 | 28 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 20 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 20 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 12 | set(to, arena); | 120 | 12 | return true; | 121 | 12 | } | 122 | 8 | return false; | 123 | 20 | } |
_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 | 63.0k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 63.0k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 31.7k | set(to, arena); | 120 | 31.7k | return true; | 121 | 31.7k | } | 122 | 31.3k | return false; | 123 | 63.0k | } |
|
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.36M | set(column, row_num, arena); |
128 | 1.36M | return true; |
129 | 1.36M | } |
130 | 8.17M | 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 | 203 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 203 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 50 | set(column, row_num, arena); | 128 | 50 | return true; | 129 | 50 | } | 130 | 153 | return false; | 131 | 203 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 87.1k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 87.1k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 73.9k | set(column, row_num, arena); | 128 | 73.9k | return true; | 129 | 73.9k | } | 130 | 13.1k | return false; | 131 | 87.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.91k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.91k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.00k | set(column, row_num, arena); | 128 | 1.00k | return true; | 129 | 1.00k | } | 130 | 904 | return false; | 131 | 1.91k | } |
_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.16M | set(column, row_num, arena); | 128 | 1.16M | return true; | 129 | 1.16M | } | 130 | 3.18M | return false; | 131 | 4.35M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 99.6k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 99.6k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 63.0k | set(column, row_num, arena); | 128 | 63.0k | return true; | 129 | 63.0k | } | 130 | 36.5k | return false; | 131 | 99.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.80k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.80k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 961 | set(column, row_num, arena); | 128 | 961 | return true; | 129 | 961 | } | 130 | 839 | return false; | 131 | 1.80k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.55k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.55k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 912 | set(column, row_num, arena); | 128 | 912 | return true; | 129 | 912 | } | 130 | 643 | return false; | 131 | 1.55k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.54k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.54k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.36k | set(column, row_num, arena); | 128 | 1.36k | return true; | 129 | 1.36k | } | 130 | 1.18k | return false; | 131 | 2.54k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 7.78k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 7.78k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.19k | set(column, row_num, arena); | 128 | 5.19k | return true; | 129 | 5.19k | } | 130 | 2.59k | return false; | 131 | 7.78k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.68M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.68M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.64k | set(column, row_num, arena); | 128 | 4.64k | return true; | 129 | 4.64k | } | 130 | 2.67M | return false; | 131 | 2.68M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.09k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.09k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.09k | set(column, row_num, arena); | 128 | 4.09k | return true; | 129 | 4.09k | } | 130 | 0 | return false; | 131 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 11.4k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.4k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 826 | set(column, row_num, arena); | 128 | 826 | return true; | 129 | 826 | } | 130 | 10.5k | return false; | 131 | 11.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 368 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 368 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 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.16k | set(column, row_num, arena); | 128 | 5.16k | return true; | 129 | 5.16k | } | 130 | 1.96M | return false; | 131 | 1.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 14.7k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 14.7k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.21k | set(column, row_num, arena); | 128 | 1.21k | return true; | 129 | 1.21k | } | 130 | 13.5k | return false; | 131 | 14.7k | } |
_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.81k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.81k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.40k | set(column, row_num, arena); | 128 | 1.40k | return true; | 129 | 1.40k | } | 130 | 1.41k | return false; | 131 | 2.81k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 16 | set(column, row_num, arena); | 128 | 16 | return true; | 129 | 16 | } | 130 | 11 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 16 | set(column, row_num, arena); | 128 | 16 | return true; | 129 | 16 | } | 130 | 11 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 293k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 293k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 33.3k | set(column, row_num, arena); | 128 | 33.3k | return true; | 129 | 33.3k | } | 130 | 260k | return false; | 131 | 293k | } |
|
132 | | |
133 | 4.20k | bool is_equal_to(const IColumn& column, size_t row_num) const { |
134 | 4.20k | if (!has()) { |
135 | 0 | return false; |
136 | 0 | } |
137 | 4.20k | return Compare::equal(_value_at(column, row_num), value); |
138 | 4.20k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 5 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 5 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 5 | return Compare::equal(_value_at(column, row_num), value); | 138 | 5 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 4.09k | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 4.09k | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 4.09k | return Compare::equal(_value_at(column, row_num), value); | 138 | 4.09k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 14 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 14 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 14 | return Compare::equal(_value_at(column, row_num), value); | 138 | 14 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 96 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 96 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 96 | return Compare::equal(_value_at(column, row_num), value); | 138 | 96 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKNS_7IColumnEm |
139 | | |
140 | 418k | bool set_if_greater(const Self& to, Arena& arena) { |
141 | 418k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
142 | 233k | set(to, arena); |
143 | 233k | return true; |
144 | 233k | } |
145 | 185k | return false; |
146 | 418k | } _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 59 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 59 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 59 | set(to, arena); | 143 | 59 | return true; | 144 | 59 | } | 145 | 0 | return false; | 146 | 59 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 9 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 9 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4 | set(to, arena); | 143 | 4 | return true; | 144 | 4 | } | 145 | 5 | return false; | 146 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 146k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 146k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 73.5k | set(to, arena); | 143 | 73.5k | return true; | 144 | 73.5k | } | 145 | 73.4k | return false; | 146 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 5 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 5 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 0 | return false; | 146 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 164k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 164k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 90.3k | set(to, arena); | 143 | 90.3k | return true; | 144 | 90.3k | } | 145 | 73.9k | return false; | 146 | 164k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 38.4k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 38.4k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 31.6k | set(to, arena); | 143 | 31.6k | return true; | 144 | 31.6k | } | 145 | 6.75k | return false; | 146 | 38.4k | } |
_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 | 45 | set(to, arena); | 143 | 45 | return true; | 144 | 45 | } | 145 | 24 | return false; | 146 | 69 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 45 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 45 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 45 | set(to, arena); | 143 | 45 | return true; | 144 | 45 | } | 145 | 0 | return false; | 146 | 45 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 36 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 36 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 31 | set(to, arena); | 143 | 31 | return true; | 144 | 31 | } | 145 | 5 | return false; | 146 | 36 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_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_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 1.32k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 1.32k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 1.11k | set(to, arena); | 143 | 1.11k | return true; | 144 | 1.11k | } | 145 | 206 | return false; | 146 | 1.32k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 4.09k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 4.09k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 4.09k | set(to, arena); | 143 | 4.09k | return true; | 144 | 4.09k | } | 145 | 0 | return false; | 146 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 69 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 69 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 33 | set(to, arena); | 143 | 33 | return true; | 144 | 33 | } | 145 | 36 | return false; | 146 | 69 | } |
_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 | 17 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 17 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 12 | set(to, arena); | 143 | 12 | return true; | 144 | 12 | } | 145 | 5 | return false; | 146 | 17 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 92 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 92 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 71 | set(to, arena); | 143 | 71 | return true; | 144 | 71 | } | 145 | 21 | return false; | 146 | 92 | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 20 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 20 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 15 | set(to, arena); | 143 | 15 | return true; | 144 | 15 | } | 145 | 5 | return false; | 146 | 20 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 1 | return false; | 146 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 5 | set(to, arena); | 143 | 5 | return true; | 144 | 5 | } | 145 | 1 | return false; | 146 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 140 | 63.0k | bool set_if_greater(const Self& to, Arena& arena) { | 141 | 63.0k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 142 | 32.3k | set(to, arena); | 143 | 32.3k | return true; | 144 | 32.3k | } | 145 | 30.7k | return false; | 146 | 63.0k | } |
|
147 | | }; |
148 | | |
149 | | /// Stores short strings inline and allocates a separate buffer for long strings. |
150 | | struct SingleValueDataString { |
151 | | private: |
152 | | using Self = SingleValueDataString; |
153 | | // Keep the signed 32-bit size because -1 represents an empty state in the serialized format. |
154 | | Int32 size = -1; /// -1 indicates that there is no value. |
155 | | Int32 capacity = 0; /// power of two or zero |
156 | | DorisUniqueBufferPtr<char> large_data; |
157 | | |
158 | | public: |
159 | | static constexpr Int32 AUTOMATIC_STORAGE_SIZE = 64; |
160 | | static constexpr Int32 MAX_SMALL_STRING_SIZE = |
161 | | AUTOMATIC_STORAGE_SIZE - sizeof(size) - sizeof(capacity) - sizeof(large_data); |
162 | | |
163 | | private: |
164 | | char small_data[MAX_SMALL_STRING_SIZE]; |
165 | | |
166 | | public: |
167 | | using ColVecType = ColumnString; |
168 | | static constexpr bool NeedCheckColumnType = true; |
169 | | |
170 | 16.5k | ~SingleValueDataString() = default; |
171 | | |
172 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
173 | | |
174 | 9.96M | bool has() const { return size >= 0; } |
175 | | |
176 | | private: |
177 | 9.95M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
178 | 9.95M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
179 | 9.95M | row_num); |
180 | 9.95M | } |
181 | | |
182 | 9.95M | const char* _data() const { |
183 | 9.95M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
184 | 9.95M | } |
185 | | |
186 | 9.93M | StringRef _value() const { return StringRef(_data(), size); } |
187 | | |
188 | 23.6k | void _set(StringRef source) { |
189 | 23.6k | Int32 value_size = cast_set<Int32>(source.size); |
190 | 23.6k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
191 | | /// Don't free large_data here. |
192 | 23.4k | size = value_size; |
193 | | |
194 | 23.4k | if (size > 0) { |
195 | 23.4k | memcpy(small_data, source.data, size); |
196 | 23.4k | } |
197 | 23.4k | } else { |
198 | 218 | if (capacity < value_size) { |
199 | | /// Don't free large_data here. |
200 | 110 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
201 | 110 | large_data = DorisUniqueBufferPtr<char>(capacity); |
202 | 110 | } |
203 | | |
204 | 218 | size = value_size; |
205 | 218 | memcpy(large_data.get(), source.data, size); |
206 | 218 | } |
207 | 23.6k | } |
208 | | |
209 | | public: |
210 | 14.0k | void insert_result_into(IColumn& to) const { |
211 | 14.0k | if (has()) { |
212 | 13.7k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
213 | 13.7k | } else { |
214 | 268 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
215 | 268 | } |
216 | 14.0k | } |
217 | | |
218 | 15.9k | void reset() { |
219 | 15.9k | size = -1; |
220 | 15.9k | capacity = 0; |
221 | 15.9k | large_data.reset(); |
222 | 15.9k | } |
223 | | |
224 | 674 | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
225 | 674 | buf.write_binary(size); |
226 | 674 | if (has()) { |
227 | 670 | buf.write(_data(), size); |
228 | 670 | } |
229 | 674 | } |
230 | | |
231 | 660 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
232 | 660 | Int32 rhs_size; |
233 | 660 | buf.read_binary(rhs_size); |
234 | | |
235 | 660 | if (rhs_size >= 0) { |
236 | 656 | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
237 | | /// Don't free large_data here. |
238 | | |
239 | 650 | size = rhs_size; |
240 | | |
241 | 650 | if (size > 0) { |
242 | 648 | buf.read(small_data, size); |
243 | 648 | } |
244 | 650 | } else { |
245 | 6 | if (capacity < rhs_size) { |
246 | 6 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
247 | 6 | large_data = DorisUniqueBufferPtr<char>(capacity); |
248 | 6 | } |
249 | | |
250 | 6 | size = rhs_size; |
251 | 6 | buf.read(large_data.get(), size); |
252 | 6 | } |
253 | 656 | } else { |
254 | | /// Don't free large_data here. |
255 | 4 | size = rhs_size; |
256 | 4 | } |
257 | 660 | } |
258 | | |
259 | 23.1k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
260 | | |
261 | 493 | void set(const Self& to, Arena&) { |
262 | 493 | DORIS_CHECK(to.has()); |
263 | 493 | _set(to._value()); |
264 | 493 | } |
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.39k | set(column, row_num, arena); |
269 | 3.39k | return true; |
270 | 3.39k | } |
271 | 3.94M | return false; |
272 | 3.94M | } |
273 | | |
274 | 6.00M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
275 | 6.00M | if (!has() || _value_at(column, row_num) > _value()) { |
276 | 19.1k | set(column, row_num, arena); |
277 | 19.1k | return true; |
278 | 19.1k | } |
279 | 5.98M | return false; |
280 | 6.00M | } |
281 | | |
282 | 73 | bool set_if_smaller(const Self& to, Arena& arena) { |
283 | 73 | if (to.has() && (!has() || to._value() < _value())) { |
284 | 66 | set(to, arena); |
285 | 66 | return true; |
286 | 66 | } |
287 | 7 | return false; |
288 | 73 | } |
289 | | |
290 | 90 | bool set_if_greater(const Self& to, Arena& arena) { |
291 | 90 | if (to.has() && (!has() || to._value() > _value())) { |
292 | 85 | set(to, arena); |
293 | 85 | return true; |
294 | 85 | } |
295 | 5 | return false; |
296 | 90 | } |
297 | | |
298 | 0 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
299 | 0 | if (!has()) { |
300 | 0 | return false; |
301 | 0 | } |
302 | 0 | return _value_at(column, row_num) == _value(); |
303 | 0 | } |
304 | | }; |
305 | | |
306 | | static_assert(sizeof(SingleValueDataString) == SingleValueDataString::AUTOMATIC_STORAGE_SIZE); |
307 | | |
308 | | /// Owns a materialized one-row column for values without a dedicated representation above. |
309 | | class SingleValueDataColumn { |
310 | | private: |
311 | | using Self = SingleValueDataColumn; |
312 | | |
313 | | ColumnPtr _value; |
314 | | |
315 | | public: |
316 | | static constexpr bool NeedCheckColumnType = false; |
317 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
318 | | |
319 | 46.0k | bool has() const { return _value.get() != nullptr; } |
320 | | |
321 | | size_t allocated_bytes() const { return has() ? _value->allocated_bytes() : 0; } |
322 | | |
323 | 17.5k | void set(const IColumn& column, size_t row_num) { |
324 | 17.5k | auto value = column.clone_empty(); |
325 | 17.5k | DCHECK(value->empty()); |
326 | 17.5k | value->reserve(1); |
327 | 17.5k | value->insert_from(column, row_num); |
328 | 17.5k | DCHECK_EQ(value->size(), 1); |
329 | 17.5k | _value = std::move(value); |
330 | 17.5k | } |
331 | | |
332 | 20.6k | void insert_result_into(IColumn& to) const { |
333 | 20.6k | if (has()) { |
334 | 20.6k | to.insert_from(*_value, 0); |
335 | 20.6k | } else { |
336 | 8 | to.insert_default(); |
337 | 8 | } |
338 | 20.6k | } |
339 | | |
340 | 4.19k | void reset() { _value.reset(); } |
341 | | |
342 | 71 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
343 | 71 | buf.write_binary(has()); |
344 | 71 | if (!has()) { |
345 | 0 | return; |
346 | 0 | } |
347 | 71 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
348 | 71 | buf.write_binary(size_bytes); |
349 | 71 | buf.resize(size_bytes); |
350 | 71 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
351 | 71 | DCHECK_EQ(p, buf.data() + size_bytes); |
352 | 71 | buf.add_offset(size_bytes); |
353 | 71 | } |
354 | | |
355 | 71 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
356 | 71 | bool has_value = false; |
357 | 71 | buf.read_binary(has_value); |
358 | 71 | if (!has_value) { |
359 | 0 | reset(); |
360 | 0 | return; |
361 | 0 | } |
362 | 71 | int64_t size = 0; |
363 | 71 | buf.read_binary(size); |
364 | 71 | auto value = data_type->create_column(); |
365 | 71 | value->reserve(1); |
366 | 71 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
367 | 71 | DCHECK_EQ(p, buf.data() + size); |
368 | 71 | buf.add_offset(size); |
369 | 71 | _value = std::move(value); |
370 | 71 | } |
371 | | |
372 | 340 | 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 | 75 | set(column, row_num, arena); |
383 | 75 | return true; |
384 | 75 | } |
385 | 23 | return false; |
386 | 98 | } |
387 | | |
388 | 13 | bool set_if_smaller(const Self& to, Arena& arena) { |
389 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
390 | 9 | set(to, arena); |
391 | 9 | return true; |
392 | 9 | } |
393 | 4 | return false; |
394 | 13 | } |
395 | | |
396 | 96 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
397 | 96 | if (!has() || column.compare_at(row_num, 0, *_value, 1) > 0) { |
398 | 40 | set(column, row_num, arena); |
399 | 40 | return true; |
400 | 40 | } |
401 | 56 | return false; |
402 | 96 | } |
403 | | |
404 | 13 | bool set_if_greater(const Self& to, Arena& arena) { |
405 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
406 | 10 | set(to, arena); |
407 | 10 | return true; |
408 | 10 | } |
409 | 3 | return false; |
410 | 13 | } |
411 | | |
412 | 1 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
413 | 1 | return has() && column.compare_at(row_num, 0, *_value, 1) == 0; |
414 | 1 | } |
415 | | }; |
416 | | |
417 | | } // namespace doris |