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 | 6.97k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
53 | 6.97k | using Comparator = DecimalComparison<T, T, LessOp>; |
54 | 6.97k | return Comparator::compare(x, y, x_scale, y_scale); |
55 | 6.97k | } _ZN5doris8dec_lessILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 52 | 20 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 53 | 20 | using Comparator = DecimalComparison<T, T, LessOp>; | 54 | 20 | return Comparator::compare(x, y, x_scale, y_scale); | 55 | 20 | } |
_ZN5doris8dec_lessILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 52 | 6 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 53 | 6 | using Comparator = DecimalComparison<T, T, LessOp>; | 54 | 6 | return Comparator::compare(x, y, x_scale, y_scale); | 55 | 6 | } |
Unexecuted instantiation: _ZN5doris8dec_lessILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj _ZN5doris8dec_lessILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 52 | 1.94k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 53 | 1.94k | using Comparator = DecimalComparison<T, T, LessOp>; | 54 | 1.94k | return Comparator::compare(x, y, x_scale, y_scale); | 55 | 1.94k | } |
_ZN5doris8dec_lessILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 52 | 5.00k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 53 | 5.00k | using Comparator = DecimalComparison<T, T, LessOp>; | 54 | 5.00k | return Comparator::compare(x, y, x_scale, y_scale); | 55 | 5.00k | } |
|
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 | 1.97k | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
71 | 1.97k | return dec_less<PTYPE>(x, y, xs, ys); \ |
72 | 1.97k | } \ _ZN5doris12decimal_lessINS_7DecimalIiEEEEbT_S3_jj Line | Count | Source | 70 | 20 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 71 | 20 | return dec_less<PTYPE>(x, y, xs, ys); \ | 72 | 20 | } \ |
_ZN5doris12decimal_lessINS_7DecimalIlEEEEbT_S3_jj Line | Count | Source | 70 | 6 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 71 | 6 | return dec_less<PTYPE>(x, y, xs, ys); \ | 72 | 6 | } \ |
Unexecuted instantiation: _ZN5doris12decimal_lessINS_14DecimalV2ValueEEEbT_S2_jj _ZN5doris12decimal_lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj Line | Count | Source | 70 | 1.94k | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 71 | 1.94k | return dec_less<PTYPE>(x, y, xs, ys); \ | 72 | 1.94k | } \ |
|
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 | 5.00k | bool decimal_less(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
89 | 5.00k | return dec_less<TYPE_DECIMAL128I>(x, y, xs, ys); |
90 | 5.00k | } |
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 | 342 | explicit OwnedBinaryField(const StringView& value) { |
105 | | // Inline views already own their bytes; preserve their allocation-free representation. |
106 | 342 | if (value.isInline()) { |
107 | 256 | view = value; |
108 | 256 | return; |
109 | 256 | } |
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 | 86 | bytes = static_cast<char*>(Allocator<false> {}.alloc(value.size())); |
113 | 86 | byte_size = value.size(); |
114 | 86 | memcpy(bytes, value.data(), value.size()); |
115 | 86 | view = StringView(bytes, value.size()); |
116 | 86 | } |
117 | | OwnedBinaryField(const OwnedBinaryField&) = delete; |
118 | | OwnedBinaryField& operator=(const OwnedBinaryField&) = delete; |
119 | 28 | OwnedBinaryField& operator=(OwnedBinaryField&& other) noexcept { |
120 | 28 | release_bytes(); |
121 | 28 | view = other.view; |
122 | 28 | bytes = std::exchange(other.bytes, nullptr); |
123 | 28 | byte_size = std::exchange(other.byte_size, 0); |
124 | 28 | return *this; |
125 | 28 | } |
126 | 334 | ~OwnedBinaryField() { release_bytes(); } |
127 | | |
128 | | private: |
129 | 362 | void release_bytes() const { |
130 | 362 | if (bytes != nullptr) { |
131 | | // Field::get() exposes a mutable view; release the original allocation size. |
132 | 78 | Allocator<false> {}.free(bytes, byte_size); |
133 | 78 | } |
134 | 362 | } |
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 | 189M | 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 | 189M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; |
148 | 189M | if constexpr (Type == TYPE_VARBINARY) { |
149 | 178 | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); |
150 | 178 | new (&storage) OwnedBinaryField(x); |
151 | 189M | } else { |
152 | 189M | new (&storage) StorageType(std::move(x)); |
153 | 189M | } |
154 | 189M | type = Type; |
155 | 189M | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); |
156 | 189M | } _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 153k | 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 | 153k | 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 | 153k | } else { | 152 | 153k | new (&storage) StorageType(std::move(x)); | 153 | 153k | } | 154 | 153k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 153k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 9.49M | 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.49M | 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.49M | } else { | 152 | 9.49M | new (&storage) StorageType(std::move(x)); | 153 | 9.49M | } | 154 | 9.49M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 9.49M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 275k | 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 | 275k | 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 | 275k | } else { | 152 | 275k | new (&storage) StorageType(std::move(x)); | 153 | 275k | } | 154 | 275k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 275k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 53.0M | 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 | 53.0M | 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 | 53.0M | } else { | 152 | 53.0M | new (&storage) StorageType(std::move(x)); | 153 | 53.0M | } | 154 | 53.0M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 53.0M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 31.8M | 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 | 31.8M | 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 | 31.8M | } else { | 152 | 31.8M | new (&storage) StorageType(std::move(x)); | 153 | 31.8M | } | 154 | 31.8M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 31.8M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 337k | 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 | 337k | 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 | 337k | } else { | 152 | 337k | new (&storage) StorageType(std::move(x)); | 153 | 337k | } | 154 | 337k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 337k | } |
_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 | 37.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 | 37.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 | 37.9k | } else { | 152 | 37.9k | new (&storage) StorageType(std::move(x)); | 153 | 37.9k | } | 154 | 37.9k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 37.9k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 749k | 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 | 749k | 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 | 749k | } else { | 152 | 749k | new (&storage) StorageType(std::move(x)); | 153 | 749k | } | 154 | 749k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 749k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 676k | 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 | 676k | 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 | 676k | } else { | 152 | 676k | new (&storage) StorageType(std::move(x)); | 153 | 676k | } | 154 | 676k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 676k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE43EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 6.68k | 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 | 6.68k | 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 | 6.68k | } else { | 152 | 6.68k | new (&storage) StorageType(std::move(x)); | 153 | 6.68k | } | 154 | 6.68k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 6.68k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 117k | 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 | 117k | 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 | 117k | } else { | 152 | 117k | new (&storage) StorageType(std::move(x)); | 153 | 117k | } | 154 | 117k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 117k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 27.2M | 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.2M | 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.2M | } else { | 152 | 27.2M | new (&storage) StorageType(std::move(x)); | 153 | 27.2M | } | 154 | 27.2M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 27.2M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 35.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 | 35.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 | 35.2k | } else { | 152 | 35.2k | new (&storage) StorageType(std::move(x)); | 153 | 35.2k | } | 154 | 35.2k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 35.2k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 205k | 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 | 205k | 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 | 205k | } else { | 152 | 205k | new (&storage) StorageType(std::move(x)); | 153 | 205k | } | 154 | 205k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 205k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 90.3k | 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 | 90.3k | 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 | 90.3k | } else { | 152 | 90.3k | new (&storage) StorageType(std::move(x)); | 153 | 90.3k | } | 154 | 90.3k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 90.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 146k | 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 | 146k | 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 | 146k | } else { | 152 | 146k | new (&storage) StorageType(std::move(x)); | 153 | 146k | } | 154 | 146k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 146k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 2.13M | 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.13M | 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.13M | } else { | 152 | 2.13M | new (&storage) StorageType(std::move(x)); | 153 | 2.13M | } | 154 | 2.13M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 2.13M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 5.41M | 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 | 5.41M | 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 | 5.41M | } else { | 152 | 5.41M | new (&storage) StorageType(std::move(x)); | 153 | 5.41M | } | 154 | 5.41M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 5.41M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 178 | 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 | 178 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 148 | 178 | if constexpr (Type == TYPE_VARBINARY) { | 149 | 178 | static_assert(sizeof(OwnedBinaryField) <= sizeof(storage)); | 150 | 178 | new (&storage) OwnedBinaryField(x); | 151 | | } else { | 152 | | new (&storage) StorageType(std::move(x)); | 153 | | } | 154 | 178 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 178 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 28 | 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 | 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 | } else { | 152 | 28 | new (&storage) StorageType(std::move(x)); | 153 | 28 | } | 154 | 28 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 28 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 13.4k | 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.4k | 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.4k | } else { | 152 | 13.4k | new (&storage) StorageType(std::move(x)); | 153 | 13.4k | } | 154 | 13.4k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 13.4k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 24 | 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 | 24 | 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 | 24 | } else { | 152 | 24 | new (&storage) StorageType(std::move(x)); | 153 | 24 | } | 154 | 24 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 24 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 257k | 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 | 257k | 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 | 257k | } else { | 152 | 257k | new (&storage) StorageType(std::move(x)); | 153 | 257k | } | 154 | 257k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 257k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 70.8k | 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 | 70.8k | 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 | 70.8k | } else { | 152 | 70.8k | new (&storage) StorageType(std::move(x)); | 153 | 70.8k | } | 154 | 70.8k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 70.8k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 77.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 | 77.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 | 77.6k | } else { | 152 | 77.6k | new (&storage) StorageType(std::move(x)); | 153 | 77.6k | } | 154 | 77.6k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 77.6k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 53.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 | 53.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 | 53.2k | } else { | 152 | 53.2k | new (&storage) StorageType(std::move(x)); | 153 | 53.2k | } | 154 | 53.2k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 53.2k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 56.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 | 56.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 | 56.7M | } else { | 152 | 56.7M | new (&storage) StorageType(std::move(x)); | 153 | 56.7M | } | 154 | 56.7M | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 56.7M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvONS_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_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 208k | 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 | 208k | 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 | 208k | } else { | 152 | 208k | new (&storage) StorageType(std::move(x)); | 153 | 208k | } | 154 | 208k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 208k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 175k | 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 | 175k | 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 | 175k | } else { | 152 | 175k | new (&storage) StorageType(std::move(x)); | 153 | 175k | } | 154 | 175k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 175k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 13.3k | 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.3k | 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.3k | } else { | 152 | 13.3k | new (&storage) StorageType(std::move(x)); | 153 | 13.3k | } | 154 | 13.3k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 13.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 26.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 | 26.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 | 26.2k | } else { | 152 | 26.2k | new (&storage) StorageType(std::move(x)); | 153 | 26.2k | } | 154 | 26.2k | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 26.2k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 137 | 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 | 137 | 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 | 137 | } else { | 152 | 137 | new (&storage) StorageType(std::move(x)); | 153 | 137 | } | 154 | 137 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 137 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 227 | 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 | 227 | 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 | 227 | } else { | 152 | 227 | new (&storage) StorageType(std::move(x)); | 153 | 227 | } | 154 | 227 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 227 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 141 | 80 | 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 | 80 | 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 | 80 | } else { | 152 | 80 | new (&storage) StorageType(std::move(x)); | 153 | 80 | } | 154 | 80 | type = Type; | 155 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 156 | 80 | } |
|
157 | | |
158 | | template <PrimitiveType Type> |
159 | 474M | 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 | 474M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; |
166 | 474M | if constexpr (Type == TYPE_VARBINARY) { |
167 | 132 | new (&storage) OwnedBinaryField(x); |
168 | 474M | } else { |
169 | 474M | new (&storage) StorageType(x); |
170 | 474M | } |
171 | 474M | type = Type; |
172 | 474M | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); |
173 | 474M | } _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 77.8M | 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 | 77.8M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 77.8M | } else { | 169 | 77.8M | new (&storage) StorageType(x); | 170 | 77.8M | } | 171 | 77.8M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 77.8M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 9.00M | 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.00M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 9.00M | } else { | 169 | 9.00M | new (&storage) StorageType(x); | 170 | 9.00M | } | 171 | 9.00M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 9.00M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 7.97M | 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 | 7.97M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 7.97M | } else { | 169 | 7.97M | new (&storage) StorageType(x); | 170 | 7.97M | } | 171 | 7.97M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 7.97M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 52.6M | 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 | 52.6M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 52.6M | } else { | 169 | 52.6M | new (&storage) StorageType(x); | 170 | 52.6M | } | 171 | 52.6M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 52.6M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 10.8M | 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 | 10.8M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 10.8M | } else { | 169 | 10.8M | new (&storage) StorageType(x); | 170 | 10.8M | } | 171 | 10.8M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 10.8M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 6.36M | 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 | 6.36M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 6.36M | } else { | 169 | 6.36M | new (&storage) StorageType(x); | 170 | 6.36M | } | 171 | 6.36M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 6.36M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 6.78M | 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 | 6.78M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 6.78M | } else { | 169 | 6.78M | new (&storage) StorageType(x); | 170 | 6.78M | } | 171 | 6.78M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 6.78M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 6.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 | 6.67M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 6.67M | } else { | 169 | 6.67M | new (&storage) StorageType(x); | 170 | 6.67M | } | 171 | 6.67M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 6.67M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 8.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 | 8.40M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 8.40M | } else { | 169 | 8.40M | new (&storage) StorageType(x); | 170 | 8.40M | } | 171 | 8.40M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 8.40M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 8.22M | 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.22M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 8.22M | } else { | 169 | 8.22M | new (&storage) StorageType(x); | 170 | 8.22M | } | 171 | 8.22M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 8.22M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE43EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 8.18k | 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.18k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 8.18k | } else { | 169 | 8.18k | new (&storage) StorageType(x); | 170 | 8.18k | } | 171 | 8.18k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 8.18k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 51.2k | 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 | 51.2k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 51.2k | } else { | 169 | 51.2k | new (&storage) StorageType(x); | 170 | 51.2k | } | 171 | 51.2k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 51.2k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 7.20M | 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 | 7.20M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 7.20M | } else { | 169 | 7.20M | new (&storage) StorageType(x); | 170 | 7.20M | } | 171 | 7.20M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 7.20M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 7.23M | 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 | 7.23M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 7.23M | } else { | 169 | 7.23M | new (&storage) StorageType(x); | 170 | 7.23M | } | 171 | 7.23M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 7.23M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 18.2k | 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 | 18.2k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 18.2k | } else { | 169 | 18.2k | new (&storage) StorageType(x); | 170 | 18.2k | } | 171 | 18.2k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 18.2k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 7.03M | 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 | 7.03M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 7.03M | } else { | 169 | 7.03M | new (&storage) StorageType(x); | 170 | 7.03M | } | 171 | 7.03M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 7.03M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 7.41M | 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 | 7.41M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 7.41M | } else { | 169 | 7.41M | new (&storage) StorageType(x); | 170 | 7.41M | } | 171 | 7.41M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 7.41M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 4.39k | 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.39k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 4.39k | } else { | 169 | 4.39k | new (&storage) StorageType(x); | 170 | 4.39k | } | 171 | 4.39k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 4.39k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 8.05M | 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.05M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 8.05M | } else { | 169 | 8.05M | new (&storage) StorageType(x); | 170 | 8.05M | } | 171 | 8.05M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 8.05M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 1.55M | 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.55M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 1.55M | } else { | 169 | 1.55M | new (&storage) StorageType(x); | 170 | 1.55M | } | 171 | 1.55M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 1.55M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 132 | 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 | 132 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | 132 | if constexpr (Type == TYPE_VARBINARY) { | 167 | 132 | new (&storage) OwnedBinaryField(x); | 168 | | } else { | 169 | | new (&storage) StorageType(x); | 170 | | } | 171 | 132 | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 132 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 808 | 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 | 808 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 808 | } else { | 169 | 808 | new (&storage) StorageType(x); | 170 | 808 | } | 171 | 808 | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 808 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 44.7k | 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 | 44.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 44.7k | } else { | 169 | 44.7k | new (&storage) StorageType(x); | 170 | 44.7k | } | 171 | 44.7k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 44.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 184M | 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 | 184M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 184M | } else { | 169 | 184M | new (&storage) StorageType(x); | 170 | 184M | } | 171 | 184M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 184M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 118k | 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 | 118k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 118k | } else { | 169 | 118k | new (&storage) StorageType(x); | 170 | 118k | } | 171 | 118k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 118k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 80.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 | 80.3k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 80.3k | } else { | 169 | 80.3k | new (&storage) StorageType(x); | 170 | 80.3k | } | 171 | 80.3k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 80.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 7.09M | 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 | 7.09M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 7.09M | } else { | 169 | 7.09M | new (&storage) StorageType(x); | 170 | 7.09M | } | 171 | 7.09M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 7.09M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 7.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 | 7.01M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 7.01M | } else { | 169 | 7.01M | new (&storage) StorageType(x); | 170 | 7.01M | } | 171 | 7.01M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 7.01M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 8.98M | 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.98M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 8.98M | } else { | 169 | 8.98M | new (&storage) StorageType(x); | 170 | 8.98M | } | 171 | 8.98M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 8.98M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 22 | 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 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 22 | } else { | 169 | 22 | new (&storage) StorageType(x); | 170 | 22 | } | 171 | 22 | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 22 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 6.09M | 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 | 6.09M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 6.09M | } else { | 169 | 6.09M | new (&storage) StorageType(x); | 170 | 6.09M | } | 171 | 6.09M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 6.09M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 26.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 | 26.4M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 26.4M | } else { | 169 | 26.4M | new (&storage) StorageType(x); | 170 | 26.4M | } | 171 | 26.4M | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 26.4M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 4.85k | 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.85k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 4.85k | } else { | 169 | 4.85k | new (&storage) StorageType(x); | 170 | 4.85k | } | 171 | 4.85k | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 4.85k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 159 | 220 | 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 | 220 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 166 | | if constexpr (Type == TYPE_VARBINARY) { | 167 | | new (&storage) OwnedBinaryField(x); | 168 | 220 | } else { | 169 | 220 | new (&storage) StorageType(x); | 170 | 220 | } | 171 | 220 | type = Type; | 172 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 173 | 220 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
174 | | |
175 | 62.6M | void Field::create(Field&& field) { |
176 | 62.6M | switch (field.type) { |
177 | 89.5k | case PrimitiveType::TYPE_NULL: |
178 | 89.5k | create_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>())); |
179 | 89.5k | return; |
180 | 371k | case PrimitiveType::TYPE_DATETIMEV2: |
181 | 371k | create_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>())); |
182 | 371k | return; |
183 | 5.61k | case PrimitiveType::TYPE_TIMESTAMP_NS: |
184 | 5.61k | create_concrete<TYPE_TIMESTAMP_NS>(std::move(field.template get<TYPE_TIMESTAMP_NS>())); |
185 | 5.61k | return; |
186 | 492k | case PrimitiveType::TYPE_DATEV2: |
187 | 492k | create_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>())); |
188 | 492k | return; |
189 | 37.7k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
190 | 37.7k | create_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>())); |
191 | 37.7k | return; |
192 | 31.7k | case PrimitiveType::TYPE_DATETIME: |
193 | 31.7k | create_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>())); |
194 | 31.7k | return; |
195 | 22.2k | case PrimitiveType::TYPE_DATE: |
196 | 22.2k | create_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>())); |
197 | 22.2k | return; |
198 | 82.7k | case PrimitiveType::TYPE_BOOLEAN: |
199 | 82.7k | create_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>())); |
200 | 82.7k | return; |
201 | 4.86M | case PrimitiveType::TYPE_TINYINT: |
202 | 4.86M | create_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>())); |
203 | 4.86M | return; |
204 | 160k | case PrimitiveType::TYPE_SMALLINT: |
205 | 160k | create_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>())); |
206 | 160k | return; |
207 | 50.3M | case PrimitiveType::TYPE_INT: |
208 | 50.3M | create_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>())); |
209 | 50.3M | return; |
210 | 2.26M | case PrimitiveType::TYPE_BIGINT: |
211 | 2.26M | create_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>())); |
212 | 2.26M | return; |
213 | 175k | case PrimitiveType::TYPE_LARGEINT: |
214 | 175k | create_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>())); |
215 | 175k | return; |
216 | 70.8k | case PrimitiveType::TYPE_IPV4: |
217 | 70.8k | create_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>())); |
218 | 70.8k | return; |
219 | 48.6k | case PrimitiveType::TYPE_IPV6: |
220 | 48.6k | create_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>())); |
221 | 48.6k | return; |
222 | 121k | case PrimitiveType::TYPE_FLOAT: |
223 | 121k | create_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>())); |
224 | 121k | return; |
225 | 225 | case PrimitiveType::TYPE_TIMEV2: |
226 | 225 | create_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>())); |
227 | 225 | return; |
228 | 124k | case PrimitiveType::TYPE_DOUBLE: |
229 | 124k | create_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>())); |
230 | 124k | return; |
231 | 1.69M | case PrimitiveType::TYPE_STRING: |
232 | 1.69M | create_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>())); |
233 | 1.69M | return; |
234 | 55.4k | case PrimitiveType::TYPE_CHAR: |
235 | 55.4k | create_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>())); |
236 | 55.4k | return; |
237 | 1.07M | case PrimitiveType::TYPE_VARCHAR: |
238 | 1.07M | create_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>())); |
239 | 1.07M | return; |
240 | 18 | case PrimitiveType::TYPE_JSONB: |
241 | 18 | create_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>())); |
242 | 18 | return; |
243 | 128k | case PrimitiveType::TYPE_ARRAY: |
244 | 128k | create_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>())); |
245 | 128k | return; |
246 | 6.91k | case PrimitiveType::TYPE_STRUCT: |
247 | 6.91k | create_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>())); |
248 | 6.91k | return; |
249 | 6.76k | case PrimitiveType::TYPE_MAP: |
250 | 6.76k | create_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>())); |
251 | 6.76k | return; |
252 | 69.9k | case PrimitiveType::TYPE_DECIMAL32: |
253 | 69.9k | create_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>())); |
254 | 69.9k | return; |
255 | 100k | case PrimitiveType::TYPE_DECIMAL64: |
256 | 100k | create_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>())); |
257 | 100k | return; |
258 | 13.4k | case PrimitiveType::TYPE_DECIMALV2: |
259 | 13.4k | create_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>())); |
260 | 13.4k | return; |
261 | 111k | case PrimitiveType::TYPE_DECIMAL128I: |
262 | 111k | create_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>())); |
263 | 111k | return; |
264 | 78.3k | case PrimitiveType::TYPE_DECIMAL256: |
265 | 78.3k | create_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>())); |
266 | 78.3k | return; |
267 | 6.71k | case PrimitiveType::TYPE_VARIANT: |
268 | 6.71k | create_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>())); |
269 | 6.71k | return; |
270 | 45 | case PrimitiveType::TYPE_BITMAP: |
271 | 45 | create_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>())); |
272 | 45 | return; |
273 | 8 | case PrimitiveType::TYPE_HLL: |
274 | 8 | create_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>())); |
275 | 8 | return; |
276 | 4 | case PrimitiveType::TYPE_QUANTILE_STATE: |
277 | 4 | create_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>())); |
278 | 4 | return; |
279 | 60 | case PrimitiveType::TYPE_VARBINARY: |
280 | 60 | create_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>())); |
281 | 60 | return; |
282 | 0 | default: |
283 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
284 | 62.6M | } |
285 | 62.6M | } |
286 | | |
287 | 412M | Field::Field(const Field& rhs) { |
288 | 412M | create(rhs); |
289 | 412M | } |
290 | | |
291 | 2.26M | Field::Field(Field&& rhs) { |
292 | 2.26M | create(std::move(rhs)); |
293 | 2.26M | } |
294 | | |
295 | 6.81M | Field& Field::operator=(const Field& rhs) { |
296 | 6.81M | if (this != &rhs) { |
297 | 6.81M | if (type != rhs.type) { |
298 | 5.13M | destroy(); |
299 | | // A failed allocation while changing types must leave a destructible Field. |
300 | 5.13M | type = TYPE_NULL; |
301 | 5.13M | create(rhs); |
302 | 5.13M | } else { |
303 | 1.68M | assign(rhs); /// This assigns string or vector without deallocation of existing buffer. |
304 | 1.68M | } |
305 | 6.81M | } |
306 | 6.81M | return *this; |
307 | 6.81M | } |
308 | | |
309 | 417M | void Field::create(const Field& field) { |
310 | 417M | switch (field.type) { |
311 | 77.8M | case PrimitiveType::TYPE_NULL: |
312 | 77.8M | create_concrete<TYPE_NULL>(field.template get<TYPE_NULL>()); |
313 | 77.8M | return; |
314 | 8.07M | case PrimitiveType::TYPE_DATETIMEV2: |
315 | 8.07M | create_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>()); |
316 | 8.07M | return; |
317 | 2.55k | case PrimitiveType::TYPE_TIMESTAMP_NS: |
318 | 2.55k | create_concrete<TYPE_TIMESTAMP_NS>(field.template get<TYPE_TIMESTAMP_NS>()); |
319 | 2.55k | return; |
320 | 7.78M | case PrimitiveType::TYPE_DATEV2: |
321 | 7.78M | create_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>()); |
322 | 7.78M | return; |
323 | 34.1k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
324 | 34.1k | create_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>()); |
325 | 34.1k | return; |
326 | 6.64M | case PrimitiveType::TYPE_DATETIME: |
327 | 6.64M | create_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>()); |
328 | 6.64M | return; |
329 | 6.76M | case PrimitiveType::TYPE_DATE: |
330 | 6.76M | create_concrete<TYPE_DATE>(field.template get<TYPE_DATE>()); |
331 | 6.76M | return; |
332 | 7.06M | case PrimitiveType::TYPE_BOOLEAN: |
333 | 7.06M | create_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>()); |
334 | 7.06M | return; |
335 | 8.54M | case PrimitiveType::TYPE_TINYINT: |
336 | 8.54M | create_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>()); |
337 | 8.54M | return; |
338 | 7.89M | case PrimitiveType::TYPE_SMALLINT: |
339 | 7.89M | create_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>()); |
340 | 7.89M | return; |
341 | 1.20M | case PrimitiveType::TYPE_INT: |
342 | 1.20M | create_concrete<TYPE_INT>(field.template get<TYPE_INT>()); |
343 | 1.20M | return; |
344 | 10.6M | case PrimitiveType::TYPE_BIGINT: |
345 | 10.6M | create_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>()); |
346 | 10.6M | return; |
347 | 6.30M | case PrimitiveType::TYPE_LARGEINT: |
348 | 6.30M | create_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>()); |
349 | 6.30M | return; |
350 | 52.5k | case PrimitiveType::TYPE_IPV4: |
351 | 52.5k | create_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>()); |
352 | 52.5k | return; |
353 | 34.3k | case PrimitiveType::TYPE_IPV6: |
354 | 34.3k | create_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>()); |
355 | 34.3k | return; |
356 | 6.94M | case PrimitiveType::TYPE_FLOAT: |
357 | 6.94M | create_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>()); |
358 | 6.94M | return; |
359 | 16 | case PrimitiveType::TYPE_TIMEV2: |
360 | 16 | create_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>()); |
361 | 16 | return; |
362 | 7.58M | case PrimitiveType::TYPE_DOUBLE: |
363 | 7.58M | create_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>()); |
364 | 7.58M | return; |
365 | 251k | case PrimitiveType::TYPE_STRING: |
366 | 251k | create_concrete<TYPE_STRING>(field.template get<TYPE_STRING>()); |
367 | 251k | return; |
368 | 3.13k | case PrimitiveType::TYPE_CHAR: |
369 | 3.13k | create_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>()); |
370 | 3.13k | return; |
371 | 7.74M | case PrimitiveType::TYPE_VARCHAR: |
372 | 7.74M | create_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>()); |
373 | 7.74M | return; |
374 | 14 | case PrimitiveType::TYPE_JSONB: |
375 | 14 | create_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>()); |
376 | 14 | return; |
377 | 184M | case PrimitiveType::TYPE_ARRAY: |
378 | 184M | create_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>()); |
379 | 184M | return; |
380 | 6.09M | case PrimitiveType::TYPE_STRUCT: |
381 | 6.09M | create_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>()); |
382 | 6.09M | return; |
383 | 26.4M | case PrimitiveType::TYPE_MAP: |
384 | 26.4M | create_concrete<TYPE_MAP>(field.template get<TYPE_MAP>()); |
385 | 26.4M | return; |
386 | 7.16M | case PrimitiveType::TYPE_DECIMAL32: |
387 | 7.16M | create_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>()); |
388 | 7.16M | return; |
389 | 7.18M | case PrimitiveType::TYPE_DECIMAL64: |
390 | 7.18M | create_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>()); |
391 | 7.18M | return; |
392 | 1.22k | case PrimitiveType::TYPE_DECIMALV2: |
393 | 1.22k | create_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>()); |
394 | 1.22k | return; |
395 | 6.98M | case PrimitiveType::TYPE_DECIMAL128I: |
396 | 6.98M | create_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>()); |
397 | 6.98M | return; |
398 | 7.33M | case PrimitiveType::TYPE_DECIMAL256: |
399 | 7.33M | create_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>()); |
400 | 7.33M | 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 | 30 | case PrimitiveType::TYPE_VARBINARY: |
420 | 30 | create_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>()); |
421 | 30 | return; |
422 | 0 | default: |
423 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
424 | 417M | } |
425 | 417M | } |
426 | | |
427 | 738M | void Field::destroy() { |
428 | 738M | switch (type) { |
429 | 6.96M | case PrimitiveType::TYPE_STRING: |
430 | 6.96M | destroy<TYPE_STRING>(); |
431 | 6.96M | break; |
432 | 150k | case PrimitiveType::TYPE_CHAR: |
433 | 150k | destroy<TYPE_CHAR>(); |
434 | 150k | break; |
435 | 10.2M | case PrimitiveType::TYPE_VARCHAR: |
436 | 10.2M | destroy<TYPE_VARCHAR>(); |
437 | 10.2M | break; |
438 | 175k | case PrimitiveType::TYPE_JSONB: |
439 | 175k | destroy<TYPE_JSONB>(); |
440 | 175k | break; |
441 | 185M | case PrimitiveType::TYPE_ARRAY: |
442 | 185M | destroy<TYPE_ARRAY>(); |
443 | 185M | break; |
444 | 6.11M | case PrimitiveType::TYPE_STRUCT: |
445 | 6.11M | destroy<TYPE_STRUCT>(); |
446 | 6.11M | break; |
447 | 26.5M | case PrimitiveType::TYPE_MAP: |
448 | 26.5M | destroy<TYPE_MAP>(); |
449 | 26.5M | break; |
450 | 13.4k | case PrimitiveType::TYPE_VARIANT: |
451 | 13.4k | destroy<TYPE_VARIANT>(); |
452 | 13.4k | break; |
453 | 4.99k | case PrimitiveType::TYPE_BITMAP: |
454 | 4.99k | destroy<TYPE_BITMAP>(); |
455 | 4.99k | break; |
456 | 836 | case PrimitiveType::TYPE_HLL: |
457 | 836 | destroy<TYPE_HLL>(); |
458 | 836 | break; |
459 | 44.7k | case PrimitiveType::TYPE_QUANTILE_STATE: |
460 | 44.7k | destroy<TYPE_QUANTILE_STATE>(); |
461 | 44.7k | break; |
462 | 306 | case PrimitiveType::TYPE_VARBINARY: |
463 | 306 | destroy<TYPE_VARBINARY>(); |
464 | 306 | break; |
465 | 502M | default: |
466 | 502M | break; |
467 | 738M | } |
468 | | |
469 | 738M | type = PrimitiveType:: |
470 | 738M | TYPE_NULL; /// for exception safety in subsequent calls to destroy and create, when create fails. |
471 | 738M | } |
472 | | |
473 | 3.30M | void Field::assign(Field&& field) { |
474 | 3.30M | switch (field.type) { |
475 | 245k | case PrimitiveType::TYPE_NULL: |
476 | 245k | assign_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>())); |
477 | 245k | return; |
478 | 67.2k | case PrimitiveType::TYPE_DATETIMEV2: |
479 | 67.2k | assign_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>())); |
480 | 67.2k | return; |
481 | 305 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
482 | 305 | assign_concrete<TYPE_TIMESTAMP_NS>(std::move(field.template get<TYPE_TIMESTAMP_NS>())); |
483 | 305 | return; |
484 | 1.41k | case PrimitiveType::TYPE_DATETIME: |
485 | 1.41k | assign_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>())); |
486 | 1.41k | return; |
487 | 1.01k | case PrimitiveType::TYPE_DATE: |
488 | 1.01k | assign_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>())); |
489 | 1.01k | return; |
490 | 60.9k | case PrimitiveType::TYPE_DATEV2: |
491 | 60.9k | assign_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>())); |
492 | 60.9k | return; |
493 | 7.29k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
494 | 7.29k | assign_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>())); |
495 | 7.29k | return; |
496 | 19.3k | case PrimitiveType::TYPE_BOOLEAN: |
497 | 19.3k | assign_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>())); |
498 | 19.3k | return; |
499 | 85.7k | case PrimitiveType::TYPE_TINYINT: |
500 | 85.7k | assign_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>())); |
501 | 85.7k | return; |
502 | 23.2k | case PrimitiveType::TYPE_SMALLINT: |
503 | 23.2k | assign_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>())); |
504 | 23.2k | return; |
505 | 1.61M | case PrimitiveType::TYPE_INT: |
506 | 1.61M | assign_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>())); |
507 | 1.61M | return; |
508 | 432k | case PrimitiveType::TYPE_BIGINT: |
509 | 432k | assign_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>())); |
510 | 432k | return; |
511 | 34.4k | case PrimitiveType::TYPE_LARGEINT: |
512 | 34.4k | assign_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>())); |
513 | 34.4k | return; |
514 | 1.30k | case PrimitiveType::TYPE_IPV4: |
515 | 1.30k | assign_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>())); |
516 | 1.30k | return; |
517 | 1.32k | case PrimitiveType::TYPE_IPV6: |
518 | 1.32k | assign_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>())); |
519 | 1.32k | return; |
520 | 15.0k | case PrimitiveType::TYPE_FLOAT: |
521 | 15.0k | assign_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>())); |
522 | 15.0k | 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.9k | case PrimitiveType::TYPE_DOUBLE: |
527 | 20.9k | assign_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>())); |
528 | 20.9k | return; |
529 | 179k | case PrimitiveType::TYPE_STRING: |
530 | 179k | assign_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>())); |
531 | 179k | return; |
532 | 35.6k | case PrimitiveType::TYPE_CHAR: |
533 | 35.6k | assign_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>())); |
534 | 35.6k | return; |
535 | 304k | case PrimitiveType::TYPE_VARCHAR: |
536 | 304k | assign_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>())); |
537 | 304k | return; |
538 | 87.9k | case PrimitiveType::TYPE_JSONB: |
539 | 87.9k | assign_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>())); |
540 | 87.9k | return; |
541 | 12 | case PrimitiveType::TYPE_ARRAY: |
542 | 12 | assign_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>())); |
543 | 12 | return; |
544 | 0 | case PrimitiveType::TYPE_STRUCT: |
545 | 0 | assign_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>())); |
546 | 0 | return; |
547 | 2 | case PrimitiveType::TYPE_MAP: |
548 | 2 | assign_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>())); |
549 | 2 | return; |
550 | 7.36k | case PrimitiveType::TYPE_DECIMAL32: |
551 | 7.36k | assign_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>())); |
552 | 7.36k | return; |
553 | 32.6k | case PrimitiveType::TYPE_DECIMAL64: |
554 | 32.6k | assign_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>())); |
555 | 32.6k | return; |
556 | 676 | case PrimitiveType::TYPE_DECIMALV2: |
557 | 676 | assign_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>())); |
558 | 676 | return; |
559 | 20.6k | case PrimitiveType::TYPE_DECIMAL128I: |
560 | 20.6k | assign_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>())); |
561 | 20.6k | return; |
562 | 1.42k | case PrimitiveType::TYPE_DECIMAL256: |
563 | 1.42k | assign_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>())); |
564 | 1.42k | return; |
565 | 0 | case PrimitiveType::TYPE_VARIANT: |
566 | 0 | assign_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>())); |
567 | 0 | return; |
568 | 38 | case PrimitiveType::TYPE_BITMAP: |
569 | 38 | assign_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>())); |
570 | 38 | return; |
571 | 2 | case PrimitiveType::TYPE_HLL: |
572 | 2 | assign_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>())); |
573 | 2 | return; |
574 | 2 | case PrimitiveType::TYPE_QUANTILE_STATE: |
575 | 2 | assign_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>())); |
576 | 2 | return; |
577 | 18 | case PrimitiveType::TYPE_VARBINARY: |
578 | 18 | assign_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>())); |
579 | 18 | return; |
580 | 0 | default: |
581 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
582 | 3.30M | } |
583 | 3.30M | } |
584 | | |
585 | 1.68M | void Field::assign(const Field& field) { |
586 | 1.68M | switch (field.type) { |
587 | 231k | case PrimitiveType::TYPE_NULL: |
588 | 231k | assign_concrete<TYPE_NULL>(field.template get<TYPE_NULL>()); |
589 | 231k | return; |
590 | 66.0k | case PrimitiveType::TYPE_DATETIMEV2: |
591 | 66.0k | assign_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>()); |
592 | 66.0k | return; |
593 | 300 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
594 | 300 | assign_concrete<TYPE_TIMESTAMP_NS>(field.template get<TYPE_TIMESTAMP_NS>()); |
595 | 300 | return; |
596 | 1.08k | case PrimitiveType::TYPE_DATETIME: |
597 | 1.08k | assign_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>()); |
598 | 1.08k | return; |
599 | 958 | case PrimitiveType::TYPE_DATE: |
600 | 958 | assign_concrete<TYPE_DATE>(field.template get<TYPE_DATE>()); |
601 | 958 | return; |
602 | 56.2k | case PrimitiveType::TYPE_DATEV2: |
603 | 56.2k | assign_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>()); |
604 | 56.2k | return; |
605 | 7.28k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
606 | 7.28k | assign_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>()); |
607 | 7.28k | return; |
608 | 19.3k | case PrimitiveType::TYPE_BOOLEAN: |
609 | 19.3k | assign_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>()); |
610 | 19.3k | return; |
611 | 85.5k | case PrimitiveType::TYPE_TINYINT: |
612 | 85.5k | assign_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>()); |
613 | 85.5k | return; |
614 | 23.1k | case PrimitiveType::TYPE_SMALLINT: |
615 | 23.1k | assign_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>()); |
616 | 23.1k | return; |
617 | 212k | case PrimitiveType::TYPE_INT: |
618 | 212k | assign_concrete<TYPE_INT>(field.template get<TYPE_INT>()); |
619 | 212k | return; |
620 | 420k | case PrimitiveType::TYPE_BIGINT: |
621 | 420k | assign_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>()); |
622 | 420k | return; |
623 | 33.2k | case PrimitiveType::TYPE_LARGEINT: |
624 | 33.2k | assign_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>()); |
625 | 33.2k | return; |
626 | 1.30k | case PrimitiveType::TYPE_IPV4: |
627 | 1.30k | assign_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>()); |
628 | 1.30k | return; |
629 | 1.32k | case PrimitiveType::TYPE_IPV6: |
630 | 1.32k | assign_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>()); |
631 | 1.32k | return; |
632 | 14.4k | case PrimitiveType::TYPE_FLOAT: |
633 | 14.4k | assign_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>()); |
634 | 14.4k | return; |
635 | 0 | case PrimitiveType::TYPE_TIMEV2: |
636 | 0 | assign_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>()); |
637 | 0 | return; |
638 | 18.8k | case PrimitiveType::TYPE_DOUBLE: |
639 | 18.8k | assign_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>()); |
640 | 18.8k | return; |
641 | 126k | case PrimitiveType::TYPE_STRING: |
642 | 126k | assign_concrete<TYPE_STRING>(field.template get<TYPE_STRING>()); |
643 | 126k | return; |
644 | 26.9k | case PrimitiveType::TYPE_CHAR: |
645 | 26.9k | assign_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>()); |
646 | 26.9k | return; |
647 | 289k | case PrimitiveType::TYPE_VARCHAR: |
648 | 289k | assign_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>()); |
649 | 289k | return; |
650 | 2 | case PrimitiveType::TYPE_JSONB: |
651 | 2 | assign_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>()); |
652 | 2 | return; |
653 | 26 | case PrimitiveType::TYPE_ARRAY: |
654 | 26 | assign_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>()); |
655 | 26 | return; |
656 | 0 | case PrimitiveType::TYPE_STRUCT: |
657 | 0 | assign_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>()); |
658 | 0 | return; |
659 | 2 | case PrimitiveType::TYPE_MAP: |
660 | 2 | assign_concrete<TYPE_MAP>(field.template get<TYPE_MAP>()); |
661 | 2 | return; |
662 | 7.35k | case PrimitiveType::TYPE_DECIMAL32: |
663 | 7.35k | assign_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>()); |
664 | 7.35k | return; |
665 | 18.8k | case PrimitiveType::TYPE_DECIMAL64: |
666 | 18.8k | assign_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>()); |
667 | 18.8k | return; |
668 | 676 | case PrimitiveType::TYPE_DECIMALV2: |
669 | 676 | assign_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>()); |
670 | 676 | return; |
671 | 18.1k | case PrimitiveType::TYPE_DECIMAL128I: |
672 | 18.1k | assign_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>()); |
673 | 18.1k | return; |
674 | 1.42k | case PrimitiveType::TYPE_DECIMAL256: |
675 | 1.42k | assign_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>()); |
676 | 1.42k | return; |
677 | 0 | case PrimitiveType::TYPE_VARIANT: |
678 | 0 | assign_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>()); |
679 | 0 | return; |
680 | 4 | case PrimitiveType::TYPE_BITMAP: |
681 | 4 | assign_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>()); |
682 | 4 | return; |
683 | 2 | case PrimitiveType::TYPE_HLL: |
684 | 2 | assign_concrete<TYPE_HLL>(field.template get<TYPE_HLL>()); |
685 | 2 | return; |
686 | 2 | case PrimitiveType::TYPE_QUANTILE_STATE: |
687 | 2 | assign_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>()); |
688 | 2 | 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 | 14 | case PrimitiveType::TYPE_VARBINARY: |
696 | 14 | assign_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>()); |
697 | 14 | return; |
698 | 0 | default: |
699 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
700 | 1.68M | } |
701 | 1.68M | } |
702 | | |
703 | | /// Assuming same types. |
704 | | template <PrimitiveType Type> |
705 | 3.30M | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { |
706 | 3.30M | if constexpr (Type == TYPE_VARBINARY) { |
707 | 18 | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); |
708 | 18 | return; |
709 | 18 | } |
710 | 0 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); |
711 | 3.30M | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); |
712 | 3.30M | } _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 245k | 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 | 245k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 245k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 245k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 85.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 | 85.7k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 85.7k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 85.7k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 23.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 | 23.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 23.2k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 23.2k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1.61M | 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.61M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1.61M | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1.61M | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 432k | 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 | 432k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 432k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 432k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvONS_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_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1.01k | 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.01k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1.01k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1.01k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1.41k | 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.41k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1.41k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1.41k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 60.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 | 60.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 60.9k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 60.9k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 67.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 | 67.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 67.2k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 67.2k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE43EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 305 | 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 | 305 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 305 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 305 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 7.36k | 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.36k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 7.36k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 7.36k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 32.6k | 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 | 32.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 32.6k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 32.6k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 676 | 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 | 676 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 676 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 676 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 20.6k | 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.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 20.6k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 20.6k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1.42k | 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.42k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1.42k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1.42k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 35.6k | 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 | 35.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 35.6k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 35.6k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 304k | 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 | 304k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 304k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 304k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 179k | 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 | 179k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 179k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 179k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 18 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 706 | 18 | if constexpr (Type == TYPE_VARBINARY) { | 707 | 18 | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 708 | 18 | return; | 709 | 18 | } | 710 | 0 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 18 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 18 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 2 | 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 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 2 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 2 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 2 | 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 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 2 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 2 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 12 | 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 | 12 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 12 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 12 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 7.29k | 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.29k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 7.29k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 7.29k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1.30k | 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.30k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1.30k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1.30k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 1.32k | 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.32k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 1.32k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 1.32k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 19.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 | 19.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 19.3k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 19.3k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 15.0k | 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.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 15.0k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 15.0k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 20.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 | 20.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 20.9k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 20.9k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 87.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 | 87.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 87.9k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 87.9k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 2 | 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 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 2 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 2 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 705 | 38 | 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 | 38 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 711 | 38 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 712 | 38 | } |
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.68M | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { |
716 | 1.68M | if constexpr (Type == TYPE_VARBINARY) { |
717 | 14 | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); |
718 | 14 | return; |
719 | 14 | } |
720 | 0 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); |
721 | 1.68M | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); |
722 | 1.68M | } _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 231k | 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 | 231k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 231k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 231k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 85.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 | 85.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 85.5k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 85.5k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 23.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 | 23.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 23.1k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 23.1k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 212k | 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 | 212k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 212k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 212k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 420k | 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 | 420k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 420k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 420k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 33.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 | 33.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 33.2k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 33.2k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 958 | 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 | 958 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 958 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 958 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1.08k | 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.08k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1.08k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1.08k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 56.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 | 56.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 56.2k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 56.2k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 66.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 | 66.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 66.0k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 66.0k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE43EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 300 | 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 | 300 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 300 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 300 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 7.29k | 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.29k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 7.29k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 7.29k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 7.35k | 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.35k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 7.35k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 7.35k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 18.8k | 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.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 18.8k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 18.8k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 676 | 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 | 676 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 676 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 676 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvRKNS_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_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1.42k | 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.42k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1.42k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1.42k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 26.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 | 26.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 26.9k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 26.9k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 289k | 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 | 289k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 289k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 289k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 126k | 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 | 126k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 126k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 126k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 14 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 716 | 14 | if constexpr (Type == TYPE_VARBINARY) { | 717 | 14 | *reinterpret_cast<OwnedBinaryField*>(&storage) = OwnedBinaryField(x); | 718 | 14 | return; | 719 | 14 | } | 720 | 0 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 14 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 14 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvRKNS_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_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvRKNS_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 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 26 | 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 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 26 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 26 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1.30k | 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.30k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1.30k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1.30k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 1.32k | 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.32k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 1.32k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 1.32k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 19.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 | 19.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 19.3k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 19.3k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 14.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 | 14.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 14.4k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 14.4k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 18.8k | 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.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 18.8k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 18.8k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvRKNS_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_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvRKNS_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 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 715 | 4 | 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 | 4 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 721 | 4 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 722 | 4 | } |
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 | 202M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { |
730 | 202M | 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 | 202M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); |
735 | 202M | return *ptr; |
736 | 202M | } _ZN5doris5Field3getILNS_13PrimitiveTypeE1EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 335k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 335k | 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 | 335k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 335k | return *ptr; | 736 | 335k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE3EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 4.97M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 4.97M | 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.97M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 4.97M | return *ptr; | 736 | 4.97M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE4EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 188k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 188k | 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 | 188k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 188k | return *ptr; | 736 | 188k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE5EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 186M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 186M | 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 | 186M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 186M | return *ptr; | 736 | 186M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE6EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 2.75M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 2.75M | 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.75M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 2.75M | return *ptr; | 736 | 2.75M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE7EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 213k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 213k | 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 | 213k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 213k | return *ptr; | 736 | 213k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE11EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 23.3k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 23.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 | 23.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 23.3k | return *ptr; | 736 | 23.3k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE12EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 33.8k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 33.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 | 33.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 33.8k | return *ptr; | 736 | 33.8k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE25EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 565k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 565k | 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 | 565k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 565k | return *ptr; | 736 | 565k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE26EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 441k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 441k | 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 | 441k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 441k | return *ptr; | 736 | 441k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE43EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 6.18k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 6.18k | 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.18k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 6.18k | return *ptr; | 736 | 6.18k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE42EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 45.1k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 45.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 | 45.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 45.1k | return *ptr; | 736 | 45.1k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE28EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 79.4k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 79.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 | 79.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 79.4k | return *ptr; | 736 | 79.4k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE29EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 172k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 172k | 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 | 172k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 172k | return *ptr; | 736 | 172k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE20EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 19.6k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 19.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 | 19.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 19.6k | return *ptr; | 736 | 19.6k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE30EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 146k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 146k | 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 | 146k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 146k | return *ptr; | 736 | 146k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE35EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 83.0k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 83.0k | 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 | 83.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 83.0k | return *ptr; | 736 | 83.0k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE15EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 140k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 140k | 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 | 140k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 140k | return *ptr; | 736 | 140k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE10EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 1.73M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 1.73M | 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.73M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 1.73M | return *ptr; | 736 | 1.73M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE23EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 2.26M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 2.26M | 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.26M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 2.26M | return *ptr; | 736 | 2.26M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE41EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 162 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 162 | 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 | 162 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 162 | return *ptr; | 736 | 162 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE19EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 12 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 12 | 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 | 12 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 12 | return *ptr; | 736 | 12 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE32EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 6.78k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 6.78k | 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.78k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 6.78k | return *ptr; | 736 | 6.78k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE24EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 8 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 8 | 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 | 8 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 8 | return *ptr; | 736 | 8 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE17EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 364k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 364k | 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 | 364k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 364k | return *ptr; | 736 | 364k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE36EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 72.1k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 72.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 | 72.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 72.1k | return *ptr; | 736 | 72.1k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE37EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 50.0k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 50.0k | 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.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 50.0k | return *ptr; | 736 | 50.0k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE2EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 102k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 102k | 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 | 102k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 102k | return *ptr; | 736 | 102k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE8EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 138k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 138k | 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 | 138k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 138k | return *ptr; | 736 | 138k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE9EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 419k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 419k | 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 | 419k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 419k | return *ptr; | 736 | 419k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE31EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 131k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 131k | 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 | 131k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 131k | return *ptr; | 736 | 131k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE16EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 16.1k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 16.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 | 16.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 16.1k | return *ptr; | 736 | 16.1k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE18EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 31.0k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 31.0k | 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 | 31.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 31.0k | return *ptr; | 736 | 31.0k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE22EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 343 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 343 | 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 | 343 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 343 | return *ptr; | 736 | 343 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE27EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 729 | 233 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 730 | 233 | 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 | 233 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 735 | 233 | return *ptr; | 736 | 233 | } |
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE38EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE39EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv |
737 | | |
738 | | template <PrimitiveType T> |
739 | 679M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { |
740 | 679M | 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 | 679M | const auto* MAY_ALIAS ptr = |
745 | 679M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); |
746 | 679M | return *ptr; |
747 | 679M | } _ZNK5doris5Field3getILNS_13PrimitiveTypeE1EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 78.0M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 78.0M | 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 | 78.0M | const auto* MAY_ALIAS ptr = | 745 | 78.0M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 78.0M | return *ptr; | 747 | 78.0M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE3EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 15.8M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 15.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 | 15.8M | const auto* MAY_ALIAS ptr = | 745 | 15.8M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 15.8M | return *ptr; | 747 | 15.8M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE4EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 10.0M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 10.0M | 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.0M | const auto* MAY_ALIAS ptr = | 745 | 10.0M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 10.0M | return *ptr; | 747 | 10.0M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE5EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 12.1M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 12.1M | 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 | 12.1M | const auto* MAY_ALIAS ptr = | 745 | 12.1M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 12.1M | return *ptr; | 747 | 12.1M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE6EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 42.4M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 42.4M | 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 | 42.4M | const auto* MAY_ALIAS ptr = | 745 | 42.4M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 42.4M | return *ptr; | 747 | 42.4M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE7EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 8.53M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 8.53M | 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.53M | const auto* MAY_ALIAS ptr = | 745 | 8.53M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 8.53M | return *ptr; | 747 | 8.53M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE11EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 8.77M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 8.77M | 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.77M | const auto* MAY_ALIAS ptr = | 745 | 8.77M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 8.77M | return *ptr; | 747 | 8.77M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE12EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 8.65M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 8.65M | 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.65M | const auto* MAY_ALIAS ptr = | 745 | 8.65M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 8.65M | return *ptr; | 747 | 8.65M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE25EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 12.2M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 12.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 | 12.2M | const auto* MAY_ALIAS ptr = | 745 | 12.2M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 12.2M | return *ptr; | 747 | 12.2M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE26EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 10.4M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 10.4M | 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.4M | const auto* MAY_ALIAS ptr = | 745 | 10.4M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 10.4M | return *ptr; | 747 | 10.4M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE43EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 9.76k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 9.76k | 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.76k | const auto* MAY_ALIAS ptr = | 745 | 9.76k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 9.76k | return *ptr; | 747 | 9.76k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE42EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 129k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 129k | 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 | 129k | const auto* MAY_ALIAS ptr = | 745 | 129k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 129k | return *ptr; | 747 | 129k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE28EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 9.21M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 9.21M | 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.21M | const auto* MAY_ALIAS ptr = | 745 | 9.21M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 9.21M | return *ptr; | 747 | 9.21M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE29EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 36.3M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 36.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 | 36.3M | const auto* MAY_ALIAS ptr = | 745 | 36.3M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 36.3M | return *ptr; | 747 | 36.3M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE20EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 33.9k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 33.9k | 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 | 33.9k | const auto* MAY_ALIAS ptr = | 745 | 33.9k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 33.9k | return *ptr; | 747 | 33.9k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE30EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 9.07M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 9.07M | 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.07M | const auto* MAY_ALIAS ptr = | 745 | 9.07M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 9.07M | return *ptr; | 747 | 9.07M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE35EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 9.36M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 9.36M | 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.36M | const auto* MAY_ALIAS ptr = | 745 | 9.36M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 9.36M | return *ptr; | 747 | 9.36M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE15EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 41.3k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 41.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 | 41.3k | const auto* MAY_ALIAS ptr = | 745 | 41.3k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 41.3k | return *ptr; | 747 | 41.3k | } |
_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 | 29.7M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 29.7M | 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 | 29.7M | const auto* MAY_ALIAS ptr = | 745 | 29.7M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 29.7M | return *ptr; | 747 | 29.7M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE41EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 210 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 210 | 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 | 210 | const auto* MAY_ALIAS ptr = | 745 | 210 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 210 | return *ptr; | 747 | 210 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE19EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 16 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 16 | 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 | 16 | const auto* MAY_ALIAS ptr = | 745 | 16 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 16 | return *ptr; | 747 | 16 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE32EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 6.66k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 6.66k | 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.66k | const auto* MAY_ALIAS ptr = | 745 | 6.66k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 6.66k | return *ptr; | 747 | 6.66k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE24EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 40.0k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 40.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 | 40.0k | const auto* MAY_ALIAS ptr = | 745 | 40.0k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 40.0k | return *ptr; | 747 | 40.0k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE17EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 238M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 238M | 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 | 238M | const auto* MAY_ALIAS ptr = | 745 | 238M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 238M | return *ptr; | 747 | 238M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE36EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 59.6k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 59.6k | 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 | 59.6k | const auto* MAY_ALIAS ptr = | 745 | 59.6k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 59.6k | return *ptr; | 747 | 59.6k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE37EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 40.9k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 40.9k | 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.9k | const auto* MAY_ALIAS ptr = | 745 | 40.9k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 40.9k | return *ptr; | 747 | 40.9k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE2EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 65.7M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 65.7M | 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 | 65.7M | const auto* MAY_ALIAS ptr = | 745 | 65.7M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 65.7M | return *ptr; | 747 | 65.7M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE8EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 9.02M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 9.02M | 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.02M | const auto* MAY_ALIAS ptr = | 745 | 9.02M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 9.02M | return *ptr; | 747 | 9.02M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE9EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 10.7M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 10.7M | 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.7M | const auto* MAY_ALIAS ptr = | 745 | 10.7M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 10.7M | return *ptr; | 747 | 10.7M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE31EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 44.0k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 44.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 | 44.0k | const auto* MAY_ALIAS ptr = | 745 | 44.0k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 44.0k | return *ptr; | 747 | 44.0k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE16EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 8.10M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 8.10M | 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.10M | const auto* MAY_ALIAS ptr = | 745 | 8.10M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 8.10M | return *ptr; | 747 | 8.10M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE18EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 34.5M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 34.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 | 34.5M | const auto* MAY_ALIAS ptr = | 745 | 34.5M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 34.5M | return *ptr; | 747 | 34.5M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE22EEERKNS_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_13PrimitiveTypeE27EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 278 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 278 | 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 | 278 | const auto* MAY_ALIAS ptr = | 745 | 278 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 278 | return *ptr; | 747 | 278 | } |
Unexecuted instantiation: _ZNK5doris5Field3getILNS_13PrimitiveTypeE38EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv _ZNK5doris5Field3getILNS_13PrimitiveTypeE39EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 739 | 80 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 740 | 80 | 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 | 80 | const auto* MAY_ALIAS ptr = | 745 | 80 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 746 | 80 | return *ptr; | 747 | 80 | } |
|
748 | | |
749 | | template <PrimitiveType T> |
750 | 235M | void Field::destroy() { |
751 | 235M | if constexpr (T == TYPE_VARBINARY) { |
752 | 306 | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); |
753 | 306 | return; |
754 | 306 | } |
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 | 235M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); |
759 | 235M | ptr->~TargetType(); |
760 | 235M | } 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 | 150k | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 150k | 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 | 150k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 150k | ptr->~TargetType(); | 760 | 150k | } |
_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 | 6.96M | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 6.96M | 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 | 6.96M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 6.96M | ptr->~TargetType(); | 760 | 6.96M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE41EEEvv Line | Count | Source | 750 | 306 | void Field::destroy() { | 751 | 306 | if constexpr (T == TYPE_VARBINARY) { | 752 | 306 | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | 306 | return; | 754 | 306 | } | 755 | 0 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 306 | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 757 | 306 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 758 | 306 | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 306 | ptr->~TargetType(); | 760 | 306 | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE19EEEvv Line | Count | Source | 750 | 836 | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 836 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 836 | 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 | 836 | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 836 | ptr->~TargetType(); | 760 | 836 | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE32EEEvv Line | Count | Source | 750 | 13.4k | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 13.4k | 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.4k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 13.4k | ptr->~TargetType(); | 760 | 13.4k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE24EEEvv Line | Count | Source | 750 | 44.7k | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 44.7k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 44.7k | 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 | 44.7k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 44.7k | ptr->~TargetType(); | 760 | 44.7k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE17EEEvv Line | Count | Source | 750 | 185M | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 185M | 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 | 185M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 185M | ptr->~TargetType(); | 760 | 185M | } |
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 | 175k | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 175k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 175k | 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 | 175k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 175k | ptr->~TargetType(); | 760 | 175k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE16EEEvv Line | Count | Source | 750 | 6.11M | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 6.11M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 6.11M | 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 | 6.11M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 6.11M | ptr->~TargetType(); | 760 | 6.11M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE18EEEvv Line | Count | Source | 750 | 26.5M | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 26.5M | 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 | 26.5M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 26.5M | ptr->~TargetType(); | 760 | 26.5M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE22EEEvv Line | Count | Source | 750 | 4.99k | void Field::destroy() { | 751 | | if constexpr (T == TYPE_VARBINARY) { | 752 | | reinterpret_cast<OwnedBinaryField*>(&storage)->~OwnedBinaryField(); | 753 | | return; | 754 | | } | 755 | 4.99k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 756 | 4.99k | 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 | 4.99k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 759 | 4.99k | ptr->~TargetType(); | 760 | 4.99k | } |
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE27EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE38EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE39EEEvv |
761 | | |
762 | 11.3M | std::strong_ordering Field::operator<=>(const Field& rhs) const { |
763 | 11.3M | if (type == PrimitiveType::TYPE_NULL || rhs == PrimitiveType::TYPE_NULL) { |
764 | 7.59M | return type <=> rhs.type; |
765 | 7.59M | } |
766 | 3.72M | 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 | 15.4k | if (is_string_type(type) && is_string_type(rhs.type)) { |
772 | 15.4k | return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>(); |
773 | 15.4k | } |
774 | 0 | throw Exception(Status::FatalError("lhs type not equal with rhs, lhs={}, rhs={}", |
775 | 0 | get_type_name(), rhs.get_type_name())); |
776 | 15.4k | } |
777 | | |
778 | 3.71M | switch (type) { |
779 | 2.29k | case PrimitiveType::TYPE_BITMAP: |
780 | 2.69k | case PrimitiveType::TYPE_HLL: |
781 | 5.07k | case PrimitiveType::TYPE_QUANTILE_STATE: |
782 | 5.07k | case PrimitiveType::INVALID_TYPE: |
783 | 5.07k | case PrimitiveType::TYPE_JSONB: |
784 | 5.07k | case PrimitiveType::TYPE_NULL: |
785 | 17.3k | case PrimitiveType::TYPE_ARRAY: |
786 | 17.4k | case PrimitiveType::TYPE_MAP: |
787 | 17.5k | case PrimitiveType::TYPE_STRUCT: |
788 | 17.5k | case PrimitiveType::TYPE_VARIANT: |
789 | 17.5k | return std::strong_ordering::equal; //TODO: throw Exception? |
790 | 29.0k | case PrimitiveType::TYPE_DATETIMEV2: |
791 | 29.0k | return get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val() <=> |
792 | 29.0k | rhs.get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val(); |
793 | 338 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
794 | 338 | return get<PrimitiveType::TYPE_TIMESTAMP_NS>() <=> |
795 | 338 | rhs.get<PrimitiveType::TYPE_TIMESTAMP_NS>(); |
796 | 534k | case PrimitiveType::TYPE_DATEV2: |
797 | 534k | return get<PrimitiveType::TYPE_DATEV2>().to_date_int_val() <=> |
798 | 534k | rhs.get<PrimitiveType::TYPE_DATEV2>().to_date_int_val(); |
799 | 9.02k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
800 | 9.02k | return get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val() <=> |
801 | 9.02k | rhs.get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val(); |
802 | 2.53k | case PrimitiveType::TYPE_DATE: |
803 | 2.53k | return get<PrimitiveType::TYPE_DATE>() <=> rhs.get<PrimitiveType::TYPE_DATE>(); |
804 | 598 | case PrimitiveType::TYPE_DATETIME: |
805 | 598 | return get<PrimitiveType::TYPE_DATETIME>() <=> rhs.get<PrimitiveType::TYPE_DATETIME>(); |
806 | 84.1k | case PrimitiveType::TYPE_BIGINT: |
807 | 84.1k | return get<PrimitiveType::TYPE_BIGINT>() <=> rhs.get<PrimitiveType::TYPE_BIGINT>(); |
808 | 16.0k | case PrimitiveType::TYPE_BOOLEAN: |
809 | 16.0k | return get<PrimitiveType::TYPE_BOOLEAN>() <=> rhs.get<PrimitiveType::TYPE_BOOLEAN>(); |
810 | 500k | case PrimitiveType::TYPE_TINYINT: |
811 | 500k | return get<TYPE_TINYINT>() <=> rhs.get<TYPE_TINYINT>(); |
812 | 12.1k | case PrimitiveType::TYPE_SMALLINT: |
813 | 12.1k | return get<TYPE_SMALLINT>() <=> rhs.get<TYPE_SMALLINT>(); |
814 | 805k | case PrimitiveType::TYPE_INT: |
815 | 805k | return get<TYPE_INT>() <=> rhs.get<TYPE_INT>(); |
816 | 15.7k | case PrimitiveType::TYPE_LARGEINT: |
817 | 15.7k | return get<TYPE_LARGEINT>() <=> rhs.get<TYPE_LARGEINT>(); |
818 | 468 | case PrimitiveType::TYPE_IPV6: |
819 | 468 | return get<TYPE_IPV6>() <=> rhs.get<TYPE_IPV6>(); |
820 | 553 | case PrimitiveType::TYPE_IPV4: |
821 | 553 | return get<TYPE_IPV4>() <=> rhs.get<TYPE_IPV4>(); |
822 | 132 | case PrimitiveType::TYPE_FLOAT: |
823 | 132 | switch (Compare::compare(get<TYPE_FLOAT>(), rhs.get<TYPE_FLOAT>())) { |
824 | 4 | case -1: |
825 | 4 | return std::strong_ordering::less; |
826 | 76 | case 0: |
827 | 76 | return std::strong_ordering::equal; |
828 | 52 | case 1: |
829 | 52 | return std::strong_ordering::greater; |
830 | 0 | default: |
831 | 0 | LOG(FATAL) << "unexpected float compare result"; |
832 | 132 | } |
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 | 166 | case PrimitiveType::TYPE_DOUBLE: |
838 | 166 | switch (Compare::compare(get<TYPE_DOUBLE>(), rhs.get<TYPE_DOUBLE>())) { |
839 | 20 | case -1: |
840 | 20 | return std::strong_ordering::less; |
841 | 70 | case 0: |
842 | 70 | return std::strong_ordering::equal; |
843 | 76 | case 1: |
844 | 76 | return std::strong_ordering::greater; |
845 | 0 | default: |
846 | 0 | LOG(FATAL) << "unexpected double compare result"; |
847 | 166 | } |
848 | 51.0k | case PrimitiveType::TYPE_STRING: |
849 | 51.0k | return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>(); |
850 | 512 | case PrimitiveType::TYPE_CHAR: |
851 | 512 | 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 | 42 | case PrimitiveType::TYPE_VARBINARY: |
855 | 42 | return get<TYPE_VARBINARY>() <=> rhs.get<TYPE_VARBINARY>(); |
856 | 1.17k | case PrimitiveType::TYPE_DECIMAL32: |
857 | 1.17k | return get<TYPE_DECIMAL32>() <=> rhs.get<TYPE_DECIMAL32>(); |
858 | 4.53k | case PrimitiveType::TYPE_DECIMAL64: |
859 | 4.53k | return get<TYPE_DECIMAL64>() <=> rhs.get<TYPE_DECIMAL64>(); |
860 | 5.45k | case PrimitiveType::TYPE_DECIMALV2: |
861 | 5.45k | return get<TYPE_DECIMALV2>() <=> rhs.get<TYPE_DECIMALV2>(); |
862 | 5.38k | case PrimitiveType::TYPE_DECIMAL128I: |
863 | 5.38k | return get<TYPE_DECIMAL128I>() <=> rhs.get<TYPE_DECIMAL128I>(); |
864 | 3.04k | case PrimitiveType::TYPE_DECIMAL256: |
865 | 3.04k | return get<TYPE_DECIMAL256>() <=> rhs.get<TYPE_DECIMAL256>(); |
866 | 0 | default: |
867 | 0 | throw Exception(Status::FatalError("Unsupported type: {}", get_type_name())); |
868 | 3.71M | } |
869 | 3.71M | } |
870 | | |
871 | | #define MATCH_PRIMITIVE_TYPE(primitive_type) \ |
872 | 10.4k | if (type == primitive_type) { \ |
873 | 1.59k | const auto& v = get<primitive_type>(); \ |
874 | 1.59k | return std::string_view(reinterpret_cast<const char*>(&v), sizeof(v)); \ |
875 | 1.59k | } |
876 | | |
877 | 3.23k | std::string_view Field::as_string_view() const { |
878 | 3.23k | if (type == PrimitiveType::TYPE_STRING || type == PrimitiveType::TYPE_VARCHAR || |
879 | 3.23k | type == PrimitiveType::TYPE_CHAR) { |
880 | 1.63k | const auto& s = get<TYPE_STRING>(); |
881 | 1.63k | return {s.data(), s.size()}; |
882 | 1.63k | } |
883 | 1.60k | if (type == PrimitiveType::TYPE_VARBINARY) { |
884 | 10 | const auto& svf = get<TYPE_VARBINARY>(); |
885 | 10 | return {svf.data(), svf.size()}; |
886 | 10 | } |
887 | | // MATCH_PRIMITIVE_TYPE(INVALID_TYPE); |
888 | | // MATCH_PRIMITIVE_TYPE(TYPE_NULL); |
889 | 1.59k | MATCH_PRIMITIVE_TYPE(TYPE_BOOLEAN); |
890 | 1.59k | MATCH_PRIMITIVE_TYPE(TYPE_TINYINT); |
891 | 1.44k | MATCH_PRIMITIVE_TYPE(TYPE_SMALLINT); |
892 | 1.44k | MATCH_PRIMITIVE_TYPE(TYPE_INT); |
893 | 473 | 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.0M | std::string Field::to_debug_string(int scale) const { |
938 | 16.0M | if (is_null()) { |
939 | 0 | return "NULL"; |
940 | 0 | } |
941 | 16.0M | switch (type) { |
942 | 38.1k | case PrimitiveType::TYPE_BOOLEAN: |
943 | 38.1k | return get<TYPE_BOOLEAN>() ? "true" : "false"; |
944 | 1.54M | case PrimitiveType::TYPE_TINYINT: |
945 | 1.54M | return CastToString::from_number(get<TYPE_TINYINT>()); |
946 | 52.2k | case PrimitiveType::TYPE_SMALLINT: |
947 | 52.2k | return CastToString::from_number(get<TYPE_SMALLINT>()); |
948 | 711k | case PrimitiveType::TYPE_INT: |
949 | 711k | return CastToString::from_number(get<TYPE_INT>()); |
950 | 190k | case PrimitiveType::TYPE_BIGINT: |
951 | 190k | return CastToString::from_number(get<TYPE_BIGINT>()); |
952 | 46.9k | case PrimitiveType::TYPE_LARGEINT: |
953 | 46.9k | 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 | 1.73k | case PrimitiveType::TYPE_CHAR: |
960 | 12.6M | case PrimitiveType::TYPE_VARCHAR: |
961 | 12.6M | return get<TYPE_STRING>(); |
962 | 0 | case PrimitiveType::TYPE_VARBINARY: |
963 | 0 | return get<TYPE_VARBINARY>(); |
964 | 711 | case PrimitiveType::TYPE_DATE: |
965 | 711 | return CastToString::from_date_or_datetime(get<TYPE_DATE>()); |
966 | 102 | case PrimitiveType::TYPE_DATETIME: |
967 | 102 | return CastToString::from_date_or_datetime(get<TYPE_DATETIME>()); |
968 | 817k | case PrimitiveType::TYPE_DATEV2: |
969 | 817k | return CastToString::from_datev2(get<TYPE_DATEV2>()); |
970 | 10.7k | case PrimitiveType::TYPE_DATETIMEV2: |
971 | 10.7k | return CastToString::from_datetimev2(get<TYPE_DATETIMEV2>(), scale); |
972 | 363 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
973 | 363 | return get<TYPE_TIMESTAMP_NS>().to_string(); |
974 | 36.8k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
975 | 36.8k | return CastToString::from_timestamptz(get<TYPE_TIMESTAMPTZ>(), scale); |
976 | 128 | case PrimitiveType::TYPE_DECIMALV2: |
977 | 128 | return get<TYPE_DECIMALV2>().to_string(); |
978 | 2.48k | case PrimitiveType::TYPE_DECIMAL32: |
979 | 2.48k | return CastToString::from_decimal(get<TYPE_DECIMAL32>(), scale); |
980 | 2.59k | case PrimitiveType::TYPE_DECIMAL64: |
981 | 2.59k | return CastToString::from_decimal(get<TYPE_DECIMAL64>(), scale); |
982 | 4.62k | case PrimitiveType::TYPE_DECIMAL128I: |
983 | 4.62k | return CastToString::from_decimal(get<TYPE_DECIMAL128I>(), scale); |
984 | 3.37k | case PrimitiveType::TYPE_DECIMAL256: |
985 | 3.37k | 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.0M | } |
995 | 16.0M | } |
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 |