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