be/src/exprs/aggregate/single_value_data.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #pragma once |
19 | | |
20 | | #include <cstring> |
21 | | |
22 | | #include "common/cast_set.h" |
23 | | #include "common/compare.h" |
24 | | #include "common/logging.h" |
25 | | #include "core/assert_cast.h" |
26 | | #include "core/column/column.h" |
27 | | #include "core/column/column_decimal.h" |
28 | | #include "core/column/column_string.h" |
29 | | #include "core/custom_allocator.h" |
30 | | #include "core/data_type/data_type.h" |
31 | | #include "core/data_type/primitive_type.h" |
32 | | #include "core/string_buffer.hpp" |
33 | | #include "core/string_ref.h" |
34 | | #include "core/types.h" |
35 | | |
36 | | namespace doris { |
37 | | |
38 | | class Arena; |
39 | | |
40 | | /// Stores one fixed-size scalar value directly in the aggregate state. |
41 | | template <PrimitiveType T> |
42 | | struct SingleValueDataFixed { |
43 | | private: |
44 | | using Self = SingleValueDataFixed; |
45 | | using ValueType = typename PrimitiveTypeTraits<T>::CppType; |
46 | | |
47 | 18.5M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 18.5M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 18.5M | TypeCheckOnRelease::DISABLE>(column) |
50 | 18.5M | .get_data()[row_num]; |
51 | 18.5M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE9_value_atERKNS_7IColumnEm _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 13 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 13 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 13 | TypeCheckOnRelease::DISABLE>(column) | 50 | 13 | .get_data()[row_num]; | 51 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.96M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.96M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.96M | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.96M | .get_data()[row_num]; | 51 | 3.96M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 32.6k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 32.6k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 32.6k | TypeCheckOnRelease::DISABLE>(column) | 50 | 32.6k | .get_data()[row_num]; | 51 | 32.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 914 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 914 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 914 | TypeCheckOnRelease::DISABLE>(column) | 50 | 914 | .get_data()[row_num]; | 51 | 914 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 6.02k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.02k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.02k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.02k | .get_data()[row_num]; | 51 | 6.02k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 300 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 300 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 300 | TypeCheckOnRelease::DISABLE>(column) | 50 | 300 | .get_data()[row_num]; | 51 | 300 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 69 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 69 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 69 | TypeCheckOnRelease::DISABLE>(column) | 50 | 69 | .get_data()[row_num]; | 51 | 69 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 67 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 67 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 67 | TypeCheckOnRelease::DISABLE>(column) | 50 | 67 | .get_data()[row_num]; | 51 | 67 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 609k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 609k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 609k | TypeCheckOnRelease::DISABLE>(column) | 50 | 609k | .get_data()[row_num]; | 51 | 609k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 692 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 692 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 692 | TypeCheckOnRelease::DISABLE>(column) | 50 | 692 | .get_data()[row_num]; | 51 | 692 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 173k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 173k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 173k | TypeCheckOnRelease::DISABLE>(column) | 50 | 173k | .get_data()[row_num]; | 51 | 173k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.78k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.78k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.78k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.78k | .get_data()[row_num]; | 51 | 3.78k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.06M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.06M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.06M | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.06M | .get_data()[row_num]; | 51 | 8.06M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 219k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 219k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 219k | TypeCheckOnRelease::DISABLE>(column) | 50 | 219k | .get_data()[row_num]; | 51 | 219k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.33k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.33k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.33k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.33k | .get_data()[row_num]; | 51 | 3.33k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.93k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.93k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.93k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.93k | .get_data()[row_num]; | 51 | 2.93k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 21.1k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 21.1k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 21.1k | TypeCheckOnRelease::DISABLE>(column) | 50 | 21.1k | .get_data()[row_num]; | 51 | 21.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 10.5k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 10.5k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 10.5k | TypeCheckOnRelease::DISABLE>(column) | 50 | 10.5k | .get_data()[row_num]; | 51 | 10.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 5.38M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.38M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.38M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.38M | .get_data()[row_num]; | 51 | 5.38M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 22.0k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 22.0k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 22.0k | TypeCheckOnRelease::DISABLE>(column) | 50 | 22.0k | .get_data()[row_num]; | 51 | 22.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 789 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 789 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 789 | TypeCheckOnRelease::DISABLE>(column) | 50 | 789 | .get_data()[row_num]; | 51 | 789 | } |
|
52 | | |
53 | | // AggregateFunctionIf and state merging must distinguish an empty state from a default value. |
54 | | bool has_value = false; |
55 | | ValueType value {}; |
56 | | |
57 | | public: |
58 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
59 | | static constexpr bool NeedCheckColumnType = true; |
60 | | |
61 | 915k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 8.83k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 1.07k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 1.74k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.85k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 24 | 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 | 147k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 187 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 291k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 696 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 355k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 75.3k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 900 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 595 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.36k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 199 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 18.9k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 830 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 132 | SingleValueDataFixed() = default; |
|
62 | 21.7M | bool has() const { return has_value; }Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3hasEv _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3hasEv Line | Count | Source | 62 | 12 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3hasEv Line | Count | Source | 62 | 3.98M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3hasEv Line | Count | Source | 62 | 32.8k | 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.05k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3hasEv Line | Count | Source | 62 | 213 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3hasEv Line | Count | Source | 62 | 114 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3hasEv Line | Count | Source | 62 | 114 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3hasEv Line | Count | Source | 62 | 955k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 816 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 899k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 4.22k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.99M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 334k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 4.15k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 3.37k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 22.3k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 15.8k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.40M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3hasEv Line | Count | Source | 62 | 40.9k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3hasEv Line | Count | Source | 62 | 22.2k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 1.04k | 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 | 1.98k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 786 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 266 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_minEv Line | Count | Source | 66 | 1.99k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_minEv Line | Count | Source | 66 | 8 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 19 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 19 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 63.3k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_minEv Line | Count | Source | 66 | 82 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_minEv Line | Count | Source | 66 | 146k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 869 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.16M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 41.0k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 929 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 819 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.33k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_minEv Line | Count | Source | 66 | 5.20k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_minEv Line | Count | Source | 66 | 3.63k | 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 | 480 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 152 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 629k | void set_value_to_max() { value = Compare::max_value<ValueType>(); }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE16set_value_to_maxEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE16set_value_to_maxEv Line | Count | Source | 68 | 1 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE16set_value_to_maxEv Line | Count | Source | 68 | 1.88k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 502 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 263 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_maxEv Line | Count | Source | 68 | 1.99k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_maxEv Line | Count | Source | 68 | 8 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_maxEv Line | Count | Source | 68 | 35 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_maxEv Line | Count | Source | 68 | 35 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_maxEv Line | Count | Source | 68 | 67.3k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 97 | 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 | 205 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 353k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 37.0k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 257 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 131 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 555 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 95 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 14.4k | 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 | 384 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 166 | 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 | 962 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 962 | to) |
78 | 962 | .insert_default(); |
79 | 962 | } |
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 | 8.55k | void insert_result_into(IColumn& to) const { | 71 | 8.55k | if (has()) { | 72 | 8.50k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.50k | to) | 74 | 8.50k | .insert_value(value); | 75 | 8.50k | } else { | 76 | 50 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 50 | to) | 78 | 50 | .insert_default(); | 79 | 50 | } | 80 | 8.55k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 842 | void insert_result_into(IColumn& to) const { | 71 | 842 | if (has()) { | 72 | 842 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 842 | to) | 74 | 842 | .insert_value(value); | 75 | 842 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 842 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 355 | void insert_result_into(IColumn& to) const { | 71 | 355 | if (has()) { | 72 | 354 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 354 | to) | 74 | 354 | .insert_value(value); | 75 | 354 | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 355 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 2.29k | void insert_result_into(IColumn& to) const { | 71 | 2.29k | if (has()) { | 72 | 2.29k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2.29k | to) | 74 | 2.29k | .insert_value(value); | 75 | 2.29k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2.29k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 3 | void insert_result_into(IColumn& to) const { | 71 | 3 | if (has()) { | 72 | 3 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3 | to) | 74 | 3 | .insert_value(value); | 75 | 3 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 3 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 6.18k | void insert_result_into(IColumn& to) const { | 71 | 6.18k | if (has()) { | 72 | 6.18k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 6.18k | to) | 74 | 6.18k | .insert_value(value); | 75 | 6.18k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 6.18k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 91 | void insert_result_into(IColumn& to) const { | 71 | 91 | if (has()) { | 72 | 91 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 91 | to) | 74 | 91 | .insert_value(value); | 75 | 91 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 91 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.10k | void insert_result_into(IColumn& to) const { | 71 | 1.10k | if (has()) { | 72 | 1.08k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.08k | to) | 74 | 1.08k | .insert_value(value); | 75 | 1.08k | } else { | 76 | 12 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 12 | to) | 78 | 12 | .insert_default(); | 79 | 12 | } | 80 | 1.10k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 829 | void insert_result_into(IColumn& to) const { | 71 | 829 | if (has()) { | 72 | 827 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 827 | to) | 74 | 827 | .insert_value(value); | 75 | 827 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 829 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.20M | void insert_result_into(IColumn& to) const { | 71 | 1.20M | if (has()) { | 72 | 1.20M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.20M | to) | 74 | 1.20M | .insert_value(value); | 75 | 1.20M | } else { | 76 | 725 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 725 | to) | 78 | 725 | .insert_default(); | 79 | 725 | } | 80 | 1.20M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 7.90k | void insert_result_into(IColumn& to) const { | 71 | 7.90k | if (has()) { | 72 | 7.78k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 7.78k | to) | 74 | 7.78k | .insert_value(value); | 75 | 7.78k | } else { | 76 | 112 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 112 | to) | 78 | 112 | .insert_default(); | 79 | 112 | } | 80 | 7.90k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 839 | void insert_result_into(IColumn& to) const { | 71 | 839 | if (has()) { | 72 | 837 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 837 | to) | 74 | 837 | .insert_value(value); | 75 | 837 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 839 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 681 | void insert_result_into(IColumn& to) const { | 71 | 681 | if (has()) { | 72 | 681 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 681 | to) | 74 | 681 | .insert_value(value); | 75 | 681 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 681 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.27k | void insert_result_into(IColumn& to) const { | 71 | 1.27k | if (has()) { | 72 | 1.27k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.27k | to) | 74 | 1.27k | .insert_value(value); | 75 | 1.27k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.27k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 5.21k | void insert_result_into(IColumn& to) const { | 71 | 5.21k | if (has()) { | 72 | 5.20k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 5.20k | to) | 74 | 5.20k | .insert_value(value); | 75 | 5.20k | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 5.21k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 15.8k | void insert_result_into(IColumn& to) const { | 71 | 15.8k | if (has()) { | 72 | 15.7k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 15.7k | to) | 74 | 15.7k | .insert_value(value); | 75 | 15.7k | } else { | 76 | 57 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 57 | to) | 78 | 57 | .insert_default(); | 79 | 57 | } | 80 | 15.8k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 8.19k | void insert_result_into(IColumn& to) const { | 71 | 8.19k | if (has()) { | 72 | 8.19k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.19k | to) | 74 | 8.19k | .insert_value(value); | 75 | 8.19k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 8.19k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 739 | void insert_result_into(IColumn& to) const { | 71 | 739 | if (has()) { | 72 | 739 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 739 | to) | 74 | 739 | .insert_value(value); | 75 | 739 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 739 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 255 | void insert_result_into(IColumn& to) const { | 71 | 255 | if (has()) { | 72 | 255 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 255 | to) | 74 | 255 | .insert_value(value); | 75 | 255 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 255 | } |
|
81 | | |
82 | 2.05M | void reset() { has_value = false; }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5resetEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5resetEv Line | Count | Source | 82 | 2 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5resetEv Line | Count | Source | 82 | 3.87k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.30k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 529 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 3.98k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 16 | 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 | 179 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 291k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.07k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.51M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 74.4k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.21k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 950 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.88k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.30k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 18.0k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 873 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 319 | void reset() { has_value = false; } |
|
83 | | |
84 | 20.1k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
85 | 20.1k | buf.write_binary(has()); |
86 | 20.1k | if (has()) { |
87 | 20.0k | buf.write_binary(value); |
88 | 20.0k | } |
89 | 20.1k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 8 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 8 | buf.write_binary(has()); | 86 | 8 | if (has()) { | 87 | 8 | buf.write_binary(value); | 88 | 8 | } | 89 | 8 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 20 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 20 | buf.write_binary(has()); | 86 | 20 | if (has()) { | 87 | 18 | buf.write_binary(value); | 88 | 18 | } | 89 | 20 | } |
_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 | 9.60k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.60k | buf.write_binary(has()); | 86 | 9.60k | if (has()) { | 87 | 9.60k | buf.write_binary(value); | 88 | 9.60k | } | 89 | 9.60k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 58 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 58 | buf.write_binary(has()); | 86 | 58 | if (has()) { | 87 | 57 | buf.write_binary(value); | 88 | 57 | } | 89 | 58 | } |
_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.68k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.68k | buf.write_binary(has()); | 86 | 9.68k | if (has()) { | 87 | 9.61k | buf.write_binary(value); | 88 | 9.61k | } | 89 | 9.68k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 200 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 200 | buf.write_binary(has()); | 86 | 200 | if (has()) { | 87 | 170 | buf.write_binary(value); | 88 | 170 | } | 89 | 200 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 44 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 44 | buf.write_binary(has()); | 86 | 44 | if (has()) { | 87 | 44 | buf.write_binary(value); | 88 | 44 | } | 89 | 44 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 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_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 | 361 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 361 | buf.write_binary(has()); | 86 | 361 | if (has()) { | 87 | 358 | buf.write_binary(value); | 88 | 358 | } | 89 | 361 | } |
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 | 21.0k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 21.0k | buf.read_binary(has_value); |
93 | 21.0k | if (has()) { |
94 | 20.9k | buf.read_binary(value); |
95 | 20.9k | } |
96 | 21.0k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 8 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 8 | buf.read_binary(has_value); | 93 | 8 | if (has()) { | 94 | 8 | buf.read_binary(value); | 95 | 8 | } | 96 | 8 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 20 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 20 | buf.read_binary(has_value); | 93 | 20 | if (has()) { | 94 | 18 | buf.read_binary(value); | 95 | 18 | } | 96 | 20 | } |
_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 | 10.5k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 10.5k | buf.read_binary(has_value); | 93 | 10.5k | if (has()) { | 94 | 10.5k | buf.read_binary(value); | 95 | 10.5k | } | 96 | 10.5k | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 58 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 58 | buf.read_binary(has_value); | 93 | 58 | if (has()) { | 94 | 57 | buf.read_binary(value); | 95 | 57 | } | 96 | 58 | } |
_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.65k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.65k | buf.read_binary(has_value); | 93 | 9.65k | if (has()) { | 94 | 9.58k | buf.read_binary(value); | 95 | 9.58k | } | 96 | 9.65k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 253 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 253 | buf.read_binary(has_value); | 93 | 253 | if (has()) { | 94 | 211 | buf.read_binary(value); | 95 | 211 | } | 96 | 253 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 41 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 41 | buf.read_binary(has_value); | 93 | 41 | if (has()) { | 94 | 41 | buf.read_binary(value); | 95 | 41 | } | 96 | 41 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 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_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 | 343 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 343 | buf.read_binary(has_value); | 93 | 343 | if (has()) { | 94 | 340 | buf.read_binary(value); | 95 | 340 | } | 96 | 343 | } |
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.79M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.79M | has_value = true; |
100 | 1.79M | value = _value_at(column, row_num); |
101 | 1.79M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5 | has_value = true; | 100 | 5 | value = _value_at(column, row_num); | 101 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 14.1k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 14.1k | has_value = true; | 100 | 14.1k | value = _value_at(column, row_num); | 101 | 14.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.90k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.90k | has_value = true; | 100 | 1.90k | value = _value_at(column, row_num); | 101 | 1.90k | } |
_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.70k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.70k | has_value = true; | 100 | 2.70k | value = _value_at(column, row_num); | 101 | 2.70k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 102 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 102 | has_value = true; | 100 | 102 | value = _value_at(column, row_num); | 101 | 102 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 32 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 32 | has_value = true; | 100 | 32 | value = _value_at(column, row_num); | 101 | 32 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 30 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 30 | has_value = true; | 100 | 30 | value = _value_at(column, row_num); | 101 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 71.0k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 71.0k | has_value = true; | 100 | 71.0k | value = _value_at(column, row_num); | 101 | 71.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 104 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 104 | has_value = true; | 100 | 104 | value = _value_at(column, row_num); | 101 | 104 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 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.25k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.25k | has_value = true; | 100 | 1.25k | value = _value_at(column, row_num); | 101 | 1.25k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.43M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.43M | has_value = true; | 100 | 1.43M | value = _value_at(column, row_num); | 101 | 1.43M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 77.8k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 77.8k | has_value = true; | 100 | 77.8k | value = _value_at(column, row_num); | 101 | 77.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.20k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.20k | has_value = true; | 100 | 1.20k | value = _value_at(column, row_num); | 101 | 1.20k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.04k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.04k | has_value = true; | 100 | 1.04k | value = _value_at(column, row_num); | 101 | 1.04k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.82k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.82k | has_value = true; | 100 | 1.82k | value = _value_at(column, row_num); | 101 | 1.82k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.28k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.28k | has_value = true; | 100 | 5.28k | value = _value_at(column, row_num); | 101 | 5.28k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 20.4k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 20.4k | has_value = true; | 100 | 20.4k | value = _value_at(column, row_num); | 101 | 20.4k | } |
_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.47k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.47k | has_value = true; | 100 | 1.47k | value = _value_at(column, row_num); | 101 | 1.47k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 304 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 304 | has_value = true; | 100 | 304 | value = _value_at(column, row_num); | 101 | 304 | } |
|
102 | | |
103 | 423k | void set(const Self& to, Arena&) { |
104 | 423k | DORIS_CHECK(to.has()); |
105 | 423k | has_value = true; |
106 | 423k | value = to.value; |
107 | 423k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 4.96k | void set(const Self& to, Arena&) { | 104 | 4.96k | DORIS_CHECK(to.has()); | 105 | 4.96k | has_value = true; | 106 | 4.96k | value = to.value; | 107 | 4.96k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 104 | void set(const Self& to, Arena&) { | 104 | 104 | DORIS_CHECK(to.has()); | 105 | 104 | has_value = true; | 106 | 104 | value = to.value; | 107 | 104 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 177 | void set(const Self& to, Arena&) { | 104 | 177 | DORIS_CHECK(to.has()); | 105 | 177 | has_value = true; | 106 | 177 | value = to.value; | 107 | 177 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 31 | void set(const Self& to, Arena&) { | 104 | 31 | DORIS_CHECK(to.has()); | 105 | 31 | has_value = true; | 106 | 31 | value = to.value; | 107 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 3 | void set(const Self& to, Arena&) { | 104 | 3 | DORIS_CHECK(to.has()); | 105 | 3 | has_value = true; | 106 | 3 | value = to.value; | 107 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 10 | void set(const Self& to, Arena&) { | 104 | 10 | DORIS_CHECK(to.has()); | 105 | 10 | has_value = true; | 106 | 10 | value = to.value; | 107 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 10 | void set(const Self& to, Arena&) { | 104 | 10 | DORIS_CHECK(to.has()); | 105 | 10 | has_value = true; | 106 | 10 | value = to.value; | 107 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 67.4k | void set(const Self& to, Arena&) { | 104 | 67.4k | DORIS_CHECK(to.has()); | 105 | 67.4k | has_value = true; | 106 | 67.4k | value = to.value; | 107 | 67.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 11 | void set(const Self& to, Arena&) { | 104 | 11 | DORIS_CHECK(to.has()); | 105 | 11 | has_value = true; | 106 | 11 | value = to.value; | 107 | 11 | } |
_ZN5doris20SingleValueDataFixedILNS_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 | 13 | void set(const Self& to, Arena&) { | 104 | 13 | DORIS_CHECK(to.has()); | 105 | 13 | has_value = true; | 106 | 13 | value = to.value; | 107 | 13 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 163k | void set(const Self& to, Arena&) { | 104 | 163k | DORIS_CHECK(to.has()); | 105 | 163k | has_value = true; | 106 | 163k | value = to.value; | 107 | 163k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 31.9k | void set(const Self& to, Arena&) { | 104 | 31.9k | DORIS_CHECK(to.has()); | 105 | 31.9k | has_value = true; | 106 | 31.9k | value = to.value; | 107 | 31.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 47 | void set(const Self& to, Arena&) { | 104 | 47 | DORIS_CHECK(to.has()); | 105 | 47 | has_value = true; | 106 | 47 | value = to.value; | 107 | 47 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 37 | void set(const Self& to, Arena&) { | 104 | 37 | DORIS_CHECK(to.has()); | 105 | 37 | has_value = true; | 106 | 37 | value = to.value; | 107 | 37 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 159 | void set(const Self& to, Arena&) { | 104 | 159 | DORIS_CHECK(to.has()); | 105 | 159 | has_value = true; | 106 | 159 | value = to.value; | 107 | 159 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 34 | void set(const Self& to, Arena&) { | 104 | 34 | DORIS_CHECK(to.has()); | 105 | 34 | has_value = true; | 106 | 34 | value = to.value; | 107 | 34 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 1.90k | void set(const Self& to, Arena&) { | 104 | 1.90k | DORIS_CHECK(to.has()); | 105 | 1.90k | has_value = true; | 106 | 1.90k | value = to.value; | 107 | 1.90k | } |
_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 | 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_13PrimitiveTypeE35EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 15 | void set(const Self& to, Arena&) { | 104 | 15 | DORIS_CHECK(to.has()); | 105 | 15 | has_value = true; | 106 | 15 | value = to.value; | 107 | 15 | } |
|
108 | | |
109 | 8.77M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 8.77M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 439k | set(column, row_num, arena); |
112 | 439k | return true; |
113 | 439k | } |
114 | 8.33M | return false; |
115 | 8.77M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 5 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 5 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2 | set(column, row_num, arena); | 112 | 2 | return true; | 113 | 2 | } | 114 | 3 | return false; | 115 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.97M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.97M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 2.40k | set(column, row_num, arena); | 112 | 2.40k | return true; | 113 | 2.40k | } | 114 | 1.97M | return false; | 115 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 15.6k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 15.6k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 498 | set(column, row_num, arena); | 112 | 498 | return true; | 113 | 498 | } | 114 | 15.1k | return false; | 115 | 15.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 363 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 363 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 228 | set(column, row_num, arena); | 112 | 228 | return true; | 113 | 228 | } | 114 | 135 | return false; | 115 | 363 | } |
_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.32k | set(column, row_num, arena); | 112 | 1.32k | return true; | 113 | 1.32k | } | 114 | 1.49k | return false; | 115 | 2.81k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 100 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 100 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 99 | return false; | 115 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 15 | set(column, row_num, arena); | 112 | 15 | return true; | 113 | 15 | } | 114 | 16 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 15 | set(column, row_num, arena); | 112 | 15 | return true; | 113 | 15 | } | 114 | 16 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 304k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 304k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 35.7k | set(column, row_num, arena); | 112 | 35.7k | return true; | 113 | 35.7k | } | 114 | 269k | return false; | 115 | 304k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 342 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 342 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 52 | set(column, row_num, arena); | 112 | 52 | return true; | 113 | 52 | } | 114 | 290 | return false; | 115 | 342 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.2k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.2k | 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 | 13.1k | return false; | 115 | 86.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 1.12k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 1.12k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 206 | set(column, row_num, arena); | 112 | 206 | return true; | 113 | 206 | } | 114 | 914 | return false; | 115 | 1.12k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 3.56M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 3.56M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 286k | set(column, row_num, arena); | 112 | 286k | return true; | 113 | 286k | } | 114 | 3.28M | return false; | 115 | 3.56M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.6k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.6k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 22.6k | set(column, row_num, arena); | 112 | 22.6k | return true; | 113 | 22.6k | } | 114 | 64.0k | return false; | 115 | 86.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 904 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 904 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 215 | set(column, row_num, arena); | 112 | 215 | return true; | 113 | 215 | } | 114 | 689 | return false; | 115 | 904 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 734 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 734 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 120 | set(column, row_num, arena); | 112 | 120 | return true; | 113 | 120 | } | 114 | 614 | return false; | 115 | 734 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 17.6k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 17.6k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 438 | set(column, row_num, arena); | 112 | 438 | return true; | 113 | 438 | } | 114 | 17.2k | return false; | 115 | 17.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 185 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 185 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 70 | set(column, row_num, arena); | 112 | 70 | return true; | 113 | 70 | } | 114 | 115 | return false; | 115 | 185 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.69M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.69M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 15.7k | set(column, row_num, arena); | 112 | 15.7k | return true; | 113 | 15.7k | } | 114 | 2.68M | return false; | 115 | 2.69M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 4.09k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 4.09k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1 | set(column, row_num, arena); | 112 | 1 | return true; | 113 | 1 | } | 114 | 4.09k | return false; | 115 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 9.60k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.60k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 588 | set(column, row_num, arena); | 112 | 588 | return true; | 113 | 588 | } | 114 | 9.02k | return false; | 115 | 9.60k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 372 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 372 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 132 | set(column, row_num, arena); | 112 | 132 | return true; | 113 | 132 | } | 114 | 240 | return false; | 115 | 372 | } |
|
116 | | |
117 | 395k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 395k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 199k | set(to, arena); |
120 | 199k | return true; |
121 | 199k | } |
122 | 195k | return false; |
123 | 395k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_smallerERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_smallerERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 29 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 29 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 22 | set(to, arena); | 120 | 22 | return true; | 121 | 22 | } | 122 | 7 | return false; | 123 | 29 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 29 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 29 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 22 | set(to, arena); | 120 | 22 | return true; | 121 | 22 | } | 122 | 7 | return false; | 123 | 29 | } |
_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 | 55 | set(to, arena); | 120 | 55 | return true; | 121 | 55 | } | 122 | 0 | return false; | 123 | 55 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 24 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 24 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 17 | set(to, arena); | 120 | 17 | return true; | 121 | 17 | } | 122 | 7 | return false; | 123 | 24 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 1 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 1 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 1 | set(to, arena); | 120 | 1 | return true; | 121 | 1 | } | 122 | 0 | return false; | 123 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 5 | set(to, arena); | 120 | 5 | return true; | 121 | 5 | } | 122 | 2 | return false; | 123 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 5 | set(to, arena); | 120 | 5 | return true; | 121 | 5 | } | 122 | 2 | return false; | 123 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 62.7k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 62.7k | 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.0k | return false; | 123 | 62.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_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 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 5 | return false; | 123 | 8 | } |
_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.5k | set(to, arena); | 120 | 73.5k | return true; | 121 | 73.5k | } | 122 | 73.4k | return false; | 123 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 1 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 147k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 147k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 74.0k | set(to, arena); | 120 | 74.0k | return true; | 121 | 74.0k | } | 122 | 73.3k | return false; | 123 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 32.8k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 32.8k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 15.4k | set(to, arena); | 120 | 15.4k | return true; | 121 | 15.4k | } | 122 | 17.4k | return false; | 123 | 32.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 10 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 10 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 10 | set(to, arena); | 120 | 10 | return true; | 121 | 10 | } | 122 | 0 | return false; | 123 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 0 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 120 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 120 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 114 | set(to, arena); | 120 | 114 | return true; | 121 | 114 | } | 122 | 6 | return false; | 123 | 120 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 19 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 19 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 19 | set(to, arena); | 120 | 19 | return true; | 121 | 19 | } | 122 | 0 | return false; | 123 | 19 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 828 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 828 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 774 | set(to, arena); | 120 | 774 | return true; | 121 | 774 | } | 122 | 54 | return false; | 123 | 828 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 4.09k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 4.09k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 4.09k | set(to, arena); | 120 | 4.09k | return true; | 121 | 4.09k | } | 122 | 0 | return false; | 123 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 1 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 7 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 7 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 7 | set(to, arena); | 120 | 7 | return true; | 121 | 7 | } | 122 | 0 | return false; | 123 | 7 | } |
|
124 | | |
125 | 9.61M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 9.61M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.32M | set(column, row_num, arena); |
128 | 1.32M | return true; |
129 | 1.32M | } |
130 | 8.28M | return false; |
131 | 9.61M | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 5 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 5 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 3 | set(column, row_num, arena); | 128 | 3 | return true; | 129 | 3 | } | 130 | 2 | return false; | 131 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.97M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.97M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.15k | set(column, row_num, arena); | 128 | 5.15k | return true; | 129 | 5.15k | } | 130 | 1.97M | return false; | 131 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 15.9k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 15.9k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.37k | set(column, row_num, arena); | 128 | 1.37k | return true; | 129 | 1.37k | } | 130 | 14.5k | return false; | 131 | 15.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 367 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 367 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 235 | set(column, row_num, arena); | 128 | 235 | return true; | 129 | 235 | } | 130 | 132 | return false; | 131 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_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.38k | set(column, row_num, arena); | 128 | 1.38k | return true; | 129 | 1.38k | } | 130 | 1.42k | return false; | 131 | 2.81k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 100 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 100 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 100 | set(column, row_num, arena); | 128 | 100 | return true; | 129 | 100 | } | 130 | 0 | return false; | 131 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 16 | set(column, row_num, arena); | 128 | 16 | return true; | 129 | 16 | } | 130 | 11 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 14 | set(column, row_num, arena); | 128 | 14 | return true; | 129 | 14 | } | 130 | 13 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 296k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 296k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 33.2k | set(column, row_num, arena); | 128 | 33.2k | return true; | 129 | 33.2k | } | 130 | 263k | return false; | 131 | 296k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 336 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 336 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 47 | set(column, row_num, arena); | 128 | 47 | return true; | 129 | 47 | } | 130 | 289 | return false; | 131 | 336 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 87.6k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 87.6k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 74.0k | set(column, row_num, arena); | 128 | 74.0k | return true; | 129 | 74.0k | } | 130 | 13.5k | return false; | 131 | 87.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.22k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.22k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.03k | set(column, row_num, arena); | 128 | 1.03k | return true; | 129 | 1.03k | } | 130 | 1.19k | return false; | 131 | 2.22k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.41M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.41M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.13M | set(column, row_num, arena); | 128 | 1.13M | return true; | 129 | 1.13M | } | 130 | 3.27M | return false; | 131 | 4.41M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 99.2k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 99.2k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 55.6k | set(column, row_num, arena); | 128 | 55.6k | return true; | 129 | 55.6k | } | 130 | 43.5k | return false; | 131 | 99.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.09k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.09k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 980 | set(column, row_num, arena); | 128 | 980 | return true; | 129 | 980 | } | 130 | 1.11k | return false; | 131 | 2.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.83k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.83k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 905 | set(column, row_num, arena); | 128 | 905 | return true; | 129 | 905 | } | 130 | 934 | return false; | 131 | 1.83k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.85k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.85k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.36k | set(column, row_num, arena); | 128 | 1.36k | return true; | 129 | 1.36k | } | 130 | 1.49k | return false; | 131 | 2.85k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 10.3k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 10.3k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.20k | set(column, row_num, arena); | 128 | 5.20k | return true; | 129 | 5.20k | } | 130 | 5.09k | return false; | 131 | 10.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.68M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.68M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.70k | set(column, row_num, arena); | 128 | 4.70k | return true; | 129 | 4.70k | } | 130 | 2.67M | return false; | 131 | 2.68M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.09k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.09k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.09k | set(column, row_num, arena); | 128 | 4.09k | return true; | 129 | 4.09k | } | 130 | 0 | return false; | 131 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 11.7k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.7k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 853 | set(column, row_num, arena); | 128 | 853 | return true; | 129 | 853 | } | 130 | 10.8k | return false; | 131 | 11.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 368 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 368 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 158 | set(column, row_num, arena); | 128 | 158 | return true; | 129 | 158 | } | 130 | 210 | return false; | 131 | 368 | } |
|
132 | | |
133 | 4.34k | bool is_equal_to(const IColumn& column, size_t row_num) const { |
134 | 4.34k | if (!has()) { |
135 | 0 | return false; |
136 | 0 | } |
137 | 4.34k | return Compare::equal(_value_at(column, row_num), value); |
138 | 4.34k | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 11 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 11 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 11 | return Compare::equal(_value_at(column, row_num), value); | 138 | 11 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKNS_7IColumnEm _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 _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 3 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 3 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 3 | return Compare::equal(_value_at(column, row_num), value); | 138 | 3 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 91 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 91 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 91 | return Compare::equal(_value_at(column, row_num), value); | 138 | 91 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 141 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 141 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 141 | return Compare::equal(_value_at(column, row_num), value); | 138 | 141 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 9 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 9 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 9 | return Compare::equal(_value_at(column, row_num), value); | 138 | 9 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKNS_7IColumnEm |
139 | | |
140 | 22 | bool is_equal_to(const Self& to) const { |
141 | 22 | return has() && to.has() && Compare::equal(value, to.value); |
142 | 22 | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKS2_ Line | Count | Source | 140 | 2 | bool is_equal_to(const Self& to) const { | 141 | 2 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 2 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKS2_ Line | Count | Source | 140 | 15 | bool is_equal_to(const Self& to) const { | 141 | 15 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 15 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE11is_equal_toERKS2_ Line | Count | Source | 140 | 3 | bool is_equal_to(const Self& to) const { | 141 | 3 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 3 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE11is_equal_toERKS2_ Line | Count | Source | 140 | 2 | bool is_equal_to(const Self& to) const { | 141 | 2 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 2 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKS2_ |
143 | | |
144 | 411k | bool set_if_greater(const Self& to, Arena& arena) { |
145 | 411k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
146 | 224k | set(to, arena); |
147 | 224k | return true; |
148 | 224k | } |
149 | 186k | return false; |
150 | 411k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE14set_if_greaterERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE14set_if_greaterERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 26 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 26 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 22 | set(to, arena); | 147 | 22 | return true; | 148 | 22 | } | 149 | 4 | return false; | 150 | 26 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 87 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 87 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 71 | set(to, arena); | 147 | 71 | return true; | 148 | 71 | } | 149 | 16 | return false; | 150 | 87 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 59 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 59 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 58 | set(to, arena); | 147 | 58 | return true; | 148 | 58 | } | 149 | 1 | return false; | 150 | 59 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 24 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 24 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 12 | set(to, arena); | 147 | 12 | return true; | 148 | 12 | } | 149 | 12 | return false; | 150 | 24 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1 | set(to, arena); | 147 | 1 | return true; | 148 | 1 | } | 149 | 0 | return false; | 150 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 5 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 5 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 4 | set(to, arena); | 147 | 4 | return true; | 148 | 4 | } | 149 | 1 | return false; | 150 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 5 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 5 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 4 | set(to, arena); | 147 | 4 | return true; | 148 | 4 | } | 149 | 1 | return false; | 150 | 5 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 63.2k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 63.2k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 32.7k | set(to, arena); | 147 | 32.7k | return true; | 148 | 32.7k | } | 149 | 30.4k | return false; | 150 | 63.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 3 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 3 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 3 | set(to, arena); | 147 | 3 | return true; | 148 | 3 | } | 149 | 0 | return false; | 150 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 146k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 146k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 73.6k | set(to, arena); | 147 | 73.6k | return true; | 148 | 73.6k | } | 149 | 73.3k | return false; | 150 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 7 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 7 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 7 | set(to, arena); | 147 | 7 | return true; | 148 | 7 | } | 149 | 0 | return false; | 150 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 163k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 163k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 90.0k | set(to, arena); | 147 | 90.0k | return true; | 148 | 90.0k | } | 149 | 73.6k | return false; | 150 | 163k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 31.6k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 31.6k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 22.4k | set(to, arena); | 147 | 22.4k | return true; | 148 | 22.4k | } | 149 | 9.13k | return false; | 150 | 31.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 59 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 59 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 34 | set(to, arena); | 147 | 34 | return true; | 148 | 34 | } | 149 | 25 | return false; | 150 | 59 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 30 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 30 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 30 | set(to, arena); | 147 | 30 | return true; | 148 | 30 | } | 149 | 0 | return false; | 150 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 45 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 45 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 40 | set(to, arena); | 147 | 40 | return true; | 148 | 40 | } | 149 | 5 | return false; | 150 | 45 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 11 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 11 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 11 | set(to, arena); | 147 | 11 | return true; | 148 | 11 | } | 149 | 0 | return false; | 150 | 11 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1.31k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1.31k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1.11k | set(to, arena); | 147 | 1.11k | return true; | 148 | 1.11k | } | 149 | 194 | return false; | 150 | 1.31k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 4.09k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 4.09k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 4.09k | set(to, arena); | 147 | 4.09k | return true; | 148 | 4.09k | } | 149 | 0 | return false; | 150 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 76 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 76 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 43 | set(to, arena); | 147 | 43 | return true; | 148 | 43 | } | 149 | 33 | return false; | 150 | 76 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 5 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 5 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 5 | set(to, arena); | 147 | 5 | return true; | 148 | 5 | } | 149 | 0 | return false; | 150 | 5 | } |
|
151 | | }; |
152 | | |
153 | | /// Stores short strings inline and allocates a separate buffer for long strings. |
154 | | struct SingleValueDataString { |
155 | | private: |
156 | | using Self = SingleValueDataString; |
157 | | // Keep the signed 32-bit size because -1 represents an empty state in the serialized format. |
158 | | Int32 size = -1; /// -1 indicates that there is no value. |
159 | | Int32 capacity = 0; /// power of two or zero |
160 | | DorisUniqueBufferPtr<char> large_data; |
161 | | |
162 | | public: |
163 | | static constexpr Int32 AUTOMATIC_STORAGE_SIZE = 64; |
164 | | static constexpr Int32 MAX_SMALL_STRING_SIZE = |
165 | | AUTOMATIC_STORAGE_SIZE - sizeof(size) - sizeof(capacity) - sizeof(large_data); |
166 | | |
167 | | private: |
168 | | char small_data[MAX_SMALL_STRING_SIZE]; |
169 | | |
170 | | public: |
171 | | using ColVecType = ColumnString; |
172 | | static constexpr bool NeedCheckColumnType = true; |
173 | | |
174 | 59.0k | ~SingleValueDataString() = default; |
175 | | |
176 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
177 | | |
178 | 10.1M | bool has() const { return size >= 0; } |
179 | | |
180 | | private: |
181 | 10.0M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
182 | 10.0M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
183 | 10.0M | row_num); |
184 | 10.0M | } |
185 | | |
186 | 10.1M | const char* _data() const { |
187 | 10.1M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
188 | 10.1M | } |
189 | | |
190 | 10.0M | StringRef _value() const { return StringRef(_data(), size); } |
191 | | |
192 | 67.8k | void _set(StringRef source) { |
193 | 67.8k | Int32 value_size = cast_set<Int32>(source.size); |
194 | 67.8k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
195 | | /// Don't free large_data here. |
196 | 67.5k | size = value_size; |
197 | | |
198 | 67.5k | if (size > 0) { |
199 | 67.5k | memcpy(small_data, source.data, size); |
200 | 67.5k | } |
201 | 67.5k | } else { |
202 | 300 | if (capacity < value_size) { |
203 | | /// Don't free large_data here. |
204 | 165 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
205 | 165 | large_data = DorisUniqueBufferPtr<char>(capacity); |
206 | 165 | } |
207 | | |
208 | 300 | size = value_size; |
209 | 300 | memcpy(large_data.get(), source.data, size); |
210 | 300 | } |
211 | 67.8k | } |
212 | | |
213 | | public: |
214 | 15.4k | void insert_result_into(IColumn& to) const { |
215 | 15.4k | if (has()) { |
216 | 15.2k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
217 | 15.2k | } else { |
218 | 227 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
219 | 227 | } |
220 | 15.4k | } |
221 | | |
222 | 56.5k | void reset() { |
223 | 56.5k | size = -1; |
224 | 56.5k | capacity = 0; |
225 | 56.5k | large_data.reset(); |
226 | 56.5k | } |
227 | | |
228 | 17.7k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
229 | 17.7k | buf.write_binary(size); |
230 | 17.7k | if (has()) { |
231 | 17.7k | buf.write(_data(), size); |
232 | 17.7k | } |
233 | 17.7k | } |
234 | | |
235 | 18.6k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
236 | 18.6k | Int32 rhs_size; |
237 | 18.6k | buf.read_binary(rhs_size); |
238 | | |
239 | 18.6k | if (rhs_size >= 0) { |
240 | 18.5k | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
241 | | /// Don't free large_data here. |
242 | | |
243 | 18.2k | size = rhs_size; |
244 | | |
245 | 18.2k | if (size > 0) { |
246 | 18.1k | buf.read(small_data, size); |
247 | 18.1k | } |
248 | 18.2k | } else { |
249 | 291 | if (capacity < rhs_size) { |
250 | 288 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
251 | 288 | large_data = DorisUniqueBufferPtr<char>(capacity); |
252 | 288 | } |
253 | | |
254 | 291 | size = rhs_size; |
255 | 291 | buf.read(large_data.get(), size); |
256 | 291 | } |
257 | 18.5k | } else { |
258 | | /// Don't free large_data here. |
259 | 24 | size = rhs_size; |
260 | 24 | } |
261 | 18.6k | } |
262 | | |
263 | 52.0k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
264 | | |
265 | 16.0k | void set(const Self& to, Arena&) { |
266 | 16.0k | DORIS_CHECK(to.has()); |
267 | 16.0k | _set(to._value()); |
268 | 16.0k | } |
269 | | |
270 | 3.98M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
271 | 3.98M | if (!has() || _value_at(column, row_num) < _value()) { |
272 | 28.2k | set(column, row_num, arena); |
273 | 28.2k | return true; |
274 | 28.2k | } |
275 | 3.95M | return false; |
276 | 3.98M | } |
277 | | |
278 | 6.07M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
279 | 6.07M | if (!has() || _value_at(column, row_num) > _value()) { |
280 | 23.1k | set(column, row_num, arena); |
281 | 23.1k | return true; |
282 | 23.1k | } |
283 | 6.05M | return false; |
284 | 6.07M | } |
285 | | |
286 | 17.5k | bool set_if_smaller(const Self& to, Arena& arena) { |
287 | 17.5k | if (to.has() && (!has() || to._value() < _value())) { |
288 | 15.5k | set(to, arena); |
289 | 15.5k | return true; |
290 | 15.5k | } |
291 | 1.97k | return false; |
292 | 17.5k | } |
293 | | |
294 | 321 | bool set_if_greater(const Self& to, Arena& arena) { |
295 | 321 | if (to.has() && (!has() || to._value() > _value())) { |
296 | 130 | set(to, arena); |
297 | 130 | return true; |
298 | 130 | } |
299 | 191 | return false; |
300 | 321 | } |
301 | | |
302 | 24 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
303 | 24 | if (!has()) { |
304 | 0 | return false; |
305 | 0 | } |
306 | 24 | return _value_at(column, row_num) == _value(); |
307 | 24 | } |
308 | | |
309 | 4 | bool is_equal_to(const Self& to) const { return has() && to.has() && _value() == to._value(); } |
310 | | }; |
311 | | |
312 | | static_assert(sizeof(SingleValueDataString) == SingleValueDataString::AUTOMATIC_STORAGE_SIZE); |
313 | | |
314 | | /// Owns a materialized one-row column for values without a dedicated representation above. |
315 | | class SingleValueDataColumn { |
316 | | private: |
317 | | using Self = SingleValueDataColumn; |
318 | | |
319 | | ColumnPtr _value; |
320 | | |
321 | | public: |
322 | | static constexpr bool NeedCheckColumnType = false; |
323 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
324 | | |
325 | 46.0k | bool has() const { return _value.get() != nullptr; } |
326 | | |
327 | | size_t allocated_bytes() const { return has() ? _value->allocated_bytes() : 0; } |
328 | | |
329 | 17.5k | void set(const IColumn& column, size_t row_num) { |
330 | 17.5k | auto value = column.clone_empty(); |
331 | 17.5k | DCHECK(value->empty()); |
332 | 17.5k | value->reserve(1); |
333 | 17.5k | value->insert_from(column, row_num); |
334 | 17.5k | DCHECK_EQ(value->size(), 1); |
335 | 17.5k | _value = std::move(value); |
336 | 17.5k | } |
337 | | |
338 | 20.6k | void insert_result_into(IColumn& to) const { |
339 | 20.6k | if (has()) { |
340 | 20.6k | to.insert_from(*_value, 0); |
341 | 20.6k | } else { |
342 | 9 | to.insert_default(); |
343 | 9 | } |
344 | 20.6k | } |
345 | | |
346 | 4.23k | void reset() { _value.reset(); } |
347 | | |
348 | 62 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
349 | 62 | buf.write_binary(has()); |
350 | 62 | if (!has()) { |
351 | 0 | return; |
352 | 0 | } |
353 | 62 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
354 | 62 | buf.write_binary(size_bytes); |
355 | 62 | buf.resize(size_bytes); |
356 | 62 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
357 | 62 | DCHECK_EQ(p, buf.data() + size_bytes); |
358 | 62 | buf.add_offset(size_bytes); |
359 | 62 | } |
360 | | |
361 | 62 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
362 | 62 | bool has_value = false; |
363 | 62 | buf.read_binary(has_value); |
364 | 62 | if (!has_value) { |
365 | 0 | reset(); |
366 | 0 | return; |
367 | 0 | } |
368 | 62 | int64_t size = 0; |
369 | 62 | buf.read_binary(size); |
370 | 62 | auto value = data_type->create_column(); |
371 | 62 | value->reserve(1); |
372 | 62 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
373 | 62 | DCHECK_EQ(p, buf.data() + size); |
374 | 62 | buf.add_offset(size); |
375 | 62 | _value = std::move(value); |
376 | 62 | } |
377 | | |
378 | 313 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
379 | | |
380 | 52 | void set(const Self& to, Arena&) { |
381 | 52 | DORIS_CHECK(to.has()); |
382 | | // Stored one-row columns are immutable, so merged states can share ownership. |
383 | 52 | _value = to._value; |
384 | 52 | } |
385 | | |
386 | 98 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
387 | 98 | if (!has() || column.compare_at(row_num, 0, *_value, 1) < 0) { |
388 | 69 | set(column, row_num, arena); |
389 | 69 | return true; |
390 | 69 | } |
391 | 29 | return false; |
392 | 98 | } |
393 | | |
394 | 9 | bool set_if_smaller(const Self& to, Arena& arena) { |
395 | 9 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
396 | 5 | set(to, arena); |
397 | 5 | return true; |
398 | 5 | } |
399 | 4 | return false; |
400 | 9 | } |
401 | | |
402 | 96 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
403 | 96 | if (!has() || column.compare_at(row_num, 0, *_value, 1) > 0) { |
404 | 36 | set(column, row_num, arena); |
405 | 36 | return true; |
406 | 36 | } |
407 | 60 | return false; |
408 | 96 | } |
409 | | |
410 | 9 | bool set_if_greater(const Self& to, Arena& arena) { |
411 | 9 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) > 0)) { |
412 | 9 | set(to, arena); |
413 | 9 | return true; |
414 | 9 | } |
415 | 0 | return false; |
416 | 9 | } |
417 | | |
418 | 1 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
419 | 1 | return has() && column.compare_at(row_num, 0, *_value, 1) == 0; |
420 | 1 | } |
421 | | |
422 | 0 | bool is_equal_to(const Self& to) const { |
423 | 0 | return has() && to.has() && _value->compare_at(0, 0, *to._value, 1) == 0; |
424 | 0 | } |
425 | | }; |
426 | | |
427 | | } // namespace doris |