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.6M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { |
48 | 18.6M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, |
49 | 18.6M | TypeCheckOnRelease::DISABLE>(column) |
50 | 18.6M | .get_data()[row_num]; |
51 | 18.6M | } 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 | 30.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 30.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 30.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 30.4k | .get_data()[row_num]; | 51 | 30.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 921 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 921 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 921 | TypeCheckOnRelease::DISABLE>(column) | 50 | 921 | .get_data()[row_num]; | 51 | 921 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 6.06k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 6.06k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 6.06k | TypeCheckOnRelease::DISABLE>(column) | 50 | 6.06k | .get_data()[row_num]; | 51 | 6.06k | } |
_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 | 394 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 394 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 394 | TypeCheckOnRelease::DISABLE>(column) | 50 | 394 | .get_data()[row_num]; | 51 | 394 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 174k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 174k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 174k | TypeCheckOnRelease::DISABLE>(column) | 50 | 174k | .get_data()[row_num]; | 51 | 174k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 3.13k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 3.13k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 3.13k | TypeCheckOnRelease::DISABLE>(column) | 50 | 3.13k | .get_data()[row_num]; | 51 | 3.13k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 8.11M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 8.11M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 8.11M | TypeCheckOnRelease::DISABLE>(column) | 50 | 8.11M | .get_data()[row_num]; | 51 | 8.11M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 238k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 238k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 238k | TypeCheckOnRelease::DISABLE>(column) | 50 | 238k | .get_data()[row_num]; | 51 | 238k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.72k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.72k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.72k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.72k | .get_data()[row_num]; | 51 | 2.72k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 2.30k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 2.30k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 2.30k | TypeCheckOnRelease::DISABLE>(column) | 50 | 2.30k | .get_data()[row_num]; | 51 | 2.30k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE9_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_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.41M | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 5.41M | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 5.41M | TypeCheckOnRelease::DISABLE>(column) | 50 | 5.41M | .get_data()[row_num]; | 51 | 5.41M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 20.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 20.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 20.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 20.4k | .get_data()[row_num]; | 51 | 20.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 21.4k | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 21.4k | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 21.4k | TypeCheckOnRelease::DISABLE>(column) | 50 | 21.4k | .get_data()[row_num]; | 51 | 21.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE9_value_atERKNS_7IColumnEm Line | Count | Source | 47 | 790 | static const ValueType& _value_at(const IColumn& column, size_t row_num) { | 48 | 790 | return assert_cast<const typename PrimitiveTypeTraits<T>::ColumnType&, | 49 | 790 | TypeCheckOnRelease::DISABLE>(column) | 50 | 790 | .get_data()[row_num]; | 51 | 790 | } |
|
52 | | |
53 | | // AggregateFunctionIf and state merging must distinguish an empty state from a default value. |
54 | | bool has_value = false; |
55 | | ValueType value {}; |
56 | | |
57 | | public: |
58 | | using ColVecType = typename PrimitiveTypeTraits<T>::ColumnType; |
59 | | static constexpr bool NeedCheckColumnType = true; |
60 | | |
61 | 932k | SingleValueDataFixed() = default; Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EEC2Ev _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EEC2Ev Line | Count | Source | 61 | 2 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EEC2Ev Line | Count | Source | 61 | 8.91k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EEC2Ev Line | Count | Source | 61 | 1.04k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EEC2Ev Line | Count | Source | 61 | 1.14k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EEC2Ev Line | Count | Source | 61 | 1.86k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EEC2Ev Line | Count | Source | 61 | 12 | 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 | 136k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EEC2Ev Line | Count | Source | 61 | 198 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EEC2Ev Line | Count | Source | 61 | 294k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EEC2Ev Line | Count | Source | 61 | 726 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EEC2Ev Line | Count | Source | 61 | 358k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EEC2Ev Line | Count | Source | 61 | 73.6k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EEC2Ev Line | Count | Source | 61 | 938 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EEC2Ev Line | Count | Source | 61 | 632 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EEC2Ev Line | Count | Source | 61 | 1.42k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EEC2Ev Line | Count | Source | 61 | 246 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EEC2Ev Line | Count | Source | 61 | 42.3k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EEC2Ev Line | Count | Source | 61 | 8.19k | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EEC2Ev Line | Count | Source | 61 | 872 | SingleValueDataFixed() = default; |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EEC2Ev Line | Count | Source | 61 | 210 | 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 | 30.7k | 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.09k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3hasEv Line | Count | Source | 62 | 213 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3hasEv Line | Count | Source | 62 | 117 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3hasEv Line | Count | Source | 62 | 118 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3hasEv Line | Count | Source | 62 | 935k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3hasEv Line | Count | Source | 62 | 515 | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3hasEv Line | Count | Source | 62 | 910k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3hasEv Line | Count | Source | 62 | 3.58k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3hasEv Line | Count | Source | 62 | 9.96M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3hasEv Line | Count | Source | 62 | 301k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3hasEv Line | Count | Source | 62 | 3.54k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3hasEv Line | Count | Source | 62 | 2.75k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3hasEv Line | Count | Source | 62 | 21.7k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3hasEv Line | Count | Source | 62 | 15.7k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3hasEv Line | Count | Source | 62 | 5.45M | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3hasEv Line | Count | Source | 62 | 40.9k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3hasEv Line | Count | Source | 62 | 21.6k | bool has() const { return has_value; } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3hasEv Line | Count | Source | 62 | 1.07k | bool has() const { return has_value; } |
|
63 | | |
64 | | static constexpr bool UsesFixedLengthStateSerialization = true; |
65 | | |
66 | 1.41M | 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.99k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_minEv Line | Count | Source | 66 | 757 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_minEv Line | Count | Source | 66 | 292 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_minEv Line | Count | Source | 66 | 2.00k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_minEv Line | Count | Source | 66 | 4 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE16set_value_to_minEv Line | Count | Source | 66 | 24 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE16set_value_to_minEv Line | Count | Source | 66 | 24 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE16set_value_to_minEv Line | Count | Source | 66 | 61.7k | 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 | 147k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_minEv Line | Count | Source | 66 | 857 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_minEv Line | Count | Source | 66 | 1.14M | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_minEv Line | Count | Source | 66 | 40.2k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_minEv Line | Count | Source | 66 | 921 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_minEv Line | Count | Source | 66 | 814 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_minEv Line | Count | Source | 66 | 1.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.69k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE16set_value_to_minEv Line | Count | Source | 66 | 4.09k | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE16set_value_to_minEv Line | Count | Source | 66 | 473 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_minEv Line | Count | Source | 66 | 169 | void set_value_to_min() { value = Compare::min_value<ValueType>(); } |
|
67 | | |
68 | 652k | 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.90k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE16set_value_to_maxEv Line | Count | Source | 68 | 425 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE16set_value_to_maxEv Line | Count | Source | 68 | 289 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE16set_value_to_maxEv Line | Count | Source | 68 | 2.00k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE16set_value_to_maxEv Line | Count | Source | 68 | 4 | 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 | 65.9k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE16set_value_to_maxEv Line | Count | Source | 68 | 94 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE16set_value_to_maxEv Line | Count | Source | 68 | 147k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE16set_value_to_maxEv Line | Count | Source | 68 | 197 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE16set_value_to_maxEv Line | Count | Source | 68 | 354k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE16set_value_to_maxEv Line | Count | Source | 68 | 36.2k | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE16set_value_to_maxEv Line | Count | Source | 68 | 249 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE16set_value_to_maxEv Line | Count | Source | 68 | 123 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE16set_value_to_maxEv Line | Count | Source | 68 | 551 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE16set_value_to_maxEv Line | Count | Source | 68 | 92 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE16set_value_to_maxEv Line | Count | Source | 68 | 37.7k | 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 | 382 | void set_value_to_max() { value = Compare::max_value<ValueType>(); } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE16set_value_to_maxEv Line | Count | Source | 68 | 180 | 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 | 912 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( |
77 | 912 | to) |
78 | 912 | .insert_default(); |
79 | 912 | } |
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.51k | void insert_result_into(IColumn& to) const { | 71 | 8.51k | if (has()) { | 72 | 8.46k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 8.46k | to) | 74 | 8.46k | .insert_value(value); | 75 | 8.46k | } else { | 76 | 50 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 50 | to) | 78 | 50 | .insert_default(); | 79 | 50 | } | 80 | 8.51k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 753 | void insert_result_into(IColumn& to) const { | 71 | 753 | if (has()) { | 72 | 753 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 753 | to) | 74 | 753 | .insert_value(value); | 75 | 753 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 753 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 355 | void insert_result_into(IColumn& to) const { | 71 | 355 | if (has()) { | 72 | 355 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 355 | to) | 74 | 355 | .insert_value(value); | 75 | 355 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 355 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 2.31k | void insert_result_into(IColumn& to) const { | 71 | 2.31k | if (has()) { | 72 | 2.31k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 2.31k | to) | 74 | 2.31k | .insert_value(value); | 75 | 2.31k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 2.31k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 3 | void insert_result_into(IColumn& to) const { | 71 | 3 | if (has()) { | 72 | 3 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 3 | to) | 74 | 3 | .insert_value(value); | 75 | 3 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 3 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 21 | void insert_result_into(IColumn& to) const { | 71 | 21 | if (has()) { | 72 | 21 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 21 | to) | 74 | 21 | .insert_value(value); | 75 | 21 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 21 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 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 | 82 | void insert_result_into(IColumn& to) const { | 71 | 82 | if (has()) { | 72 | 82 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 82 | to) | 74 | 82 | .insert_value(value); | 75 | 82 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 82 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.07k | void insert_result_into(IColumn& to) const { | 71 | 1.07k | if (has()) { | 72 | 1.06k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.06k | to) | 74 | 1.06k | .insert_value(value); | 75 | 1.06k | } else { | 76 | 12 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 12 | to) | 78 | 12 | .insert_default(); | 79 | 12 | } | 80 | 1.07k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 806 | void insert_result_into(IColumn& to) const { | 71 | 806 | if (has()) { | 72 | 804 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 804 | to) | 74 | 804 | .insert_value(value); | 75 | 804 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 806 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.18M | void insert_result_into(IColumn& to) const { | 71 | 1.18M | if (has()) { | 72 | 1.18M | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.18M | to) | 74 | 1.18M | .insert_value(value); | 75 | 1.18M | } else { | 76 | 690 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 690 | to) | 78 | 690 | .insert_default(); | 79 | 690 | } | 80 | 1.18M | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 7.83k | void insert_result_into(IColumn& to) const { | 71 | 7.83k | if (has()) { | 72 | 7.72k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 7.72k | to) | 74 | 7.72k | .insert_value(value); | 75 | 7.72k | } else { | 76 | 112 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 112 | to) | 78 | 112 | .insert_default(); | 79 | 112 | } | 80 | 7.83k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 815 | void insert_result_into(IColumn& to) const { | 71 | 815 | if (has()) { | 72 | 813 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 813 | to) | 74 | 813 | .insert_value(value); | 75 | 813 | } else { | 76 | 2 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 2 | to) | 78 | 2 | .insert_default(); | 79 | 2 | } | 80 | 815 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 658 | void insert_result_into(IColumn& to) const { | 71 | 658 | if (has()) { | 72 | 658 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 658 | to) | 74 | 658 | .insert_value(value); | 75 | 658 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 658 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 1.25k | void insert_result_into(IColumn& to) const { | 71 | 1.25k | if (has()) { | 72 | 1.25k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 1.25k | to) | 74 | 1.25k | .insert_value(value); | 75 | 1.25k | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 1.25k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 5.20k | void insert_result_into(IColumn& to) const { | 71 | 5.20k | if (has()) { | 72 | 5.20k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 5.20k | to) | 74 | 5.20k | .insert_value(value); | 75 | 5.20k | } else { | 76 | 1 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 1 | to) | 78 | 1 | .insert_default(); | 79 | 1 | } | 80 | 5.20k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE18insert_result_intoERNS_7IColumnE Line | Count | Source | 70 | 38.4k | void insert_result_into(IColumn& to) const { | 71 | 38.4k | if (has()) { | 72 | 38.3k | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 38.3k | to) | 74 | 38.3k | .insert_value(value); | 75 | 38.3k | } else { | 76 | 43 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 43 | to) | 78 | 43 | .insert_default(); | 79 | 43 | } | 80 | 38.4k | } |
_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 | 724 | void insert_result_into(IColumn& to) const { | 71 | 724 | if (has()) { | 72 | 724 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 73 | 724 | to) | 74 | 724 | .insert_value(value); | 75 | 724 | } else { | 76 | 0 | assert_cast<typename PrimitiveTypeTraits<T>::ColumnType&, TypeCheckOnRelease::DISABLE>( | 77 | 0 | to) | 78 | 0 | .insert_default(); | 79 | 0 | } | 80 | 724 | } |
_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.06M | void reset() { has_value = false; }Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE5resetEv _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE5resetEv Line | Count | Source | 82 | 2 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE5resetEv Line | Count | Source | 82 | 3.89k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE5resetEv Line | Count | Source | 82 | 1.20k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE5resetEv Line | Count | Source | 82 | 581 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE5resetEv Line | Count | Source | 82 | 4.01k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE5resetEv Line | Count | Source | 82 | 8 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE5resetEv Line | Count | Source | 82 | 59 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE5resetEv Line | Count | Source | 82 | 59 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE5resetEv Line | Count | Source | 82 | 127k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5resetEv Line | Count | Source | 82 | 176 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5resetEv Line | Count | Source | 82 | 294k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE5resetEv Line | Count | Source | 82 | 1.05k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE5resetEv Line | Count | Source | 82 | 1.49M | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5resetEv Line | Count | Source | 82 | 72.2k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5resetEv Line | Count | Source | 82 | 1.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5resetEv Line | Count | Source | 82 | 937 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5resetEv Line | Count | Source | 82 | 1.89k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5resetEv Line | Count | Source | 82 | 5.30k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5resetEv Line | Count | Source | 82 | 41.3k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE5resetEv Line | Count | Source | 82 | 8.19k | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE5resetEv Line | Count | Source | 82 | 864 | void reset() { has_value = false; } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE5resetEv Line | Count | Source | 82 | 349 | void reset() { has_value = false; } |
|
83 | | |
84 | 16.5k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
85 | 16.5k | buf.write_binary(has()); |
86 | 16.5k | if (has()) { |
87 | 16.4k | buf.write_binary(value); |
88 | 16.4k | } |
89 | 16.5k | } 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 | 24 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 24 | buf.write_binary(has()); | 86 | 24 | if (has()) { | 87 | 22 | buf.write_binary(value); | 88 | 22 | } | 89 | 24 | } |
_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 | 5.96k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 5.96k | buf.write_binary(has()); | 86 | 5.96k | if (has()) { | 87 | 5.96k | buf.write_binary(value); | 88 | 5.96k | } | 89 | 5.96k | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 54 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 54 | buf.write_binary(has()); | 86 | 54 | if (has()) { | 87 | 53 | buf.write_binary(value); | 88 | 53 | } | 89 | 54 | } |
_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.77k | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 9.77k | buf.write_binary(has()); | 86 | 9.77k | if (has()) { | 87 | 9.69k | buf.write_binary(value); | 88 | 9.69k | } | 89 | 9.77k | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 201 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 201 | buf.write_binary(has()); | 86 | 201 | if (has()) { | 87 | 173 | buf.write_binary(value); | 88 | 173 | } | 89 | 201 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 44 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 44 | buf.write_binary(has()); | 86 | 44 | if (has()) { | 87 | 44 | buf.write_binary(value); | 88 | 44 | } | 89 | 44 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 6 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 6 | buf.write_binary(has()); | 86 | 6 | if (has()) { | 87 | 6 | buf.write_binary(value); | 88 | 6 | } | 89 | 6 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 4 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 4 | buf.write_binary(has()); | 86 | 4 | if (has()) { | 87 | 4 | buf.write_binary(value); | 88 | 4 | } | 89 | 4 | } |
_ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE5writeERNS_14BufferWritableERKSt10shared_ptrIKNS_9IDataTypeEEi Line | Count | Source | 84 | 364 | void write(BufferWritable& buf, const DataTypePtr&, int) const { | 85 | 364 | buf.write_binary(has()); | 86 | 364 | if (has()) { | 87 | 361 | buf.write_binary(value); | 88 | 361 | } | 89 | 364 | } |
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 | 17.4k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { |
92 | 17.4k | buf.read_binary(has_value); |
93 | 17.4k | if (has()) { |
94 | 17.3k | buf.read_binary(value); |
95 | 17.3k | } |
96 | 17.4k | } 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 | 24 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 24 | buf.read_binary(has_value); | 93 | 24 | if (has()) { | 94 | 22 | buf.read_binary(value); | 95 | 22 | } | 96 | 24 | } |
_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 | 6.93k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 6.93k | buf.read_binary(has_value); | 93 | 6.93k | if (has()) { | 94 | 6.93k | buf.read_binary(value); | 95 | 6.93k | } | 96 | 6.93k | } |
Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 54 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 54 | buf.read_binary(has_value); | 93 | 54 | if (has()) { | 94 | 53 | buf.read_binary(value); | 95 | 53 | } | 96 | 54 | } |
_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.62k | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 9.62k | buf.read_binary(has_value); | 93 | 9.62k | if (has()) { | 94 | 9.57k | buf.read_binary(value); | 95 | 9.57k | } | 96 | 9.62k | } |
_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 | 213 | buf.read_binary(value); | 95 | 213 | } | 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 | 6 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 6 | buf.read_binary(has_value); | 93 | 6 | if (has()) { | 94 | 6 | buf.read_binary(value); | 95 | 6 | } | 96 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 4 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 4 | buf.read_binary(has_value); | 93 | 4 | if (has()) { | 94 | 4 | buf.read_binary(value); | 95 | 4 | } | 96 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE4readERNS_14BufferReadableERKSt10shared_ptrIKNS_9IDataTypeEEiRNS_5ArenaE Line | Count | Source | 91 | 342 | void read(BufferReadable& buf, const DataTypePtr&, int, Arena&) { | 92 | 342 | buf.read_binary(has_value); | 93 | 342 | if (has()) { | 94 | 339 | buf.read_binary(value); | 95 | 339 | } | 96 | 342 | } |
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.90M | void set(const IColumn& column, size_t row_num, Arena&) { |
99 | 1.90M | has_value = true; |
100 | 1.90M | value = _value_at(column, row_num); |
101 | 1.90M | } 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.0k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 14.0k | has_value = true; | 100 | 14.0k | value = _value_at(column, row_num); | 101 | 14.0k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.66k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.66k | has_value = true; | 100 | 1.66k | value = _value_at(column, row_num); | 101 | 1.66k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 559 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 559 | has_value = true; | 100 | 559 | value = _value_at(column, row_num); | 101 | 559 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 2.73k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 2.73k | has_value = true; | 100 | 2.73k | value = _value_at(column, row_num); | 101 | 2.73k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 102 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 102 | has_value = true; | 100 | 102 | value = _value_at(column, row_num); | 101 | 102 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 32 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 32 | has_value = true; | 100 | 32 | value = _value_at(column, row_num); | 101 | 32 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 30 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 30 | has_value = true; | 100 | 30 | value = _value_at(column, row_num); | 101 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 71.5k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 71.5k | has_value = true; | 100 | 71.5k | value = _value_at(column, row_num); | 101 | 71.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 95 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 95 | has_value = true; | 100 | 95 | value = _value_at(column, row_num); | 101 | 95 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 148k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 148k | has_value = true; | 100 | 148k | value = _value_at(column, row_num); | 101 | 148k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.19k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.19k | has_value = true; | 100 | 1.19k | value = _value_at(column, row_num); | 101 | 1.19k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.49M | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.49M | has_value = true; | 100 | 1.49M | value = _value_at(column, row_num); | 101 | 1.49M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 96.6k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 96.6k | has_value = true; | 100 | 96.6k | value = _value_at(column, row_num); | 101 | 96.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.16k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.16k | has_value = true; | 100 | 1.16k | value = _value_at(column, row_num); | 101 | 1.16k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 996 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 996 | has_value = true; | 100 | 996 | value = _value_at(column, row_num); | 101 | 996 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.78k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.78k | has_value = true; | 100 | 1.78k | value = _value_at(column, row_num); | 101 | 1.78k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 5.27k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 5.27k | has_value = true; | 100 | 5.27k | value = _value_at(column, row_num); | 101 | 5.27k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 47.5k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 47.5k | has_value = true; | 100 | 47.5k | value = _value_at(column, row_num); | 101 | 47.5k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 12.2k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 12.2k | has_value = true; | 100 | 12.2k | value = _value_at(column, row_num); | 101 | 12.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 1.43k | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 1.43k | has_value = true; | 100 | 1.43k | value = _value_at(column, row_num); | 101 | 1.43k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 98 | 313 | void set(const IColumn& column, size_t row_num, Arena&) { | 99 | 313 | has_value = true; | 100 | 313 | value = _value_at(column, row_num); | 101 | 313 | } |
|
102 | | |
103 | 424k | void set(const Self& to, Arena&) { |
104 | 424k | DORIS_CHECK(to.has()); |
105 | 424k | has_value = true; |
106 | 424k | value = to.value; |
107 | 424k | } Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE3setERKS2_RNS_5ArenaE Unexecuted instantiation: _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE3setERKS2_RNS_5ArenaE _ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 4.98k | void set(const Self& to, Arena&) { | 104 | 4.98k | DORIS_CHECK(to.has()); | 105 | 4.98k | has_value = true; | 106 | 4.98k | value = to.value; | 107 | 4.98k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 100 | void set(const Self& to, Arena&) { | 104 | 100 | DORIS_CHECK(to.has()); | 105 | 100 | has_value = true; | 106 | 100 | value = to.value; | 107 | 100 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 175 | void set(const Self& to, Arena&) { | 104 | 175 | DORIS_CHECK(to.has()); | 105 | 175 | has_value = true; | 106 | 175 | value = to.value; | 107 | 175 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 30 | void set(const Self& to, Arena&) { | 104 | 30 | DORIS_CHECK(to.has()); | 105 | 30 | has_value = true; | 106 | 30 | value = to.value; | 107 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 3 | void set(const Self& to, Arena&) { | 104 | 3 | DORIS_CHECK(to.has()); | 105 | 3 | has_value = true; | 106 | 3 | value = to.value; | 107 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 11 | void set(const Self& to, Arena&) { | 104 | 11 | DORIS_CHECK(to.has()); | 105 | 11 | has_value = true; | 106 | 11 | value = to.value; | 107 | 11 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 61.7k | void set(const Self& to, Arena&) { | 104 | 61.7k | DORIS_CHECK(to.has()); | 105 | 61.7k | has_value = true; | 106 | 61.7k | value = to.value; | 107 | 61.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 12 | void set(const Self& to, Arena&) { | 104 | 12 | DORIS_CHECK(to.has()); | 105 | 12 | has_value = true; | 106 | 12 | value = to.value; | 107 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 146k | void set(const Self& to, Arena&) { | 104 | 146k | DORIS_CHECK(to.has()); | 105 | 146k | has_value = true; | 106 | 146k | value = to.value; | 107 | 146k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 15 | void set(const Self& to, Arena&) { | 104 | 15 | DORIS_CHECK(to.has()); | 105 | 15 | has_value = true; | 106 | 15 | value = to.value; | 107 | 15 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 165k | void set(const Self& to, Arena&) { | 104 | 165k | DORIS_CHECK(to.has()); | 105 | 165k | has_value = true; | 106 | 165k | value = to.value; | 107 | 165k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 35.1k | void set(const Self& to, Arena&) { | 104 | 35.1k | DORIS_CHECK(to.has()); | 105 | 35.1k | has_value = true; | 106 | 35.1k | value = to.value; | 107 | 35.1k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 46 | void set(const Self& to, Arena&) { | 104 | 46 | DORIS_CHECK(to.has()); | 105 | 46 | has_value = true; | 106 | 46 | value = to.value; | 107 | 46 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 38 | void set(const Self& to, Arena&) { | 104 | 38 | DORIS_CHECK(to.has()); | 105 | 38 | has_value = true; | 106 | 38 | value = to.value; | 107 | 38 | } |
_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 | 30 | void set(const Self& to, Arena&) { | 104 | 30 | DORIS_CHECK(to.has()); | 105 | 30 | has_value = true; | 106 | 30 | value = to.value; | 107 | 30 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 2.10k | void set(const Self& to, Arena&) { | 104 | 2.10k | DORIS_CHECK(to.has()); | 105 | 2.10k | has_value = true; | 106 | 2.10k | value = to.value; | 107 | 2.10k | } |
_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 | 44 | void set(const Self& to, Arena&) { | 104 | 44 | DORIS_CHECK(to.has()); | 105 | 44 | has_value = true; | 106 | 44 | value = to.value; | 107 | 44 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE3setERKS2_RNS_5ArenaE Line | Count | Source | 103 | 18 | void set(const Self& to, Arena&) { | 104 | 18 | DORIS_CHECK(to.has()); | 105 | 18 | has_value = true; | 106 | 18 | value = to.value; | 107 | 18 | } |
|
108 | | |
109 | 8.80M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { |
110 | 8.80M | if (!has() || Compare::less(_value_at(column, row_num), value)) { |
111 | 468k | set(column, row_num, arena); |
112 | 468k | return true; |
113 | 468k | } |
114 | 8.33M | return false; |
115 | 8.80M | } 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.34k | set(column, row_num, arena); | 112 | 2.34k | return true; | 113 | 2.34k | } | 114 | 1.97M | return false; | 115 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 14.6k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 14.6k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 407 | set(column, row_num, arena); | 112 | 407 | return true; | 113 | 407 | } | 114 | 14.2k | return false; | 115 | 14.6k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 367 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 367 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 228 | set(column, row_num, arena); | 112 | 228 | return true; | 113 | 228 | } | 114 | 139 | return false; | 115 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.83k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.83k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 1.33k | set(column, row_num, arena); | 112 | 1.33k | return true; | 113 | 1.33k | } | 114 | 1.50k | return false; | 115 | 2.83k | } |
_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 | 16 | set(column, row_num, arena); | 112 | 16 | return true; | 113 | 16 | } | 114 | 15 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 31 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 31 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 14 | set(column, row_num, arena); | 112 | 14 | return true; | 113 | 14 | } | 114 | 17 | return false; | 115 | 31 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 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.8k | set(column, row_num, arena); | 112 | 35.8k | return true; | 113 | 35.8k | } | 114 | 269k | return false; | 115 | 304k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 194 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 194 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 49 | set(column, row_num, arena); | 112 | 49 | return true; | 113 | 49 | } | 114 | 145 | return false; | 115 | 194 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 86.8k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 86.8k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 73.9k | set(column, row_num, arena); | 112 | 73.9k | return true; | 113 | 73.9k | } | 114 | 12.8k | return false; | 115 | 86.8k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 816 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 816 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 181 | set(column, row_num, arena); | 112 | 181 | return true; | 113 | 181 | } | 114 | 635 | return false; | 115 | 816 | } |
_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 | 87.3k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 87.3k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 23.4k | set(column, row_num, arena); | 112 | 23.4k | return true; | 113 | 23.4k | } | 114 | 63.8k | return false; | 115 | 87.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 616 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 616 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 200 | set(column, row_num, arena); | 112 | 200 | return true; | 113 | 200 | } | 114 | 416 | return false; | 115 | 616 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 437 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 437 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 102 | set(column, row_num, arena); | 112 | 102 | return true; | 113 | 102 | } | 114 | 335 | return false; | 115 | 437 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 17.3k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 17.3k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 414 | set(column, row_num, arena); | 112 | 414 | return true; | 113 | 414 | } | 114 | 16.9k | return false; | 115 | 17.3k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 169 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 169 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 64 | set(column, row_num, arena); | 112 | 64 | return true; | 113 | 64 | } | 114 | 105 | return false; | 115 | 169 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 2.72M | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 2.72M | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 42.6k | set(column, row_num, arena); | 112 | 42.6k | return true; | 113 | 42.6k | } | 114 | 2.68M | return false; | 115 | 2.72M | } |
_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.31k | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 9.31k | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 583 | set(column, row_num, arena); | 112 | 583 | return true; | 113 | 583 | } | 114 | 8.73k | return false; | 115 | 9.31k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 109 | 372 | bool set_if_smaller(const IColumn& column, size_t row_num, Arena& arena) { | 110 | 372 | if (!has() || Compare::less(_value_at(column, row_num), value)) { | 111 | 137 | set(column, row_num, arena); | 112 | 137 | return true; | 113 | 137 | } | 114 | 235 | return false; | 115 | 372 | } |
|
116 | | |
117 | 388k | bool set_if_smaller(const Self& to, Arena& arena) { |
118 | 388k | if (to.has() && (!has() || Compare::less(to.value, value))) { |
119 | 198k | set(to, arena); |
120 | 198k | return true; |
121 | 198k | } |
122 | 190k | return false; |
123 | 388k | } 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 | 62 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 62 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 43 | set(to, arena); | 120 | 43 | return true; | 121 | 43 | } | 122 | 19 | return false; | 123 | 62 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 23 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 23 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 21 | set(to, arena); | 120 | 21 | return true; | 121 | 21 | } | 122 | 2 | return false; | 123 | 23 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 54 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 54 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 53 | set(to, arena); | 120 | 53 | return true; | 121 | 53 | } | 122 | 1 | return false; | 123 | 54 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 20 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 20 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 15 | set(to, arena); | 120 | 15 | return true; | 121 | 15 | } | 122 | 5 | return false; | 123 | 20 | } |
_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 | 6 | set(to, arena); | 120 | 6 | return true; | 121 | 6 | } | 122 | 1 | return false; | 123 | 7 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 61.4k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 61.4k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 30.1k | set(to, arena); | 120 | 30.1k | return true; | 121 | 30.1k | } | 122 | 31.3k | return false; | 123 | 61.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 9 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 9 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 6 | return false; | 123 | 9 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 147k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 147k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 73.7k | set(to, arena); | 120 | 73.7k | return true; | 121 | 73.7k | } | 122 | 73.7k | 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 | 3 | set(to, arena); | 120 | 3 | return true; | 121 | 3 | } | 122 | 0 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 148k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 148k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 74.2k | set(to, arena); | 120 | 74.2k | return true; | 121 | 74.2k | } | 122 | 73.9k | return false; | 123 | 148k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 26.0k | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 26.0k | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 14.8k | set(to, arena); | 120 | 14.8k | return true; | 121 | 14.8k | } | 122 | 11.1k | return false; | 123 | 26.0k | } |
_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 | 9 | set(to, arena); | 120 | 9 | return true; | 121 | 9 | } | 122 | 1 | return false; | 123 | 10 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 3 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 3 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 2 | set(to, arena); | 120 | 2 | return true; | 121 | 2 | } | 122 | 1 | return false; | 123 | 3 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 125 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 125 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 117 | set(to, arena); | 120 | 117 | return true; | 121 | 117 | } | 122 | 8 | return false; | 123 | 125 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 18 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 18 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 14 | set(to, arena); | 120 | 14 | return true; | 121 | 14 | } | 122 | 4 | return false; | 123 | 18 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 929 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 929 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 875 | set(to, arena); | 120 | 875 | return true; | 121 | 875 | } | 122 | 54 | return false; | 123 | 929 | } |
_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 | 8 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 8 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 5 | set(to, arena); | 120 | 5 | return true; | 121 | 5 | } | 122 | 3 | return false; | 123 | 8 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_smallerERKS2_RNS_5ArenaE Line | Count | Source | 117 | 11 | bool set_if_smaller(const Self& to, Arena& arena) { | 118 | 11 | if (to.has() && (!has() || Compare::less(to.value, value))) { | 119 | 8 | set(to, arena); | 120 | 8 | return true; | 121 | 8 | } | 122 | 3 | return false; | 123 | 11 | } |
|
124 | | |
125 | 9.59M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
126 | 9.59M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { |
127 | 1.40M | set(column, row_num, arena); |
128 | 1.40M | return true; |
129 | 1.40M | } |
130 | 8.19M | return false; |
131 | 9.59M | } 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.11k | set(column, row_num, arena); | 128 | 5.11k | return true; | 129 | 5.11k | } | 130 | 1.97M | return false; | 131 | 1.97M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 14.9k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 14.9k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.23k | set(column, row_num, arena); | 128 | 1.23k | return true; | 129 | 1.23k | } | 130 | 13.6k | return false; | 131 | 14.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 | 236 | set(column, row_num, arena); | 128 | 236 | return true; | 129 | 236 | } | 130 | 131 | return false; | 131 | 367 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.83k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.83k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.39k | set(column, row_num, arena); | 128 | 1.39k | return true; | 129 | 1.39k | } | 130 | 1.43k | return false; | 131 | 2.83k | } |
_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 | 15 | set(column, row_num, arena); | 128 | 15 | return true; | 129 | 15 | } | 130 | 12 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 27 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 27 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 15 | set(column, row_num, arena); | 128 | 15 | return true; | 129 | 15 | } | 130 | 12 | return false; | 131 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 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.3k | set(column, row_num, arena); | 128 | 33.3k | return true; | 129 | 33.3k | } | 130 | 263k | return false; | 131 | 296k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 187 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 187 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 41 | set(column, row_num, arena); | 128 | 41 | return true; | 129 | 41 | } | 130 | 146 | return false; | 131 | 187 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 87.9k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 87.9k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 74.7k | set(column, row_num, arena); | 128 | 74.7k | return true; | 129 | 74.7k | } | 130 | 13.2k | return false; | 131 | 87.9k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.90k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.90k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.00k | set(column, row_num, arena); | 128 | 1.00k | return true; | 129 | 1.00k | } | 130 | 906 | return false; | 131 | 1.90k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.39M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.39M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.19M | set(column, row_num, arena); | 128 | 1.19M | return true; | 129 | 1.19M | } | 130 | 3.20M | return false; | 131 | 4.39M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 99.7k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 99.7k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 74.1k | set(column, row_num, arena); | 128 | 74.1k | return true; | 129 | 74.1k | } | 130 | 25.5k | return false; | 131 | 99.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.79k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.79k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 950 | set(column, row_num, arena); | 128 | 950 | return true; | 129 | 950 | } | 130 | 842 | return false; | 131 | 1.79k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 1.52k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 1.52k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 877 | set(column, row_num, arena); | 128 | 877 | return true; | 129 | 877 | } | 130 | 652 | return false; | 131 | 1.52k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.54k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.54k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 1.34k | set(column, row_num, arena); | 128 | 1.34k | return true; | 129 | 1.34k | } | 130 | 1.19k | return false; | 131 | 2.54k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 10.2k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 10.2k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 5.19k | set(column, row_num, arena); | 128 | 5.19k | return true; | 129 | 5.19k | } | 130 | 5.09k | return false; | 131 | 10.2k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 2.68M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 2.68M | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.79k | set(column, row_num, arena); | 128 | 4.79k | return true; | 129 | 4.79k | } | 130 | 2.67M | return false; | 131 | 2.68M | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 4.09k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 4.09k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 4.09k | set(column, row_num, arena); | 128 | 4.09k | return true; | 129 | 4.09k | } | 130 | 0 | return false; | 131 | 4.09k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 11.4k | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 11.4k | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 812 | set(column, row_num, arena); | 128 | 812 | return true; | 129 | 812 | } | 130 | 10.6k | return false; | 131 | 11.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKNS_7IColumnEmRNS_5ArenaE Line | Count | Source | 125 | 368 | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { | 126 | 368 | if (!has() || Compare::greater(_value_at(column, row_num), value)) { | 127 | 162 | set(column, row_num, arena); | 128 | 162 | return true; | 129 | 162 | } | 130 | 206 | return false; | 131 | 368 | } |
|
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 | 7 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 7 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 7 | return Compare::equal(_value_at(column, row_num), value); | 138 | 7 | } |
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 | 5 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 5 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 5 | return Compare::equal(_value_at(column, row_num), value); | 138 | 5 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKNS_7IColumnEm _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKNS_7IColumnEm Line | Count | Source | 133 | 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 | 138 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 138 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 138 | return Compare::equal(_value_at(column, row_num), value); | 138 | 138 | } |
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 | 7 | bool is_equal_to(const IColumn& column, size_t row_num) const { | 134 | 7 | if (!has()) { | 135 | 0 | return false; | 136 | 0 | } | 137 | 7 | return Compare::equal(_value_at(column, row_num), value); | 138 | 7 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKNS_7IColumnEm Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKNS_7IColumnEm |
139 | | |
140 | 29 | bool is_equal_to(const Self& to) const { |
141 | 29 | return has() && to.has() && Compare::equal(value, to.value); |
142 | 29 | } Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE11EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE12EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE25EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE11is_equal_toERKS2_ Line | Count | Source | 140 | 4 | bool is_equal_to(const Self& to) const { | 141 | 4 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 4 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE11is_equal_toERKS2_ _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE11is_equal_toERKS2_ Line | Count | Source | 140 | 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 | 6 | bool is_equal_to(const Self& to) const { | 141 | 6 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 6 | } |
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 | 4 | bool is_equal_to(const Self& to) const { | 141 | 4 | return has() && to.has() && Compare::equal(value, to.value); | 142 | 4 | } |
Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE20EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE30EE11is_equal_toERKS2_ Unexecuted instantiation: _ZNK5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE11is_equal_toERKS2_ |
143 | | |
144 | 402k | bool set_if_greater(const Self& to, Arena& arena) { |
145 | 402k | if (to.has() && (!has() || Compare::greater(to.value, value))) { |
146 | 223k | set(to, arena); |
147 | 223k | return true; |
148 | 223k | } |
149 | 179k | return false; |
150 | 402k | } 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 | 27 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 27 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 23 | set(to, arena); | 147 | 23 | return true; | 148 | 23 | } | 149 | 4 | return false; | 150 | 27 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE26EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 81 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 81 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 68 | set(to, arena); | 147 | 68 | return true; | 148 | 68 | } | 149 | 13 | return false; | 150 | 81 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE43EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 58 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 58 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 58 | set(to, arena); | 147 | 58 | return true; | 148 | 58 | } | 149 | 0 | return false; | 150 | 58 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE42EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 20 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 20 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 13 | set(to, arena); | 147 | 13 | return true; | 148 | 13 | } | 149 | 7 | return false; | 150 | 20 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE27EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1 | set(to, arena); | 147 | 1 | return true; | 148 | 1 | } | 149 | 0 | return false; | 150 | 1 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE36EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 5 | set(to, arena); | 147 | 5 | return true; | 148 | 5 | } | 149 | 1 | return false; | 150 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE37EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 6 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 6 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 5 | set(to, arena); | 147 | 5 | return true; | 148 | 5 | } | 149 | 1 | return false; | 150 | 6 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE44EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 61.4k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 61.4k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 30.5k | set(to, arena); | 147 | 30.5k | return true; | 148 | 30.5k | } | 149 | 30.8k | return false; | 150 | 61.4k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE2EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 4 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 4 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 4 | set(to, arena); | 147 | 4 | return true; | 148 | 4 | } | 149 | 0 | return false; | 150 | 4 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE3EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 147k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 147k | 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.7k | return false; | 150 | 147k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE4EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 8 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 8 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 8 | set(to, arena); | 147 | 8 | return true; | 148 | 8 | } | 149 | 0 | return false; | 150 | 8 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE5EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 164k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 164k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 90.4k | set(to, arena); | 147 | 90.4k | return true; | 148 | 90.4k | } | 149 | 74.0k | return false; | 150 | 164k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE6EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 23.7k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 23.7k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 23.0k | set(to, arena); | 147 | 23.0k | return true; | 148 | 23.0k | } | 149 | 655 | return false; | 150 | 23.7k | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE7EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 60 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 60 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 34 | set(to, arena); | 147 | 34 | return true; | 148 | 34 | } | 149 | 26 | return false; | 150 | 60 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE8EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 35 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 35 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 32 | set(to, arena); | 147 | 32 | return true; | 148 | 32 | } | 149 | 3 | return false; | 150 | 35 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE9EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 43 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 43 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 37 | set(to, arena); | 147 | 37 | return true; | 148 | 37 | } | 149 | 6 | return false; | 150 | 43 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE28EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 12 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 12 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 12 | set(to, arena); | 147 | 12 | return true; | 148 | 12 | } | 149 | 0 | return false; | 150 | 12 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE29EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 1.41k | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 1.41k | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 1.22k | set(to, arena); | 147 | 1.22k | return true; | 148 | 1.22k | } | 149 | 184 | return false; | 150 | 1.41k | } |
_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 | 67 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 67 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 35 | set(to, arena); | 147 | 35 | return true; | 148 | 35 | } | 149 | 32 | return false; | 150 | 67 | } |
_ZN5doris20SingleValueDataFixedILNS_13PrimitiveTypeE35EE14set_if_greaterERKS2_RNS_5ArenaE Line | Count | Source | 144 | 10 | bool set_if_greater(const Self& to, Arena& arena) { | 145 | 10 | if (to.has() && (!has() || Compare::greater(to.value, value))) { | 146 | 7 | set(to, arena); | 147 | 7 | return true; | 148 | 7 | } | 149 | 3 | return false; | 150 | 10 | } |
|
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 | 58.2k | ~SingleValueDataString() = default; |
175 | | |
176 | | static constexpr bool UsesFixedLengthStateSerialization = false; |
177 | | |
178 | 10.0M | bool has() const { return size >= 0; } |
179 | | |
180 | | private: |
181 | 10.0M | static StringRef _value_at(const IColumn& column, size_t row_num) { |
182 | 10.0M | return assert_cast<const ColumnString&, TypeCheckOnRelease::DISABLE>(column).get_data_at( |
183 | 10.0M | row_num); |
184 | 10.0M | } |
185 | | |
186 | 10.0M | const char* _data() const { |
187 | 10.0M | return size <= MAX_SMALL_STRING_SIZE ? small_data : large_data.get(); |
188 | 10.0M | } |
189 | | |
190 | 9.99M | StringRef _value() const { return StringRef(_data(), size); } |
191 | | |
192 | 53.2k | void _set(StringRef source) { |
193 | 53.2k | Int32 value_size = cast_set<Int32>(source.size); |
194 | 53.2k | if (value_size <= MAX_SMALL_STRING_SIZE) { |
195 | | /// Don't free large_data here. |
196 | 52.9k | size = value_size; |
197 | | |
198 | 52.9k | if (size > 0) { |
199 | 52.9k | memcpy(small_data, source.data, size); |
200 | 52.9k | } |
201 | 52.9k | } else { |
202 | 279 | if (capacity < value_size) { |
203 | | /// Don't free large_data here. |
204 | 157 | capacity = (Int32)round_up_to_power_of_two_or_zero(value_size); |
205 | 157 | large_data = DorisUniqueBufferPtr<char>(capacity); |
206 | 157 | } |
207 | | |
208 | 279 | size = value_size; |
209 | 279 | memcpy(large_data.get(), source.data, size); |
210 | 279 | } |
211 | 53.2k | } |
212 | | |
213 | | public: |
214 | 15.0k | void insert_result_into(IColumn& to) const { |
215 | 15.0k | if (has()) { |
216 | 14.8k | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_data(_data(), size); |
217 | 14.8k | } else { |
218 | 221 | assert_cast<ColumnString&, TypeCheckOnRelease::DISABLE>(to).insert_default(); |
219 | 221 | } |
220 | 15.0k | } |
221 | | |
222 | 56.7k | void reset() { |
223 | 56.7k | size = -1; |
224 | 56.7k | capacity = 0; |
225 | 56.7k | large_data.reset(); |
226 | 56.7k | } |
227 | | |
228 | 17.8k | void write(BufferWritable& buf, const DataTypePtr&, int) const { |
229 | 17.8k | buf.write_binary(size); |
230 | 17.8k | if (has()) { |
231 | 17.7k | buf.write(_data(), size); |
232 | 17.7k | } |
233 | 17.8k | } |
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.6k | if (rhs_size <= MAX_SMALL_STRING_SIZE) { |
241 | | /// Don't free large_data here. |
242 | | |
243 | 18.3k | size = rhs_size; |
244 | | |
245 | 18.3k | if (size > 0) { |
246 | 18.2k | buf.read(small_data, size); |
247 | 18.2k | } |
248 | 18.3k | } else { |
249 | 284 | if (capacity < rhs_size) { |
250 | 284 | capacity = (Int32)round_up_to_power_of_two_or_zero(rhs_size); |
251 | 284 | large_data = DorisUniqueBufferPtr<char>(capacity); |
252 | 284 | } |
253 | | |
254 | 284 | size = rhs_size; |
255 | 284 | buf.read(large_data.get(), size); |
256 | 284 | } |
257 | 18.6k | } else { |
258 | | /// Don't free large_data here. |
259 | 15 | size = rhs_size; |
260 | 15 | } |
261 | 18.6k | } |
262 | | |
263 | 45.5k | void set(const IColumn& column, size_t row_num, Arena&) { _set(_value_at(column, row_num)); } |
264 | | |
265 | 7.69k | void set(const Self& to, Arena&) { |
266 | 7.69k | DORIS_CHECK(to.has()); |
267 | 7.69k | _set(to._value()); |
268 | 7.69k | } |
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 | 24.9k | set(column, row_num, arena); |
273 | 24.9k | return true; |
274 | 24.9k | } |
275 | 3.95M | return false; |
276 | 3.98M | } |
277 | | |
278 | 6.01M | bool set_if_greater(const IColumn& column, size_t row_num, Arena& arena) { |
279 | 6.01M | if (!has() || _value_at(column, row_num) > _value()) { |
280 | 20.0k | set(column, row_num, arena); |
281 | 20.0k | return true; |
282 | 20.0k | } |
283 | 5.99M | return false; |
284 | 6.01M | } |
285 | | |
286 | 17.6k | bool set_if_smaller(const Self& to, Arena& arena) { |
287 | 17.6k | if (to.has() && (!has() || to._value() < _value())) { |
288 | 7.18k | set(to, arena); |
289 | 7.18k | return true; |
290 | 7.18k | } |
291 | 10.4k | return false; |
292 | 17.6k | } |
293 | | |
294 | 313 | bool set_if_greater(const Self& to, Arena& arena) { |
295 | 313 | if (to.has() && (!has() || to._value() > _value())) { |
296 | 123 | set(to, arena); |
297 | 123 | return true; |
298 | 123 | } |
299 | 190 | return false; |
300 | 313 | } |
301 | | |
302 | 21 | bool is_equal_to(const IColumn& column, size_t row_num) const { |
303 | 21 | if (!has()) { |
304 | 0 | return false; |
305 | 0 | } |
306 | 21 | return _value_at(column, row_num) == _value(); |
307 | 21 | } |
308 | | |
309 | 7 | 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 | 8 | to.insert_default(); |
343 | 8 | } |
344 | 20.6k | } |
345 | | |
346 | 4.26k | void reset() { _value.reset(); } |
347 | | |
348 | 82 | void write(BufferWritable& buf, const DataTypePtr& data_type, int be_exec_version) const { |
349 | 82 | buf.write_binary(has()); |
350 | 82 | if (!has()) { |
351 | 0 | return; |
352 | 0 | } |
353 | 82 | auto size_bytes = data_type->get_uncompressed_serialized_bytes(*_value, be_exec_version); |
354 | 82 | buf.write_binary(size_bytes); |
355 | 82 | buf.resize(size_bytes); |
356 | 82 | auto* p = data_type->serialize(*_value, buf.data(), be_exec_version); |
357 | 82 | DCHECK_EQ(p, buf.data() + size_bytes); |
358 | 82 | buf.add_offset(size_bytes); |
359 | 82 | } |
360 | | |
361 | 82 | void read(BufferReadable& buf, const DataTypePtr& data_type, int be_exec_version, Arena&) { |
362 | 82 | bool has_value = false; |
363 | 82 | buf.read_binary(has_value); |
364 | 82 | if (!has_value) { |
365 | 0 | reset(); |
366 | 0 | return; |
367 | 0 | } |
368 | 82 | int64_t size = 0; |
369 | 82 | buf.read_binary(size); |
370 | 82 | auto value = data_type->create_column(); |
371 | 82 | value->reserve(1); |
372 | 82 | const auto* p = data_type->deserialize(buf.data(), &value, be_exec_version); |
373 | 82 | DCHECK_EQ(p, buf.data() + size); |
374 | 82 | buf.add_offset(size); |
375 | 82 | _value = std::move(value); |
376 | 82 | } |
377 | | |
378 | 338 | void set(const IColumn& column, size_t row_num, Arena&) { set(column, row_num); } |
379 | | |
380 | 63 | void set(const Self& to, Arena&) { |
381 | 63 | DORIS_CHECK(to.has()); |
382 | | // Stored one-row columns are immutable, so merged states can share ownership. |
383 | 63 | _value = to._value; |
384 | 63 | } |
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 | 75 | set(column, row_num, arena); |
389 | 75 | return true; |
390 | 75 | } |
391 | 23 | return false; |
392 | 98 | } |
393 | | |
394 | 13 | bool set_if_smaller(const Self& to, Arena& arena) { |
395 | 13 | if (to.has() && (!has() || to._value->compare_at(0, 0, *_value, 1) < 0)) { |
396 | 9 | set(to, arena); |
397 | 9 | return true; |
398 | 9 | } |
399 | 4 | return false; |
400 | 13 | } |
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 | 39 | set(column, row_num, arena); |
405 | 39 | return true; |
406 | 39 | } |
407 | 57 | return false; |
408 | 96 | } |
409 | | |
410 | 13 | bool set_if_greater(const Self& to, Arena& arena) { |
411 | 13 | 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 | 4 | return false; |
416 | 13 | } |
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 |