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 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Field.cpp |
19 | | // and modified by Doris |
20 | | |
21 | | #include "core/field.h" |
22 | | |
23 | | #include "common/compare.h" |
24 | | #include "core/accurate_comparison.h" |
25 | | #include "core/allocator.h" |
26 | | #include "core/allocator_fwd.h" |
27 | | #include "core/data_type/data_type_decimal.h" |
28 | | #include "core/data_type/define_primitive_type.h" |
29 | | #include "core/data_type/primitive_type.h" |
30 | | #include "core/decimal_comparison.h" |
31 | | #include "core/value/bitmap_value.h" |
32 | | #include "core/value/jsonb_value.h" |
33 | | #include "core/value/timestamptz_value.h" |
34 | | #include "core/value/vdatetime_value.h" |
35 | | #include "exprs/function/cast/cast_to_string.h" |
36 | | #include "util/json/path_in_data.h" |
37 | | #include "util/var_int.h" |
38 | | |
39 | | namespace doris { |
40 | | class BufferReadable; |
41 | | class BufferWritable; |
42 | | |
43 | | template <PrimitiveType T> |
44 | | bool dec_equal(typename PrimitiveTypeTraits<T>::CppType x, |
45 | 0 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
46 | 0 | using Comparator = DecimalComparison<T, T, EqualsOp>; |
47 | 0 | return Comparator::compare(x, y, x_scale, y_scale); |
48 | 0 | } Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj |
49 | | |
50 | | template <PrimitiveType T> |
51 | | bool dec_less(typename PrimitiveTypeTraits<T>::CppType x, |
52 | 3.48k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
53 | 3.48k | using Comparator = DecimalComparison<T, T, LessOp>; |
54 | 3.48k | return Comparator::compare(x, y, x_scale, y_scale); |
55 | 3.48k | } _ZN5doris8dec_lessILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 52 | 10 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 53 | 10 | using Comparator = DecimalComparison<T, T, LessOp>; | 54 | 10 | return Comparator::compare(x, y, x_scale, y_scale); | 55 | 10 | } |
_ZN5doris8dec_lessILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 52 | 3 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 53 | 3 | using Comparator = DecimalComparison<T, T, LessOp>; | 54 | 3 | return Comparator::compare(x, y, x_scale, y_scale); | 55 | 3 | } |
Unexecuted instantiation: _ZN5doris8dec_lessILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj _ZN5doris8dec_lessILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 52 | 972 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 53 | 972 | using Comparator = DecimalComparison<T, T, LessOp>; | 54 | 972 | return Comparator::compare(x, y, x_scale, y_scale); | 55 | 972 | } |
_ZN5doris8dec_lessILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 52 | 2.50k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 53 | 2.50k | using Comparator = DecimalComparison<T, T, LessOp>; | 54 | 2.50k | return Comparator::compare(x, y, x_scale, y_scale); | 55 | 2.50k | } |
|
56 | | |
57 | | template <PrimitiveType T> |
58 | | bool dec_less_or_equal(typename PrimitiveTypeTraits<T>::CppType x, |
59 | 0 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
60 | 0 | using Comparator = DecimalComparison<T, T, LessOrEqualsOp>; |
61 | 0 | return Comparator::compare(x, y, x_scale, y_scale); |
62 | 0 | } Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj |
63 | | |
64 | | #define DECLARE_DECIMAL_COMPARISON(TYPE, PTYPE) \ |
65 | | template <> \ |
66 | 0 | bool decimal_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
67 | 0 | return dec_equal<PTYPE>(x, y, xs, ys); \ |
68 | 0 | } \ Unexecuted instantiation: _ZN5doris13decimal_equalINS_7DecimalIiEEEEbT_S3_jj Unexecuted instantiation: _ZN5doris13decimal_equalINS_7DecimalIlEEEEbT_S3_jj Unexecuted instantiation: _ZN5doris13decimal_equalINS_14DecimalV2ValueEEEbT_S2_jj Unexecuted instantiation: _ZN5doris13decimal_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj |
69 | | template <> \ |
70 | 985 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
71 | 985 | return dec_less<PTYPE>(x, y, xs, ys); \ |
72 | 985 | } \ _ZN5doris12decimal_lessINS_7DecimalIiEEEEbT_S3_jj Line | Count | Source | 70 | 10 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 71 | 10 | return dec_less<PTYPE>(x, y, xs, ys); \ | 72 | 10 | } \ |
_ZN5doris12decimal_lessINS_7DecimalIlEEEEbT_S3_jj Line | Count | Source | 70 | 3 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 71 | 3 | return dec_less<PTYPE>(x, y, xs, ys); \ | 72 | 3 | } \ |
Unexecuted instantiation: _ZN5doris12decimal_lessINS_14DecimalV2ValueEEEbT_S2_jj _ZN5doris12decimal_lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj Line | Count | Source | 70 | 972 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 71 | 972 | return dec_less<PTYPE>(x, y, xs, ys); \ | 72 | 972 | } \ |
|
73 | | template <> \ |
74 | 0 | bool decimal_less_or_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
75 | 0 | return dec_less_or_equal<PTYPE>(x, y, xs, ys); \ |
76 | 0 | } Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_7DecimalIiEEEEbT_S3_jj Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_7DecimalIlEEEEbT_S3_jj Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_14DecimalV2ValueEEEbT_S2_jj Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj |
77 | | |
78 | | DECLARE_DECIMAL_COMPARISON(Decimal32, TYPE_DECIMAL32) |
79 | | DECLARE_DECIMAL_COMPARISON(Decimal64, TYPE_DECIMAL64) |
80 | | DECLARE_DECIMAL_COMPARISON(DecimalV2Value, TYPE_DECIMALV2) |
81 | | DECLARE_DECIMAL_COMPARISON(Decimal256, TYPE_DECIMAL256) |
82 | | |
83 | | template <> |
84 | 0 | bool decimal_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
85 | 0 | return dec_equal<TYPE_DECIMAL128I>(x, y, xs, ys); |
86 | 0 | } |
87 | | template <> |
88 | 2.50k | bool decimal_less(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
89 | 2.50k | return dec_less<TYPE_DECIMAL128I>(x, y, xs, ys); |
90 | 2.50k | } |
91 | | template <> |
92 | 0 | bool decimal_less_or_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
93 | 0 | return dec_less_or_equal<TYPE_DECIMAL128I>(x, y, xs, ys); |
94 | 0 | } |
95 | | |
96 | | namespace { |
97 | | // Expression literals can outlive decoder pages and source columns. |
98 | | // Keep the view first for Field::get(), and fit ownership into the existing Field storage. |
99 | | struct OwnedBinaryField { |
100 | | StringView view; |
101 | | char* bytes = nullptr; |
102 | | size_t byte_size = 0; |
103 | | |
104 | 147 | explicit OwnedBinaryField(const StringView& value) { |
105 | | // Inline views already own their bytes; preserve their allocation-free representation. |
106 | 147 | if (value.isInline()) { |
107 | 103 | view = value; |
108 | 103 | return; |
109 | 103 | } |
110 | | // Charge retained payloads and deep-copy peaks through Doris's checked allocator. |
111 | | // Keep a standard-layout owner so the leading view remains accessible via Field::get(). |
112 | 44 | bytes = static_cast<char*>(Allocator<false> {}.alloc(value.size())); |
113 | 44 | byte_size = value.size(); |
114 | 44 | memcpy(bytes, value.data(), value.size()); |
115 | 44 | view = StringView(bytes, value.size()); |
116 | 44 | } |
117 | | OwnedBinaryField(const OwnedBinaryField&) = delete; |
118 | | OwnedBinaryField& operator=(const OwnedBinaryField&) = delete; |
119 | 14 | OwnedBinaryField& operator=(OwnedBinaryField&& other) noexcept { |
120 | 14 | release_bytes(); |
121 | 14 | view = other.view; |
122 | 14 | bytes = std::exchange(other.bytes, nullptr); |
123 | 14 | byte_size = std::exchange(other.byte_size, 0); |
124 | 14 | return *this; |
125 | 14 | } |
126 | 143 | ~OwnedBinaryField() { release_bytes(); } |
127 | | |
128 | | private: |
129 | 157 | void release_bytes() const { |
130 | 157 | if (bytes != nullptr) { |
131 | | // Field::get() exposes a mutable view; release the original allocation size. |
132 | 40 | Allocator<false> {}.free(bytes, byte_size); |
133 | 40 | } |
134 | 157 | } |
135 | | }; |
136 | | static_assert(std::is_standard_layout_v<OwnedBinaryField>); |
137 | | static_assert(offsetof(OwnedBinaryField, view) == 0); |
138 | | } // namespace |
139 | | |
140 | | template <PrimitiveType Type> |
141 | 159M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { |
142 | | // In both Field and PODArray, small types may be stored as wider types, |
143 | | // e.g. char is stored as UInt64. Field can return this extended value |
144 | | // with get<StorageType>(). To avoid uninitialized results from get(), |
145 | | // we must initialize the entire wide stored type, and not just the |
146 | | // nominal type. |
147 | 159M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; |
148 | 159M | if constexpr (Type == TYPE_VARBINARY) { |
149 | 101 | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); |
150 | 101 | new (&storage) OwnedBinaryField(x); |
151 | 159M | } else { |
152 | 159M | new (&storage) StorageType(std::move(x)); |
153 | 159M | } |
154 | 159M | type = Type; |
155 | 159M | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); |
156 | 159M | } _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 143k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 143k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 143k | } else { | 152 | 143k | new (&storage) StorageType(std::move(x)); | 153 | 143k | } | 154 | 143k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 143k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 9.87M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 9.87M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 9.87M | } else { | 152 | 9.87M | new (&storage) StorageType(std::move(x)); | 153 | 9.87M | } | 154 | 9.87M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 9.87M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 261k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 261k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 261k | } else { | 152 | 261k | new (&storage) StorageType(std::move(x)); | 153 | 261k | } | 154 | 261k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 261k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 27.7M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 27.7M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 27.7M | } else { | 152 | 27.7M | new (&storage) StorageType(std::move(x)); | 153 | 27.7M | } | 154 | 27.7M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 27.7M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 33.1M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 33.1M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 33.1M | } else { | 152 | 33.1M | new (&storage) StorageType(std::move(x)); | 153 | 33.1M | } | 154 | 33.1M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 33.1M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 329k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 329k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 329k | } else { | 152 | 329k | new (&storage) StorageType(std::move(x)); | 153 | 329k | } | 154 | 329k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 329k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 27.5k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 27.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 27.5k | } else { | 152 | 27.5k | new (&storage) StorageType(std::move(x)); | 153 | 27.5k | } | 154 | 27.5k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 27.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 30.6k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 30.6k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 30.6k | } else { | 152 | 30.6k | new (&storage) StorageType(std::move(x)); | 153 | 30.6k | } | 154 | 30.6k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 30.6k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 782k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 782k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 782k | } else { | 152 | 782k | new (&storage) StorageType(std::move(x)); | 153 | 782k | } | 154 | 782k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 782k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 4.59M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 4.59M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 4.59M | } else { | 152 | 4.59M | new (&storage) StorageType(std::move(x)); | 153 | 4.59M | } | 154 | 4.59M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 4.59M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE43EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 7.76k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 7.76k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 7.76k | } else { | 152 | 7.76k | new (&storage) StorageType(std::move(x)); | 153 | 7.76k | } | 154 | 7.76k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 7.76k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 123k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 123k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 123k | } else { | 152 | 123k | new (&storage) StorageType(std::move(x)); | 153 | 123k | } | 154 | 123k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 123k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 13.7M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 13.7M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 13.7M | } else { | 152 | 13.7M | new (&storage) StorageType(std::move(x)); | 153 | 13.7M | } | 154 | 13.7M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 13.7M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 18.7k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 18.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 18.7k | } else { | 152 | 18.7k | new (&storage) StorageType(std::move(x)); | 153 | 18.7k | } | 154 | 18.7k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 18.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 219k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 219k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 219k | } else { | 152 | 219k | new (&storage) StorageType(std::move(x)); | 153 | 219k | } | 154 | 219k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 219k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 55.7k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 55.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 55.7k | } else { | 152 | 55.7k | new (&storage) StorageType(std::move(x)); | 153 | 55.7k | } | 154 | 55.7k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 55.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 142k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 142k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 142k | } else { | 152 | 142k | new (&storage) StorageType(std::move(x)); | 153 | 142k | } | 154 | 142k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 142k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 2.11M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 2.11M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 2.11M | } else { | 152 | 2.11M | new (&storage) StorageType(std::move(x)); | 153 | 2.11M | } | 154 | 2.11M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 2.11M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 36.9M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 36.9M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 36.9M | } else { | 152 | 36.9M | new (&storage) StorageType(std::move(x)); | 153 | 36.9M | } | 154 | 36.9M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 36.9M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 101 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 101 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | 101 | if constexpr (Type == TYPE_VARBINARY) { | 149 | 101 | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | 101 | new (&storage) OwnedBinaryField(x); | 151 | | } else { | 152 | | new (&storage) StorageType(std::move(x)); | 153 | | } | 154 | 101 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 101 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 14 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 14 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 14 | } else { | 152 | 14 | new (&storage) StorageType(std::move(x)); | 153 | 14 | } | 154 | 14 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 14 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 13.5k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 13.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 13.5k | } else { | 152 | 13.5k | new (&storage) StorageType(std::move(x)); | 153 | 13.5k | } | 154 | 13.5k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 13.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 12 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 12 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 12 | } else { | 152 | 12 | new (&storage) StorageType(std::move(x)); | 153 | 12 | } | 154 | 12 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 12 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 159k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 159k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 159k | } else { | 152 | 159k | new (&storage) StorageType(std::move(x)); | 153 | 159k | } | 154 | 159k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 159k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 81.5k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 81.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 81.5k | } else { | 152 | 81.5k | new (&storage) StorageType(std::move(x)); | 153 | 81.5k | } | 154 | 81.5k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 81.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 44.2k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 44.2k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 44.2k | } else { | 152 | 44.2k | new (&storage) StorageType(std::move(x)); | 153 | 44.2k | } | 154 | 44.2k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 44.2k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 30.7k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 30.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 30.7k | } else { | 152 | 30.7k | new (&storage) StorageType(std::move(x)); | 153 | 30.7k | } | 154 | 30.7k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 30.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 28.4M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 28.4M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 28.4M | } else { | 152 | 28.4M | new (&storage) StorageType(std::move(x)); | 153 | 28.4M | } | 154 | 28.4M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 28.4M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 163k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 163k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 163k | } else { | 152 | 163k | new (&storage) StorageType(std::move(x)); | 153 | 163k | } | 154 | 163k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 163k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 186k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 186k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 186k | } else { | 152 | 186k | new (&storage) StorageType(std::move(x)); | 153 | 186k | } | 154 | 186k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 186k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 87.9k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 87.9k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 87.9k | } else { | 152 | 87.9k | new (&storage) StorageType(std::move(x)); | 153 | 87.9k | } | 154 | 87.9k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 87.9k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 8.47k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 8.47k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 8.47k | } else { | 152 | 8.47k | new (&storage) StorageType(std::move(x)); | 153 | 8.47k | } | 154 | 8.47k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 8.47k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 32.5k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 32.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 32.5k | } else { | 152 | 32.5k | new (&storage) StorageType(std::move(x)); | 153 | 32.5k | } | 154 | 32.5k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 32.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 186 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 186 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 186 | } else { | 152 | 186 | new (&storage) StorageType(std::move(x)); | 153 | 186 | } | 154 | 186 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 186 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 192 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 192 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 192 | } else { | 152 | 192 | new (&storage) StorageType(std::move(x)); | 153 | 192 | } | 154 | 192 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 192 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 40 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 142 | | // In both Field and PODArray, small types may be stored as wider types, | 143 | | // e.g. char is stored as UInt64. Field can return this extended value | 144 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 145 | | // we must initialize the entire wide stored type, and not just the | 146 | | // nominal type. | 147 | 40 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | | if constexpr (Type == TYPE_VARBINARY) { | 149 | | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | | new (&storage) OwnedBinaryField(x); | 151 | 40 | } else { | 152 | 40 | new (&storage) StorageType(std::move(x)); | 153 | 40 | } | 154 | 40 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 40 | } |
|
157 | | |
158 | | template <PrimitiveType Type> |
159 | 243M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { |
160 | | // In both Field and PODArray, small types may be stored as wider types, |
161 | | // e.g. char is stored as UInt64. Field can return this extended value |
162 | | // with get<StorageType>(). To avoid uninitialized results from get(), |
163 | | // we must initialize the entire wide stored type, and not just the |
164 | | // nominal type. |
165 | 243M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; |
166 | 243M | if constexpr (Type == TYPE_VARBINARY) { |
167 | 30 | new (&storage) OwnedBinaryField(x); |
168 | 243M | } else { |
169 | 243M | new (&storage) StorageType(x); |
170 | 243M | } |
171 | 243M | type = Type; |
172 | 243M | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); |
173 | 243M | } _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 39.0M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 39.0M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 39.0M | } else { | 169 | 39.0M | new (&storage) StorageType(x); | 170 | 39.0M | } | 171 | 39.0M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 39.0M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 5.24M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 5.24M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 5.24M | } else { | 169 | 5.24M | new (&storage) StorageType(x); | 170 | 5.24M | } | 171 | 5.24M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 5.24M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 4.01M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 4.01M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 4.01M | } else { | 169 | 4.01M | new (&storage) StorageType(x); | 170 | 4.01M | } | 171 | 4.01M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 4.01M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 27.1M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 27.1M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 27.1M | } else { | 169 | 27.1M | new (&storage) StorageType(x); | 170 | 27.1M | } | 171 | 27.1M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 27.1M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 5.67M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 5.67M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 5.67M | } else { | 169 | 5.67M | new (&storage) StorageType(x); | 170 | 5.67M | } | 171 | 5.67M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 5.67M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.21M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.21M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.21M | } else { | 169 | 3.21M | new (&storage) StorageType(x); | 170 | 3.21M | } | 171 | 3.21M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.21M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.40M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.40M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.40M | } else { | 169 | 3.40M | new (&storage) StorageType(x); | 170 | 3.40M | } | 171 | 3.40M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.40M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.33M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.33M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.33M | } else { | 169 | 3.33M | new (&storage) StorageType(x); | 170 | 3.33M | } | 171 | 3.33M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.33M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 5.06M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 5.06M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 5.06M | } else { | 169 | 5.06M | new (&storage) StorageType(x); | 170 | 5.06M | } | 171 | 5.06M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 5.06M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 4.15M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 4.15M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 4.15M | } else { | 169 | 4.15M | new (&storage) StorageType(x); | 170 | 4.15M | } | 171 | 4.15M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 4.15M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE43EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 9.14k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 9.14k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 9.14k | } else { | 169 | 9.14k | new (&storage) StorageType(x); | 170 | 9.14k | } | 171 | 9.14k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 9.14k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 38.4k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 38.4k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 38.4k | } else { | 169 | 38.4k | new (&storage) StorageType(x); | 170 | 38.4k | } | 171 | 38.4k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 38.4k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.61M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.61M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.61M | } else { | 169 | 3.61M | new (&storage) StorageType(x); | 170 | 3.61M | } | 171 | 3.61M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.61M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.62M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.62M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.62M | } else { | 169 | 3.62M | new (&storage) StorageType(x); | 170 | 3.62M | } | 171 | 3.62M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.62M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 9.62k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 9.62k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 9.62k | } else { | 169 | 9.62k | new (&storage) StorageType(x); | 170 | 9.62k | } | 171 | 9.62k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 9.62k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.52M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.52M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.52M | } else { | 169 | 3.52M | new (&storage) StorageType(x); | 170 | 3.52M | } | 171 | 3.52M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.52M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.71M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.71M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.71M | } else { | 169 | 3.71M | new (&storage) StorageType(x); | 170 | 3.71M | } | 171 | 3.71M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.71M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 4.41k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 4.41k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 4.41k | } else { | 169 | 4.41k | new (&storage) StorageType(x); | 170 | 4.41k | } | 171 | 4.41k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 4.41k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 8.04M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 8.04M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 8.04M | } else { | 169 | 8.04M | new (&storage) StorageType(x); | 170 | 8.04M | } | 171 | 8.04M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 8.04M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 1.18M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 1.18M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 1.18M | } else { | 169 | 1.18M | new (&storage) StorageType(x); | 170 | 1.18M | } | 171 | 1.18M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 1.18M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 30 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 30 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | 30 | if constexpr (Type == TYPE_VARBINARY) { | 167 | 30 | new (&storage) OwnedBinaryField(x); | 168 | | } else { | 169 | | new (&storage) StorageType(x); | 170 | | } | 171 | 30 | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 30 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 404 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 404 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 404 | } else { | 169 | 404 | new (&storage) StorageType(x); | 170 | 404 | } | 171 | 404 | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 404 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 22.3k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 22.3k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 22.3k | } else { | 169 | 22.3k | new (&storage) StorageType(x); | 170 | 22.3k | } | 171 | 22.3k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 22.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 92.4M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 92.4M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 92.4M | } else { | 169 | 92.4M | new (&storage) StorageType(x); | 170 | 92.4M | } | 171 | 92.4M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 92.4M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 60.1k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 60.1k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 60.1k | } else { | 169 | 60.1k | new (&storage) StorageType(x); | 170 | 60.1k | } | 171 | 60.1k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 60.1k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 41.6k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 41.6k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 41.6k | } else { | 169 | 41.6k | new (&storage) StorageType(x); | 170 | 41.6k | } | 171 | 41.6k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 41.6k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.58M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.58M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.58M | } else { | 169 | 3.58M | new (&storage) StorageType(x); | 170 | 3.58M | } | 171 | 3.58M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.58M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.52M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.52M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.52M | } else { | 169 | 3.52M | new (&storage) StorageType(x); | 170 | 3.52M | } | 171 | 3.52M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.52M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.83M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.83M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.83M | } else { | 169 | 3.83M | new (&storage) StorageType(x); | 170 | 3.83M | } | 171 | 3.83M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.83M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 11 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 11 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 11 | } else { | 169 | 11 | new (&storage) StorageType(x); | 170 | 11 | } | 171 | 11 | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 11 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 3.04M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 3.04M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 3.04M | } else { | 169 | 3.04M | new (&storage) StorageType(x); | 170 | 3.04M | } | 171 | 3.04M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 3.04M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 13.2M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 13.2M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 13.2M | } else { | 169 | 13.2M | new (&storage) StorageType(x); | 170 | 13.2M | } | 171 | 13.2M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 13.2M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 2.42k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 2.42k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 2.42k | } else { | 169 | 2.42k | new (&storage) StorageType(x); | 170 | 2.42k | } | 171 | 2.42k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 2.42k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 187 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 160 | | // In both Field and PODArray, small types may be stored as wider types, | 161 | | // e.g. char is stored as UInt64. Field can return this extended value | 162 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 163 | | // we must initialize the entire wide stored type, and not just the | 164 | | // nominal type. | 165 | 187 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 187 | } else { | 169 | 187 | new (&storage) StorageType(x); | 170 | 187 | } | 171 | 187 | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 187 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
174 | | |
175 | 63.6M | void Field::create(Field&& field) { |
176 | 63.6M | switch (field.type) { |
177 | 96.5k | case PrimitiveType::TYPE_NULL: |
178 | 96.5k | create_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>())); |
179 | 96.5k | return; |
180 | 2.30M | case PrimitiveType::TYPE_DATETIMEV2: |
181 | 2.30M | create_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>())); |
182 | 2.30M | return; |
183 | 6.72k | case PrimitiveType::TYPE_TIMESTAMP_NS: |
184 | 6.72k | create_concrete<TYPE_TIMESTAMP_NS>(std::move(field.template get<TYPE_TIMESTAMP_NS>())); |
185 | 6.72k | return; |
186 | 503k | case PrimitiveType::TYPE_DATEV2: |
187 | 503k | create_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>())); |
188 | 503k | return; |
189 | 43.2k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
190 | 43.2k | create_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>())); |
191 | 43.2k | return; |
192 | 21.6k | case PrimitiveType::TYPE_DATETIME: |
193 | 21.6k | create_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>())); |
194 | 21.6k | return; |
195 | 18.4k | case PrimitiveType::TYPE_DATE: |
196 | 18.4k | create_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>())); |
197 | 18.4k | return; |
198 | 78.8k | case PrimitiveType::TYPE_BOOLEAN: |
199 | 78.8k | create_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>())); |
200 | 78.8k | return; |
201 | 5.03M | case PrimitiveType::TYPE_TINYINT: |
202 | 5.03M | create_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>())); |
203 | 5.03M | return; |
204 | 142k | case PrimitiveType::TYPE_SMALLINT: |
205 | 142k | create_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>())); |
206 | 142k | return; |
207 | 25.7M | case PrimitiveType::TYPE_INT: |
208 | 25.7M | create_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>())); |
209 | 25.7M | return; |
210 | 9.63M | case PrimitiveType::TYPE_BIGINT: |
211 | 9.63M | create_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>())); |
212 | 9.63M | return; |
213 | 163k | case PrimitiveType::TYPE_LARGEINT: |
214 | 163k | create_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>())); |
215 | 163k | return; |
216 | 38.1k | case PrimitiveType::TYPE_IPV4: |
217 | 38.1k | create_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>())); |
218 | 38.1k | return; |
219 | 26.7k | case PrimitiveType::TYPE_IPV6: |
220 | 26.7k | create_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>())); |
221 | 26.7k | return; |
222 | 96.9k | case PrimitiveType::TYPE_FLOAT: |
223 | 96.9k | create_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>())); |
224 | 96.9k | return; |
225 | 191 | case PrimitiveType::TYPE_TIMEV2: |
226 | 191 | create_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>())); |
227 | 191 | return; |
228 | 101k | case PrimitiveType::TYPE_DOUBLE: |
229 | 101k | create_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>())); |
230 | 101k | return; |
231 | 18.1M | case PrimitiveType::TYPE_STRING: |
232 | 18.1M | create_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>())); |
233 | 18.1M | return; |
234 | 54.1k | case PrimitiveType::TYPE_CHAR: |
235 | 54.1k | create_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>())); |
236 | 54.1k | return; |
237 | 1.05M | case PrimitiveType::TYPE_VARCHAR: |
238 | 1.05M | create_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>())); |
239 | 1.05M | return; |
240 | 9 | case PrimitiveType::TYPE_JSONB: |
241 | 9 | create_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>())); |
242 | 9 | return; |
243 | 70.2k | case PrimitiveType::TYPE_ARRAY: |
244 | 70.2k | create_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>())); |
245 | 70.2k | return; |
246 | 4.04k | case PrimitiveType::TYPE_STRUCT: |
247 | 4.04k | create_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>())); |
248 | 4.04k | return; |
249 | 9.97k | case PrimitiveType::TYPE_MAP: |
250 | 9.97k | create_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>())); |
251 | 9.97k | return; |
252 | 68.3k | case PrimitiveType::TYPE_DECIMAL32: |
253 | 68.3k | create_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>())); |
254 | 68.3k | return; |
255 | 97.3k | case PrimitiveType::TYPE_DECIMAL64: |
256 | 97.3k | create_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>())); |
257 | 97.3k | return; |
258 | 7.34k | case PrimitiveType::TYPE_DECIMALV2: |
259 | 7.34k | create_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>())); |
260 | 7.34k | return; |
261 | 110k | case PrimitiveType::TYPE_DECIMAL128I: |
262 | 110k | create_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>())); |
263 | 110k | return; |
264 | 44.8k | case PrimitiveType::TYPE_DECIMAL256: |
265 | 44.8k | create_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>())); |
266 | 44.8k | return; |
267 | 6.77k | case PrimitiveType::TYPE_VARIANT: |
268 | 6.77k | create_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>())); |
269 | 6.77k | return; |
270 | 62 | case PrimitiveType::TYPE_BITMAP: |
271 | 62 | create_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>())); |
272 | 62 | return; |
273 | 4 | case PrimitiveType::TYPE_HLL: |
274 | 4 | create_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>())); |
275 | 4 | return; |
276 | 2 | case PrimitiveType::TYPE_QUANTILE_STATE: |
277 | 2 | create_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>())); |
278 | 2 | return; |
279 | 36 | case PrimitiveType::TYPE_VARBINARY: |
280 | 36 | create_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>())); |
281 | 36 | return; |
282 | 0 | default: |
283 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
284 | 63.6M | } |
285 | 63.6M | } |
286 | | |
287 | 209M | Field::Field(const Field& rhs) { |
288 | 209M | create(rhs); |
289 | 209M | } |
290 | | |
291 | 1.72M | Field::Field(Field&& rhs) { |
292 | 1.72M | create(std::move(rhs)); |
293 | 1.72M | } |
294 | | |
295 | 6.57M | Field& Field::operator=(const Field& rhs) { |
296 | 6.57M | if (this != &rhs) { |
297 | 6.57M | if (type != rhs.type) { |
298 | 5.01M | destroy(); |
299 | | // A failed allocation while changing types must leave a destructible Field. |
300 | 5.01M | type = TYPE_NULL; |
301 | 5.01M | create(rhs); |
302 | 5.01M | } else { |
303 | 1.56M | assign(rhs); /// This assigns string or vector without deallocation of existing buffer. |
304 | 1.56M | } |
305 | 6.57M | } |
306 | 6.57M | return *this; |
307 | 6.57M | } |
308 | | |
309 | 214M | void Field::create(const Field& field) { |
310 | 214M | switch (field.type) { |
311 | 39.0M | case PrimitiveType::TYPE_NULL: |
312 | 39.0M | create_concrete<TYPE_NULL>(field.template get<TYPE_NULL>()); |
313 | 39.0M | return; |
314 | 4.05M | case PrimitiveType::TYPE_DATETIMEV2: |
315 | 4.05M | create_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>()); |
316 | 4.05M | return; |
317 | 2.43k | case PrimitiveType::TYPE_TIMESTAMP_NS: |
318 | 2.43k | create_concrete<TYPE_TIMESTAMP_NS>(field.template get<TYPE_TIMESTAMP_NS>()); |
319 | 2.43k | return; |
320 | 4.47M | case PrimitiveType::TYPE_DATEV2: |
321 | 4.47M | create_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>()); |
322 | 4.47M | return; |
323 | 21.7k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
324 | 21.7k | create_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>()); |
325 | 21.7k | return; |
326 | 3.32M | case PrimitiveType::TYPE_DATETIME: |
327 | 3.32M | create_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>()); |
328 | 3.32M | return; |
329 | 3.38M | case PrimitiveType::TYPE_DATE: |
330 | 3.38M | create_concrete<TYPE_DATE>(field.template get<TYPE_DATE>()); |
331 | 3.38M | return; |
332 | 3.55M | case PrimitiveType::TYPE_BOOLEAN: |
333 | 3.55M | create_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>()); |
334 | 3.55M | return; |
335 | 4.83M | case PrimitiveType::TYPE_TINYINT: |
336 | 4.83M | create_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>()); |
337 | 4.83M | return; |
338 | 3.96M | case PrimitiveType::TYPE_SMALLINT: |
339 | 3.96M | create_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>()); |
340 | 3.96M | return; |
341 | 1.07M | case PrimitiveType::TYPE_INT: |
342 | 1.07M | create_concrete<TYPE_INT>(field.template get<TYPE_INT>()); |
343 | 1.07M | return; |
344 | 5.51M | case PrimitiveType::TYPE_BIGINT: |
345 | 5.51M | create_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>()); |
346 | 5.51M | return; |
347 | 3.17M | case PrimitiveType::TYPE_LARGEINT: |
348 | 3.17M | create_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>()); |
349 | 3.17M | return; |
350 | 26.8k | case PrimitiveType::TYPE_IPV4: |
351 | 26.8k | create_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>()); |
352 | 26.8k | return; |
353 | 17.4k | case PrimitiveType::TYPE_IPV6: |
354 | 17.4k | create_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>()); |
355 | 17.4k | return; |
356 | 3.48M | case PrimitiveType::TYPE_FLOAT: |
357 | 3.48M | create_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>()); |
358 | 3.48M | return; |
359 | 8 | case PrimitiveType::TYPE_TIMEV2: |
360 | 8 | create_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>()); |
361 | 8 | return; |
362 | 3.79M | case PrimitiveType::TYPE_DOUBLE: |
363 | 3.79M | create_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>()); |
364 | 3.79M | return; |
365 | 226k | case PrimitiveType::TYPE_STRING: |
366 | 226k | create_concrete<TYPE_STRING>(field.template get<TYPE_STRING>()); |
367 | 226k | return; |
368 | 3.37k | case PrimitiveType::TYPE_CHAR: |
369 | 3.37k | create_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>()); |
370 | 3.37k | return; |
371 | 7.73M | case PrimitiveType::TYPE_VARCHAR: |
372 | 7.73M | create_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>()); |
373 | 7.73M | return; |
374 | 7 | case PrimitiveType::TYPE_JSONB: |
375 | 7 | create_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>()); |
376 | 7 | return; |
377 | 92.4M | case PrimitiveType::TYPE_ARRAY: |
378 | 92.4M | create_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>()); |
379 | 92.4M | return; |
380 | 3.04M | case PrimitiveType::TYPE_STRUCT: |
381 | 3.04M | create_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>()); |
382 | 3.04M | return; |
383 | 13.2M | case PrimitiveType::TYPE_MAP: |
384 | 13.2M | create_concrete<TYPE_MAP>(field.template get<TYPE_MAP>()); |
385 | 13.2M | return; |
386 | 3.58M | case PrimitiveType::TYPE_DECIMAL32: |
387 | 3.58M | create_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>()); |
388 | 3.58M | return; |
389 | 3.59M | case PrimitiveType::TYPE_DECIMAL64: |
390 | 3.59M | create_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>()); |
391 | 3.59M | return; |
392 | 791 | case PrimitiveType::TYPE_DECIMALV2: |
393 | 791 | create_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>()); |
394 | 791 | return; |
395 | 3.49M | case PrimitiveType::TYPE_DECIMAL128I: |
396 | 3.49M | create_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>()); |
397 | 3.49M | return; |
398 | 3.67M | case PrimitiveType::TYPE_DECIMAL256: |
399 | 3.67M | create_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>()); |
400 | 3.67M | return; |
401 | 0 | case PrimitiveType::TYPE_VARIANT: |
402 | 0 | create_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>()); |
403 | 0 | return; |
404 | 0 | case PrimitiveType::TYPE_BITMAP: |
405 | 0 | create_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>()); |
406 | 0 | return; |
407 | 0 | case PrimitiveType::TYPE_HLL: |
408 | 0 | create_concrete<TYPE_HLL>(field.template get<TYPE_HLL>()); |
409 | 0 | return; |
410 | 0 | case PrimitiveType::TYPE_QUANTILE_STATE: |
411 | 0 | create_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>()); |
412 | 0 | return; |
413 | 0 | case PrimitiveType::TYPE_UINT32: |
414 | 0 | create_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>()); |
415 | 0 | return; |
416 | 0 | case PrimitiveType::TYPE_UINT64: |
417 | 0 | create_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>()); |
418 | 0 | return; |
419 | 15 | case PrimitiveType::TYPE_VARBINARY: |
420 | 15 | create_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>()); |
421 | 15 | return; |
422 | 0 | default: |
423 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
424 | 214M | } |
425 | 214M | } |
426 | | |
427 | 479M | void Field::destroy() { |
428 | 479M | switch (type) { |
429 | 38.1M | case PrimitiveType::TYPE_STRING: |
430 | 38.1M | destroy<TYPE_STRING>(); |
431 | 38.1M | break; |
432 | 146k | case PrimitiveType::TYPE_CHAR: |
433 | 146k | destroy<TYPE_CHAR>(); |
434 | 146k | break; |
435 | 10.1M | case PrimitiveType::TYPE_VARCHAR: |
436 | 10.1M | destroy<TYPE_VARCHAR>(); |
437 | 10.1M | break; |
438 | 87.9k | case PrimitiveType::TYPE_JSONB: |
439 | 87.9k | destroy<TYPE_JSONB>(); |
440 | 87.9k | break; |
441 | 92.6M | case PrimitiveType::TYPE_ARRAY: |
442 | 92.6M | destroy<TYPE_ARRAY>(); |
443 | 92.6M | break; |
444 | 3.05M | case PrimitiveType::TYPE_STRUCT: |
445 | 3.05M | destroy<TYPE_STRUCT>(); |
446 | 3.05M | break; |
447 | 13.2M | case PrimitiveType::TYPE_MAP: |
448 | 13.2M | destroy<TYPE_MAP>(); |
449 | 13.2M | break; |
450 | 13.5k | case PrimitiveType::TYPE_VARIANT: |
451 | 13.5k | destroy<TYPE_VARIANT>(); |
452 | 13.5k | break; |
453 | 2.61k | case PrimitiveType::TYPE_BITMAP: |
454 | 2.61k | destroy<TYPE_BITMAP>(); |
455 | 2.61k | break; |
456 | 418 | case PrimitiveType::TYPE_HLL: |
457 | 418 | destroy<TYPE_HLL>(); |
458 | 418 | break; |
459 | 22.3k | case PrimitiveType::TYPE_QUANTILE_STATE: |
460 | 22.3k | destroy<TYPE_QUANTILE_STATE>(); |
461 | 22.3k | break; |
462 | 129 | case PrimitiveType::TYPE_VARBINARY: |
463 | 129 | destroy<TYPE_VARBINARY>(); |
464 | 129 | break; |
465 | 323M | default: |
466 | 323M | break; |
467 | 479M | } |
468 | | |
469 | 479M | type = PrimitiveType:: |
470 | 479M | TYPE_NULL; /// for exception safety in subsequent calls to destroy and create, when create fails. |
471 | 479M | } |
472 | | |
473 | 2.42M | void Field::assign(Field&& field) { |
474 | 2.42M | switch (field.type) { |
475 | 201k | case PrimitiveType::TYPE_NULL: |
476 | 201k | assign_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>())); |
477 | 201k | return; |
478 | 66.3k | case PrimitiveType::TYPE_DATETIMEV2: |
479 | 66.3k | assign_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>())); |
480 | 66.3k | return; |
481 | 299 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
482 | 299 | assign_concrete<TYPE_TIMESTAMP_NS>(std::move(field.template get<TYPE_TIMESTAMP_NS>())); |
483 | 299 | return; |
484 | 1.10k | case PrimitiveType::TYPE_DATETIME: |
485 | 1.10k | assign_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>())); |
486 | 1.10k | return; |
487 | 780 | case PrimitiveType::TYPE_DATE: |
488 | 780 | assign_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>())); |
489 | 780 | return; |
490 | 59.9k | case PrimitiveType::TYPE_DATEV2: |
491 | 59.9k | assign_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>())); |
492 | 59.9k | return; |
493 | 7.05k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
494 | 7.05k | assign_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>())); |
495 | 7.05k | return; |
496 | 15.2k | case PrimitiveType::TYPE_BOOLEAN: |
497 | 15.2k | assign_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>())); |
498 | 15.2k | return; |
499 | 82.2k | case PrimitiveType::TYPE_TINYINT: |
500 | 82.2k | assign_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>())); |
501 | 82.2k | return; |
502 | 22.7k | case PrimitiveType::TYPE_SMALLINT: |
503 | 22.7k | assign_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>())); |
504 | 22.7k | return; |
505 | 900k | case PrimitiveType::TYPE_INT: |
506 | 900k | assign_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>())); |
507 | 900k | return; |
508 | 425k | case PrimitiveType::TYPE_BIGINT: |
509 | 425k | assign_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>())); |
510 | 425k | return; |
511 | 34.3k | case PrimitiveType::TYPE_LARGEINT: |
512 | 34.3k | assign_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>())); |
513 | 34.3k | return; |
514 | 1.03k | case PrimitiveType::TYPE_IPV4: |
515 | 1.03k | assign_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>())); |
516 | 1.03k | return; |
517 | 1.06k | case PrimitiveType::TYPE_IPV6: |
518 | 1.06k | assign_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>())); |
519 | 1.06k | return; |
520 | 14.3k | case PrimitiveType::TYPE_FLOAT: |
521 | 14.3k | assign_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>())); |
522 | 14.3k | return; |
523 | 0 | case PrimitiveType::TYPE_TIMEV2: |
524 | 0 | assign_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>())); |
525 | 0 | return; |
526 | 20.1k | case PrimitiveType::TYPE_DOUBLE: |
527 | 20.1k | assign_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>())); |
528 | 20.1k | return; |
529 | 133k | case PrimitiveType::TYPE_STRING: |
530 | 133k | assign_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>())); |
531 | 133k | return; |
532 | 34.4k | case PrimitiveType::TYPE_CHAR: |
533 | 34.4k | assign_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>())); |
534 | 34.4k | return; |
535 | 299k | case PrimitiveType::TYPE_VARCHAR: |
536 | 299k | assign_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>())); |
537 | 299k | return; |
538 | 43.9k | case PrimitiveType::TYPE_JSONB: |
539 | 43.9k | assign_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>())); |
540 | 43.9k | return; |
541 | 118 | case PrimitiveType::TYPE_ARRAY: |
542 | 118 | assign_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>())); |
543 | 118 | return; |
544 | 0 | case PrimitiveType::TYPE_STRUCT: |
545 | 0 | assign_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>())); |
546 | 0 | return; |
547 | 1 | case PrimitiveType::TYPE_MAP: |
548 | 1 | assign_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>())); |
549 | 1 | return; |
550 | 6.84k | case PrimitiveType::TYPE_DECIMAL32: |
551 | 6.84k | assign_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>())); |
552 | 6.84k | return; |
553 | 31.2k | case PrimitiveType::TYPE_DECIMAL64: |
554 | 31.2k | assign_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>())); |
555 | 31.2k | return; |
556 | 414 | case PrimitiveType::TYPE_DECIMALV2: |
557 | 414 | assign_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>())); |
558 | 414 | return; |
559 | 20.5k | case PrimitiveType::TYPE_DECIMAL128I: |
560 | 20.5k | assign_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>())); |
561 | 20.5k | return; |
562 | 1.15k | case PrimitiveType::TYPE_DECIMAL256: |
563 | 1.15k | assign_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>())); |
564 | 1.15k | return; |
565 | 0 | case PrimitiveType::TYPE_VARIANT: |
566 | 0 | assign_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>())); |
567 | 0 | return; |
568 | 58 | case PrimitiveType::TYPE_BITMAP: |
569 | 58 | assign_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>())); |
570 | 58 | return; |
571 | 1 | case PrimitiveType::TYPE_HLL: |
572 | 1 | assign_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>())); |
573 | 1 | return; |
574 | 1 | case PrimitiveType::TYPE_QUANTILE_STATE: |
575 | 1 | assign_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>())); |
576 | 1 | return; |
577 | 9 | case PrimitiveType::TYPE_VARBINARY: |
578 | 9 | assign_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>())); |
579 | 9 | return; |
580 | 0 | default: |
581 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
582 | 2.42M | } |
583 | 2.42M | } |
584 | | |
585 | 1.56M | void Field::assign(const Field& field) { |
586 | 1.56M | switch (field.type) { |
587 | 201k | case PrimitiveType::TYPE_NULL: |
588 | 201k | assign_concrete<TYPE_NULL>(field.template get<TYPE_NULL>()); |
589 | 201k | return; |
590 | 65.1k | case PrimitiveType::TYPE_DATETIMEV2: |
591 | 65.1k | assign_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>()); |
592 | 65.1k | return; |
593 | 295 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
594 | 295 | assign_concrete<TYPE_TIMESTAMP_NS>(field.template get<TYPE_TIMESTAMP_NS>()); |
595 | 295 | return; |
596 | 802 | case PrimitiveType::TYPE_DATETIME: |
597 | 802 | assign_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>()); |
598 | 802 | return; |
599 | 688 | case PrimitiveType::TYPE_DATE: |
600 | 688 | assign_concrete<TYPE_DATE>(field.template get<TYPE_DATE>()); |
601 | 688 | return; |
602 | 55.5k | case PrimitiveType::TYPE_DATEV2: |
603 | 55.5k | assign_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>()); |
604 | 55.5k | return; |
605 | 7.05k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
606 | 7.05k | assign_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>()); |
607 | 7.05k | return; |
608 | 15.2k | case PrimitiveType::TYPE_BOOLEAN: |
609 | 15.2k | assign_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>()); |
610 | 15.2k | return; |
611 | 82.1k | case PrimitiveType::TYPE_TINYINT: |
612 | 82.1k | assign_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>()); |
613 | 82.1k | return; |
614 | 22.6k | case PrimitiveType::TYPE_SMALLINT: |
615 | 22.6k | assign_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>()); |
616 | 22.6k | return; |
617 | 193k | case PrimitiveType::TYPE_INT: |
618 | 193k | assign_concrete<TYPE_INT>(field.template get<TYPE_INT>()); |
619 | 193k | return; |
620 | 413k | case PrimitiveType::TYPE_BIGINT: |
621 | 413k | assign_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>()); |
622 | 413k | return; |
623 | 33.0k | case PrimitiveType::TYPE_LARGEINT: |
624 | 33.0k | assign_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>()); |
625 | 33.0k | return; |
626 | 1.03k | case PrimitiveType::TYPE_IPV4: |
627 | 1.03k | assign_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>()); |
628 | 1.03k | return; |
629 | 1.06k | case PrimitiveType::TYPE_IPV6: |
630 | 1.06k | assign_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>()); |
631 | 1.06k | return; |
632 | 13.9k | case PrimitiveType::TYPE_FLOAT: |
633 | 13.9k | assign_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>()); |
634 | 13.9k | return; |
635 | 0 | case PrimitiveType::TYPE_TIMEV2: |
636 | 0 | assign_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>()); |
637 | 0 | return; |
638 | 18.1k | case PrimitiveType::TYPE_DOUBLE: |
639 | 18.1k | assign_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>()); |
640 | 18.1k | return; |
641 | 85.6k | case PrimitiveType::TYPE_STRING: |
642 | 85.6k | assign_concrete<TYPE_STRING>(field.template get<TYPE_STRING>()); |
643 | 85.6k | return; |
644 | 26.3k | case PrimitiveType::TYPE_CHAR: |
645 | 26.3k | assign_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>()); |
646 | 26.3k | return; |
647 | 284k | case PrimitiveType::TYPE_VARCHAR: |
648 | 284k | assign_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>()); |
649 | 284k | return; |
650 | 1 | case PrimitiveType::TYPE_JSONB: |
651 | 1 | assign_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>()); |
652 | 1 | return; |
653 | 13 | case PrimitiveType::TYPE_ARRAY: |
654 | 13 | assign_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>()); |
655 | 13 | return; |
656 | 0 | case PrimitiveType::TYPE_STRUCT: |
657 | 0 | assign_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>()); |
658 | 0 | return; |
659 | 1 | case PrimitiveType::TYPE_MAP: |
660 | 1 | assign_concrete<TYPE_MAP>(field.template get<TYPE_MAP>()); |
661 | 1 | return; |
662 | 6.83k | case PrimitiveType::TYPE_DECIMAL32: |
663 | 6.83k | assign_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>()); |
664 | 6.83k | return; |
665 | 18.4k | case PrimitiveType::TYPE_DECIMAL64: |
666 | 18.4k | assign_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>()); |
667 | 18.4k | return; |
668 | 404 | case PrimitiveType::TYPE_DECIMALV2: |
669 | 404 | assign_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>()); |
670 | 404 | return; |
671 | 17.9k | case PrimitiveType::TYPE_DECIMAL128I: |
672 | 17.9k | assign_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>()); |
673 | 17.9k | return; |
674 | 1.15k | case PrimitiveType::TYPE_DECIMAL256: |
675 | 1.15k | assign_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>()); |
676 | 1.15k | return; |
677 | 0 | case PrimitiveType::TYPE_VARIANT: |
678 | 0 | assign_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>()); |
679 | 0 | return; |
680 | 2 | case PrimitiveType::TYPE_BITMAP: |
681 | 2 | assign_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>()); |
682 | 2 | return; |
683 | 1 | case PrimitiveType::TYPE_HLL: |
684 | 1 | assign_concrete<TYPE_HLL>(field.template get<TYPE_HLL>()); |
685 | 1 | return; |
686 | 1 | case PrimitiveType::TYPE_QUANTILE_STATE: |
687 | 1 | assign_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>()); |
688 | 1 | return; |
689 | 0 | case PrimitiveType::TYPE_UINT32: |
690 | 0 | assign_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>()); |
691 | 0 | return; |
692 | 0 | case PrimitiveType::TYPE_UINT64: |
693 | 0 | assign_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>()); |
694 | 0 | return; |
695 | 7 | case PrimitiveType::TYPE_VARBINARY: |
696 | 7 | assign_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>()); |
697 | 7 | return; |
698 | 0 | default: |
699 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
700 | 1.56M | } |
701 | 1.56M | } |
702 | | |
703 | | /// Assuming same types. |
704 | | template <PrimitiveType Type> |
705 | 2.42M | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { |
706 | 2.42M | if constexpr (Type == TYPE_VARBINARY) { |
707 | 9 | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); |
708 | 9 | return; |
709 | 9 | } |
710 | 0 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); |
711 | 2.42M | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); |
712 | 2.42M | } _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 201k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 201k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 201k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 201k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 82.2k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 82.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 82.2k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 82.2k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 22.7k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 22.7k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 22.7k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 22.7k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 900k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 900k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 900k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 900k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 425k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 425k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 425k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 425k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 34.3k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 34.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 34.3k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 34.3k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 780 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 780 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 780 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 780 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1.10k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 1.10k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1.10k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1.10k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 59.9k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 59.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 59.9k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 59.9k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 66.3k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 66.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 66.3k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 66.3k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE43EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 299 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 299 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 299 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 299 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 6.84k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 6.84k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 6.84k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 6.84k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 31.2k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 31.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 31.2k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 31.2k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 414 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 414 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 414 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 414 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 20.5k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 20.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 20.5k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 20.5k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1.15k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 1.15k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1.15k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1.15k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 34.4k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 34.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 34.4k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 34.4k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 299k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 299k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 299k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 299k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 133k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 133k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 133k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 133k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 9 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | 9 | if constexpr (Type == TYPE_VARBINARY) { | 707 | 9 | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | 9 | return; | 709 | 9 | } | 710 | 0 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 9 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 9 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 118 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 118 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 118 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 118 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 7.05k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 7.05k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 7.05k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 7.05k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1.03k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 1.03k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1.03k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1.03k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1.06k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 1.06k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1.06k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1.06k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 15.2k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 15.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 15.2k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 15.2k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 14.3k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 14.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 14.3k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 14.3k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 20.1k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 20.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 20.1k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 20.1k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 43.9k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 43.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 43.9k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 43.9k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 58 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | | if constexpr (Type == TYPE_VARBINARY) { | 707 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | | return; | 709 | | } | 710 | 58 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 58 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 58 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
713 | | |
714 | | template <PrimitiveType Type> |
715 | 1.56M | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { |
716 | 1.56M | if constexpr (Type == TYPE_VARBINARY) { |
717 | 7 | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); |
718 | 7 | return; |
719 | 7 | } |
720 | 0 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); |
721 | 1.56M | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); |
722 | 1.56M | } _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 201k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 201k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 201k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 201k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 82.1k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 82.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 82.1k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 82.1k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 22.6k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 22.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 22.6k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 22.6k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 193k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 193k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 193k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 193k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 413k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 413k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 413k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 413k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 33.0k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 33.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 33.0k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 33.0k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 688 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 688 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 688 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 688 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 802 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 802 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 802 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 802 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 55.5k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 55.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 55.5k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 55.5k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 65.1k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 65.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 65.1k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 65.1k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE43EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 295 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 295 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 295 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 295 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 7.05k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 7.05k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 7.05k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 7.05k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 6.83k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 6.83k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 6.83k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 6.83k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 18.4k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 18.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 18.4k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 18.4k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 404 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 404 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 404 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 404 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 17.9k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 17.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 17.9k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 17.9k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1.15k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 1.15k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1.15k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1.15k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 26.3k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 26.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 26.3k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 26.3k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 284k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 284k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 284k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 284k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 85.6k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 85.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 85.6k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 85.6k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 7 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | 7 | if constexpr (Type == TYPE_VARBINARY) { | 717 | 7 | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | 7 | return; | 719 | 7 | } | 720 | 0 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 7 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 7 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 13 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 13 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 13 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 13 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1.03k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 1.03k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1.03k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1.03k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1.06k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 1.06k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1.06k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1.06k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 15.2k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 15.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 15.2k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 15.2k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 13.9k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 13.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 13.9k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 13.9k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 18.1k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 18.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 18.1k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 18.1k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 2 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | | if constexpr (Type == TYPE_VARBINARY) { | 717 | | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | | return; | 719 | | } | 720 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 2 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 2 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
723 | | |
724 | 0 | std::string Field::get_type_name() const { |
725 | 0 | return type_to_string(type); |
726 | 0 | } |
727 | | |
728 | | template <PrimitiveType T> |
729 | 134M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { |
730 | 134M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { |
731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", |
732 | 0 | type_to_string(T), get_type_name())); |
733 | 0 | } |
734 | 134M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); |
735 | 134M | return *ptr; |
736 | 134M | } _ZN5doris5Field3getILNS_13PrimitiveTypeE1EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 297k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 297k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 297k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 297k | return *ptr; | 736 | 297k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE3EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 5.12M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 5.12M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 5.12M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 5.12M | return *ptr; | 736 | 5.12M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE4EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 167k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 167k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 167k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 167k | return *ptr; | 736 | 167k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE5EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 94.0M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 94.0M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 94.0M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 94.0M | return *ptr; | 736 | 94.0M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE6EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 10.1M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 10.1M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 10.1M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 10.1M | return *ptr; | 736 | 10.1M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE7EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 201k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 201k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 201k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 201k | return *ptr; | 736 | 201k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE11EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 19.3k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 19.3k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 19.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 19.3k | return *ptr; | 736 | 19.3k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE12EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 23.4k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 23.4k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 23.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 23.4k | return *ptr; | 736 | 23.4k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE25EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 575k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 575k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 575k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 575k | return *ptr; | 736 | 575k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE26EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 2.37M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 2.37M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 2.37M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 2.37M | return *ptr; | 736 | 2.37M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE43EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 7.26k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 7.26k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 7.26k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 7.26k | return *ptr; | 736 | 7.26k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE42EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 50.3k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 50.3k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 50.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 50.3k | return *ptr; | 736 | 50.3k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE28EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 76.7k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 76.7k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 76.7k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 76.7k | return *ptr; | 736 | 76.7k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE29EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 161k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 161k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 161k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 161k | return *ptr; | 736 | 161k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE20EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 10.5k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 10.5k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 10.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 10.5k | return *ptr; | 736 | 10.5k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE30EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 142k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 142k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 142k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 142k | return *ptr; | 736 | 142k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE35EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 47.6k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 47.6k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 47.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 47.6k | return *ptr; | 736 | 47.6k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE15EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 135k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 135k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 135k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 135k | return *ptr; | 736 | 135k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE10EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 1.71M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 1.71M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 1.71M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 1.71M | return *ptr; | 736 | 1.71M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE23EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 18.5M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 18.5M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 18.5M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 18.5M | return *ptr; | 736 | 18.5M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE41EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 87 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 87 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 87 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 87 | return *ptr; | 736 | 87 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE19EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 6 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 6 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 6 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 6 | return *ptr; | 736 | 6 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE32EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 6.80k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 6.80k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 6.80k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 6.80k | return *ptr; | 736 | 6.80k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE24EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 4 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 4 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 4 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 4 | return *ptr; | 736 | 4 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE17EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 267k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 267k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 267k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 267k | return *ptr; | 736 | 267k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE36EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 39.2k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 39.2k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 39.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 39.2k | return *ptr; | 736 | 39.2k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE37EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 27.8k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 27.8k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 27.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 27.8k | return *ptr; | 736 | 27.8k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE2EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 94.1k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 94.1k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 94.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 94.1k | return *ptr; | 736 | 94.1k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE8EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 112k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 112k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 112k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 112k | return *ptr; | 736 | 112k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE9EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 127k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 127k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 127k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 127k | return *ptr; | 736 | 127k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE31EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 65.9k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 65.9k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 65.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 65.9k | return *ptr; | 736 | 65.9k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE16EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 11.2k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 11.2k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 11.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 11.2k | return *ptr; | 736 | 11.2k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE18EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 34.2k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 34.2k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 34.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 34.2k | return *ptr; | 736 | 34.2k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE22EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 250 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 250 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 250 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 250 | return *ptr; | 736 | 250 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE27EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 195 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 195 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 731 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 732 | 0 | type_to_string(T), get_type_name())); | 733 | 0 | } | 734 | 195 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 195 | return *ptr; | 736 | 195 | } |
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE38EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE39EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv |
737 | | |
738 | | template <PrimitiveType T> |
739 | 366M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { |
740 | 366M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { |
741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", |
742 | 0 | type_to_string(T), get_type_name())); |
743 | 0 | } |
744 | 366M | const auto* MAY_ALIAS ptr = |
745 | 366M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); |
746 | 366M | return *ptr; |
747 | 366M | } _ZNK5doris5Field3getILNS_13PrimitiveTypeE1EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 39.2M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 39.2M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 39.2M | const auto* MAY_ALIAS ptr = | 745 | 39.2M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 39.2M | return *ptr; | 747 | 39.2M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE3EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 10.8M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 10.8M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 10.8M | const auto* MAY_ALIAS ptr = | 745 | 10.8M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 10.8M | return *ptr; | 747 | 10.8M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE4EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 5.11M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 5.11M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 5.11M | const auto* MAY_ALIAS ptr = | 745 | 5.11M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 5.11M | return *ptr; | 747 | 5.11M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE5EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 8.38M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 8.38M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 8.38M | const auto* MAY_ALIAS ptr = | 745 | 8.38M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 8.38M | return *ptr; | 747 | 8.38M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE6EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 22.3M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 22.3M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 22.3M | const auto* MAY_ALIAS ptr = | 745 | 22.3M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 22.3M | return *ptr; | 747 | 22.3M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE7EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 4.39M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 4.39M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 4.39M | const auto* MAY_ALIAS ptr = | 745 | 4.39M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 4.39M | return *ptr; | 747 | 4.39M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE11EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 4.40M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 4.40M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 4.40M | const auto* MAY_ALIAS ptr = | 745 | 4.40M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 4.40M | return *ptr; | 747 | 4.40M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE12EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 4.32M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 4.32M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 4.32M | const auto* MAY_ALIAS ptr = | 745 | 4.32M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 4.32M | return *ptr; | 747 | 4.32M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE25EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 7.89M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 7.89M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 7.89M | const auto* MAY_ALIAS ptr = | 745 | 7.89M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 7.89M | return *ptr; | 747 | 7.89M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE26EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 5.38M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 5.38M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 5.38M | const auto* MAY_ALIAS ptr = | 745 | 5.38M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 5.38M | return *ptr; | 747 | 5.38M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE43EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 9.45k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 9.45k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 9.45k | const auto* MAY_ALIAS ptr = | 745 | 9.45k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 9.45k | return *ptr; | 747 | 9.45k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE42EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 91.3k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 91.3k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 91.3k | const auto* MAY_ALIAS ptr = | 745 | 91.3k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 91.3k | return *ptr; | 747 | 91.3k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE28EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 4.62M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 4.62M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 4.62M | const auto* MAY_ALIAS ptr = | 745 | 4.62M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 4.62M | return *ptr; | 747 | 4.62M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE29EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 18.2M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 18.2M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 18.2M | const auto* MAY_ALIAS ptr = | 745 | 18.2M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 18.2M | return *ptr; | 747 | 18.2M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE20EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 17.7k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 17.7k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 17.7k | const auto* MAY_ALIAS ptr = | 745 | 17.7k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 17.7k | return *ptr; | 747 | 17.7k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE30EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 4.58M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 4.58M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 4.58M | const auto* MAY_ALIAS ptr = | 745 | 4.58M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 4.58M | return *ptr; | 747 | 4.58M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE35EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 4.69M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 4.69M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 4.69M | const auto* MAY_ALIAS ptr = | 745 | 4.69M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 4.69M | return *ptr; | 747 | 4.69M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE15EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 41.2k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 41.2k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 41.2k | const auto* MAY_ALIAS ptr = | 745 | 41.2k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 41.2k | return *ptr; | 747 | 41.2k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE10EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 11.5M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 11.5M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 11.5M | const auto* MAY_ALIAS ptr = | 745 | 11.5M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 11.5M | return *ptr; | 747 | 11.5M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE23EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 26.8M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 26.8M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 26.8M | const auto* MAY_ALIAS ptr = | 745 | 26.8M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 26.8M | return *ptr; | 747 | 26.8M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE41EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 75 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 75 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 75 | const auto* MAY_ALIAS ptr = | 745 | 75 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 75 | return *ptr; | 747 | 75 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE19EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 8 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 8 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 8 | const auto* MAY_ALIAS ptr = | 745 | 8 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 8 | return *ptr; | 747 | 8 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE32EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 6.74k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 6.74k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 6.74k | const auto* MAY_ALIAS ptr = | 745 | 6.74k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 6.74k | return *ptr; | 747 | 6.74k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE24EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 20.0k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 20.0k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 20.0k | const auto* MAY_ALIAS ptr = | 745 | 20.0k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 20.0k | return *ptr; | 747 | 20.0k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE17EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 119M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 119M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 119M | const auto* MAY_ALIAS ptr = | 745 | 119M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 119M | return *ptr; | 747 | 119M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE36EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 32.7k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 32.7k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 32.7k | const auto* MAY_ALIAS ptr = | 745 | 32.7k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 32.7k | return *ptr; | 747 | 32.7k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE37EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 23.0k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 23.0k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 23.0k | const auto* MAY_ALIAS ptr = | 745 | 23.0k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 23.0k | return *ptr; | 747 | 23.0k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE2EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 32.9M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 32.9M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 32.9M | const auto* MAY_ALIAS ptr = | 745 | 32.9M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 32.9M | return *ptr; | 747 | 32.9M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE8EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 4.55M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 4.55M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 4.55M | const auto* MAY_ALIAS ptr = | 745 | 4.55M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 4.55M | return *ptr; | 747 | 4.55M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE9EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 4.88M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 4.88M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 4.88M | const auto* MAY_ALIAS ptr = | 745 | 4.88M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 4.88M | return *ptr; | 747 | 4.88M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE31EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 22.0k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 22.0k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 22.0k | const auto* MAY_ALIAS ptr = | 745 | 22.0k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 22.0k | return *ptr; | 747 | 22.0k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE16EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 4.05M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 4.05M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 4.05M | const auto* MAY_ALIAS ptr = | 745 | 4.05M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 4.05M | return *ptr; | 747 | 4.05M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE18EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 17.2M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 17.2M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 17.2M | const auto* MAY_ALIAS ptr = | 745 | 17.2M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 17.2M | return *ptr; | 747 | 17.2M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE22EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 25.1k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 25.1k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 25.1k | const auto* MAY_ALIAS ptr = | 745 | 25.1k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 25.1k | return *ptr; | 747 | 25.1k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE27EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 252 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 252 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 252 | const auto* MAY_ALIAS ptr = | 745 | 252 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 252 | return *ptr; | 747 | 252 | } |
Unexecuted instantiation: _ZNK5doris5Field3getILNS_13PrimitiveTypeE38EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv _ZNK5doris5Field3getILNS_13PrimitiveTypeE39EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 40 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 40 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 741 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 742 | 0 | type_to_string(T), get_type_name())); | 743 | 0 | } | 744 | 40 | const auto* MAY_ALIAS ptr = | 745 | 40 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 40 | return *ptr; | 747 | 40 | } |
|
748 | | |
749 | | template <PrimitiveType T> |
750 | 157M | void Field::destroy() { |
751 | 157M | if constexpr (T == TYPE_VARBINARY) { |
752 | 129 | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); |
753 | 129 | return; |
754 | 129 | } |
755 | 0 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; |
756 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) |
757 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); |
758 | 157M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); |
759 | 157M | ptr->~TargetType(); |
760 | 157M | } Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE1EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE3EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE4EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE5EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE6EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE7EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE11EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE12EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE25EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE26EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE43EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE42EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE28EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE29EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE20EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE30EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE35EEEvv _ZN5doris5Field7destroyILNS_13PrimitiveTypeE15EEEvv Line | Count | Source | 750 | 146k | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 146k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 146k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 146k | ptr->~TargetType(); | 760 | 146k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE10EEEvv Line | Count | Source | 750 | 10.1M | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 10.1M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 10.1M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 10.1M | ptr->~TargetType(); | 760 | 10.1M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE23EEEvv Line | Count | Source | 750 | 38.1M | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 38.1M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 38.1M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 38.1M | ptr->~TargetType(); | 760 | 38.1M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE41EEEvv Line | Count | Source | 750 | 129 | void Field::destroy() { | 751 | 129 | if constexpr (T == TYPE_VARBINARY) { | 752 | 129 | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | 129 | return; | 754 | 129 | } | 755 | 0 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 129 | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 129 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 129 | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 129 | ptr->~TargetType(); | 760 | 129 | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE19EEEvv Line | Count | Source | 750 | 418 | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 418 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 418 | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 418 | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 418 | ptr->~TargetType(); | 760 | 418 | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE32EEEvv Line | Count | Source | 750 | 13.5k | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 13.5k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 13.5k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 13.5k | ptr->~TargetType(); | 760 | 13.5k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE24EEEvv Line | Count | Source | 750 | 22.3k | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 22.3k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 22.3k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 22.3k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 22.3k | ptr->~TargetType(); | 760 | 22.3k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE17EEEvv Line | Count | Source | 750 | 92.6M | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 92.6M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 92.6M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 92.6M | ptr->~TargetType(); | 760 | 92.6M | } |
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE36EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE37EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE2EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE8EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE9EEEvv _ZN5doris5Field7destroyILNS_13PrimitiveTypeE31EEEvv Line | Count | Source | 750 | 87.9k | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 87.9k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 87.9k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 87.9k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 87.9k | ptr->~TargetType(); | 760 | 87.9k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE16EEEvv Line | Count | Source | 750 | 3.05M | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 3.05M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 3.05M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 3.05M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 3.05M | ptr->~TargetType(); | 760 | 3.05M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE18EEEvv Line | Count | Source | 750 | 13.2M | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 13.2M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 13.2M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 13.2M | ptr->~TargetType(); | 760 | 13.2M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE22EEEvv Line | Count | Source | 750 | 2.61k | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 2.61k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 2.61k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 2.61k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 2.61k | ptr->~TargetType(); | 760 | 2.61k | } |
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE27EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE38EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE39EEEvv |
761 | | |
762 | 10.7M | std::strong_ordering Field::operator<=>(const Field& rhs) const { |
763 | 10.7M | if (type == PrimitiveType::TYPE_NULL || rhs == PrimitiveType::TYPE_NULL) { |
764 | 7.21M | return type <=> rhs.type; |
765 | 7.21M | } |
766 | 3.54M | if (type != rhs.type) { |
767 | | // String-family types (STRING, CHAR, VARCHAR) all store String internally |
768 | | // and are inter-comparable. This arises when comparing RowCursor fields |
769 | | // (which carry the declared column type) against Column::operator[] results |
770 | | // (which always return TYPE_STRING for ColumnString). |
771 | 14.9k | if (is_string_type(type) && is_string_type(rhs.type)) { |
772 | 14.9k | return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>(); |
773 | 14.9k | } |
774 | 1 | throw Exception(Status::FatalError("lhs type not equal with rhs, lhs={}, rhs={}", |
775 | 1 | get_type_name(), rhs.get_type_name())); |
776 | 14.9k | } |
777 | | |
778 | 3.53M | switch (type) { |
779 | 1.14k | case PrimitiveType::TYPE_BITMAP: |
780 | 1.34k | case PrimitiveType::TYPE_HLL: |
781 | 2.53k | case PrimitiveType::TYPE_QUANTILE_STATE: |
782 | 2.53k | case PrimitiveType::INVALID_TYPE: |
783 | 2.53k | case PrimitiveType::TYPE_JSONB: |
784 | 2.53k | case PrimitiveType::TYPE_NULL: |
785 | 8.67k | case PrimitiveType::TYPE_ARRAY: |
786 | 8.72k | case PrimitiveType::TYPE_MAP: |
787 | 8.75k | case PrimitiveType::TYPE_STRUCT: |
788 | 8.75k | case PrimitiveType::TYPE_VARIANT: |
789 | 8.75k | return std::strong_ordering::equal; //TODO: throw Exception? |
790 | 29.7k | case PrimitiveType::TYPE_DATETIMEV2: |
791 | 29.7k | return get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val() <=> |
792 | 29.7k | rhs.get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val(); |
793 | 329 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
794 | 329 | return get<PrimitiveType::TYPE_TIMESTAMP_NS>() <=> |
795 | 329 | rhs.get<PrimitiveType::TYPE_TIMESTAMP_NS>(); |
796 | 529k | case PrimitiveType::TYPE_DATEV2: |
797 | 529k | return get<PrimitiveType::TYPE_DATEV2>().to_date_int_val() <=> |
798 | 529k | rhs.get<PrimitiveType::TYPE_DATEV2>().to_date_int_val(); |
799 | 6.58k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
800 | 6.58k | return get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val() <=> |
801 | 6.58k | rhs.get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val(); |
802 | 4.51k | case PrimitiveType::TYPE_DATE: |
803 | 4.51k | return get<PrimitiveType::TYPE_DATE>() <=> rhs.get<PrimitiveType::TYPE_DATE>(); |
804 | 442 | case PrimitiveType::TYPE_DATETIME: |
805 | 442 | return get<PrimitiveType::TYPE_DATETIME>() <=> rhs.get<PrimitiveType::TYPE_DATETIME>(); |
806 | 98.5k | case PrimitiveType::TYPE_BIGINT: |
807 | 98.5k | return get<PrimitiveType::TYPE_BIGINT>() <=> rhs.get<PrimitiveType::TYPE_BIGINT>(); |
808 | 15.8k | case PrimitiveType::TYPE_BOOLEAN: |
809 | 15.8k | return get<PrimitiveType::TYPE_BOOLEAN>() <=> rhs.get<PrimitiveType::TYPE_BOOLEAN>(); |
810 | 437k | case PrimitiveType::TYPE_TINYINT: |
811 | 437k | return get<TYPE_TINYINT>() <=> rhs.get<TYPE_TINYINT>(); |
812 | 9.64k | case PrimitiveType::TYPE_SMALLINT: |
813 | 9.64k | return get<TYPE_SMALLINT>() <=> rhs.get<TYPE_SMALLINT>(); |
814 | 711k | case PrimitiveType::TYPE_INT: |
815 | 711k | return get<TYPE_INT>() <=> rhs.get<TYPE_INT>(); |
816 | 15.3k | case PrimitiveType::TYPE_LARGEINT: |
817 | 15.3k | return get<TYPE_LARGEINT>() <=> rhs.get<TYPE_LARGEINT>(); |
818 | 237 | case PrimitiveType::TYPE_IPV6: |
819 | 237 | return get<TYPE_IPV6>() <=> rhs.get<TYPE_IPV6>(); |
820 | 291 | case PrimitiveType::TYPE_IPV4: |
821 | 291 | return get<TYPE_IPV4>() <=> rhs.get<TYPE_IPV4>(); |
822 | 52 | case PrimitiveType::TYPE_FLOAT: |
823 | 52 | switch (Compare::compare(get<TYPE_FLOAT>(), rhs.get<TYPE_FLOAT>())) { |
824 | 2 | case -1: |
825 | 2 | return std::strong_ordering::less; |
826 | 24 | case 0: |
827 | 24 | return std::strong_ordering::equal; |
828 | 26 | case 1: |
829 | 26 | return std::strong_ordering::greater; |
830 | 0 | default: |
831 | 0 | LOG(FATAL) << "unexpected float compare result"; |
832 | 52 | } |
833 | 11 | case PrimitiveType::TYPE_TIMEV2: |
834 | 11 | return get<TYPE_TIMEV2>() < rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::less |
835 | 11 | : get<TYPE_TIMEV2>() == rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::equal |
836 | 11 | : std::strong_ordering::greater; |
837 | 69 | case PrimitiveType::TYPE_DOUBLE: |
838 | 69 | switch (Compare::compare(get<TYPE_DOUBLE>(), rhs.get<TYPE_DOUBLE>())) { |
839 | 10 | case -1: |
840 | 10 | return std::strong_ordering::less; |
841 | 21 | case 0: |
842 | 21 | return std::strong_ordering::equal; |
843 | 38 | case 1: |
844 | 38 | return std::strong_ordering::greater; |
845 | 0 | default: |
846 | 0 | LOG(FATAL) << "unexpected double compare result"; |
847 | 69 | } |
848 | 27.4k | case PrimitiveType::TYPE_STRING: |
849 | 27.4k | return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>(); |
850 | 476 | case PrimitiveType::TYPE_CHAR: |
851 | 476 | return get<TYPE_CHAR>() <=> rhs.get<TYPE_CHAR>(); |
852 | 1.67M | case PrimitiveType::TYPE_VARCHAR: |
853 | 1.67M | return get<TYPE_VARCHAR>() <=> rhs.get<TYPE_VARCHAR>(); |
854 | 3 | case PrimitiveType::TYPE_VARBINARY: |
855 | 3 | return get<TYPE_VARBINARY>() <=> rhs.get<TYPE_VARBINARY>(); |
856 | 763 | case PrimitiveType::TYPE_DECIMAL32: |
857 | 763 | return get<TYPE_DECIMAL32>() <=> rhs.get<TYPE_DECIMAL32>(); |
858 | 2.70k | case PrimitiveType::TYPE_DECIMAL64: |
859 | 2.70k | return get<TYPE_DECIMAL64>() <=> rhs.get<TYPE_DECIMAL64>(); |
860 | 2.73k | case PrimitiveType::TYPE_DECIMALV2: |
861 | 2.73k | return get<TYPE_DECIMALV2>() <=> rhs.get<TYPE_DECIMALV2>(); |
862 | 3.66k | case PrimitiveType::TYPE_DECIMAL128I: |
863 | 3.66k | return get<TYPE_DECIMAL128I>() <=> rhs.get<TYPE_DECIMAL128I>(); |
864 | 2.06k | case PrimitiveType::TYPE_DECIMAL256: |
865 | 2.06k | return get<TYPE_DECIMAL256>() <=> rhs.get<TYPE_DECIMAL256>(); |
866 | 0 | default: |
867 | 0 | throw Exception(Status::FatalError("Unsupported type: {}", get_type_name())); |
868 | 3.53M | } |
869 | 3.53M | } |
870 | | |
871 | | #define MATCH_PRIMITIVE_TYPE(primitive_type) \ |
872 | 10.6k | if (type == primitive_type) { \ |
873 | 1.63k | const auto& v = get<primitive_type>(); \ |
874 | 1.63k | return std::string_view(reinterpret_cast<const char*>(&v), sizeof(v)); \ |
875 | 1.63k | } |
876 | | |
877 | 6.31k | std::string_view Field::as_string_view() const { |
878 | 6.31k | if (type == PrimitiveType::TYPE_STRING || type == PrimitiveType::TYPE_VARCHAR || |
879 | 6.31k | type == PrimitiveType::TYPE_CHAR) { |
880 | 4.67k | const auto& s = get<TYPE_STRING>(); |
881 | 4.67k | return {s.data(), s.size()}; |
882 | 4.67k | } |
883 | 1.63k | if (type == PrimitiveType::TYPE_VARBINARY) { |
884 | 5 | const auto& svf = get<TYPE_VARBINARY>(); |
885 | 5 | return {svf.data(), svf.size()}; |
886 | 5 | } |
887 | | // MATCH_PRIMITIVE_TYPE(INVALID_TYPE); |
888 | | // MATCH_PRIMITIVE_TYPE(TYPE_NULL); |
889 | 1.63k | MATCH_PRIMITIVE_TYPE(TYPE_BOOLEAN); |
890 | 1.63k | MATCH_PRIMITIVE_TYPE(TYPE_TINYINT); |
891 | 1.47k | MATCH_PRIMITIVE_TYPE(TYPE_SMALLINT); |
892 | 1.47k | MATCH_PRIMITIVE_TYPE(TYPE_INT); |
893 | 466 | MATCH_PRIMITIVE_TYPE(TYPE_BIGINT); |
894 | 409 | MATCH_PRIMITIVE_TYPE(TYPE_LARGEINT); |
895 | 409 | MATCH_PRIMITIVE_TYPE(TYPE_FLOAT) |
896 | 409 | MATCH_PRIMITIVE_TYPE(TYPE_DOUBLE); |
897 | | // MATCH_PRIMITIVE_TYPE(TYPE_VARCHAR); |
898 | 409 | MATCH_PRIMITIVE_TYPE(TYPE_DATE); |
899 | 409 | MATCH_PRIMITIVE_TYPE(TYPE_DATETIME); |
900 | 409 | MATCH_PRIMITIVE_TYPE(TYPE_TIMESTAMPTZ); |
901 | | // MATCH_PRIMITIVE_TYPE(TYPE_BINARY); |
902 | | // MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL); |
903 | | // MATCH_PRIMITIVE_TYPE(TYPE_CHAR); |
904 | | // MATCH_PRIMITIVE_TYPE(TYPE_STRUCT); |
905 | | // MATCH_PRIMITIVE_TYPE(TYPE_ARRAY); |
906 | | // MATCH_PRIMITIVE_TYPE(TYPE_MAP); |
907 | | // MATCH_PRIMITIVE_TYPE(TYPE_HLL); |
908 | 389 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMALV2); |
909 | | // MATCH_PRIMITIVE_TYPE(TYPE_BITMAP); |
910 | | // MATCH_PRIMITIVE_TYPE(TYPE_STRING); |
911 | | // MATCH_PRIMITIVE_TYPE(TYPE_QUANTILE_STATE); |
912 | 389 | MATCH_PRIMITIVE_TYPE(TYPE_DATEV2); |
913 | 361 | MATCH_PRIMITIVE_TYPE(TYPE_DATETIMEV2); |
914 | 322 | MATCH_PRIMITIVE_TYPE(TYPE_TIMESTAMP_NS); |
915 | 30 | MATCH_PRIMITIVE_TYPE(TYPE_TIMEV2); |
916 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL32); |
917 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL64); |
918 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL128I); |
919 | | // MATCH_PRIMITIVE_TYPE(TYPE_JSONB); |
920 | | // MATCH_PRIMITIVE_TYPE(TYPE_VARIANT); |
921 | | // MATCH_PRIMITIVE_TYPE(TYPE_LAMBDA_FUNCTION); |
922 | | // MATCH_PRIMITIVE_TYPE(TYPE_AGG_STATE); |
923 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL256); |
924 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_IPV4); |
925 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_IPV6); |
926 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_UINT32); |
927 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_UINT64); |
928 | | // MATCH_PRIMITIVE_TYPE(TYPE_FIXED_LENGTH_OBJECT); |
929 | 0 | throw Exception( |
930 | 0 | Status::FatalError("type not supported for as_string_view, type={}", get_type_name())); |
931 | 0 | } |
932 | | |
933 | | #undef MATCH_PRIMITIVE_TYPE |
934 | | |
935 | | // Important!!! This method is not accurate, for example, decimal to string, it uses scale == 0, because |
936 | | // it do not know the actual scale of the decimal value. It is only used for debug printing, so it is fine. |
937 | 16.4M | std::string Field::to_debug_string(int scale) const { |
938 | 16.4M | if (is_null()) { |
939 | 0 | return "NULL"; |
940 | 0 | } |
941 | 16.4M | switch (type) { |
942 | 36.8k | case PrimitiveType::TYPE_BOOLEAN: |
943 | 36.8k | return get<TYPE_BOOLEAN>() ? "true" : "false"; |
944 | 1.30M | case PrimitiveType::TYPE_TINYINT: |
945 | 1.30M | return CastToString::from_number(get<TYPE_TINYINT>()); |
946 | 29.1k | case PrimitiveType::TYPE_SMALLINT: |
947 | 29.1k | return CastToString::from_number(get<TYPE_SMALLINT>()); |
948 | 702k | case PrimitiveType::TYPE_INT: |
949 | 702k | return CastToString::from_number(get<TYPE_INT>()); |
950 | 239k | case PrimitiveType::TYPE_BIGINT: |
951 | 239k | return CastToString::from_number(get<TYPE_BIGINT>()); |
952 | 42.1k | case PrimitiveType::TYPE_LARGEINT: |
953 | 42.1k | return CastToString::from_number(get<TYPE_LARGEINT>()); |
954 | 0 | case PrimitiveType::TYPE_FLOAT: |
955 | 0 | return CastToString::from_number(get<TYPE_FLOAT>()); |
956 | 0 | case PrimitiveType::TYPE_DOUBLE: |
957 | 0 | return CastToString::from_number(get<TYPE_DOUBLE>()); |
958 | 0 | case PrimitiveType::TYPE_STRING: |
959 | 2.32k | case PrimitiveType::TYPE_CHAR: |
960 | 13.1M | case PrimitiveType::TYPE_VARCHAR: |
961 | 13.1M | return get<TYPE_STRING>(); |
962 | 0 | case PrimitiveType::TYPE_VARBINARY: |
963 | 0 | return get<TYPE_VARBINARY>(); |
964 | 4.63k | case PrimitiveType::TYPE_DATE: |
965 | 4.63k | return CastToString::from_date_or_datetime(get<TYPE_DATE>()); |
966 | 34 | case PrimitiveType::TYPE_DATETIME: |
967 | 34 | return CastToString::from_date_or_datetime(get<TYPE_DATETIME>()); |
968 | 864k | case PrimitiveType::TYPE_DATEV2: |
969 | 864k | return CastToString::from_datev2(get<TYPE_DATEV2>()); |
970 | 10.5k | case PrimitiveType::TYPE_DATETIMEV2: |
971 | 10.5k | return CastToString::from_datetimev2(get<TYPE_DATETIMEV2>(), scale); |
972 | 262 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
973 | 262 | return get<TYPE_TIMESTAMP_NS>().to_string(); |
974 | 16.5k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
975 | 16.5k | return CastToString::from_timestamptz(get<TYPE_TIMESTAMPTZ>(), scale); |
976 | 37 | case PrimitiveType::TYPE_DECIMALV2: |
977 | 37 | return get<TYPE_DECIMALV2>().to_string(); |
978 | 1.61k | case PrimitiveType::TYPE_DECIMAL32: |
979 | 1.61k | return CastToString::from_decimal(get<TYPE_DECIMAL32>(), scale); |
980 | 3.03k | case PrimitiveType::TYPE_DECIMAL64: |
981 | 3.03k | return CastToString::from_decimal(get<TYPE_DECIMAL64>(), scale); |
982 | 3.30k | case PrimitiveType::TYPE_DECIMAL128I: |
983 | 3.30k | return CastToString::from_decimal(get<TYPE_DECIMAL128I>(), scale); |
984 | 2.98k | case PrimitiveType::TYPE_DECIMAL256: |
985 | 2.98k | return CastToString::from_decimal(get<TYPE_DECIMAL256>(), scale); |
986 | 0 | case PrimitiveType::TYPE_IPV4: |
987 | 0 | return CastToString::from_ip(get<TYPE_IPV4>()); |
988 | 4 | case PrimitiveType::TYPE_IPV6: |
989 | 4 | return CastToString::from_ip(get<TYPE_IPV6>()); |
990 | 0 | default: |
991 | 0 | throw Exception(Status::FatalError("type not supported for to_debug_string, type={}", |
992 | 0 | get_type_name())); |
993 | 0 | __builtin_unreachable(); |
994 | 16.4M | } |
995 | 16.4M | } |
996 | | |
997 | | #define DECLARE_FUNCTION(FUNC_NAME) \ |
998 | | template void Field::FUNC_NAME<TYPE_NULL>(typename PrimitiveTypeTraits<TYPE_NULL>::CppType && \ |
999 | | rhs); \ |
1000 | | template void Field::FUNC_NAME<TYPE_TINYINT>( \ |
1001 | | typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType && rhs); \ |
1002 | | template void Field::FUNC_NAME<TYPE_SMALLINT>( \ |
1003 | | typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType && rhs); \ |
1004 | | template void Field::FUNC_NAME<TYPE_INT>(typename PrimitiveTypeTraits<TYPE_INT>::CppType && \ |
1005 | | rhs); \ |
1006 | | template void Field::FUNC_NAME<TYPE_BIGINT>( \ |
1007 | | typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType && rhs); \ |
1008 | | template void Field::FUNC_NAME<TYPE_LARGEINT>( \ |
1009 | | typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType && rhs); \ |
1010 | | template void Field::FUNC_NAME<TYPE_DATE>(typename PrimitiveTypeTraits<TYPE_DATE>::CppType && \ |
1011 | | rhs); \ |
1012 | | template void Field::FUNC_NAME<TYPE_DATETIME>( \ |
1013 | | typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType && rhs); \ |
1014 | | template void Field::FUNC_NAME<TYPE_DATEV2>( \ |
1015 | | typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType && rhs); \ |
1016 | | template void Field::FUNC_NAME<TYPE_DATETIMEV2>( \ |
1017 | | typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType && rhs); \ |
1018 | | template void Field::FUNC_NAME<TYPE_TIMESTAMP_NS>( \ |
1019 | | typename PrimitiveTypeTraits<TYPE_TIMESTAMP_NS>::CppType && rhs); \ |
1020 | | template void Field::FUNC_NAME<TYPE_DECIMAL32>( \ |
1021 | | typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType && rhs); \ |
1022 | | template void Field::FUNC_NAME<TYPE_DECIMAL64>( \ |
1023 | | typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType && rhs); \ |
1024 | | template void Field::FUNC_NAME<TYPE_DECIMALV2>( \ |
1025 | | typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType && rhs); \ |
1026 | | template void Field::FUNC_NAME<TYPE_DECIMAL128I>( \ |
1027 | | typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType && rhs); \ |
1028 | | template void Field::FUNC_NAME<TYPE_DECIMAL256>( \ |
1029 | | typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType && rhs); \ |
1030 | | template void Field::FUNC_NAME<TYPE_CHAR>(typename PrimitiveTypeTraits<TYPE_CHAR>::CppType && \ |
1031 | | rhs); \ |
1032 | | template void Field::FUNC_NAME<TYPE_VARCHAR>( \ |
1033 | | typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType && rhs); \ |
1034 | | template void Field::FUNC_NAME<TYPE_STRING>( \ |
1035 | | typename PrimitiveTypeTraits<TYPE_STRING>::CppType && rhs); \ |
1036 | | template void Field::FUNC_NAME<TYPE_VARBINARY>( \ |
1037 | | typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType && rhs); \ |
1038 | | template void Field::FUNC_NAME<TYPE_HLL>(typename PrimitiveTypeTraits<TYPE_HLL>::CppType && \ |
1039 | | rhs); \ |
1040 | | template void Field::FUNC_NAME<TYPE_VARIANT>( \ |
1041 | | typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType && rhs); \ |
1042 | | template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>( \ |
1043 | | typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType && rhs); \ |
1044 | | template void Field::FUNC_NAME<TYPE_ARRAY>( \ |
1045 | | typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType && rhs); \ |
1046 | | template void Field::FUNC_NAME<TYPE_NULL>( \ |
1047 | | const typename PrimitiveTypeTraits<TYPE_NULL>::CppType& rhs); \ |
1048 | | template void Field::FUNC_NAME<TYPE_TINYINT>( \ |
1049 | | const typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType& rhs); \ |
1050 | | template void Field::FUNC_NAME<TYPE_SMALLINT>( \ |
1051 | | const typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType& rhs); \ |
1052 | | template void Field::FUNC_NAME<TYPE_INT>( \ |
1053 | | const typename PrimitiveTypeTraits<TYPE_INT>::CppType& rhs); \ |
1054 | | template void Field::FUNC_NAME<TYPE_BIGINT>( \ |
1055 | | const typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType& rhs); \ |
1056 | | template void Field::FUNC_NAME<TYPE_LARGEINT>( \ |
1057 | | const typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType& rhs); \ |
1058 | | template void Field::FUNC_NAME<TYPE_DATE>( \ |
1059 | | const typename PrimitiveTypeTraits<TYPE_DATE>::CppType& rhs); \ |
1060 | | template void Field::FUNC_NAME<TYPE_DATETIME>( \ |
1061 | | const typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType& rhs); \ |
1062 | | template void Field::FUNC_NAME<TYPE_DATEV2>( \ |
1063 | | const typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType& rhs); \ |
1064 | | template void Field::FUNC_NAME<TYPE_DATETIMEV2>( \ |
1065 | | const typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType& rhs); \ |
1066 | | template void Field::FUNC_NAME<TYPE_TIMESTAMP_NS>( \ |
1067 | | const typename PrimitiveTypeTraits<TYPE_TIMESTAMP_NS>::CppType& rhs); \ |
1068 | | template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>( \ |
1069 | | const typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType& rhs); \ |
1070 | | template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>( \ |
1071 | | typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType && rhs); \ |
1072 | | template void Field::FUNC_NAME<TYPE_DECIMAL32>( \ |
1073 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType& rhs); \ |
1074 | | template void Field::FUNC_NAME<TYPE_DECIMAL64>( \ |
1075 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType& rhs); \ |
1076 | | template void Field::FUNC_NAME<TYPE_DECIMALV2>( \ |
1077 | | const typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType& rhs); \ |
1078 | | template void Field::FUNC_NAME<TYPE_DECIMAL128I>( \ |
1079 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType& rhs); \ |
1080 | | template void Field::FUNC_NAME<TYPE_DECIMAL256>( \ |
1081 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType& rhs); \ |
1082 | | template void Field::FUNC_NAME<TYPE_CHAR>( \ |
1083 | | const typename PrimitiveTypeTraits<TYPE_CHAR>::CppType& rhs); \ |
1084 | | template void Field::FUNC_NAME<TYPE_VARCHAR>( \ |
1085 | | const typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType& rhs); \ |
1086 | | template void Field::FUNC_NAME<TYPE_STRING>( \ |
1087 | | const typename PrimitiveTypeTraits<TYPE_STRING>::CppType& rhs); \ |
1088 | | template void Field::FUNC_NAME<TYPE_VARBINARY>( \ |
1089 | | const typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType& rhs); \ |
1090 | | template void Field::FUNC_NAME<TYPE_HLL>( \ |
1091 | | const typename PrimitiveTypeTraits<TYPE_HLL>::CppType& rhs); \ |
1092 | | template void Field::FUNC_NAME<TYPE_VARIANT>( \ |
1093 | | const typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType& rhs); \ |
1094 | | template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>( \ |
1095 | | const typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType& rhs); \ |
1096 | | template void Field::FUNC_NAME<TYPE_ARRAY>( \ |
1097 | | const typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType& rhs); \ |
1098 | | template void Field::FUNC_NAME<TYPE_IPV4>(typename PrimitiveTypeTraits<TYPE_IPV4>::CppType && \ |
1099 | | rhs); \ |
1100 | | template void Field::FUNC_NAME<TYPE_IPV4>( \ |
1101 | | const typename PrimitiveTypeTraits<TYPE_IPV4>::CppType& rhs); \ |
1102 | | template void Field::FUNC_NAME<TYPE_IPV6>(typename PrimitiveTypeTraits<TYPE_IPV6>::CppType && \ |
1103 | | rhs); \ |
1104 | | template void Field::FUNC_NAME<TYPE_IPV6>( \ |
1105 | | const typename PrimitiveTypeTraits<TYPE_IPV6>::CppType& rhs); \ |
1106 | | template void Field::FUNC_NAME<TYPE_BOOLEAN>( \ |
1107 | | typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType && rhs); \ |
1108 | | template void Field::FUNC_NAME<TYPE_BOOLEAN>( \ |
1109 | | const typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType& rhs); \ |
1110 | | template void Field::FUNC_NAME<TYPE_FLOAT>( \ |
1111 | | typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType && rhs); \ |
1112 | | template void Field::FUNC_NAME<TYPE_FLOAT>( \ |
1113 | | const typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType& rhs); \ |
1114 | | template void Field::FUNC_NAME<TYPE_DOUBLE>( \ |
1115 | | typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType && rhs); \ |
1116 | | template void Field::FUNC_NAME<TYPE_DOUBLE>( \ |
1117 | | const typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType& rhs); \ |
1118 | | template void Field::FUNC_NAME<TYPE_JSONB>( \ |
1119 | | typename PrimitiveTypeTraits<TYPE_JSONB>::CppType && rhs); \ |
1120 | | template void Field::FUNC_NAME<TYPE_JSONB>( \ |
1121 | | const typename PrimitiveTypeTraits<TYPE_JSONB>::CppType& rhs); \ |
1122 | | template void Field::FUNC_NAME<TYPE_STRUCT>( \ |
1123 | | typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType && rhs); \ |
1124 | | template void Field::FUNC_NAME<TYPE_STRUCT>( \ |
1125 | | const typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType& rhs); \ |
1126 | | template void Field::FUNC_NAME<TYPE_MAP>(typename PrimitiveTypeTraits<TYPE_MAP>::CppType && \ |
1127 | | rhs); \ |
1128 | | template void Field::FUNC_NAME<TYPE_MAP>( \ |
1129 | | const typename PrimitiveTypeTraits<TYPE_MAP>::CppType& rhs); \ |
1130 | | template void Field::FUNC_NAME<TYPE_BITMAP>( \ |
1131 | | typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType && rhs); \ |
1132 | | template void Field::FUNC_NAME<TYPE_BITMAP>( \ |
1133 | | const typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType& rhs); \ |
1134 | | template void Field::FUNC_NAME<TYPE_TIMEV2>( \ |
1135 | | const typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType& rhs); \ |
1136 | | template void Field::FUNC_NAME<TYPE_TIMEV2>( \ |
1137 | | typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType && rhs); \ |
1138 | | template void Field::FUNC_NAME<TYPE_UINT32>( \ |
1139 | | const typename PrimitiveTypeTraits<TYPE_UINT32>::CppType& rhs); \ |
1140 | | template void Field::FUNC_NAME<TYPE_UINT32>( \ |
1141 | | typename PrimitiveTypeTraits<TYPE_UINT32>::CppType && rhs); \ |
1142 | | template void Field::FUNC_NAME<TYPE_UINT64>( \ |
1143 | | const typename PrimitiveTypeTraits<TYPE_UINT64>::CppType& rhs); \ |
1144 | | template void Field::FUNC_NAME<TYPE_UINT64>( \ |
1145 | | typename PrimitiveTypeTraits<TYPE_UINT64>::CppType && rhs); |
1146 | | DECLARE_FUNCTION(create_concrete) |
1147 | | DECLARE_FUNCTION(assign_concrete) |
1148 | | #undef DECLARE_FUNCTION |
1149 | | |
1150 | | #define DECLARE_FUNCTION(TYPE_NAME) \ |
1151 | | template typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>(); \ |
1152 | | template const typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>() \ |
1153 | | const; \ |
1154 | | template void Field::destroy<TYPE_NAME>(); |
1155 | | DECLARE_FUNCTION(TYPE_NULL) |
1156 | | DECLARE_FUNCTION(TYPE_TINYINT) |
1157 | | DECLARE_FUNCTION(TYPE_SMALLINT) |
1158 | | DECLARE_FUNCTION(TYPE_INT) |
1159 | | DECLARE_FUNCTION(TYPE_BIGINT) |
1160 | | DECLARE_FUNCTION(TYPE_LARGEINT) |
1161 | | DECLARE_FUNCTION(TYPE_DATE) |
1162 | | DECLARE_FUNCTION(TYPE_DATETIME) |
1163 | | DECLARE_FUNCTION(TYPE_DATEV2) |
1164 | | DECLARE_FUNCTION(TYPE_DATETIMEV2) |
1165 | | DECLARE_FUNCTION(TYPE_TIMESTAMP_NS) |
1166 | | DECLARE_FUNCTION(TYPE_TIMESTAMPTZ) |
1167 | | DECLARE_FUNCTION(TYPE_DECIMAL32) |
1168 | | DECLARE_FUNCTION(TYPE_DECIMAL64) |
1169 | | DECLARE_FUNCTION(TYPE_DECIMALV2) |
1170 | | DECLARE_FUNCTION(TYPE_DECIMAL128I) |
1171 | | DECLARE_FUNCTION(TYPE_DECIMAL256) |
1172 | | DECLARE_FUNCTION(TYPE_CHAR) |
1173 | | DECLARE_FUNCTION(TYPE_VARCHAR) |
1174 | | DECLARE_FUNCTION(TYPE_STRING) |
1175 | | DECLARE_FUNCTION(TYPE_VARBINARY) |
1176 | | DECLARE_FUNCTION(TYPE_HLL) |
1177 | | DECLARE_FUNCTION(TYPE_VARIANT) |
1178 | | DECLARE_FUNCTION(TYPE_QUANTILE_STATE) |
1179 | | DECLARE_FUNCTION(TYPE_ARRAY) |
1180 | | DECLARE_FUNCTION(TYPE_IPV4) |
1181 | | DECLARE_FUNCTION(TYPE_IPV6) |
1182 | | DECLARE_FUNCTION(TYPE_BOOLEAN) |
1183 | | DECLARE_FUNCTION(TYPE_FLOAT) |
1184 | | DECLARE_FUNCTION(TYPE_DOUBLE) |
1185 | | DECLARE_FUNCTION(TYPE_JSONB) |
1186 | | DECLARE_FUNCTION(TYPE_STRUCT) |
1187 | | DECLARE_FUNCTION(TYPE_MAP) |
1188 | | DECLARE_FUNCTION(TYPE_BITMAP) |
1189 | | DECLARE_FUNCTION(TYPE_TIMEV2) |
1190 | | DECLARE_FUNCTION(TYPE_UINT32) |
1191 | | DECLARE_FUNCTION(TYPE_UINT64) |
1192 | | #undef DECLARE_FUNCTION |
1193 | | } // namespace doris |