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/data_type/data_type_decimal.h" |
26 | | #include "core/data_type/define_primitive_type.h" |
27 | | #include "core/data_type/primitive_type.h" |
28 | | #include "core/decimal_comparison.h" |
29 | | #include "core/value/bitmap_value.h" |
30 | | #include "core/value/jsonb_value.h" |
31 | | #include "core/value/timestamptz_value.h" |
32 | | #include "core/value/vdatetime_value.h" |
33 | | #include "exprs/function/cast/cast_to_string.h" |
34 | | #include "util/var_int.h" |
35 | | |
36 | | namespace doris { |
37 | | class BufferReadable; |
38 | | class BufferWritable; |
39 | | |
40 | | template <PrimitiveType T> |
41 | | bool dec_equal(typename PrimitiveTypeTraits<T>::CppType x, |
42 | 0 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
43 | 0 | using Comparator = DecimalComparison<T, T, EqualsOp>; |
44 | 0 | return Comparator::compare(x, y, x_scale, y_scale); |
45 | 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 |
46 | | |
47 | | template <PrimitiveType T> |
48 | | bool dec_less(typename PrimitiveTypeTraits<T>::CppType x, |
49 | 3.48k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
50 | 3.48k | using Comparator = DecimalComparison<T, T, LessOp>; |
51 | 3.48k | return Comparator::compare(x, y, x_scale, y_scale); |
52 | 3.48k | } _ZN5doris8dec_lessILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 49 | 10 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 50 | 10 | using Comparator = DecimalComparison<T, T, LessOp>; | 51 | 10 | return Comparator::compare(x, y, x_scale, y_scale); | 52 | 10 | } |
_ZN5doris8dec_lessILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 49 | 3 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 50 | 3 | using Comparator = DecimalComparison<T, T, LessOp>; | 51 | 3 | return Comparator::compare(x, y, x_scale, y_scale); | 52 | 3 | } |
Unexecuted instantiation: _ZN5doris8dec_lessILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj _ZN5doris8dec_lessILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 49 | 972 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 50 | 972 | using Comparator = DecimalComparison<T, T, LessOp>; | 51 | 972 | return Comparator::compare(x, y, x_scale, y_scale); | 52 | 972 | } |
_ZN5doris8dec_lessILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 49 | 2.50k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 50 | 2.50k | using Comparator = DecimalComparison<T, T, LessOp>; | 51 | 2.50k | return Comparator::compare(x, y, x_scale, y_scale); | 52 | 2.50k | } |
|
53 | | |
54 | | template <PrimitiveType T> |
55 | | bool dec_less_or_equal(typename PrimitiveTypeTraits<T>::CppType x, |
56 | 0 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
57 | 0 | using Comparator = DecimalComparison<T, T, LessOrEqualsOp>; |
58 | 0 | return Comparator::compare(x, y, x_scale, y_scale); |
59 | 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 |
60 | | |
61 | | #define DECLARE_DECIMAL_COMPARISON(TYPE, PTYPE) \ |
62 | | template <> \ |
63 | 0 | bool decimal_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
64 | 0 | return dec_equal<PTYPE>(x, y, xs, ys); \ |
65 | 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 |
66 | | template <> \ |
67 | 985 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
68 | 985 | return dec_less<PTYPE>(x, y, xs, ys); \ |
69 | 985 | } \ _ZN5doris12decimal_lessINS_7DecimalIiEEEEbT_S3_jj Line | Count | Source | 67 | 10 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 68 | 10 | return dec_less<PTYPE>(x, y, xs, ys); \ | 69 | 10 | } \ |
_ZN5doris12decimal_lessINS_7DecimalIlEEEEbT_S3_jj Line | Count | Source | 67 | 3 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 68 | 3 | return dec_less<PTYPE>(x, y, xs, ys); \ | 69 | 3 | } \ |
Unexecuted instantiation: _ZN5doris12decimal_lessINS_14DecimalV2ValueEEEbT_S2_jj _ZN5doris12decimal_lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj Line | Count | Source | 67 | 972 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 68 | 972 | return dec_less<PTYPE>(x, y, xs, ys); \ | 69 | 972 | } \ |
|
70 | | template <> \ |
71 | 0 | bool decimal_less_or_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
72 | 0 | return dec_less_or_equal<PTYPE>(x, y, xs, ys); \ |
73 | 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 |
74 | | |
75 | | DECLARE_DECIMAL_COMPARISON(Decimal32, TYPE_DECIMAL32) |
76 | | DECLARE_DECIMAL_COMPARISON(Decimal64, TYPE_DECIMAL64) |
77 | | DECLARE_DECIMAL_COMPARISON(DecimalV2Value, TYPE_DECIMALV2) |
78 | | DECLARE_DECIMAL_COMPARISON(Decimal256, TYPE_DECIMAL256) |
79 | | |
80 | | template <> |
81 | 0 | bool decimal_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
82 | 0 | return dec_equal<TYPE_DECIMAL128I>(x, y, xs, ys); |
83 | 0 | } |
84 | | template <> |
85 | 2.50k | bool decimal_less(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
86 | 2.50k | return dec_less<TYPE_DECIMAL128I>(x, y, xs, ys); |
87 | 2.50k | } |
88 | | template <> |
89 | 0 | bool decimal_less_or_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
90 | 0 | return dec_less_or_equal<TYPE_DECIMAL128I>(x, y, xs, ys); |
91 | 0 | } |
92 | | |
93 | | template <PrimitiveType Type> |
94 | 225M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { |
95 | | // In both Field and PODArray, small types may be stored as wider types, |
96 | | // e.g. char is stored as UInt64. Field can return this extended value |
97 | | // with get<StorageType>(). To avoid uninitialized results from get(), |
98 | | // we must initialize the entire wide stored type, and not just the |
99 | | // nominal type. |
100 | 225M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; |
101 | 225M | new (&storage) StorageType(std::move(x)); |
102 | 225M | type = Type; |
103 | 225M | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); |
104 | 225M | } _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 448k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 448k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 448k | new (&storage) StorageType(std::move(x)); | 102 | 448k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 448k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 14.2M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 14.2M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 14.2M | new (&storage) StorageType(std::move(x)); | 102 | 14.2M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 14.2M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 295k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 295k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 295k | new (&storage) StorageType(std::move(x)); | 102 | 295k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 295k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 21.5M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 21.5M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 21.5M | new (&storage) StorageType(std::move(x)); | 102 | 21.5M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 21.5M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 59.3M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 59.3M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 59.3M | new (&storage) StorageType(std::move(x)); | 102 | 59.3M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 59.3M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 365k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 365k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 365k | new (&storage) StorageType(std::move(x)); | 102 | 365k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 365k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 21.5k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 21.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 21.5k | new (&storage) StorageType(std::move(x)); | 102 | 21.5k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 21.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 27.6k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 27.6k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 27.6k | new (&storage) StorageType(std::move(x)); | 102 | 27.6k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 27.6k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 838k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 838k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 838k | new (&storage) StorageType(std::move(x)); | 102 | 838k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 838k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 4.97M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 4.97M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 4.97M | new (&storage) StorageType(std::move(x)); | 102 | 4.97M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 4.97M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 139k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 139k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 139k | new (&storage) StorageType(std::move(x)); | 102 | 139k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 139k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 13.7M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 13.7M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 13.7M | new (&storage) StorageType(std::move(x)); | 102 | 13.7M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 13.7M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 17.3k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 17.3k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 17.3k | new (&storage) StorageType(std::move(x)); | 102 | 17.3k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 17.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 437k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 437k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 437k | new (&storage) StorageType(std::move(x)); | 102 | 437k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 437k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 65.1k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 65.1k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 65.1k | new (&storage) StorageType(std::move(x)); | 102 | 65.1k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 65.1k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 146k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 146k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 146k | new (&storage) StorageType(std::move(x)); | 102 | 146k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 146k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 2.58M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 2.58M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 2.58M | new (&storage) StorageType(std::move(x)); | 102 | 2.58M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 2.58M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 54.4M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 54.4M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 54.4M | new (&storage) StorageType(std::move(x)); | 102 | 54.4M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 54.4M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 98 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 98 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 98 | new (&storage) StorageType(std::move(x)); | 102 | 98 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 98 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 27 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 27 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 27 | new (&storage) StorageType(std::move(x)); | 102 | 27 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 27 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 1.23M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 1.23M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 1.23M | new (&storage) StorageType(std::move(x)); | 102 | 1.23M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 1.23M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 21 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 21 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 21 | new (&storage) StorageType(std::move(x)); | 102 | 21 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 21 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 5.44M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 5.44M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 5.44M | new (&storage) StorageType(std::move(x)); | 102 | 5.44M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 5.44M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 77.7k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 77.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 77.7k | new (&storage) StorageType(std::move(x)); | 102 | 77.7k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 77.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 52.4k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 52.4k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 52.4k | new (&storage) StorageType(std::move(x)); | 102 | 52.4k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 52.4k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 37.5k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 37.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 37.5k | new (&storage) StorageType(std::move(x)); | 102 | 37.5k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 37.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 29.7M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 29.7M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 29.7M | new (&storage) StorageType(std::move(x)); | 102 | 29.7M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 29.7M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 178k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 178k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 178k | new (&storage) StorageType(std::move(x)); | 102 | 178k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 178k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 7.73M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 7.73M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 7.73M | new (&storage) StorageType(std::move(x)); | 102 | 7.73M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 7.73M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 6.88M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 6.88M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 6.88M | new (&storage) StorageType(std::move(x)); | 102 | 6.88M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 6.88M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 11.4k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 11.4k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 11.4k | new (&storage) StorageType(std::move(x)); | 102 | 11.4k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 11.4k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 46.8k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 46.8k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 46.8k | new (&storage) StorageType(std::move(x)); | 102 | 46.8k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 46.8k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 92 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 92 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 92 | new (&storage) StorageType(std::move(x)); | 102 | 92 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 92 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 127 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 127 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 127 | new (&storage) StorageType(std::move(x)); | 102 | 127 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 127 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 40 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 40 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 40 | new (&storage) StorageType(std::move(x)); | 102 | 40 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 40 | } |
|
105 | | |
106 | | template <PrimitiveType Type> |
107 | 284M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { |
108 | | // In both Field and PODArray, small types may be stored as wider types, |
109 | | // e.g. char is stored as UInt64. Field can return this extended value |
110 | | // with get<StorageType>(). To avoid uninitialized results from get(), |
111 | | // we must initialize the entire wide stored type, and not just the |
112 | | // nominal type. |
113 | 284M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; |
114 | 284M | new (&storage) StorageType(x); |
115 | 284M | type = Type; |
116 | 284M | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); |
117 | 284M | } _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 39.3M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 39.3M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 39.3M | new (&storage) StorageType(x); | 115 | 39.3M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 39.3M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 5.83M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 5.83M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 5.83M | new (&storage) StorageType(x); | 115 | 5.83M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 5.83M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 4.07M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 4.07M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 4.07M | new (&storage) StorageType(x); | 115 | 4.07M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 4.07M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 21.3M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 21.3M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 21.3M | new (&storage) StorageType(x); | 115 | 21.3M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 21.3M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 14.0M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 14.0M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 14.0M | new (&storage) StorageType(x); | 115 | 14.0M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 14.0M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.28M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.28M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.28M | new (&storage) StorageType(x); | 115 | 3.28M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.28M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.42M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.42M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.42M | new (&storage) StorageType(x); | 115 | 3.42M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.42M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.33M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.33M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.33M | new (&storage) StorageType(x); | 115 | 3.33M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.33M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 5.29M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 5.29M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 5.29M | new (&storage) StorageType(x); | 115 | 5.29M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 5.29M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 4.19M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 4.19M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 4.19M | new (&storage) StorageType(x); | 115 | 4.19M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 4.19M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 53.9k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 53.9k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 53.9k | new (&storage) StorageType(x); | 115 | 53.9k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 53.9k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.61M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.61M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.61M | new (&storage) StorageType(x); | 115 | 3.61M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.61M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.65M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.65M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.65M | new (&storage) StorageType(x); | 115 | 3.65M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.65M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 10.3k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 10.3k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 10.3k | new (&storage) StorageType(x); | 115 | 10.3k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 10.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.53M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.53M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.53M | new (&storage) StorageType(x); | 115 | 3.53M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.53M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.72M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.72M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.72M | new (&storage) StorageType(x); | 115 | 3.72M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.72M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.96k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.96k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.96k | new (&storage) StorageType(x); | 115 | 3.96k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.96k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 13.8M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 13.8M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 13.8M | new (&storage) StorageType(x); | 115 | 13.8M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 13.8M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 26.4M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 26.4M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 26.4M | new (&storage) StorageType(x); | 115 | 26.4M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 26.4M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 6 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 6 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 6 | new (&storage) StorageType(x); | 115 | 6 | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 6 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 403 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 403 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 403 | new (&storage) StorageType(x); | 115 | 403 | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 403 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 75.5k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 75.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 75.5k | new (&storage) StorageType(x); | 115 | 75.5k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 75.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 22.3k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 22.3k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 22.3k | new (&storage) StorageType(x); | 115 | 22.3k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 22.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 94.1M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 94.1M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 94.1M | new (&storage) StorageType(x); | 115 | 94.1M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 94.1M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 69.7k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 69.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 69.7k | new (&storage) StorageType(x); | 115 | 69.7k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 69.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 49.0k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 49.0k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 49.0k | new (&storage) StorageType(x); | 115 | 49.0k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 49.0k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 4.06M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 4.06M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 4.06M | new (&storage) StorageType(x); | 115 | 4.06M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 4.06M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.54M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.54M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.54M | new (&storage) StorageType(x); | 115 | 3.54M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.54M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 4.66M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 4.66M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 4.66M | new (&storage) StorageType(x); | 115 | 4.66M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 4.66M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 2.70M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 2.70M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 2.70M | new (&storage) StorageType(x); | 115 | 2.70M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 2.70M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.04M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.04M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.04M | new (&storage) StorageType(x); | 115 | 3.04M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.04M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 13.2M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 13.2M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 13.2M | new (&storage) StorageType(x); | 115 | 13.2M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 13.2M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 2.42k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 2.42k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 2.42k | new (&storage) StorageType(x); | 115 | 2.42k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 2.42k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 135 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 135 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 135 | new (&storage) StorageType(x); | 115 | 135 | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 135 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
118 | | |
119 | 116M | void Field::create(Field&& field) { |
120 | 116M | switch (field.type) { |
121 | 385k | case PrimitiveType::TYPE_NULL: |
122 | 385k | create_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>())); |
123 | 385k | return; |
124 | 2.50M | case PrimitiveType::TYPE_DATETIMEV2: |
125 | 2.50M | create_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>())); |
126 | 2.50M | return; |
127 | 540k | case PrimitiveType::TYPE_DATEV2: |
128 | 540k | create_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>())); |
129 | 540k | return; |
130 | 41.4k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
131 | 41.4k | create_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>())); |
132 | 41.4k | return; |
133 | 20.8k | case PrimitiveType::TYPE_DATETIME: |
134 | 20.8k | create_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>())); |
135 | 20.8k | return; |
136 | 16.2k | case PrimitiveType::TYPE_DATE: |
137 | 16.2k | create_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>())); |
138 | 16.2k | return; |
139 | 1.01M | case PrimitiveType::TYPE_BOOLEAN: |
140 | 1.01M | create_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>())); |
141 | 1.01M | return; |
142 | 7.24M | case PrimitiveType::TYPE_TINYINT: |
143 | 7.24M | create_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>())); |
144 | 7.24M | return; |
145 | 169k | case PrimitiveType::TYPE_SMALLINT: |
146 | 169k | create_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>())); |
147 | 169k | return; |
148 | 19.5M | case PrimitiveType::TYPE_INT: |
149 | 19.5M | create_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>())); |
150 | 19.5M | return; |
151 | 30.0M | case PrimitiveType::TYPE_BIGINT: |
152 | 30.0M | create_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>())); |
153 | 30.0M | return; |
154 | 198k | case PrimitiveType::TYPE_LARGEINT: |
155 | 198k | create_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>())); |
156 | 198k | return; |
157 | 46.0k | case PrimitiveType::TYPE_IPV4: |
158 | 46.0k | create_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>())); |
159 | 46.0k | return; |
160 | 33.6k | case PrimitiveType::TYPE_IPV6: |
161 | 33.6k | create_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>())); |
162 | 33.6k | return; |
163 | 107k | case PrimitiveType::TYPE_FLOAT: |
164 | 107k | create_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>())); |
165 | 107k | return; |
166 | 122 | case PrimitiveType::TYPE_TIMEV2: |
167 | 122 | create_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>())); |
168 | 122 | return; |
169 | 4.75M | case PrimitiveType::TYPE_DOUBLE: |
170 | 4.75M | create_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>())); |
171 | 4.75M | return; |
172 | 38.9M | case PrimitiveType::TYPE_STRING: |
173 | 38.9M | create_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>())); |
174 | 38.9M | return; |
175 | 54.8k | case PrimitiveType::TYPE_CHAR: |
176 | 54.8k | create_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>())); |
177 | 54.8k | return; |
178 | 1.42M | case PrimitiveType::TYPE_VARCHAR: |
179 | 1.42M | create_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>())); |
180 | 1.42M | return; |
181 | 4.28M | case PrimitiveType::TYPE_JSONB: |
182 | 4.28M | create_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>())); |
183 | 4.28M | return; |
184 | 4.46M | case PrimitiveType::TYPE_ARRAY: |
185 | 4.46M | create_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>())); |
186 | 4.46M | return; |
187 | 5.55k | case PrimitiveType::TYPE_STRUCT: |
188 | 5.55k | create_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>())); |
189 | 5.55k | return; |
190 | 18.4k | case PrimitiveType::TYPE_MAP: |
191 | 18.4k | create_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>())); |
192 | 18.4k | return; |
193 | 78.9k | case PrimitiveType::TYPE_DECIMAL32: |
194 | 78.9k | create_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>())); |
195 | 78.9k | return; |
196 | 115k | case PrimitiveType::TYPE_DECIMAL64: |
197 | 115k | create_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>())); |
198 | 115k | return; |
199 | 6.79k | case PrimitiveType::TYPE_DECIMALV2: |
200 | 6.79k | create_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>())); |
201 | 6.79k | return; |
202 | 257k | case PrimitiveType::TYPE_DECIMAL128I: |
203 | 257k | create_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>())); |
204 | 257k | return; |
205 | 52.3k | case PrimitiveType::TYPE_DECIMAL256: |
206 | 52.3k | create_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>())); |
207 | 52.3k | return; |
208 | 634k | case PrimitiveType::TYPE_VARIANT: |
209 | 634k | create_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>())); |
210 | 634k | return; |
211 | 26 | case PrimitiveType::TYPE_BITMAP: |
212 | 26 | create_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>())); |
213 | 26 | return; |
214 | 3 | case PrimitiveType::TYPE_HLL: |
215 | 3 | create_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>())); |
216 | 3 | return; |
217 | 1 | case PrimitiveType::TYPE_QUANTILE_STATE: |
218 | 1 | create_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>())); |
219 | 1 | return; |
220 | 47 | case PrimitiveType::TYPE_VARBINARY: |
221 | 47 | create_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>())); |
222 | 47 | return; |
223 | 0 | default: |
224 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
225 | 116M | } |
226 | 116M | } |
227 | | |
228 | 230M | Field::Field(const Field& rhs) { |
229 | 230M | create(rhs); |
230 | 230M | } |
231 | | |
232 | 43.8M | Field::Field(Field&& rhs) { |
233 | 43.8M | create(std::move(rhs)); |
234 | 43.8M | } |
235 | | |
236 | 10.5M | Field& Field::operator=(const Field& rhs) { |
237 | 10.5M | if (this != &rhs) { |
238 | 10.5M | if (type != rhs.type) { |
239 | 8.90M | destroy(); |
240 | 8.90M | create(rhs); |
241 | 8.90M | } else { |
242 | 1.65M | assign(rhs); /// This assigns string or vector without deallocation of existing buffer. |
243 | 1.65M | } |
244 | 10.5M | } |
245 | 10.5M | return *this; |
246 | 10.5M | } |
247 | | |
248 | 239M | void Field::create(const Field& field) { |
249 | 239M | switch (field.type) { |
250 | 39.3M | case PrimitiveType::TYPE_NULL: |
251 | 39.3M | create_concrete<TYPE_NULL>(field.template get<TYPE_NULL>()); |
252 | 39.3M | return; |
253 | 4.07M | case PrimitiveType::TYPE_DATETIMEV2: |
254 | 4.07M | create_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>()); |
255 | 4.07M | return; |
256 | 4.66M | case PrimitiveType::TYPE_DATEV2: |
257 | 4.66M | create_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>()); |
258 | 4.66M | return; |
259 | 37.5k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
260 | 37.5k | create_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>()); |
261 | 37.5k | return; |
262 | 3.32M | case PrimitiveType::TYPE_DATETIME: |
263 | 3.32M | create_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>()); |
264 | 3.32M | return; |
265 | 3.40M | case PrimitiveType::TYPE_DATE: |
266 | 3.40M | create_concrete<TYPE_DATE>(field.template get<TYPE_DATE>()); |
267 | 3.40M | return; |
268 | 3.95M | case PrimitiveType::TYPE_BOOLEAN: |
269 | 3.95M | create_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>()); |
270 | 3.95M | return; |
271 | 5.36M | case PrimitiveType::TYPE_TINYINT: |
272 | 5.36M | create_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>()); |
273 | 5.36M | return; |
274 | 4.00M | case PrimitiveType::TYPE_SMALLINT: |
275 | 4.00M | create_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>()); |
276 | 4.00M | return; |
277 | 1.45M | case PrimitiveType::TYPE_INT: |
278 | 1.45M | create_concrete<TYPE_INT>(field.template get<TYPE_INT>()); |
279 | 1.45M | return; |
280 | 10.2M | case PrimitiveType::TYPE_BIGINT: |
281 | 10.2M | create_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>()); |
282 | 10.2M | return; |
283 | 3.23M | case PrimitiveType::TYPE_LARGEINT: |
284 | 3.23M | create_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>()); |
285 | 3.23M | return; |
286 | 31.9k | case PrimitiveType::TYPE_IPV4: |
287 | 31.9k | create_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>()); |
288 | 31.9k | return; |
289 | 21.1k | case PrimitiveType::TYPE_IPV6: |
290 | 21.1k | create_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>()); |
291 | 21.1k | return; |
292 | 3.49M | case PrimitiveType::TYPE_FLOAT: |
293 | 3.49M | create_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>()); |
294 | 3.49M | return; |
295 | 8 | case PrimitiveType::TYPE_TIMEV2: |
296 | 8 | create_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>()); |
297 | 8 | return; |
298 | 4.28M | case PrimitiveType::TYPE_DOUBLE: |
299 | 4.28M | create_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>()); |
300 | 4.28M | return; |
301 | 8.09M | case PrimitiveType::TYPE_STRING: |
302 | 8.09M | create_concrete<TYPE_STRING>(field.template get<TYPE_STRING>()); |
303 | 8.09M | return; |
304 | 3.79k | case PrimitiveType::TYPE_CHAR: |
305 | 3.79k | create_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>()); |
306 | 3.79k | return; |
307 | 13.2M | case PrimitiveType::TYPE_VARCHAR: |
308 | 13.2M | create_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>()); |
309 | 13.2M | return; |
310 | 2.70M | case PrimitiveType::TYPE_JSONB: |
311 | 2.70M | create_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>()); |
312 | 2.70M | return; |
313 | 93.3M | case PrimitiveType::TYPE_ARRAY: |
314 | 93.3M | create_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>()); |
315 | 93.3M | return; |
316 | 3.04M | case PrimitiveType::TYPE_STRUCT: |
317 | 3.04M | create_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>()); |
318 | 3.04M | return; |
319 | 13.2M | case PrimitiveType::TYPE_MAP: |
320 | 13.2M | create_concrete<TYPE_MAP>(field.template get<TYPE_MAP>()); |
321 | 13.2M | return; |
322 | 3.59M | case PrimitiveType::TYPE_DECIMAL32: |
323 | 3.59M | create_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>()); |
324 | 3.59M | return; |
325 | 3.60M | case PrimitiveType::TYPE_DECIMAL64: |
326 | 3.60M | create_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>()); |
327 | 3.60M | return; |
328 | 1.55k | case PrimitiveType::TYPE_DECIMALV2: |
329 | 1.55k | create_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>()); |
330 | 1.55k | return; |
331 | 3.50M | case PrimitiveType::TYPE_DECIMAL128I: |
332 | 3.50M | create_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>()); |
333 | 3.50M | return; |
334 | 3.67M | case PrimitiveType::TYPE_DECIMAL256: |
335 | 3.67M | create_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>()); |
336 | 3.67M | return; |
337 | 75.5k | case PrimitiveType::TYPE_VARIANT: |
338 | 75.5k | create_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>()); |
339 | 75.5k | return; |
340 | 0 | case PrimitiveType::TYPE_BITMAP: |
341 | 0 | create_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>()); |
342 | 0 | return; |
343 | 0 | case PrimitiveType::TYPE_HLL: |
344 | 0 | create_concrete<TYPE_HLL>(field.template get<TYPE_HLL>()); |
345 | 0 | return; |
346 | 0 | case PrimitiveType::TYPE_QUANTILE_STATE: |
347 | 0 | create_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>()); |
348 | 0 | return; |
349 | 0 | case PrimitiveType::TYPE_UINT32: |
350 | 0 | create_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>()); |
351 | 0 | return; |
352 | 0 | case PrimitiveType::TYPE_UINT64: |
353 | 0 | create_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>()); |
354 | 0 | return; |
355 | 0 | case PrimitiveType::TYPE_VARBINARY: |
356 | 0 | create_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>()); |
357 | 0 | return; |
358 | 0 | default: |
359 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
360 | 239M | } |
361 | 239M | } |
362 | | |
363 | 650M | void Field::destroy() { |
364 | 650M | switch (type) { |
365 | 80.8M | case PrimitiveType::TYPE_STRING: |
366 | 80.8M | destroy<TYPE_STRING>(); |
367 | 80.8M | break; |
368 | 150k | case PrimitiveType::TYPE_CHAR: |
369 | 150k | destroy<TYPE_CHAR>(); |
370 | 150k | break; |
371 | 16.4M | case PrimitiveType::TYPE_VARCHAR: |
372 | 16.4M | destroy<TYPE_VARCHAR>(); |
373 | 16.4M | break; |
374 | 9.58M | case PrimitiveType::TYPE_JSONB: |
375 | 9.58M | destroy<TYPE_JSONB>(); |
376 | 9.58M | break; |
377 | 99.6M | case PrimitiveType::TYPE_ARRAY: |
378 | 99.6M | destroy<TYPE_ARRAY>(); |
379 | 99.6M | break; |
380 | 3.06M | case PrimitiveType::TYPE_STRUCT: |
381 | 3.06M | destroy<TYPE_STRUCT>(); |
382 | 3.06M | break; |
383 | 13.2M | case PrimitiveType::TYPE_MAP: |
384 | 13.2M | destroy<TYPE_MAP>(); |
385 | 13.2M | break; |
386 | 1.30M | case PrimitiveType::TYPE_VARIANT: |
387 | 1.30M | destroy<TYPE_VARIANT>(); |
388 | 1.30M | break; |
389 | 2.51k | case PrimitiveType::TYPE_BITMAP: |
390 | 2.51k | destroy<TYPE_BITMAP>(); |
391 | 2.51k | break; |
392 | 430 | case PrimitiveType::TYPE_HLL: |
393 | 430 | destroy<TYPE_HLL>(); |
394 | 430 | break; |
395 | 22.4k | case PrimitiveType::TYPE_QUANTILE_STATE: |
396 | 22.4k | destroy<TYPE_QUANTILE_STATE>(); |
397 | 22.4k | break; |
398 | 104 | case PrimitiveType::TYPE_VARBINARY: |
399 | 104 | destroy<TYPE_VARBINARY>(); |
400 | 104 | break; |
401 | 428M | default: |
402 | 428M | break; |
403 | 650M | } |
404 | | |
405 | 649M | type = PrimitiveType:: |
406 | 649M | TYPE_NULL; /// for exception safety in subsequent calls to destroy and create, when create fails. |
407 | 649M | } |
408 | | |
409 | 27.9M | void Field::assign(Field&& field) { |
410 | 27.9M | switch (field.type) { |
411 | 25.4M | case PrimitiveType::TYPE_NULL: |
412 | 25.4M | assign_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>())); |
413 | 25.4M | return; |
414 | 69.2k | case PrimitiveType::TYPE_DATETIMEV2: |
415 | 69.2k | assign_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>())); |
416 | 69.2k | return; |
417 | 842 | case PrimitiveType::TYPE_DATETIME: |
418 | 842 | assign_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>())); |
419 | 842 | return; |
420 | 439 | case PrimitiveType::TYPE_DATE: |
421 | 439 | assign_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>())); |
422 | 439 | return; |
423 | 60.8k | case PrimitiveType::TYPE_DATEV2: |
424 | 60.8k | assign_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>())); |
425 | 60.8k | return; |
426 | 6.45k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
427 | 6.45k | assign_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>())); |
428 | 6.45k | return; |
429 | 21.4k | case PrimitiveType::TYPE_BOOLEAN: |
430 | 21.4k | assign_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>())); |
431 | 21.4k | return; |
432 | 81.6k | case PrimitiveType::TYPE_TINYINT: |
433 | 81.6k | assign_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>())); |
434 | 81.6k | return; |
435 | 24.0k | case PrimitiveType::TYPE_SMALLINT: |
436 | 24.0k | assign_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>())); |
437 | 24.0k | return; |
438 | 852k | case PrimitiveType::TYPE_INT: |
439 | 852k | assign_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>())); |
440 | 852k | return; |
441 | 432k | case PrimitiveType::TYPE_BIGINT: |
442 | 432k | assign_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>())); |
443 | 432k | return; |
444 | 34.2k | case PrimitiveType::TYPE_LARGEINT: |
445 | 34.2k | assign_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>())); |
446 | 34.2k | return; |
447 | 1.17k | case PrimitiveType::TYPE_IPV4: |
448 | 1.17k | assign_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>())); |
449 | 1.17k | return; |
450 | 1.02k | case PrimitiveType::TYPE_IPV6: |
451 | 1.02k | assign_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>())); |
452 | 1.02k | return; |
453 | 14.3k | case PrimitiveType::TYPE_FLOAT: |
454 | 14.3k | assign_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>())); |
455 | 14.3k | return; |
456 | 0 | case PrimitiveType::TYPE_TIMEV2: |
457 | 0 | assign_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>())); |
458 | 0 | return; |
459 | 21.0k | case PrimitiveType::TYPE_DOUBLE: |
460 | 21.0k | assign_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>())); |
461 | 21.0k | return; |
462 | 187k | case PrimitiveType::TYPE_STRING: |
463 | 187k | assign_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>())); |
464 | 187k | return; |
465 | 35.5k | case PrimitiveType::TYPE_CHAR: |
466 | 35.5k | assign_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>())); |
467 | 35.5k | return; |
468 | 307k | case PrimitiveType::TYPE_VARCHAR: |
469 | 307k | assign_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>())); |
470 | 307k | return; |
471 | 207k | case PrimitiveType::TYPE_JSONB: |
472 | 207k | assign_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>())); |
473 | 207k | return; |
474 | 28.9k | case PrimitiveType::TYPE_ARRAY: |
475 | 28.9k | assign_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>())); |
476 | 28.9k | return; |
477 | 0 | case PrimitiveType::TYPE_STRUCT: |
478 | 0 | assign_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>())); |
479 | 0 | return; |
480 | 1 | case PrimitiveType::TYPE_MAP: |
481 | 1 | assign_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>())); |
482 | 1 | return; |
483 | 6.99k | case PrimitiveType::TYPE_DECIMAL32: |
484 | 6.99k | assign_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>())); |
485 | 6.99k | return; |
486 | 31.7k | case PrimitiveType::TYPE_DECIMAL64: |
487 | 31.7k | assign_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>())); |
488 | 31.7k | return; |
489 | 136 | case PrimitiveType::TYPE_DECIMALV2: |
490 | 136 | assign_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>())); |
491 | 136 | return; |
492 | 21.1k | case PrimitiveType::TYPE_DECIMAL128I: |
493 | 21.1k | assign_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>())); |
494 | 21.1k | return; |
495 | 1.05k | case PrimitiveType::TYPE_DECIMAL256: |
496 | 1.05k | assign_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>())); |
497 | 1.05k | return; |
498 | 67 | case PrimitiveType::TYPE_VARIANT: |
499 | 67 | assign_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>())); |
500 | 67 | return; |
501 | 23 | case PrimitiveType::TYPE_BITMAP: |
502 | 23 | assign_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>())); |
503 | 23 | return; |
504 | 1 | case PrimitiveType::TYPE_HLL: |
505 | 1 | assign_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>())); |
506 | 1 | return; |
507 | 1 | case PrimitiveType::TYPE_QUANTILE_STATE: |
508 | 1 | assign_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>())); |
509 | 1 | return; |
510 | 0 | case PrimitiveType::TYPE_VARBINARY: |
511 | 0 | assign_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>())); |
512 | 0 | return; |
513 | 0 | default: |
514 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
515 | 27.9M | } |
516 | 27.9M | } |
517 | | |
518 | 1.65M | void Field::assign(const Field& field) { |
519 | 1.65M | switch (field.type) { |
520 | 177k | case PrimitiveType::TYPE_NULL: |
521 | 177k | assign_concrete<TYPE_NULL>(field.template get<TYPE_NULL>()); |
522 | 177k | return; |
523 | 68.1k | case PrimitiveType::TYPE_DATETIMEV2: |
524 | 68.1k | assign_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>()); |
525 | 68.1k | return; |
526 | 510 | case PrimitiveType::TYPE_DATETIME: |
527 | 510 | assign_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>()); |
528 | 510 | return; |
529 | 377 | case PrimitiveType::TYPE_DATE: |
530 | 377 | assign_concrete<TYPE_DATE>(field.template get<TYPE_DATE>()); |
531 | 377 | return; |
532 | 56.5k | case PrimitiveType::TYPE_DATEV2: |
533 | 56.5k | assign_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>()); |
534 | 56.5k | return; |
535 | 6.44k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
536 | 6.44k | assign_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>()); |
537 | 6.44k | return; |
538 | 20.3k | case PrimitiveType::TYPE_BOOLEAN: |
539 | 20.3k | assign_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>()); |
540 | 20.3k | return; |
541 | 81.4k | case PrimitiveType::TYPE_TINYINT: |
542 | 81.4k | assign_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>()); |
543 | 81.4k | return; |
544 | 23.8k | case PrimitiveType::TYPE_SMALLINT: |
545 | 23.8k | assign_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>()); |
546 | 23.8k | return; |
547 | 194k | case PrimitiveType::TYPE_INT: |
548 | 194k | assign_concrete<TYPE_INT>(field.template get<TYPE_INT>()); |
549 | 194k | return; |
550 | 419k | case PrimitiveType::TYPE_BIGINT: |
551 | 419k | assign_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>()); |
552 | 419k | return; |
553 | 31.9k | case PrimitiveType::TYPE_LARGEINT: |
554 | 31.9k | assign_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>()); |
555 | 31.9k | return; |
556 | 1.16k | case PrimitiveType::TYPE_IPV4: |
557 | 1.16k | assign_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>()); |
558 | 1.16k | return; |
559 | 1.01k | case PrimitiveType::TYPE_IPV6: |
560 | 1.01k | assign_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>()); |
561 | 1.01k | return; |
562 | 14.1k | case PrimitiveType::TYPE_FLOAT: |
563 | 14.1k | assign_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>()); |
564 | 14.1k | return; |
565 | 0 | case PrimitiveType::TYPE_TIMEV2: |
566 | 0 | assign_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>()); |
567 | 0 | return; |
568 | 18.5k | case PrimitiveType::TYPE_DOUBLE: |
569 | 18.5k | assign_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>()); |
570 | 18.5k | return; |
571 | 135k | case PrimitiveType::TYPE_STRING: |
572 | 135k | assign_concrete<TYPE_STRING>(field.template get<TYPE_STRING>()); |
573 | 135k | return; |
574 | 26.7k | case PrimitiveType::TYPE_CHAR: |
575 | 26.7k | assign_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>()); |
576 | 26.7k | return; |
577 | 293k | case PrimitiveType::TYPE_VARCHAR: |
578 | 293k | assign_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>()); |
579 | 293k | return; |
580 | 23 | case PrimitiveType::TYPE_JSONB: |
581 | 23 | assign_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>()); |
582 | 23 | return; |
583 | 38.4k | case PrimitiveType::TYPE_ARRAY: |
584 | 38.4k | assign_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>()); |
585 | 38.4k | return; |
586 | 0 | case PrimitiveType::TYPE_STRUCT: |
587 | 0 | assign_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>()); |
588 | 0 | return; |
589 | 1 | case PrimitiveType::TYPE_MAP: |
590 | 1 | assign_concrete<TYPE_MAP>(field.template get<TYPE_MAP>()); |
591 | 1 | return; |
592 | 6.98k | case PrimitiveType::TYPE_DECIMAL32: |
593 | 6.98k | assign_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>()); |
594 | 6.98k | return; |
595 | 19.1k | case PrimitiveType::TYPE_DECIMAL64: |
596 | 19.1k | assign_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>()); |
597 | 19.1k | return; |
598 | 126 | case PrimitiveType::TYPE_DECIMALV2: |
599 | 126 | assign_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>()); |
600 | 126 | return; |
601 | 18.6k | case PrimitiveType::TYPE_DECIMAL128I: |
602 | 18.6k | assign_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>()); |
603 | 18.6k | return; |
604 | 1.05k | case PrimitiveType::TYPE_DECIMAL256: |
605 | 1.05k | assign_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>()); |
606 | 1.05k | return; |
607 | 0 | case PrimitiveType::TYPE_VARIANT: |
608 | 0 | assign_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>()); |
609 | 0 | return; |
610 | 2 | case PrimitiveType::TYPE_BITMAP: |
611 | 2 | assign_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>()); |
612 | 2 | return; |
613 | 1 | case PrimitiveType::TYPE_HLL: |
614 | 1 | assign_concrete<TYPE_HLL>(field.template get<TYPE_HLL>()); |
615 | 1 | return; |
616 | 1 | case PrimitiveType::TYPE_QUANTILE_STATE: |
617 | 1 | assign_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>()); |
618 | 1 | return; |
619 | 0 | case PrimitiveType::TYPE_UINT32: |
620 | 0 | assign_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>()); |
621 | 0 | return; |
622 | 0 | case PrimitiveType::TYPE_UINT64: |
623 | 0 | assign_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>()); |
624 | 0 | return; |
625 | 0 | case PrimitiveType::TYPE_VARBINARY: |
626 | 0 | assign_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>()); |
627 | 0 | return; |
628 | 0 | default: |
629 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
630 | 1.65M | } |
631 | 1.65M | } |
632 | | |
633 | | /// Assuming same types. |
634 | | template <PrimitiveType Type> |
635 | 28.4M | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { |
636 | 28.4M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); |
637 | 28.4M | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); |
638 | 28.4M | } _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 25.9M | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 25.9M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 25.9M | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 25.9M | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 81.6k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 81.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 81.6k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 81.6k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 24.0k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 24.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 24.0k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 24.0k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 852k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 852k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 852k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 852k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 432k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 432k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 432k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 432k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 34.2k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 34.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 34.2k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 34.2k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 439 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 439 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 439 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 439 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 842 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 842 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 842 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 842 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 60.8k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 60.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 60.8k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 60.8k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 69.2k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 69.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 69.2k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 69.2k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 6.99k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 6.99k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 6.99k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 6.99k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 31.8k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 31.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 31.8k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 31.8k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 136 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 136 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 136 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 136 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 21.1k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 21.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 21.1k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 21.1k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1.05k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1.05k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1.05k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1.05k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 35.5k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 35.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 35.5k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 35.5k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 307k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 307k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 307k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 307k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 187k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 187k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 187k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 187k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 67 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 67 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 67 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 67 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 28.9k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 28.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 28.9k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 28.9k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 6.45k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 6.45k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 6.45k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 6.45k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1.17k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1.17k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1.17k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1.17k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1.02k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1.02k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1.02k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1.02k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 21.4k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 21.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 21.4k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 21.4k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 14.3k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 14.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 14.3k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 14.3k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 21.0k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 21.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 21.0k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 21.0k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 207k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 207k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 207k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 207k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 23 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 23 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 23 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 23 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
639 | | |
640 | | template <PrimitiveType Type> |
641 | 1.65M | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { |
642 | 1.65M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); |
643 | 1.65M | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); |
644 | 1.65M | } _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 177k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 177k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 177k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 177k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 81.4k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 81.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 81.4k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 81.4k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 23.8k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 23.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 23.8k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 23.8k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 194k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 194k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 194k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 194k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 419k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 419k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 419k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 419k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 31.9k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 31.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 31.9k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 31.9k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 377 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 377 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 377 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 377 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 510 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 510 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 510 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 510 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 56.5k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 56.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 56.5k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 56.5k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 68.1k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 68.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 68.1k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 68.1k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 6.44k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 6.44k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 6.44k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 6.44k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 6.98k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 6.98k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 6.98k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 6.98k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 19.1k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 19.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 19.1k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 19.1k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 126 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 126 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 126 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 126 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 18.6k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 18.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 18.6k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 18.6k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1.05k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1.05k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1.05k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1.05k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 26.7k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 26.7k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 26.7k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 26.7k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 293k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 293k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 293k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 293k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 135k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 135k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 135k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 135k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 38.4k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 38.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 38.4k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 38.4k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1.16k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1.16k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1.16k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1.16k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1.01k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1.01k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1.01k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1.01k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 20.3k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 20.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 20.3k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 20.3k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 14.1k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 14.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 14.1k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 14.1k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 18.5k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 18.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 18.5k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 18.5k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 23 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 23 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 23 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 23 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 2 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 2 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 2 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
645 | | |
646 | 159 | std::string Field::get_type_name() const { |
647 | 159 | return type_to_string(type); |
648 | 159 | } |
649 | | |
650 | | template <PrimitiveType T> |
651 | 202M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { |
652 | 202M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) |
653 | 26.2k | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); |
654 | 202M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); |
655 | 202M | return *ptr; |
656 | 202M | } _ZN5doris5Field3getILNS_13PrimitiveTypeE1EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 26.4M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 26.4M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 3.73k | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 26.4M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 26.4M | return *ptr; | 656 | 26.4M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE3EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 7.33M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 7.33M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 7.33M | return *ptr; | 656 | 7.33M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE4EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 196k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 196k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 196k | return *ptr; | 656 | 196k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE5EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 75.2M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 75.2M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 75.2M | return *ptr; | 656 | 75.2M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE6EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 30.7M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 30.7M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 27.8k | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 30.7M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 30.7M | return *ptr; | 656 | 30.7M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE7EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 236k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 236k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 236k | return *ptr; | 656 | 236k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE11EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 16.8k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 16.8k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 16.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 16.8k | return *ptr; | 656 | 16.8k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE12EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 22.3k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 22.3k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 22.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 22.3k | return *ptr; | 656 | 22.3k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE25EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 612k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 612k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 612k | return *ptr; | 656 | 612k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE26EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 2.57M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 2.57M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 2.57M | return *ptr; | 656 | 2.57M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE42EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 47.8k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 47.8k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 1 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 47.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 47.8k | return *ptr; | 656 | 47.8k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE28EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 87.3k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 87.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 87.3k | return *ptr; | 656 | 87.3k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE29EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 193k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 193k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 1 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 193k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 193k | return *ptr; | 656 | 193k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE20EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 9.71k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 9.71k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 9.71k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 9.71k | return *ptr; | 656 | 9.71k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE30EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 292k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 292k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 292k | return *ptr; | 656 | 292k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE35EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 55.0k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 55.0k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 55.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 55.0k | return *ptr; | 656 | 55.0k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE15EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 138k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 138k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 2 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 138k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 138k | return *ptr; | 656 | 138k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE10EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 2.09M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 2.09M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 2.09M | return *ptr; | 656 | 2.09M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE23EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 39.5M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 39.5M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 39.5M | return *ptr; | 656 | 39.5M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE41EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 58 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 58 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 58 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 58 | return *ptr; | 656 | 58 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE19EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 4 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 4 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 4 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 4 | return *ptr; | 656 | 4 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE32EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 1.23M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 1.23M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 1.23M | return *ptr; | 656 | 1.23M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE24EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 2 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 2 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 2 | return *ptr; | 656 | 2 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE17EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 5.03M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 5.03M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 5.03M | return *ptr; | 656 | 5.03M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE36EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 47.2k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 47.2k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 47.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 47.2k | return *ptr; | 656 | 47.2k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE37EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 34.7k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 34.7k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 34.7k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 34.7k | return *ptr; | 656 | 34.7k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE2EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 1.04M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 1.04M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 1.04M | return *ptr; | 656 | 1.04M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE8EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 123k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 123k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 123k | return *ptr; | 656 | 123k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE9EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 4.80M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 4.80M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 4.80M | return *ptr; | 656 | 4.80M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE31EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 4.52M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 4.52M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 4.52M | return *ptr; | 656 | 4.52M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE16EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 15.4k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 15.4k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 15.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 15.4k | return *ptr; | 656 | 15.4k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE18EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 42.7k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 42.7k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 42.7k | return *ptr; | 656 | 42.7k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE22EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 178 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 178 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 178 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 178 | return *ptr; | 656 | 178 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE27EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 125 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 125 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 125 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 125 | return *ptr; | 656 | 125 | } |
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE38EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE39EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv |
657 | | |
658 | | template <PrimitiveType T> |
659 | 480M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { |
660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) |
661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); |
662 | 480M | const auto* MAY_ALIAS ptr = |
663 | 480M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); |
664 | 480M | return *ptr; |
665 | 480M | } _ZNK5doris5Field3getILNS_13PrimitiveTypeE1EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 39.8M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 39.8M | const auto* MAY_ALIAS ptr = | 663 | 39.8M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 39.8M | return *ptr; | 665 | 39.8M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE3EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 13.2M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 13.2M | const auto* MAY_ALIAS ptr = | 663 | 13.2M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 13.2M | return *ptr; | 665 | 13.2M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE4EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 5.20M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 5.20M | const auto* MAY_ALIAS ptr = | 663 | 5.20M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 5.20M | return *ptr; | 665 | 5.20M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE5EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 7.13M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 7.13M | const auto* MAY_ALIAS ptr = | 663 | 7.13M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 7.13M | return *ptr; | 665 | 7.13M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE6EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 46.7M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 46.7M | const auto* MAY_ALIAS ptr = | 663 | 46.7M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 46.7M | return *ptr; | 665 | 46.7M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE7EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.59M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.59M | const auto* MAY_ALIAS ptr = | 663 | 4.59M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.59M | return *ptr; | 665 | 4.59M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE11EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.45M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.45M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.45M | const auto* MAY_ALIAS ptr = | 663 | 4.45M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.45M | return *ptr; | 665 | 4.45M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE12EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.32M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.32M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.32M | const auto* MAY_ALIAS ptr = | 663 | 4.32M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.32M | return *ptr; | 665 | 4.32M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE25EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 8.11M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 8.11M | const auto* MAY_ALIAS ptr = | 663 | 8.11M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 8.11M | return *ptr; | 665 | 8.11M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE26EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 5.45M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 5.45M | const auto* MAY_ALIAS ptr = | 663 | 5.45M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 5.45M | return *ptr; | 665 | 5.45M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE42EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 122k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 122k | const auto* MAY_ALIAS ptr = | 663 | 122k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 122k | return *ptr; | 665 | 122k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE28EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.64M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.64M | const auto* MAY_ALIAS ptr = | 663 | 4.64M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.64M | return *ptr; | 665 | 4.64M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE29EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 18.2M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 18.2M | const auto* MAY_ALIAS ptr = | 663 | 18.2M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 18.2M | return *ptr; | 665 | 18.2M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE20EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 18.9k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.9k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 18.9k | const auto* MAY_ALIAS ptr = | 663 | 18.9k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 18.9k | return *ptr; | 665 | 18.9k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE30EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.80M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.80M | const auto* MAY_ALIAS ptr = | 663 | 4.80M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.80M | return *ptr; | 665 | 4.80M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE35EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.70M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.70M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 1 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.70M | const auto* MAY_ALIAS ptr = | 663 | 4.70M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.70M | return *ptr; | 665 | 4.70M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE15EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 47.8k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 47.8k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 3 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 47.8k | const auto* MAY_ALIAS ptr = | 663 | 47.8k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 47.8k | return *ptr; | 665 | 47.8k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE10EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 19.5M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 19.5M | const auto* MAY_ALIAS ptr = | 663 | 19.5M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 19.5M | return *ptr; | 665 | 19.5M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE23EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 84.8M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 84.8M | const auto* MAY_ALIAS ptr = | 663 | 84.8M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 84.8M | return *ptr; | 665 | 84.8M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE41EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 58 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 58 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 58 | const auto* MAY_ALIAS ptr = | 663 | 58 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 58 | return *ptr; | 665 | 58 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE19EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 18 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 18 | const auto* MAY_ALIAS ptr = | 663 | 18 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 18 | return *ptr; | 665 | 18 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE32EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 600k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 600k | const auto* MAY_ALIAS ptr = | 663 | 600k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 600k | return *ptr; | 665 | 600k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE24EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 20.0k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 20.0k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 20.0k | const auto* MAY_ALIAS ptr = | 663 | 20.0k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 20.0k | return *ptr; | 665 | 20.0k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE17EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 123M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 123M | const auto* MAY_ALIAS ptr = | 663 | 123M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 123M | return *ptr; | 665 | 123M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE36EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 40.7k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 40.7k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 40.7k | const auto* MAY_ALIAS ptr = | 663 | 40.7k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 40.7k | return *ptr; | 665 | 40.7k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE37EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 29.2k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 29.2k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 29.2k | const auto* MAY_ALIAS ptr = | 663 | 29.2k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 29.2k | return *ptr; | 665 | 29.2k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE2EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 34.4M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 34.4M | const auto* MAY_ALIAS ptr = | 663 | 34.4M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 34.4M | return *ptr; | 665 | 34.4M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE8EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.57M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.57M | const auto* MAY_ALIAS ptr = | 663 | 4.57M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.57M | return *ptr; | 665 | 4.57M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE9EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 14.4M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 14.4M | const auto* MAY_ALIAS ptr = | 663 | 14.4M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 14.4M | return *ptr; | 665 | 14.4M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE31EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.74M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.74M | const auto* MAY_ALIAS ptr = | 663 | 4.74M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.74M | return *ptr; | 665 | 4.74M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE16EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.05M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.05M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.05M | const auto* MAY_ALIAS ptr = | 663 | 4.05M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.05M | return *ptr; | 665 | 4.05M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE18EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 17.2M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 17.2M | const auto* MAY_ALIAS ptr = | 663 | 17.2M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 17.2M | return *ptr; | 665 | 17.2M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE22EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 17.5k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 17.5k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 17.5k | const auto* MAY_ALIAS ptr = | 663 | 17.5k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 17.5k | return *ptr; | 665 | 17.5k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE27EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 214 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 214 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 214 | const auto* MAY_ALIAS ptr = | 663 | 214 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 214 | return *ptr; | 665 | 214 | } |
Unexecuted instantiation: _ZNK5doris5Field3getILNS_13PrimitiveTypeE38EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv _ZNK5doris5Field3getILNS_13PrimitiveTypeE39EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 40 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 40 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 40 | const auto* MAY_ALIAS ptr = | 663 | 40 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 40 | return *ptr; | 665 | 40 | } |
|
666 | | |
667 | | template <PrimitiveType T> |
668 | 224M | void Field::destroy() { |
669 | 224M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; |
670 | 224M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) |
671 | 52.5k | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); |
672 | 224M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); |
673 | 224M | ptr->~TargetType(); |
674 | 224M | } 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_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 | 668 | 150k | void Field::destroy() { | 669 | 150k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 150k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 150k | ptr->~TargetType(); | 674 | 150k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE10EEEvv Line | Count | Source | 668 | 16.4M | void Field::destroy() { | 669 | 16.4M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 16.4M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 16.4M | ptr->~TargetType(); | 674 | 16.4M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE23EEEvv Line | Count | Source | 668 | 80.8M | void Field::destroy() { | 669 | 80.8M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 80.8M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 55.0k | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 80.8M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 80.8M | ptr->~TargetType(); | 674 | 80.8M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE41EEEvv Line | Count | Source | 668 | 104 | void Field::destroy() { | 669 | 104 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 104 | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 104 | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 104 | ptr->~TargetType(); | 674 | 104 | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE19EEEvv Line | Count | Source | 668 | 430 | void Field::destroy() { | 669 | 430 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 430 | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 430 | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 430 | ptr->~TargetType(); | 674 | 430 | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE32EEEvv Line | Count | Source | 668 | 1.30M | void Field::destroy() { | 669 | 1.30M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 1.30M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 1.30M | ptr->~TargetType(); | 674 | 1.30M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE24EEEvv Line | Count | Source | 668 | 22.4k | void Field::destroy() { | 669 | 22.4k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 22.4k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 22.4k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 22.4k | ptr->~TargetType(); | 674 | 22.4k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE17EEEvv Line | Count | Source | 668 | 99.6M | void Field::destroy() { | 669 | 99.6M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 99.6M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 99.6M | ptr->~TargetType(); | 674 | 99.6M | } |
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE36EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE37EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE2EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE8EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE9EEEvv _ZN5doris5Field7destroyILNS_13PrimitiveTypeE31EEEvv Line | Count | Source | 668 | 9.58M | void Field::destroy() { | 669 | 9.58M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 9.58M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 9.58M | ptr->~TargetType(); | 674 | 9.58M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE16EEEvv Line | Count | Source | 668 | 3.06M | void Field::destroy() { | 669 | 3.06M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 3.06M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 3.06M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 3.06M | ptr->~TargetType(); | 674 | 3.06M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE18EEEvv Line | Count | Source | 668 | 13.2M | void Field::destroy() { | 669 | 13.2M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 13.2M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 13.2M | ptr->~TargetType(); | 674 | 13.2M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE22EEEvv Line | Count | Source | 668 | 2.51k | void Field::destroy() { | 669 | 2.51k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 2.51k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 2.51k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 2.51k | ptr->~TargetType(); | 674 | 2.51k | } |
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE27EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE38EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE39EEEvv |
675 | | |
676 | 15.4M | std::strong_ordering Field::operator<=>(const Field& rhs) const { |
677 | 15.4M | if (type == PrimitiveType::TYPE_NULL || rhs == PrimitiveType::TYPE_NULL) { |
678 | 10.2M | return type <=> rhs.type; |
679 | 10.2M | } |
680 | 5.11M | if (type != rhs.type) { |
681 | | // String-family types (STRING, CHAR, VARCHAR) all store String internally |
682 | | // and are inter-comparable. This arises when comparing RowCursor fields |
683 | | // (which carry the declared column type) against Column::operator[] results |
684 | | // (which always return TYPE_STRING for ColumnString). |
685 | 12.2k | if (is_string_type(type) && is_string_type(rhs.type)) { |
686 | 12.2k | return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>(); |
687 | 12.2k | } |
688 | 1 | throw Exception(Status::FatalError("lhs type not equal with rhs, lhs={}, rhs={}", |
689 | 1 | get_type_name(), rhs.get_type_name())); |
690 | 12.2k | } |
691 | | |
692 | 5.09M | switch (type) { |
693 | 1.14k | case PrimitiveType::TYPE_BITMAP: |
694 | 1.35k | case PrimitiveType::TYPE_HLL: |
695 | 2.54k | case PrimitiveType::TYPE_QUANTILE_STATE: |
696 | 2.54k | case PrimitiveType::INVALID_TYPE: |
697 | 2.55k | case PrimitiveType::TYPE_JSONB: |
698 | 2.55k | case PrimitiveType::TYPE_NULL: |
699 | 9.12k | case PrimitiveType::TYPE_ARRAY: |
700 | 10.0k | case PrimitiveType::TYPE_MAP: |
701 | 10.7k | case PrimitiveType::TYPE_STRUCT: |
702 | 44.1k | case PrimitiveType::TYPE_VARIANT: |
703 | 44.1k | return std::strong_ordering::equal; //TODO: throw Exception? |
704 | 30.9k | case PrimitiveType::TYPE_DATETIMEV2: |
705 | 30.9k | return get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val() <=> |
706 | 30.9k | rhs.get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val(); |
707 | 525k | case PrimitiveType::TYPE_DATEV2: |
708 | 525k | return get<PrimitiveType::TYPE_DATEV2>().to_date_int_val() <=> |
709 | 525k | rhs.get<PrimitiveType::TYPE_DATEV2>().to_date_int_val(); |
710 | 8.21k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
711 | 8.21k | return get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val() <=> |
712 | 8.21k | rhs.get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val(); |
713 | 13.8k | case PrimitiveType::TYPE_DATE: |
714 | 13.8k | return get<PrimitiveType::TYPE_DATE>() <=> rhs.get<PrimitiveType::TYPE_DATE>(); |
715 | 572 | case PrimitiveType::TYPE_DATETIME: |
716 | 572 | return get<PrimitiveType::TYPE_DATETIME>() <=> rhs.get<PrimitiveType::TYPE_DATETIME>(); |
717 | 89.2k | case PrimitiveType::TYPE_BIGINT: |
718 | 89.2k | return get<PrimitiveType::TYPE_BIGINT>() <=> rhs.get<PrimitiveType::TYPE_BIGINT>(); |
719 | 3.62k | case PrimitiveType::TYPE_BOOLEAN: |
720 | 3.62k | return get<PrimitiveType::TYPE_BOOLEAN>() <=> rhs.get<PrimitiveType::TYPE_BOOLEAN>(); |
721 | 539k | case PrimitiveType::TYPE_TINYINT: |
722 | 539k | return get<TYPE_TINYINT>() <=> rhs.get<TYPE_TINYINT>(); |
723 | 14.4k | case PrimitiveType::TYPE_SMALLINT: |
724 | 14.4k | return get<TYPE_SMALLINT>() <=> rhs.get<TYPE_SMALLINT>(); |
725 | 955k | case PrimitiveType::TYPE_INT: |
726 | 955k | return get<TYPE_INT>() <=> rhs.get<TYPE_INT>(); |
727 | 15.6k | case PrimitiveType::TYPE_LARGEINT: |
728 | 15.6k | return get<TYPE_LARGEINT>() <=> rhs.get<TYPE_LARGEINT>(); |
729 | 275 | case PrimitiveType::TYPE_IPV6: |
730 | 275 | return get<TYPE_IPV6>() <=> rhs.get<TYPE_IPV6>(); |
731 | 305 | case PrimitiveType::TYPE_IPV4: |
732 | 305 | return get<TYPE_IPV4>() <=> rhs.get<TYPE_IPV4>(); |
733 | 10 | case PrimitiveType::TYPE_FLOAT: |
734 | 10 | switch (Compare::compare(get<TYPE_FLOAT>(), rhs.get<TYPE_FLOAT>())) { |
735 | 0 | case -1: |
736 | 0 | return std::strong_ordering::less; |
737 | 10 | case 0: |
738 | 10 | return std::strong_ordering::equal; |
739 | 0 | case 1: |
740 | 0 | return std::strong_ordering::greater; |
741 | 0 | default: |
742 | 0 | LOG(FATAL) << "unexpected float compare result"; |
743 | 10 | } |
744 | 14 | case PrimitiveType::TYPE_TIMEV2: |
745 | 14 | return get<TYPE_TIMEV2>() < rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::less |
746 | 14 | : get<TYPE_TIMEV2>() == rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::equal |
747 | 14 | : std::strong_ordering::greater; |
748 | 24 | case PrimitiveType::TYPE_DOUBLE: |
749 | 24 | switch (Compare::compare(get<TYPE_DOUBLE>(), rhs.get<TYPE_DOUBLE>())) { |
750 | 6 | case -1: |
751 | 6 | return std::strong_ordering::less; |
752 | 6 | case 0: |
753 | 6 | return std::strong_ordering::equal; |
754 | 12 | case 1: |
755 | 12 | return std::strong_ordering::greater; |
756 | 0 | default: |
757 | 0 | LOG(FATAL) << "unexpected double compare result"; |
758 | 24 | } |
759 | 25.6k | case PrimitiveType::TYPE_STRING: |
760 | 25.6k | return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>(); |
761 | 433 | case PrimitiveType::TYPE_CHAR: |
762 | 433 | return get<TYPE_CHAR>() <=> rhs.get<TYPE_CHAR>(); |
763 | 2.83M | case PrimitiveType::TYPE_VARCHAR: |
764 | 2.83M | return get<TYPE_VARCHAR>() <=> rhs.get<TYPE_VARCHAR>(); |
765 | 0 | case PrimitiveType::TYPE_VARBINARY: |
766 | 0 | return get<TYPE_VARBINARY>() <=> rhs.get<TYPE_VARBINARY>(); |
767 | 854 | case PrimitiveType::TYPE_DECIMAL32: |
768 | 854 | return get<TYPE_DECIMAL32>() <=> rhs.get<TYPE_DECIMAL32>(); |
769 | 2.86k | case PrimitiveType::TYPE_DECIMAL64: |
770 | 2.86k | return get<TYPE_DECIMAL64>() <=> rhs.get<TYPE_DECIMAL64>(); |
771 | 2.82k | case PrimitiveType::TYPE_DECIMALV2: |
772 | 2.82k | return get<TYPE_DECIMALV2>() <=> rhs.get<TYPE_DECIMALV2>(); |
773 | 3.57k | case PrimitiveType::TYPE_DECIMAL128I: |
774 | 3.57k | return get<TYPE_DECIMAL128I>() <=> rhs.get<TYPE_DECIMAL128I>(); |
775 | 2.10k | case PrimitiveType::TYPE_DECIMAL256: |
776 | 2.10k | return get<TYPE_DECIMAL256>() <=> rhs.get<TYPE_DECIMAL256>(); |
777 | 0 | default: |
778 | 0 | throw Exception(Status::FatalError("Unsupported type: {}", get_type_name())); |
779 | 5.09M | } |
780 | 5.09M | } |
781 | | |
782 | | #define MATCH_PRIMITIVE_TYPE(primitive_type) \ |
783 | 4.47k | if (type == primitive_type) { \ |
784 | 866 | const auto& v = get<primitive_type>(); \ |
785 | 866 | return std::string_view(reinterpret_cast<const char*>(&v), sizeof(v)); \ |
786 | 866 | } |
787 | | |
788 | 1.33k | std::string_view Field::as_string_view() const { |
789 | 1.33k | if (type == PrimitiveType::TYPE_STRING || type == PrimitiveType::TYPE_VARCHAR || |
790 | 1.33k | type == PrimitiveType::TYPE_CHAR) { |
791 | 466 | const auto& s = get<TYPE_STRING>(); |
792 | 466 | return {s.data(), s.size()}; |
793 | 466 | } |
794 | 866 | if (type == PrimitiveType::TYPE_VARBINARY) { |
795 | 0 | const auto& svf = get<TYPE_VARBINARY>(); |
796 | 0 | return {svf.data(), svf.size()}; |
797 | 0 | } |
798 | | // MATCH_PRIMITIVE_TYPE(INVALID_TYPE); |
799 | | // MATCH_PRIMITIVE_TYPE(TYPE_NULL); |
800 | 866 | MATCH_PRIMITIVE_TYPE(TYPE_BOOLEAN); |
801 | 866 | MATCH_PRIMITIVE_TYPE(TYPE_TINYINT); |
802 | 852 | MATCH_PRIMITIVE_TYPE(TYPE_SMALLINT); |
803 | 852 | MATCH_PRIMITIVE_TYPE(TYPE_INT); |
804 | 160 | MATCH_PRIMITIVE_TYPE(TYPE_BIGINT); |
805 | 97 | MATCH_PRIMITIVE_TYPE(TYPE_LARGEINT); |
806 | 97 | MATCH_PRIMITIVE_TYPE(TYPE_FLOAT) |
807 | 97 | MATCH_PRIMITIVE_TYPE(TYPE_DOUBLE); |
808 | | // MATCH_PRIMITIVE_TYPE(TYPE_VARCHAR); |
809 | 97 | MATCH_PRIMITIVE_TYPE(TYPE_DATE); |
810 | 97 | MATCH_PRIMITIVE_TYPE(TYPE_DATETIME); |
811 | 97 | MATCH_PRIMITIVE_TYPE(TYPE_TIMESTAMPTZ); |
812 | | // MATCH_PRIMITIVE_TYPE(TYPE_BINARY); |
813 | | // MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL); |
814 | | // MATCH_PRIMITIVE_TYPE(TYPE_CHAR); |
815 | | // MATCH_PRIMITIVE_TYPE(TYPE_STRUCT); |
816 | | // MATCH_PRIMITIVE_TYPE(TYPE_ARRAY); |
817 | | // MATCH_PRIMITIVE_TYPE(TYPE_MAP); |
818 | | // MATCH_PRIMITIVE_TYPE(TYPE_HLL); |
819 | 97 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMALV2); |
820 | | // MATCH_PRIMITIVE_TYPE(TYPE_BITMAP); |
821 | | // MATCH_PRIMITIVE_TYPE(TYPE_STRING); |
822 | | // MATCH_PRIMITIVE_TYPE(TYPE_QUANTILE_STATE); |
823 | 97 | MATCH_PRIMITIVE_TYPE(TYPE_DATEV2); |
824 | 69 | MATCH_PRIMITIVE_TYPE(TYPE_DATETIMEV2); |
825 | 30 | MATCH_PRIMITIVE_TYPE(TYPE_TIMEV2); |
826 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL32); |
827 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL64); |
828 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL128I); |
829 | | // MATCH_PRIMITIVE_TYPE(TYPE_JSONB); |
830 | | // MATCH_PRIMITIVE_TYPE(TYPE_VARIANT); |
831 | | // MATCH_PRIMITIVE_TYPE(TYPE_LAMBDA_FUNCTION); |
832 | | // MATCH_PRIMITIVE_TYPE(TYPE_AGG_STATE); |
833 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL256); |
834 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_IPV4); |
835 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_IPV6); |
836 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_UINT32); |
837 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_UINT64); |
838 | | // MATCH_PRIMITIVE_TYPE(TYPE_FIXED_LENGTH_OBJECT); |
839 | 0 | throw Exception( |
840 | 0 | Status::FatalError("type not supported for as_string_view, type={}", get_type_name())); |
841 | 0 | } |
842 | | |
843 | | #undef MATCH_PRIMITIVE_TYPE |
844 | | |
845 | | // Important!!! This method is not accurate, for example, decimal to string, it uses scale == 0, because |
846 | | // it do not know the actual scale of the decimal value. It is only used for debug printing, so it is fine. |
847 | 22.8M | std::string Field::to_debug_string(int scale) const { |
848 | 22.8M | if (is_null()) { |
849 | 0 | return "NULL"; |
850 | 0 | } |
851 | 22.8M | switch (type) { |
852 | 7.18k | case PrimitiveType::TYPE_BOOLEAN: |
853 | 7.18k | return get<TYPE_BOOLEAN>() ? "true" : "false"; |
854 | 1.71M | case PrimitiveType::TYPE_TINYINT: |
855 | 1.71M | return CastToString::from_number(get<TYPE_TINYINT>()); |
856 | 46.8k | case PrimitiveType::TYPE_SMALLINT: |
857 | 46.8k | return CastToString::from_number(get<TYPE_SMALLINT>()); |
858 | 829k | case PrimitiveType::TYPE_INT: |
859 | 829k | return CastToString::from_number(get<TYPE_INT>()); |
860 | 193k | case PrimitiveType::TYPE_BIGINT: |
861 | 193k | return CastToString::from_number(get<TYPE_BIGINT>()); |
862 | 51.8k | case PrimitiveType::TYPE_LARGEINT: |
863 | 51.8k | return CastToString::from_number(get<TYPE_LARGEINT>()); |
864 | 0 | case PrimitiveType::TYPE_FLOAT: |
865 | 0 | return CastToString::from_number(get<TYPE_FLOAT>()); |
866 | 0 | case PrimitiveType::TYPE_DOUBLE: |
867 | 0 | return CastToString::from_number(get<TYPE_DOUBLE>()); |
868 | 0 | case PrimitiveType::TYPE_STRING: |
869 | 1.96k | case PrimitiveType::TYPE_CHAR: |
870 | 19.1M | case PrimitiveType::TYPE_VARCHAR: |
871 | 19.1M | return get<TYPE_STRING>(); |
872 | 0 | case PrimitiveType::TYPE_VARBINARY: |
873 | 0 | return get<TYPE_VARBINARY>(); |
874 | 14.6k | case PrimitiveType::TYPE_DATE: |
875 | 14.6k | return CastToString::from_date_or_datetime(get<TYPE_DATE>()); |
876 | 62 | case PrimitiveType::TYPE_DATETIME: |
877 | 62 | return CastToString::from_date_or_datetime(get<TYPE_DATETIME>()); |
878 | 839k | case PrimitiveType::TYPE_DATEV2: |
879 | 839k | return CastToString::from_datev2(get<TYPE_DATEV2>()); |
880 | 13.6k | case PrimitiveType::TYPE_DATETIMEV2: |
881 | 13.6k | return CastToString::from_datetimev2(get<TYPE_DATETIMEV2>(), scale); |
882 | 30.3k | case PrimitiveType::TYPE_TIMESTAMPTZ: |
883 | 30.3k | return CastToString::from_timestamptz(get<TYPE_TIMESTAMPTZ>(), scale); |
884 | 732 | case PrimitiveType::TYPE_DECIMALV2: |
885 | 732 | return get<TYPE_DECIMALV2>().to_string(); |
886 | 1.73k | case PrimitiveType::TYPE_DECIMAL32: |
887 | 1.73k | return CastToString::from_decimal(get<TYPE_DECIMAL32>(), scale); |
888 | 1.06k | case PrimitiveType::TYPE_DECIMAL64: |
889 | 1.06k | return CastToString::from_decimal(get<TYPE_DECIMAL64>(), scale); |
890 | 4.14k | case PrimitiveType::TYPE_DECIMAL128I: |
891 | 4.14k | return CastToString::from_decimal(get<TYPE_DECIMAL128I>(), scale); |
892 | 2.66k | case PrimitiveType::TYPE_DECIMAL256: |
893 | 2.66k | return CastToString::from_decimal(get<TYPE_DECIMAL256>(), scale); |
894 | 0 | case PrimitiveType::TYPE_IPV4: |
895 | 0 | return CastToString::from_ip(get<TYPE_IPV4>()); |
896 | 4 | case PrimitiveType::TYPE_IPV6: |
897 | 4 | return CastToString::from_ip(get<TYPE_IPV6>()); |
898 | 0 | default: |
899 | 0 | throw Exception(Status::FatalError("type not supported for to_debug_string, type={}", |
900 | 0 | get_type_name())); |
901 | 0 | __builtin_unreachable(); |
902 | 22.8M | } |
903 | 22.8M | } |
904 | | |
905 | | #define DECLARE_FUNCTION(FUNC_NAME) \ |
906 | | template void Field::FUNC_NAME<TYPE_NULL>(typename PrimitiveTypeTraits<TYPE_NULL>::CppType && \ |
907 | | rhs); \ |
908 | | template void Field::FUNC_NAME<TYPE_TINYINT>( \ |
909 | | typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType && rhs); \ |
910 | | template void Field::FUNC_NAME<TYPE_SMALLINT>( \ |
911 | | typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType && rhs); \ |
912 | | template void Field::FUNC_NAME<TYPE_INT>(typename PrimitiveTypeTraits<TYPE_INT>::CppType && \ |
913 | | rhs); \ |
914 | | template void Field::FUNC_NAME<TYPE_BIGINT>( \ |
915 | | typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType && rhs); \ |
916 | | template void Field::FUNC_NAME<TYPE_LARGEINT>( \ |
917 | | typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType && rhs); \ |
918 | | template void Field::FUNC_NAME<TYPE_DATE>(typename PrimitiveTypeTraits<TYPE_DATE>::CppType && \ |
919 | | rhs); \ |
920 | | template void Field::FUNC_NAME<TYPE_DATETIME>( \ |
921 | | typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType && rhs); \ |
922 | | template void Field::FUNC_NAME<TYPE_DATEV2>( \ |
923 | | typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType && rhs); \ |
924 | | template void Field::FUNC_NAME<TYPE_DATETIMEV2>( \ |
925 | | typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType && rhs); \ |
926 | | template void Field::FUNC_NAME<TYPE_DECIMAL32>( \ |
927 | | typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType && rhs); \ |
928 | | template void Field::FUNC_NAME<TYPE_DECIMAL64>( \ |
929 | | typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType && rhs); \ |
930 | | template void Field::FUNC_NAME<TYPE_DECIMALV2>( \ |
931 | | typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType && rhs); \ |
932 | | template void Field::FUNC_NAME<TYPE_DECIMAL128I>( \ |
933 | | typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType && rhs); \ |
934 | | template void Field::FUNC_NAME<TYPE_DECIMAL256>( \ |
935 | | typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType && rhs); \ |
936 | | template void Field::FUNC_NAME<TYPE_CHAR>(typename PrimitiveTypeTraits<TYPE_CHAR>::CppType && \ |
937 | | rhs); \ |
938 | | template void Field::FUNC_NAME<TYPE_VARCHAR>( \ |
939 | | typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType && rhs); \ |
940 | | template void Field::FUNC_NAME<TYPE_STRING>( \ |
941 | | typename PrimitiveTypeTraits<TYPE_STRING>::CppType && rhs); \ |
942 | | template void Field::FUNC_NAME<TYPE_VARBINARY>( \ |
943 | | typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType && rhs); \ |
944 | | template void Field::FUNC_NAME<TYPE_HLL>(typename PrimitiveTypeTraits<TYPE_HLL>::CppType && \ |
945 | | rhs); \ |
946 | | template void Field::FUNC_NAME<TYPE_VARIANT>( \ |
947 | | typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType && rhs); \ |
948 | | template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>( \ |
949 | | typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType && rhs); \ |
950 | | template void Field::FUNC_NAME<TYPE_ARRAY>( \ |
951 | | typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType && rhs); \ |
952 | | template void Field::FUNC_NAME<TYPE_NULL>( \ |
953 | | const typename PrimitiveTypeTraits<TYPE_NULL>::CppType& rhs); \ |
954 | | template void Field::FUNC_NAME<TYPE_TINYINT>( \ |
955 | | const typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType& rhs); \ |
956 | | template void Field::FUNC_NAME<TYPE_SMALLINT>( \ |
957 | | const typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType& rhs); \ |
958 | | template void Field::FUNC_NAME<TYPE_INT>( \ |
959 | | const typename PrimitiveTypeTraits<TYPE_INT>::CppType& rhs); \ |
960 | | template void Field::FUNC_NAME<TYPE_BIGINT>( \ |
961 | | const typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType& rhs); \ |
962 | | template void Field::FUNC_NAME<TYPE_LARGEINT>( \ |
963 | | const typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType& rhs); \ |
964 | | template void Field::FUNC_NAME<TYPE_DATE>( \ |
965 | | const typename PrimitiveTypeTraits<TYPE_DATE>::CppType& rhs); \ |
966 | | template void Field::FUNC_NAME<TYPE_DATETIME>( \ |
967 | | const typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType& rhs); \ |
968 | | template void Field::FUNC_NAME<TYPE_DATEV2>( \ |
969 | | const typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType& rhs); \ |
970 | | template void Field::FUNC_NAME<TYPE_DATETIMEV2>( \ |
971 | | const typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType& rhs); \ |
972 | | template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>( \ |
973 | | const typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType& rhs); \ |
974 | | template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>( \ |
975 | | typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType && rhs); \ |
976 | | template void Field::FUNC_NAME<TYPE_DECIMAL32>( \ |
977 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType& rhs); \ |
978 | | template void Field::FUNC_NAME<TYPE_DECIMAL64>( \ |
979 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType& rhs); \ |
980 | | template void Field::FUNC_NAME<TYPE_DECIMALV2>( \ |
981 | | const typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType& rhs); \ |
982 | | template void Field::FUNC_NAME<TYPE_DECIMAL128I>( \ |
983 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType& rhs); \ |
984 | | template void Field::FUNC_NAME<TYPE_DECIMAL256>( \ |
985 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType& rhs); \ |
986 | | template void Field::FUNC_NAME<TYPE_CHAR>( \ |
987 | | const typename PrimitiveTypeTraits<TYPE_CHAR>::CppType& rhs); \ |
988 | | template void Field::FUNC_NAME<TYPE_VARCHAR>( \ |
989 | | const typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType& rhs); \ |
990 | | template void Field::FUNC_NAME<TYPE_STRING>( \ |
991 | | const typename PrimitiveTypeTraits<TYPE_STRING>::CppType& rhs); \ |
992 | | template void Field::FUNC_NAME<TYPE_VARBINARY>( \ |
993 | | const typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType& rhs); \ |
994 | | template void Field::FUNC_NAME<TYPE_HLL>( \ |
995 | | const typename PrimitiveTypeTraits<TYPE_HLL>::CppType& rhs); \ |
996 | | template void Field::FUNC_NAME<TYPE_VARIANT>( \ |
997 | | const typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType& rhs); \ |
998 | | template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>( \ |
999 | | const typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType& rhs); \ |
1000 | | template void Field::FUNC_NAME<TYPE_ARRAY>( \ |
1001 | | const typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType& rhs); \ |
1002 | | template void Field::FUNC_NAME<TYPE_IPV4>(typename PrimitiveTypeTraits<TYPE_IPV4>::CppType && \ |
1003 | | rhs); \ |
1004 | | template void Field::FUNC_NAME<TYPE_IPV4>( \ |
1005 | | const typename PrimitiveTypeTraits<TYPE_IPV4>::CppType& rhs); \ |
1006 | | template void Field::FUNC_NAME<TYPE_IPV6>(typename PrimitiveTypeTraits<TYPE_IPV6>::CppType && \ |
1007 | | rhs); \ |
1008 | | template void Field::FUNC_NAME<TYPE_IPV6>( \ |
1009 | | const typename PrimitiveTypeTraits<TYPE_IPV6>::CppType& rhs); \ |
1010 | | template void Field::FUNC_NAME<TYPE_BOOLEAN>( \ |
1011 | | typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType && rhs); \ |
1012 | | template void Field::FUNC_NAME<TYPE_BOOLEAN>( \ |
1013 | | const typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType& rhs); \ |
1014 | | template void Field::FUNC_NAME<TYPE_FLOAT>( \ |
1015 | | typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType && rhs); \ |
1016 | | template void Field::FUNC_NAME<TYPE_FLOAT>( \ |
1017 | | const typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType& rhs); \ |
1018 | | template void Field::FUNC_NAME<TYPE_DOUBLE>( \ |
1019 | | typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType && rhs); \ |
1020 | | template void Field::FUNC_NAME<TYPE_DOUBLE>( \ |
1021 | | const typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType& rhs); \ |
1022 | | template void Field::FUNC_NAME<TYPE_JSONB>( \ |
1023 | | typename PrimitiveTypeTraits<TYPE_JSONB>::CppType && rhs); \ |
1024 | | template void Field::FUNC_NAME<TYPE_JSONB>( \ |
1025 | | const typename PrimitiveTypeTraits<TYPE_JSONB>::CppType& rhs); \ |
1026 | | template void Field::FUNC_NAME<TYPE_STRUCT>( \ |
1027 | | typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType && rhs); \ |
1028 | | template void Field::FUNC_NAME<TYPE_STRUCT>( \ |
1029 | | const typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType& rhs); \ |
1030 | | template void Field::FUNC_NAME<TYPE_MAP>(typename PrimitiveTypeTraits<TYPE_MAP>::CppType && \ |
1031 | | rhs); \ |
1032 | | template void Field::FUNC_NAME<TYPE_MAP>( \ |
1033 | | const typename PrimitiveTypeTraits<TYPE_MAP>::CppType& rhs); \ |
1034 | | template void Field::FUNC_NAME<TYPE_BITMAP>( \ |
1035 | | typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType && rhs); \ |
1036 | | template void Field::FUNC_NAME<TYPE_BITMAP>( \ |
1037 | | const typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType& rhs); \ |
1038 | | template void Field::FUNC_NAME<TYPE_TIMEV2>( \ |
1039 | | const typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType& rhs); \ |
1040 | | template void Field::FUNC_NAME<TYPE_TIMEV2>( \ |
1041 | | typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType && rhs); \ |
1042 | | template void Field::FUNC_NAME<TYPE_UINT32>( \ |
1043 | | const typename PrimitiveTypeTraits<TYPE_UINT32>::CppType& rhs); \ |
1044 | | template void Field::FUNC_NAME<TYPE_UINT32>( \ |
1045 | | typename PrimitiveTypeTraits<TYPE_UINT32>::CppType && rhs); \ |
1046 | | template void Field::FUNC_NAME<TYPE_UINT64>( \ |
1047 | | const typename PrimitiveTypeTraits<TYPE_UINT64>::CppType& rhs); \ |
1048 | | template void Field::FUNC_NAME<TYPE_UINT64>( \ |
1049 | | typename PrimitiveTypeTraits<TYPE_UINT64>::CppType && rhs); |
1050 | | DECLARE_FUNCTION(create_concrete) |
1051 | | DECLARE_FUNCTION(assign_concrete) |
1052 | | #undef DECLARE_FUNCTION |
1053 | | |
1054 | | #define DECLARE_FUNCTION(TYPE_NAME) \ |
1055 | | template typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>(); \ |
1056 | | template const typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>() \ |
1057 | | const; \ |
1058 | | template void Field::destroy<TYPE_NAME>(); |
1059 | | DECLARE_FUNCTION(TYPE_NULL) |
1060 | | DECLARE_FUNCTION(TYPE_TINYINT) |
1061 | | DECLARE_FUNCTION(TYPE_SMALLINT) |
1062 | | DECLARE_FUNCTION(TYPE_INT) |
1063 | | DECLARE_FUNCTION(TYPE_BIGINT) |
1064 | | DECLARE_FUNCTION(TYPE_LARGEINT) |
1065 | | DECLARE_FUNCTION(TYPE_DATE) |
1066 | | DECLARE_FUNCTION(TYPE_DATETIME) |
1067 | | DECLARE_FUNCTION(TYPE_DATEV2) |
1068 | | DECLARE_FUNCTION(TYPE_DATETIMEV2) |
1069 | | DECLARE_FUNCTION(TYPE_TIMESTAMPTZ) |
1070 | | DECLARE_FUNCTION(TYPE_DECIMAL32) |
1071 | | DECLARE_FUNCTION(TYPE_DECIMAL64) |
1072 | | DECLARE_FUNCTION(TYPE_DECIMALV2) |
1073 | | DECLARE_FUNCTION(TYPE_DECIMAL128I) |
1074 | | DECLARE_FUNCTION(TYPE_DECIMAL256) |
1075 | | DECLARE_FUNCTION(TYPE_CHAR) |
1076 | | DECLARE_FUNCTION(TYPE_VARCHAR) |
1077 | | DECLARE_FUNCTION(TYPE_STRING) |
1078 | | DECLARE_FUNCTION(TYPE_VARBINARY) |
1079 | | DECLARE_FUNCTION(TYPE_HLL) |
1080 | | DECLARE_FUNCTION(TYPE_VARIANT) |
1081 | | DECLARE_FUNCTION(TYPE_QUANTILE_STATE) |
1082 | | DECLARE_FUNCTION(TYPE_ARRAY) |
1083 | | DECLARE_FUNCTION(TYPE_IPV4) |
1084 | | DECLARE_FUNCTION(TYPE_IPV6) |
1085 | | DECLARE_FUNCTION(TYPE_BOOLEAN) |
1086 | | DECLARE_FUNCTION(TYPE_FLOAT) |
1087 | | DECLARE_FUNCTION(TYPE_DOUBLE) |
1088 | | DECLARE_FUNCTION(TYPE_JSONB) |
1089 | | DECLARE_FUNCTION(TYPE_STRUCT) |
1090 | | DECLARE_FUNCTION(TYPE_MAP) |
1091 | | DECLARE_FUNCTION(TYPE_BITMAP) |
1092 | | DECLARE_FUNCTION(TYPE_TIMEV2) |
1093 | | DECLARE_FUNCTION(TYPE_UINT32) |
1094 | | DECLARE_FUNCTION(TYPE_UINT64) |
1095 | | #undef DECLARE_FUNCTION |
1096 | | } // namespace doris |