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 "core/accurate_comparison.h" |
24 | | #include "core/data_type/data_type_decimal.h" |
25 | | #include "core/data_type/define_primitive_type.h" |
26 | | #include "core/data_type/primitive_type.h" |
27 | | #include "core/decimal_comparison.h" |
28 | | #include "core/value/bitmap_value.h" |
29 | | #include "core/value/jsonb_value.h" |
30 | | #include "core/value/timestamptz_value.h" |
31 | | #include "core/value/vdatetime_value.h" |
32 | | #include "exprs/function/cast/cast_to_string.h" |
33 | | #include "util/io_helper.h" |
34 | | #include "util/var_int.h" |
35 | | |
36 | | namespace doris { |
37 | | class BufferReadable; |
38 | | class BufferWritable; |
39 | | |
40 | | template <PrimitiveType T> |
41 | | bool dec_equal(typename PrimitiveTypeTraits<T>::CppType x, |
42 | 0 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
43 | 0 | using Comparator = DecimalComparison<T, T, EqualsOp>; |
44 | 0 | return Comparator::compare(x, y, x_scale, y_scale); |
45 | 0 | } Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris9dec_equalILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj |
46 | | |
47 | | template <PrimitiveType T> |
48 | | bool dec_less(typename PrimitiveTypeTraits<T>::CppType x, |
49 | 3.48k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
50 | 3.48k | using Comparator = DecimalComparison<T, T, LessOp>; |
51 | 3.48k | return Comparator::compare(x, y, x_scale, y_scale); |
52 | 3.48k | } _ZN5doris8dec_lessILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 49 | 10 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 50 | 10 | using Comparator = DecimalComparison<T, T, LessOp>; | 51 | 10 | return Comparator::compare(x, y, x_scale, y_scale); | 52 | 10 | } |
_ZN5doris8dec_lessILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 49 | 3 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 50 | 3 | using Comparator = DecimalComparison<T, T, LessOp>; | 51 | 3 | return Comparator::compare(x, y, x_scale, y_scale); | 52 | 3 | } |
Unexecuted instantiation: _ZN5doris8dec_lessILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj _ZN5doris8dec_lessILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 49 | 972 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 50 | 972 | using Comparator = DecimalComparison<T, T, LessOp>; | 51 | 972 | return Comparator::compare(x, y, x_scale, y_scale); | 52 | 972 | } |
_ZN5doris8dec_lessILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 49 | 2.50k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 50 | 2.50k | using Comparator = DecimalComparison<T, T, LessOp>; | 51 | 2.50k | return Comparator::compare(x, y, x_scale, y_scale); | 52 | 2.50k | } |
|
53 | | |
54 | | template <PrimitiveType T> |
55 | | bool dec_less_or_equal(typename PrimitiveTypeTraits<T>::CppType x, |
56 | 0 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
57 | 0 | using Comparator = DecimalComparison<T, T, LessOrEqualsOp>; |
58 | 0 | return Comparator::compare(x, y, x_scale, y_scale); |
59 | 0 | } Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Unexecuted instantiation: _ZN5doris17dec_less_or_equalILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj |
60 | | |
61 | | #define DECLARE_DECIMAL_COMPARISON(TYPE, PTYPE) \ |
62 | | template <> \ |
63 | 0 | bool decimal_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
64 | 0 | return dec_equal<PTYPE>(x, y, xs, ys); \ |
65 | 0 | } \ Unexecuted instantiation: _ZN5doris13decimal_equalINS_7DecimalIiEEEEbT_S3_jj Unexecuted instantiation: _ZN5doris13decimal_equalINS_7DecimalIlEEEEbT_S3_jj Unexecuted instantiation: _ZN5doris13decimal_equalINS_14DecimalV2ValueEEEbT_S2_jj Unexecuted instantiation: _ZN5doris13decimal_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj |
66 | | template <> \ |
67 | 985 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
68 | 985 | return dec_less<PTYPE>(x, y, xs, ys); \ |
69 | 985 | } \ _ZN5doris12decimal_lessINS_7DecimalIiEEEEbT_S3_jj Line | Count | Source | 67 | 10 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 68 | 10 | return dec_less<PTYPE>(x, y, xs, ys); \ | 69 | 10 | } \ |
_ZN5doris12decimal_lessINS_7DecimalIlEEEEbT_S3_jj Line | Count | Source | 67 | 3 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 68 | 3 | return dec_less<PTYPE>(x, y, xs, ys); \ | 69 | 3 | } \ |
Unexecuted instantiation: _ZN5doris12decimal_lessINS_14DecimalV2ValueEEEbT_S2_jj _ZN5doris12decimal_lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj Line | Count | Source | 67 | 972 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 68 | 972 | return dec_less<PTYPE>(x, y, xs, ys); \ | 69 | 972 | } \ |
|
70 | | template <> \ |
71 | 0 | bool decimal_less_or_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
72 | 0 | return dec_less_or_equal<PTYPE>(x, y, xs, ys); \ |
73 | 0 | } Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_7DecimalIiEEEEbT_S3_jj Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_7DecimalIlEEEEbT_S3_jj Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_14DecimalV2ValueEEEbT_S2_jj Unexecuted instantiation: _ZN5doris21decimal_less_or_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj |
74 | | |
75 | | DECLARE_DECIMAL_COMPARISON(Decimal32, TYPE_DECIMAL32) |
76 | | DECLARE_DECIMAL_COMPARISON(Decimal64, TYPE_DECIMAL64) |
77 | | DECLARE_DECIMAL_COMPARISON(DecimalV2Value, TYPE_DECIMALV2) |
78 | | DECLARE_DECIMAL_COMPARISON(Decimal256, TYPE_DECIMAL256) |
79 | | |
80 | | template <> |
81 | 0 | bool decimal_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
82 | 0 | return dec_equal<TYPE_DECIMAL128I>(x, y, xs, ys); |
83 | 0 | } |
84 | | template <> |
85 | 2.50k | bool decimal_less(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
86 | 2.50k | return dec_less<TYPE_DECIMAL128I>(x, y, xs, ys); |
87 | 2.50k | } |
88 | | template <> |
89 | 0 | bool decimal_less_or_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
90 | 0 | return dec_less_or_equal<TYPE_DECIMAL128I>(x, y, xs, ys); |
91 | 0 | } |
92 | | |
93 | | template <PrimitiveType Type> |
94 | 94.0M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { |
95 | | // In both Field and PODArray, small types may be stored as wider types, |
96 | | // e.g. char is stored as UInt64. Field can return this extended value |
97 | | // with get<StorageType>(). To avoid uninitialized results from get(), |
98 | | // we must initialize the entire wide stored type, and not just the |
99 | | // nominal type. |
100 | 94.0M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; |
101 | 94.0M | new (&storage) StorageType(std::move(x)); |
102 | 94.0M | type = Type; |
103 | 94.0M | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); |
104 | 94.0M | } _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 72.2k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 72.2k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 72.2k | new (&storage) StorageType(std::move(x)); | 102 | 72.2k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 72.2k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 4.26M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 4.26M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 4.26M | new (&storage) StorageType(std::move(x)); | 102 | 4.26M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 4.26M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 36.6k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 36.6k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 36.6k | new (&storage) StorageType(std::move(x)); | 102 | 36.6k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 36.6k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 20.0M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 20.0M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 20.0M | new (&storage) StorageType(std::move(x)); | 102 | 20.0M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 20.0M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 17.2M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 17.2M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 17.2M | new (&storage) StorageType(std::move(x)); | 102 | 17.2M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 17.2M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 52.3k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 52.3k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 52.3k | new (&storage) StorageType(std::move(x)); | 102 | 52.3k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 52.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 9.38k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 9.38k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 9.38k | new (&storage) StorageType(std::move(x)); | 102 | 9.38k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 9.38k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 14.4k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 14.4k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 14.4k | new (&storage) StorageType(std::move(x)); | 102 | 14.4k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 14.4k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 23.4k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 23.4k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 23.4k | new (&storage) StorageType(std::move(x)); | 102 | 23.4k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 23.4k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 109k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 109k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 109k | new (&storage) StorageType(std::move(x)); | 102 | 109k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 109k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 24.2k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 24.2k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 24.2k | new (&storage) StorageType(std::move(x)); | 102 | 24.2k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 24.2k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 13.5M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 13.5M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 13.5M | new (&storage) StorageType(std::move(x)); | 102 | 13.5M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 13.5M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 15.3k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 15.3k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 15.3k | new (&storage) StorageType(std::move(x)); | 102 | 15.3k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 15.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 31.9k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 31.9k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 31.9k | new (&storage) StorageType(std::move(x)); | 102 | 31.9k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 31.9k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 36.4k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 36.4k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 36.4k | new (&storage) StorageType(std::move(x)); | 102 | 36.4k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 36.4k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 3.89k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 3.89k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 3.89k | new (&storage) StorageType(std::move(x)); | 102 | 3.89k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 3.89k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 220k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 220k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 220k | new (&storage) StorageType(std::move(x)); | 102 | 220k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 220k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 4.99M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 4.99M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 4.99M | new (&storage) StorageType(std::move(x)); | 102 | 4.99M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 4.99M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 94 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 94 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 94 | new (&storage) StorageType(std::move(x)); | 102 | 94 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 94 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 25 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 25 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 25 | new (&storage) StorageType(std::move(x)); | 102 | 25 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 25 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 159k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 159k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 159k | new (&storage) StorageType(std::move(x)); | 102 | 159k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 159k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 19 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 19 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 19 | new (&storage) StorageType(std::move(x)); | 102 | 19 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 19 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 426k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 426k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 426k | new (&storage) StorageType(std::move(x)); | 102 | 426k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 426k | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE21EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 112 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 112 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 112 | new (&storage) StorageType(std::move(x)); | 102 | 112 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 112 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 34.6k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 34.6k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 34.6k | new (&storage) StorageType(std::move(x)); | 102 | 34.6k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 34.6k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 23.0k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 23.0k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 23.0k | new (&storage) StorageType(std::move(x)); | 102 | 23.0k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 23.0k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 28.3M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 28.3M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 28.3M | new (&storage) StorageType(std::move(x)); | 102 | 28.3M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 28.3M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 39.4k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 39.4k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 39.4k | new (&storage) StorageType(std::move(x)); | 102 | 39.4k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 39.4k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 420k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 420k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 420k | new (&storage) StorageType(std::move(x)); | 102 | 420k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 420k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 3.78M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 3.78M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 3.78M | new (&storage) StorageType(std::move(x)); | 102 | 3.78M | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 3.78M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 7.97k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 7.97k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 7.97k | new (&storage) StorageType(std::move(x)); | 102 | 7.97k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 7.97k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 3.79k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 3.79k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 3.79k | new (&storage) StorageType(std::move(x)); | 102 | 3.79k | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 3.79k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 28 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 28 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 28 | new (&storage) StorageType(std::move(x)); | 102 | 28 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 28 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 7 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 7 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 7 | new (&storage) StorageType(std::move(x)); | 102 | 7 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 7 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 94 | 40 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 95 | | // In both Field and PODArray, small types may be stored as wider types, | 96 | | // e.g. char is stored as UInt64. Field can return this extended value | 97 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 98 | | // we must initialize the entire wide stored type, and not just the | 99 | | // nominal type. | 100 | 40 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 101 | 40 | new (&storage) StorageType(std::move(x)); | 102 | 40 | type = Type; | 103 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 104 | 40 | } |
|
105 | | |
106 | | template <PrimitiveType Type> |
107 | 224M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { |
108 | | // In both Field and PODArray, small types may be stored as wider types, |
109 | | // e.g. char is stored as UInt64. Field can return this extended value |
110 | | // with get<StorageType>(). To avoid uninitialized results from get(), |
111 | | // we must initialize the entire wide stored type, and not just the |
112 | | // nominal type. |
113 | 224M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; |
114 | 224M | new (&storage) StorageType(x); |
115 | 224M | type = Type; |
116 | 224M | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); |
117 | 224M | } Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE21EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 38.7M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 38.7M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 38.7M | new (&storage) StorageType(x); | 115 | 38.7M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 38.7M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.51M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.51M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.51M | new (&storage) StorageType(x); | 115 | 3.51M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.51M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.96M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.96M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.96M | new (&storage) StorageType(x); | 115 | 3.96M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.96M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 19.1M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 19.1M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 19.1M | new (&storage) StorageType(x); | 115 | 19.1M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 19.1M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 5.32M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 5.32M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 5.32M | new (&storage) StorageType(x); | 115 | 5.32M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 5.32M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.19M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.19M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.19M | new (&storage) StorageType(x); | 115 | 3.19M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.19M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.39M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.39M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.39M | new (&storage) StorageType(x); | 115 | 3.39M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.39M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.33M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.33M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.33M | new (&storage) StorageType(x); | 115 | 3.33M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.33M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.39M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.39M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.39M | new (&storage) StorageType(x); | 115 | 3.39M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.39M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 4.08M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 4.08M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 4.08M | new (&storage) StorageType(x); | 115 | 4.08M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 4.08M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 95 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 95 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 95 | new (&storage) StorageType(x); | 115 | 95 | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 95 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.59M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.59M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.59M | new (&storage) StorageType(x); | 115 | 3.59M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.59M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.62M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.62M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.62M | new (&storage) StorageType(x); | 115 | 3.62M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.62M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 8.97k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 8.97k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 8.97k | new (&storage) StorageType(x); | 115 | 8.97k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 8.97k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.51M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.51M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.51M | new (&storage) StorageType(x); | 115 | 3.51M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.51M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.70M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.70M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.70M | new (&storage) StorageType(x); | 115 | 3.70M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.70M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 12 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 12 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 12 | new (&storage) StorageType(x); | 115 | 12 | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 12 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 33.0k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 33.0k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 33.0k | new (&storage) StorageType(x); | 115 | 33.0k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 33.0k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 679k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 679k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 679k | new (&storage) StorageType(x); | 115 | 679k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 679k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 6 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 6 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 6 | new (&storage) StorageType(x); | 115 | 6 | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 6 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 403 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 403 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 403 | new (&storage) StorageType(x); | 115 | 403 | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 403 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 8 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 8 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 8 | new (&storage) StorageType(x); | 115 | 8 | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 8 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 22.3k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 22.3k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 22.3k | new (&storage) StorageType(x); | 115 | 22.3k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 22.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 92.5M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 92.5M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 92.5M | new (&storage) StorageType(x); | 115 | 92.5M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 92.5M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 64.9k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 64.9k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 64.9k | new (&storage) StorageType(x); | 115 | 64.9k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 64.9k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 43.0k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 43.0k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 43.0k | new (&storage) StorageType(x); | 115 | 43.0k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 43.0k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.57M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.57M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.57M | new (&storage) StorageType(x); | 115 | 3.57M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.57M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.50M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.50M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.50M | new (&storage) StorageType(x); | 115 | 3.50M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.50M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.88M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.88M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.88M | new (&storage) StorageType(x); | 115 | 3.88M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.88M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 1.67M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 1.67M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 1.67M | new (&storage) StorageType(x); | 115 | 1.67M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 1.67M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 3.04M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 3.04M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 3.04M | new (&storage) StorageType(x); | 115 | 3.04M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 3.04M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 13.2M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 13.2M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 13.2M | new (&storage) StorageType(x); | 115 | 13.2M | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 13.2M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 2.42k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 2.42k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 2.42k | new (&storage) StorageType(x); | 115 | 2.42k | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 2.42k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 107 | 10 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 108 | | // In both Field and PODArray, small types may be stored as wider types, | 109 | | // e.g. char is stored as UInt64. Field can return this extended value | 110 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 111 | | // we must initialize the entire wide stored type, and not just the | 112 | | // nominal type. | 113 | 10 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 114 | 10 | new (&storage) StorageType(x); | 115 | 10 | type = Type; | 116 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 117 | 10 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
118 | | |
119 | 28.7M | void Field::create(Field&& field) { |
120 | 28.7M | switch (field.type) { |
121 | 45.4k | case PrimitiveType::TYPE_NULL: |
122 | 45.4k | create_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>())); |
123 | 45.4k | return; |
124 | 81.4k | case PrimitiveType::TYPE_DATETIMEV2: |
125 | 81.4k | create_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>())); |
126 | 81.4k | return; |
127 | 16.9k | case PrimitiveType::TYPE_DATEV2: |
128 | 16.9k | create_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>())); |
129 | 16.9k | return; |
130 | 42 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
131 | 42 | create_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>())); |
132 | 42 | return; |
133 | 14.3k | case PrimitiveType::TYPE_DATETIME: |
134 | 14.3k | create_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>())); |
135 | 14.3k | return; |
136 | 9.29k | case PrimitiveType::TYPE_DATE: |
137 | 9.29k | create_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>())); |
138 | 9.29k | return; |
139 | 80.5k | case PrimitiveType::TYPE_BOOLEAN: |
140 | 80.5k | create_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>())); |
141 | 80.5k | return; |
142 | 2.16M | case PrimitiveType::TYPE_TINYINT: |
143 | 2.16M | create_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>())); |
144 | 2.16M | return; |
145 | 31.8k | case PrimitiveType::TYPE_SMALLINT: |
146 | 31.8k | create_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>())); |
147 | 31.8k | return; |
148 | 18.5M | case PrimitiveType::TYPE_INT: |
149 | 18.5M | create_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>())); |
150 | 18.5M | return; |
151 | 2.27M | case PrimitiveType::TYPE_BIGINT: |
152 | 2.27M | create_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>())); |
153 | 2.27M | return; |
154 | 50.1k | case PrimitiveType::TYPE_LARGEINT: |
155 | 50.1k | create_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>())); |
156 | 50.1k | return; |
157 | 34.5k | case PrimitiveType::TYPE_IPV4: |
158 | 34.5k | create_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>())); |
159 | 34.5k | return; |
160 | 23.0k | case PrimitiveType::TYPE_IPV6: |
161 | 23.0k | create_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>())); |
162 | 23.0k | return; |
163 | 34.1k | case PrimitiveType::TYPE_FLOAT: |
164 | 34.1k | create_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>())); |
165 | 34.1k | return; |
166 | 2 | case PrimitiveType::TYPE_TIMEV2: |
167 | 2 | create_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>())); |
168 | 2 | return; |
169 | 298k | case PrimitiveType::TYPE_DOUBLE: |
170 | 298k | create_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>())); |
171 | 298k | return; |
172 | 2.43M | case PrimitiveType::TYPE_STRING: |
173 | 2.43M | create_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>())); |
174 | 2.43M | return; |
175 | 1.30k | case PrimitiveType::TYPE_CHAR: |
176 | 1.30k | create_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>())); |
177 | 1.30k | return; |
178 | 87.6k | case PrimitiveType::TYPE_VARCHAR: |
179 | 87.6k | create_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>())); |
180 | 87.6k | return; |
181 | 1.99M | case PrimitiveType::TYPE_JSONB: |
182 | 1.99M | create_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>())); |
183 | 1.99M | return; |
184 | 323k | case PrimitiveType::TYPE_ARRAY: |
185 | 323k | create_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>())); |
186 | 323k | return; |
187 | 4.42k | case PrimitiveType::TYPE_STRUCT: |
188 | 4.42k | create_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>())); |
189 | 4.42k | return; |
190 | 933 | case PrimitiveType::TYPE_MAP: |
191 | 933 | create_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>())); |
192 | 933 | return; |
193 | 17.7k | case PrimitiveType::TYPE_DECIMAL32: |
194 | 17.7k | create_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>())); |
195 | 17.7k | return; |
196 | 29.9k | case PrimitiveType::TYPE_DECIMAL64: |
197 | 29.9k | create_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>())); |
198 | 29.9k | return; |
199 | 5.81k | case PrimitiveType::TYPE_DECIMALV2: |
200 | 5.81k | create_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>())); |
201 | 5.81k | return; |
202 | 26.3k | case PrimitiveType::TYPE_DECIMAL128I: |
203 | 26.3k | create_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>())); |
204 | 26.3k | return; |
205 | 35.5k | case PrimitiveType::TYPE_DECIMAL256: |
206 | 35.5k | create_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>())); |
207 | 35.5k | return; |
208 | 79.4k | case PrimitiveType::TYPE_VARIANT: |
209 | 79.4k | create_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>())); |
210 | 79.4k | return; |
211 | 4 | case PrimitiveType::TYPE_BITMAP: |
212 | 4 | create_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>())); |
213 | 4 | return; |
214 | 3 | case PrimitiveType::TYPE_HLL: |
215 | 3 | create_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>())); |
216 | 3 | return; |
217 | 1 | case PrimitiveType::TYPE_QUANTILE_STATE: |
218 | 1 | create_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>())); |
219 | 1 | return; |
220 | 45 | case PrimitiveType::TYPE_VARBINARY: |
221 | 45 | create_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>())); |
222 | 45 | return; |
223 | 0 | default: |
224 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
225 | 28.7M | } |
226 | 28.7M | } |
227 | | |
228 | 203M | Field::Field(const Field& rhs) { |
229 | 203M | create(rhs); |
230 | 203M | } |
231 | | |
232 | 5.25M | Field::Field(Field&& rhs) { |
233 | 5.25M | create(std::move(rhs)); |
234 | 5.25M | } |
235 | | |
236 | 1.27M | Field& Field::operator=(const Field& rhs) { |
237 | 1.27M | if (this != &rhs) { |
238 | 1.27M | if (type != rhs.type) { |
239 | 1.12M | destroy(); |
240 | 1.12M | create(rhs); |
241 | 1.12M | } else { |
242 | 151k | assign(rhs); /// This assigns string or vector without deallocation of existing buffer. |
243 | 151k | } |
244 | 1.27M | } |
245 | 1.27M | return *this; |
246 | 1.27M | } |
247 | | |
248 | 204M | void Field::create(const Field& field) { |
249 | 204M | switch (field.type) { |
250 | 38.7M | case PrimitiveType::TYPE_NULL: |
251 | 38.7M | create_concrete<TYPE_NULL>(field.template get<TYPE_NULL>()); |
252 | 38.7M | return; |
253 | 4.02M | case PrimitiveType::TYPE_DATETIMEV2: |
254 | 4.02M | create_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>()); |
255 | 4.02M | return; |
256 | 3.38M | case PrimitiveType::TYPE_DATEV2: |
257 | 3.38M | create_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>()); |
258 | 3.38M | return; |
259 | 0 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
260 | 0 | create_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>()); |
261 | 0 | return; |
262 | 3.32M | case PrimitiveType::TYPE_DATETIME: |
263 | 3.32M | create_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>()); |
264 | 3.32M | return; |
265 | 3.38M | case PrimitiveType::TYPE_DATE: |
266 | 3.38M | create_concrete<TYPE_DATE>(field.template get<TYPE_DATE>()); |
267 | 3.38M | return; |
268 | 3.56M | case PrimitiveType::TYPE_BOOLEAN: |
269 | 3.56M | create_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>()); |
270 | 3.56M | return; |
271 | 3.44M | case PrimitiveType::TYPE_TINYINT: |
272 | 3.44M | create_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>()); |
273 | 3.44M | return; |
274 | 3.93M | case PrimitiveType::TYPE_SMALLINT: |
275 | 3.93M | create_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>()); |
276 | 3.93M | return; |
277 | 43.4k | case PrimitiveType::TYPE_INT: |
278 | 43.4k | create_concrete<TYPE_INT>(field.template get<TYPE_INT>()); |
279 | 43.4k | return; |
280 | 5.25M | case PrimitiveType::TYPE_BIGINT: |
281 | 5.25M | create_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>()); |
282 | 5.25M | return; |
283 | 3.17M | case PrimitiveType::TYPE_LARGEINT: |
284 | 3.17M | create_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>()); |
285 | 3.17M | return; |
286 | 29.9k | case PrimitiveType::TYPE_IPV4: |
287 | 29.9k | create_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>()); |
288 | 29.9k | return; |
289 | 19.6k | case PrimitiveType::TYPE_IPV6: |
290 | 19.6k | create_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>()); |
291 | 19.6k | return; |
292 | 3.47M | case PrimitiveType::TYPE_FLOAT: |
293 | 3.47M | create_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>()); |
294 | 3.47M | return; |
295 | 0 | case PrimitiveType::TYPE_TIMEV2: |
296 | 0 | create_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>()); |
297 | 0 | return; |
298 | 3.85M | case PrimitiveType::TYPE_DOUBLE: |
299 | 3.85M | create_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>()); |
300 | 3.85M | return; |
301 | 164k | case PrimitiveType::TYPE_STRING: |
302 | 164k | create_concrete<TYPE_STRING>(field.template get<TYPE_STRING>()); |
303 | 164k | return; |
304 | 0 | case PrimitiveType::TYPE_CHAR: |
305 | 0 | create_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>()); |
306 | 0 | return; |
307 | 0 | case PrimitiveType::TYPE_VARCHAR: |
308 | 0 | create_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>()); |
309 | 0 | return; |
310 | 1.66M | case PrimitiveType::TYPE_JSONB: |
311 | 1.66M | create_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>()); |
312 | 1.66M | return; |
313 | 92.4M | case PrimitiveType::TYPE_ARRAY: |
314 | 92.4M | create_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>()); |
315 | 92.4M | return; |
316 | 3.04M | case PrimitiveType::TYPE_STRUCT: |
317 | 3.04M | create_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>()); |
318 | 3.04M | return; |
319 | 13.2M | case PrimitiveType::TYPE_MAP: |
320 | 13.2M | create_concrete<TYPE_MAP>(field.template get<TYPE_MAP>()); |
321 | 13.2M | return; |
322 | 3.58M | case PrimitiveType::TYPE_DECIMAL32: |
323 | 3.58M | create_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>()); |
324 | 3.58M | return; |
325 | 3.58M | case PrimitiveType::TYPE_DECIMAL64: |
326 | 3.58M | create_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>()); |
327 | 3.58M | return; |
328 | 430 | case PrimitiveType::TYPE_DECIMALV2: |
329 | 430 | create_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>()); |
330 | 430 | return; |
331 | 3.49M | case PrimitiveType::TYPE_DECIMAL128I: |
332 | 3.49M | create_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>()); |
333 | 3.49M | return; |
334 | 3.66M | case PrimitiveType::TYPE_DECIMAL256: |
335 | 3.66M | create_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>()); |
336 | 3.66M | return; |
337 | 5 | case PrimitiveType::TYPE_VARIANT: |
338 | 5 | create_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>()); |
339 | 5 | return; |
340 | 0 | case PrimitiveType::TYPE_BITMAP: |
341 | 0 | create_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>()); |
342 | 0 | return; |
343 | 0 | case PrimitiveType::TYPE_HLL: |
344 | 0 | create_concrete<TYPE_HLL>(field.template get<TYPE_HLL>()); |
345 | 0 | return; |
346 | 0 | case PrimitiveType::TYPE_QUANTILE_STATE: |
347 | 0 | create_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>()); |
348 | 0 | return; |
349 | 0 | case PrimitiveType::TYPE_UINT32: |
350 | 0 | create_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>()); |
351 | 0 | return; |
352 | 0 | case PrimitiveType::TYPE_UINT64: |
353 | 0 | create_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>()); |
354 | 0 | return; |
355 | 0 | case PrimitiveType::TYPE_VARBINARY: |
356 | 0 | create_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>()); |
357 | 0 | return; |
358 | 0 | default: |
359 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
360 | 204M | } |
361 | 204M | } |
362 | | |
363 | 369M | void Field::destroy() { |
364 | 369M | switch (type) { |
365 | 5.67M | case PrimitiveType::TYPE_STRING: |
366 | 5.67M | destroy<TYPE_STRING>(); |
367 | 5.67M | break; |
368 | 3.91k | case PrimitiveType::TYPE_CHAR: |
369 | 3.91k | destroy<TYPE_CHAR>(); |
370 | 3.91k | break; |
371 | 253k | case PrimitiveType::TYPE_VARCHAR: |
372 | 253k | destroy<TYPE_VARCHAR>(); |
373 | 253k | break; |
374 | 5.45M | case PrimitiveType::TYPE_JSONB: |
375 | 5.45M | destroy<TYPE_JSONB>(); |
376 | 5.45M | break; |
377 | 92.9M | case PrimitiveType::TYPE_ARRAY: |
378 | 92.9M | destroy<TYPE_ARRAY>(); |
379 | 92.9M | break; |
380 | 3.05M | case PrimitiveType::TYPE_STRUCT: |
381 | 3.05M | destroy<TYPE_STRUCT>(); |
382 | 3.05M | break; |
383 | 13.2M | case PrimitiveType::TYPE_MAP: |
384 | 13.2M | destroy<TYPE_MAP>(); |
385 | 13.2M | break; |
386 | 159k | case PrimitiveType::TYPE_VARIANT: |
387 | 159k | destroy<TYPE_VARIANT>(); |
388 | 159k | break; |
389 | 2.45k | case PrimitiveType::TYPE_BITMAP: |
390 | 2.45k | destroy<TYPE_BITMAP>(); |
391 | 2.45k | break; |
392 | 428 | case PrimitiveType::TYPE_HLL: |
393 | 428 | destroy<TYPE_HLL>(); |
394 | 428 | break; |
395 | 22.4k | case PrimitiveType::TYPE_QUANTILE_STATE: |
396 | 22.4k | destroy<TYPE_QUANTILE_STATE>(); |
397 | 22.4k | break; |
398 | 100 | case PrimitiveType::TYPE_VARBINARY: |
399 | 100 | destroy<TYPE_VARBINARY>(); |
400 | 100 | break; |
401 | 248M | default: |
402 | 248M | break; |
403 | 369M | } |
404 | | |
405 | 369M | type = PrimitiveType:: |
406 | 369M | TYPE_NULL; /// for exception safety in subsequent calls to destroy and create, when create fails. |
407 | 369M | } |
408 | | |
409 | 12.5M | void Field::assign(Field&& field) { |
410 | 12.5M | switch (field.type) { |
411 | 11.9M | case PrimitiveType::TYPE_NULL: |
412 | 11.9M | assign_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>())); |
413 | 11.9M | return; |
414 | 6.27k | case PrimitiveType::TYPE_DATETIMEV2: |
415 | 6.27k | assign_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>())); |
416 | 6.27k | return; |
417 | 66 | case PrimitiveType::TYPE_DATETIME: |
418 | 66 | assign_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>())); |
419 | 66 | return; |
420 | 42 | case PrimitiveType::TYPE_DATE: |
421 | 42 | assign_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>())); |
422 | 42 | return; |
423 | 1.22k | case PrimitiveType::TYPE_DATEV2: |
424 | 1.22k | assign_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>())); |
425 | 1.22k | return; |
426 | 20 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
427 | 20 | assign_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>())); |
428 | 20 | return; |
429 | 1.66k | case PrimitiveType::TYPE_BOOLEAN: |
430 | 1.66k | assign_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>())); |
431 | 1.66k | return; |
432 | 8.63k | case PrimitiveType::TYPE_TINYINT: |
433 | 8.63k | assign_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>())); |
434 | 8.63k | return; |
435 | 1.03k | case PrimitiveType::TYPE_SMALLINT: |
436 | 1.03k | assign_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>())); |
437 | 1.03k | return; |
438 | 238k | case PrimitiveType::TYPE_INT: |
439 | 238k | assign_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>())); |
440 | 238k | return; |
441 | 32.1k | case PrimitiveType::TYPE_BIGINT: |
442 | 32.1k | assign_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>())); |
443 | 32.1k | return; |
444 | 1.54k | case PrimitiveType::TYPE_LARGEINT: |
445 | 1.54k | assign_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>())); |
446 | 1.54k | return; |
447 | 1 | case PrimitiveType::TYPE_IPV4: |
448 | 1 | assign_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>())); |
449 | 1 | return; |
450 | 1 | case PrimitiveType::TYPE_IPV6: |
451 | 1 | assign_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>())); |
452 | 1 | return; |
453 | 700 | case PrimitiveType::TYPE_FLOAT: |
454 | 700 | assign_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>())); |
455 | 700 | return; |
456 | 0 | case PrimitiveType::TYPE_TIMEV2: |
457 | 0 | assign_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>())); |
458 | 0 | return; |
459 | 1.85k | case PrimitiveType::TYPE_DOUBLE: |
460 | 1.85k | assign_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>())); |
461 | 1.85k | return; |
462 | 23.2k | case PrimitiveType::TYPE_STRING: |
463 | 23.2k | assign_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>())); |
464 | 23.2k | return; |
465 | 592 | case PrimitiveType::TYPE_CHAR: |
466 | 592 | assign_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>())); |
467 | 592 | return; |
468 | 39.8k | case PrimitiveType::TYPE_VARCHAR: |
469 | 39.8k | assign_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>())); |
470 | 39.8k | return; |
471 | 188k | case PrimitiveType::TYPE_JSONB: |
472 | 188k | assign_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>())); |
473 | 188k | return; |
474 | 28.6k | case PrimitiveType::TYPE_ARRAY: |
475 | 28.6k | assign_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>())); |
476 | 28.6k | return; |
477 | 0 | case PrimitiveType::TYPE_STRUCT: |
478 | 0 | assign_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>())); |
479 | 0 | return; |
480 | 1 | case PrimitiveType::TYPE_MAP: |
481 | 1 | assign_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>())); |
482 | 1 | return; |
483 | 365 | case PrimitiveType::TYPE_DECIMAL32: |
484 | 365 | assign_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>())); |
485 | 365 | return; |
486 | 949 | case PrimitiveType::TYPE_DECIMAL64: |
487 | 949 | assign_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>())); |
488 | 949 | return; |
489 | 16 | case PrimitiveType::TYPE_DECIMALV2: |
490 | 16 | assign_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>())); |
491 | 16 | return; |
492 | 525 | case PrimitiveType::TYPE_DECIMAL128I: |
493 | 525 | assign_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>())); |
494 | 525 | return; |
495 | 1 | case PrimitiveType::TYPE_DECIMAL256: |
496 | 1 | assign_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>())); |
497 | 1 | return; |
498 | 67 | case PrimitiveType::TYPE_VARIANT: |
499 | 67 | assign_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>())); |
500 | 67 | return; |
501 | 2 | case PrimitiveType::TYPE_BITMAP: |
502 | 2 | assign_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>())); |
503 | 2 | return; |
504 | 1 | case PrimitiveType::TYPE_HLL: |
505 | 1 | assign_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>())); |
506 | 1 | return; |
507 | 1 | case PrimitiveType::TYPE_QUANTILE_STATE: |
508 | 1 | assign_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>())); |
509 | 1 | return; |
510 | 0 | case PrimitiveType::TYPE_VARBINARY: |
511 | 0 | assign_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>())); |
512 | 0 | return; |
513 | 0 | default: |
514 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
515 | 12.5M | } |
516 | 12.5M | } |
517 | | |
518 | 151k | void Field::assign(const Field& field) { |
519 | 151k | switch (field.type) { |
520 | 319 | case PrimitiveType::TYPE_NULL: |
521 | 319 | assign_concrete<TYPE_NULL>(field.template get<TYPE_NULL>()); |
522 | 319 | return; |
523 | 6.42k | case PrimitiveType::TYPE_DATETIMEV2: |
524 | 6.42k | assign_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>()); |
525 | 6.42k | return; |
526 | 48 | case PrimitiveType::TYPE_DATETIME: |
527 | 48 | assign_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>()); |
528 | 48 | return; |
529 | 26 | case PrimitiveType::TYPE_DATE: |
530 | 26 | assign_concrete<TYPE_DATE>(field.template get<TYPE_DATE>()); |
531 | 26 | return; |
532 | 1.33k | case PrimitiveType::TYPE_DATEV2: |
533 | 1.33k | assign_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>()); |
534 | 1.33k | return; |
535 | 2 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
536 | 2 | assign_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>()); |
537 | 2 | return; |
538 | 616 | case PrimitiveType::TYPE_BOOLEAN: |
539 | 616 | assign_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>()); |
540 | 616 | return; |
541 | 8.88k | case PrimitiveType::TYPE_TINYINT: |
542 | 8.88k | assign_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>()); |
543 | 8.88k | return; |
544 | 1.14k | case PrimitiveType::TYPE_SMALLINT: |
545 | 1.14k | assign_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>()); |
546 | 1.14k | return; |
547 | 32.6k | case PrimitiveType::TYPE_INT: |
548 | 32.6k | assign_concrete<TYPE_INT>(field.template get<TYPE_INT>()); |
549 | 32.6k | return; |
550 | 29.6k | case PrimitiveType::TYPE_BIGINT: |
551 | 29.6k | assign_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>()); |
552 | 29.6k | return; |
553 | 558 | case PrimitiveType::TYPE_LARGEINT: |
554 | 558 | assign_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>()); |
555 | 558 | return; |
556 | 1 | case PrimitiveType::TYPE_IPV4: |
557 | 1 | assign_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>()); |
558 | 1 | return; |
559 | 1 | case PrimitiveType::TYPE_IPV6: |
560 | 1 | assign_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>()); |
561 | 1 | return; |
562 | 750 | case PrimitiveType::TYPE_FLOAT: |
563 | 750 | assign_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>()); |
564 | 750 | return; |
565 | 0 | case PrimitiveType::TYPE_TIMEV2: |
566 | 0 | assign_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>()); |
567 | 0 | return; |
568 | 866 | case PrimitiveType::TYPE_DOUBLE: |
569 | 866 | assign_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>()); |
570 | 866 | return; |
571 | 16.2k | case PrimitiveType::TYPE_STRING: |
572 | 16.2k | assign_concrete<TYPE_STRING>(field.template get<TYPE_STRING>()); |
573 | 16.2k | return; |
574 | 651 | case PrimitiveType::TYPE_CHAR: |
575 | 651 | assign_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>()); |
576 | 651 | return; |
577 | 43.9k | case PrimitiveType::TYPE_VARCHAR: |
578 | 43.9k | assign_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>()); |
579 | 43.9k | return; |
580 | 1 | case PrimitiveType::TYPE_JSONB: |
581 | 1 | assign_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>()); |
582 | 1 | return; |
583 | 5.53k | case PrimitiveType::TYPE_ARRAY: |
584 | 5.53k | assign_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>()); |
585 | 5.53k | return; |
586 | 0 | case PrimitiveType::TYPE_STRUCT: |
587 | 0 | assign_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>()); |
588 | 0 | return; |
589 | 1 | case PrimitiveType::TYPE_MAP: |
590 | 1 | assign_concrete<TYPE_MAP>(field.template get<TYPE_MAP>()); |
591 | 1 | return; |
592 | 425 | case PrimitiveType::TYPE_DECIMAL32: |
593 | 425 | assign_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>()); |
594 | 425 | return; |
595 | 977 | case PrimitiveType::TYPE_DECIMAL64: |
596 | 977 | assign_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>()); |
597 | 977 | return; |
598 | 6 | case PrimitiveType::TYPE_DECIMALV2: |
599 | 6 | assign_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>()); |
600 | 6 | return; |
601 | 633 | case PrimitiveType::TYPE_DECIMAL128I: |
602 | 633 | assign_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>()); |
603 | 633 | return; |
604 | 1 | case PrimitiveType::TYPE_DECIMAL256: |
605 | 1 | assign_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>()); |
606 | 1 | return; |
607 | 0 | case PrimitiveType::TYPE_VARIANT: |
608 | 0 | assign_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>()); |
609 | 0 | return; |
610 | 2 | case PrimitiveType::TYPE_BITMAP: |
611 | 2 | assign_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>()); |
612 | 2 | return; |
613 | 1 | case PrimitiveType::TYPE_HLL: |
614 | 1 | assign_concrete<TYPE_HLL>(field.template get<TYPE_HLL>()); |
615 | 1 | return; |
616 | 1 | case PrimitiveType::TYPE_QUANTILE_STATE: |
617 | 1 | assign_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>()); |
618 | 1 | return; |
619 | 0 | case PrimitiveType::TYPE_UINT32: |
620 | 0 | assign_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>()); |
621 | 0 | return; |
622 | 0 | case PrimitiveType::TYPE_UINT64: |
623 | 0 | assign_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>()); |
624 | 0 | return; |
625 | 0 | case PrimitiveType::TYPE_VARBINARY: |
626 | 0 | assign_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>()); |
627 | 0 | return; |
628 | 0 | default: |
629 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
630 | 151k | } |
631 | 151k | } |
632 | | |
633 | | /// Assuming same types. |
634 | | template <PrimitiveType Type> |
635 | 12.5M | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { |
636 | 12.5M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); |
637 | 12.5M | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); |
638 | 12.5M | } _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 11.9M | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 11.9M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 11.9M | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 11.9M | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 8.63k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 8.63k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 8.63k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 8.63k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1.03k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1.03k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1.03k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1.03k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 238k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 238k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 238k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 238k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 32.1k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 32.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 32.1k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 32.1k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1.54k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1.54k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1.54k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1.54k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 42 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 42 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 42 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 42 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 66 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 66 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 66 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 66 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1.22k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1.22k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1.22k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1.22k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 6.27k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 6.27k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 6.27k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 6.27k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 365 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 365 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 365 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 365 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 949 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 949 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 949 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 949 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 16 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 16 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 16 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 16 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 525 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 525 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 525 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 525 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 592 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 592 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 592 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 592 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 39.8k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 39.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 39.8k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 39.8k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 23.2k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 23.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 23.2k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 23.2k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 67 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 67 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 67 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 67 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 28.6k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 28.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 28.6k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 28.6k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE21EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 20 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 20 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 20 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 20 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1.66k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1.66k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1.66k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1.66k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 700 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 700 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 700 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 700 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1.85k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1.85k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1.85k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1.85k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 188k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 188k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 188k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 188k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 635 | 2 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 636 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 637 | 2 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 638 | 2 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
639 | | |
640 | | template <PrimitiveType Type> |
641 | 151k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { |
642 | 151k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); |
643 | 151k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); |
644 | 151k | } Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE21EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 319 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 319 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 319 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 319 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 8.88k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 8.88k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 8.88k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 8.88k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1.14k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1.14k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1.14k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1.14k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 32.6k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 32.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 32.6k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 32.6k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 29.6k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 29.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 29.6k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 29.6k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 558 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 558 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 558 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 558 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 26 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 26 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 26 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 26 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 48 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 48 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 48 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 48 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1.33k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1.33k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1.33k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1.33k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 6.42k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 6.42k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 6.42k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 6.42k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 2 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 2 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 2 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 425 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 425 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 425 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 425 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 977 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 977 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 977 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 977 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 6 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 6 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 6 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 6 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 633 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 633 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 633 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 633 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 651 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 651 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 651 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 651 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 43.9k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 43.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 43.9k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 43.9k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 16.2k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 16.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 16.2k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 16.2k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 5.53k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 5.53k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 5.53k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 5.53k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 616 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 616 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 616 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 616 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 750 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 750 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 750 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 750 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 866 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 866 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 866 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 866 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 641 | 2 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 642 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 643 | 2 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 644 | 2 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
645 | | |
646 | 159 | std::string Field::get_type_name() const { |
647 | 159 | return type_to_string(type); |
648 | 159 | } |
649 | | |
650 | | template <PrimitiveType T> |
651 | 96.3M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { |
652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) |
653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); |
654 | 96.3M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); |
655 | 96.3M | return *ptr; |
656 | 96.3M | } _ZN5doris5Field3getILNS_13PrimitiveTypeE1EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 11.9M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 11.9M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 11.9M | return *ptr; | 656 | 11.9M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE3EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 2.17M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 2.17M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 2.17M | return *ptr; | 656 | 2.17M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE4EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 34.5k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 34.5k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 34.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 34.5k | return *ptr; | 656 | 34.5k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE5EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 73.5M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 73.5M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 73.5M | return *ptr; | 656 | 73.5M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE6EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 2.32M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 2.32M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 2 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 2.32M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 2.32M | return *ptr; | 656 | 2.32M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE7EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 51.8k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 51.8k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 2 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 51.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 51.8k | return *ptr; | 656 | 51.8k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE11EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 9.36k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 9.36k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 9.36k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 9.36k | return *ptr; | 656 | 9.36k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE12EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 14.4k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 14.4k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 14.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 14.4k | return *ptr; | 656 | 14.4k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE25EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 18.2k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.2k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 18.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 18.2k | return *ptr; | 656 | 18.2k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE26EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 90.8k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 90.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 90.8k | return *ptr; | 656 | 90.8k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE42EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 79 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 79 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 79 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 79 | return *ptr; | 656 | 79 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE28EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 18.9k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.9k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 18.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 18.9k | return *ptr; | 656 | 18.9k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE29EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 44.7k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 44.7k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 44.7k | return *ptr; | 656 | 44.7k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE20EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 8.51k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 8.51k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 8.51k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 8.51k | return *ptr; | 656 | 8.51k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE30EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 32.6k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 32.6k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 32.6k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 32.6k | return *ptr; | 656 | 32.6k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE35EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 37.1k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 37.1k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 37.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 37.1k | return *ptr; | 656 | 37.1k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE15EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 2.59k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 2.59k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 2.59k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 2.59k | return *ptr; | 656 | 2.59k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE10EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 172k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 172k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 172k | return *ptr; | 656 | 172k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE23EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 2.53M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 2.53M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 2.53M | return *ptr; | 656 | 2.53M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE41EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 56 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 56 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 56 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 56 | return *ptr; | 656 | 56 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE19EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 4 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 4 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 4 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 4 | return *ptr; | 656 | 4 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE32EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 159k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 159k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 159k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 159k | return *ptr; | 656 | 159k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE24EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 2 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 2 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 2 | return *ptr; | 656 | 2 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE17EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 404k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 404k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 404k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 404k | return *ptr; | 656 | 404k | } |
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE21EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv _ZN5doris5Field3getILNS_13PrimitiveTypeE36EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 34.5k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 34.5k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 34.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 34.5k | return *ptr; | 656 | 34.5k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE37EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 23.0k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 23.0k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 23.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 23.0k | return *ptr; | 656 | 23.0k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE2EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 82.5k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 82.5k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 82.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 82.5k | return *ptr; | 656 | 82.5k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE8EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 35.7k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 35.7k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 35.7k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 35.7k | return *ptr; | 656 | 35.7k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE9EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 301k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 301k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 301k | return *ptr; | 656 | 301k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE31EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 2.20M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 2.20M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 2.20M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 2.20M | return *ptr; | 656 | 2.20M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE16EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 8.86k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 8.86k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 8.86k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 8.86k | return *ptr; | 656 | 8.86k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE18EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 1.11k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 1.11k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 1.11k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 1.11k | return *ptr; | 656 | 1.11k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE22EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 135 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 135 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 135 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 135 | return *ptr; | 656 | 135 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE27EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 651 | 5 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 652 | 5 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 653 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 654 | 5 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 655 | 5 | return *ptr; | 656 | 5 | } |
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE38EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE39EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv |
657 | | |
658 | | template <PrimitiveType T> |
659 | 324M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { |
660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) |
661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); |
662 | 324M | const auto* MAY_ALIAS ptr = |
663 | 324M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); |
664 | 324M | return *ptr; |
665 | 324M | } _ZNK5doris5Field3getILNS_13PrimitiveTypeE1EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 38.7M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 38.7M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 38.7M | const auto* MAY_ALIAS ptr = | 663 | 38.7M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 38.7M | return *ptr; | 665 | 38.7M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE3EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 5.62M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 5.62M | const auto* MAY_ALIAS ptr = | 663 | 5.62M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 5.62M | return *ptr; | 665 | 5.62M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE4EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.93M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.93M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.93M | const auto* MAY_ALIAS ptr = | 663 | 4.93M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.93M | return *ptr; | 665 | 4.93M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE5EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 3.06M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 3.06M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 3.06M | const auto* MAY_ALIAS ptr = | 663 | 3.06M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 3.06M | return *ptr; | 665 | 3.06M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE6EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 23.0M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 23.0M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 2 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 23.0M | const auto* MAY_ALIAS ptr = | 663 | 23.0M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 23.0M | return *ptr; | 665 | 23.0M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE7EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.30M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.30M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.30M | const auto* MAY_ALIAS ptr = | 663 | 4.30M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.30M | return *ptr; | 665 | 4.30M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE11EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.38M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.38M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.38M | const auto* MAY_ALIAS ptr = | 663 | 4.38M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.38M | return *ptr; | 665 | 4.38M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE12EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.32M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.32M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.32M | const auto* MAY_ALIAS ptr = | 663 | 4.32M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.32M | return *ptr; | 665 | 4.32M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE25EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.39M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.39M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.39M | const auto* MAY_ALIAS ptr = | 663 | 4.39M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.39M | return *ptr; | 665 | 4.39M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE26EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 5.06M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 5.06M | const auto* MAY_ALIAS ptr = | 663 | 5.06M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 5.06M | return *ptr; | 665 | 5.06M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE42EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 301 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 301 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 301 | const auto* MAY_ALIAS ptr = | 663 | 301 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 301 | return *ptr; | 665 | 301 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE28EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.59M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.59M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.59M | const auto* MAY_ALIAS ptr = | 663 | 4.59M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.59M | return *ptr; | 665 | 4.59M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE29EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 18.1M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.1M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 18.1M | const auto* MAY_ALIAS ptr = | 663 | 18.1M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 18.1M | return *ptr; | 665 | 18.1M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE20EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 15.8k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 15.8k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 15.8k | const auto* MAY_ALIAS ptr = | 663 | 15.8k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 15.8k | return *ptr; | 665 | 15.8k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE30EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.50M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.50M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.50M | const auto* MAY_ALIAS ptr = | 663 | 4.50M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.50M | return *ptr; | 665 | 4.50M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE35EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.67M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.67M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.67M | const auto* MAY_ALIAS ptr = | 663 | 4.67M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.67M | return *ptr; | 665 | 4.67M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE15EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 998 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 998 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 998 | const auto* MAY_ALIAS ptr = | 663 | 998 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 998 | return *ptr; | 665 | 998 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE10EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 182k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 182k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 22 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 182k | const auto* MAY_ALIAS ptr = | 663 | 182k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 182k | return *ptr; | 665 | 182k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE23EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 7.37M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18.4E | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 7.37M | const auto* MAY_ALIAS ptr = | 663 | 7.37M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 7.37M | return *ptr; | 665 | 7.37M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE41EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 56 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 56 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 56 | const auto* MAY_ALIAS ptr = | 663 | 56 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 56 | return *ptr; | 665 | 56 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE19EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 16 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 16 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 16 | const auto* MAY_ALIAS ptr = | 663 | 16 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 16 | return *ptr; | 665 | 16 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE32EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 9.22k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 9.22k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 9.22k | const auto* MAY_ALIAS ptr = | 663 | 9.22k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 9.22k | return *ptr; | 665 | 9.22k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE24EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 20.0k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 20.0k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 20.0k | const auto* MAY_ALIAS ptr = | 663 | 20.0k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 20.0k | return *ptr; | 665 | 20.0k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE17EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 119M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 119M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 119M | const auto* MAY_ALIAS ptr = | 663 | 119M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 119M | return *ptr; | 665 | 119M | } |
Unexecuted instantiation: _ZNK5doris5Field3getILNS_13PrimitiveTypeE21EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv _ZNK5doris5Field3getILNS_13PrimitiveTypeE36EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 30.7k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 30.7k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 30.7k | const auto* MAY_ALIAS ptr = | 663 | 30.7k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 30.7k | return *ptr; | 665 | 30.7k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE37EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 20.3k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 20.3k | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 20.3k | const auto* MAY_ALIAS ptr = | 663 | 20.3k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 20.3k | return *ptr; | 665 | 20.3k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE2EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 33.0M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 33.0M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 33.0M | const auto* MAY_ALIAS ptr = | 663 | 33.0M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 33.0M | return *ptr; | 665 | 33.0M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE8EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.48M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.48M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.48M | const auto* MAY_ALIAS ptr = | 663 | 4.48M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.48M | return *ptr; | 665 | 4.48M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE9EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 5.36M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 5.36M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 5.36M | const auto* MAY_ALIAS ptr = | 663 | 5.36M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 5.36M | return *ptr; | 665 | 5.36M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE31EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 2.84M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 2.84M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 2.84M | const auto* MAY_ALIAS ptr = | 663 | 2.84M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 2.84M | return *ptr; | 665 | 2.84M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE16EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 4.04M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 4.04M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 4.04M | const auto* MAY_ALIAS ptr = | 663 | 4.04M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 4.04M | return *ptr; | 665 | 4.04M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE18EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 17.2M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 17.2M | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 17.2M | const auto* MAY_ALIAS ptr = | 663 | 17.2M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 17.2M | return *ptr; | 665 | 17.2M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE22EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 17 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 17 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 17 | const auto* MAY_ALIAS ptr = | 663 | 17 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 17 | return *ptr; | 665 | 17 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE27EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 18 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 18 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 18 | const auto* MAY_ALIAS ptr = | 663 | 18 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 18 | return *ptr; | 665 | 18 | } |
Unexecuted instantiation: _ZNK5doris5Field3getILNS_13PrimitiveTypeE38EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv _ZNK5doris5Field3getILNS_13PrimitiveTypeE39EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 659 | 40 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 660 | 40 | DCHECK(T == type || (is_string_type(type) && is_string_type(T)) || type == TYPE_NULL) | 661 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 662 | 40 | const auto* MAY_ALIAS ptr = | 663 | 40 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 664 | 40 | return *ptr; | 665 | 40 | } |
|
666 | | |
667 | | template <PrimitiveType T> |
668 | 120M | void Field::destroy() { |
669 | 120M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; |
670 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) |
671 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); |
672 | 120M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); |
673 | 120M | ptr->~TargetType(); |
674 | 120M | } Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE1EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE3EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE4EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE5EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE6EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE7EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE11EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE12EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE25EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE26EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE42EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE28EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE29EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE20EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE30EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE35EEEvv _ZN5doris5Field7destroyILNS_13PrimitiveTypeE15EEEvv Line | Count | Source | 668 | 3.91k | void Field::destroy() { | 669 | 3.91k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 3.91k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 3.91k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 3.91k | ptr->~TargetType(); | 674 | 3.91k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE10EEEvv Line | Count | Source | 668 | 253k | void Field::destroy() { | 669 | 253k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 253k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 4 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 253k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 253k | ptr->~TargetType(); | 674 | 253k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE23EEEvv Line | Count | Source | 668 | 5.67M | void Field::destroy() { | 669 | 5.67M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 18.4E | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 18.4E | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 5.67M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 5.67M | ptr->~TargetType(); | 674 | 5.67M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE41EEEvv Line | Count | Source | 668 | 100 | void Field::destroy() { | 669 | 100 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 100 | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 100 | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 100 | ptr->~TargetType(); | 674 | 100 | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE19EEEvv Line | Count | Source | 668 | 428 | void Field::destroy() { | 669 | 428 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 428 | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 428 | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 428 | ptr->~TargetType(); | 674 | 428 | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE32EEEvv Line | Count | Source | 668 | 159k | void Field::destroy() { | 669 | 159k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 159k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 159k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 159k | ptr->~TargetType(); | 674 | 159k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE24EEEvv Line | Count | Source | 668 | 22.4k | void Field::destroy() { | 669 | 22.4k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 22.4k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 22.4k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 22.4k | ptr->~TargetType(); | 674 | 22.4k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE17EEEvv Line | Count | Source | 668 | 92.9M | void Field::destroy() { | 669 | 92.9M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 92.9M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 92.9M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 92.9M | ptr->~TargetType(); | 674 | 92.9M | } |
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE21EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE36EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE37EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE2EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE8EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE9EEEvv _ZN5doris5Field7destroyILNS_13PrimitiveTypeE31EEEvv Line | Count | Source | 668 | 5.45M | void Field::destroy() { | 669 | 5.45M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 5.45M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 5.45M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 5.45M | ptr->~TargetType(); | 674 | 5.45M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE16EEEvv Line | Count | Source | 668 | 3.05M | void Field::destroy() { | 669 | 3.05M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 3.05M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 3.05M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 3.05M | ptr->~TargetType(); | 674 | 3.05M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE18EEEvv Line | Count | Source | 668 | 13.2M | void Field::destroy() { | 669 | 13.2M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 13.2M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 13.2M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 13.2M | ptr->~TargetType(); | 674 | 13.2M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE22EEEvv Line | Count | Source | 668 | 2.45k | void Field::destroy() { | 669 | 2.45k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 670 | 2.45k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 671 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 672 | 2.45k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 673 | 2.45k | ptr->~TargetType(); | 674 | 2.45k | } |
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE27EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE38EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE39EEEvv |
675 | | |
676 | 4.37M | std::strong_ordering Field::operator<=>(const Field& rhs) const { |
677 | 4.37M | if (type == PrimitiveType::TYPE_NULL || rhs == PrimitiveType::TYPE_NULL) { |
678 | 2.92M | return type <=> rhs.type; |
679 | 2.92M | } |
680 | 1.45M | if (type != rhs.type) { |
681 | 0 | throw Exception(Status::FatalError("lhs type not equal with rhs, lhs={}, rhs={}", |
682 | 0 | get_type_name(), rhs.get_type_name())); |
683 | 0 | } |
684 | | |
685 | 1.45M | switch (type) { |
686 | 1.14k | case PrimitiveType::TYPE_BITMAP: |
687 | 1.35k | case PrimitiveType::TYPE_HLL: |
688 | 2.54k | case PrimitiveType::TYPE_QUANTILE_STATE: |
689 | 2.54k | case PrimitiveType::INVALID_TYPE: |
690 | 2.55k | case PrimitiveType::TYPE_JSONB: |
691 | 2.55k | case PrimitiveType::TYPE_NULL: |
692 | 9.12k | case PrimitiveType::TYPE_ARRAY: |
693 | 10.0k | case PrimitiveType::TYPE_MAP: |
694 | 10.7k | case PrimitiveType::TYPE_STRUCT: |
695 | 44.1k | case PrimitiveType::TYPE_VARIANT: |
696 | 44.1k | return std::strong_ordering::equal; //TODO: throw Exception? |
697 | 515 | case PrimitiveType::TYPE_DATETIMEV2: |
698 | 515 | return get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val() <=> |
699 | 515 | rhs.get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val(); |
700 | 236 | case PrimitiveType::TYPE_DATEV2: |
701 | 236 | return get<PrimitiveType::TYPE_DATEV2>().to_date_int_val() <=> |
702 | 236 | rhs.get<PrimitiveType::TYPE_DATEV2>().to_date_int_val(); |
703 | 56 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
704 | 56 | return get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val() <=> |
705 | 56 | rhs.get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val(); |
706 | 54 | case PrimitiveType::TYPE_DATE: |
707 | 54 | return get<PrimitiveType::TYPE_DATE>() <=> rhs.get<PrimitiveType::TYPE_DATE>(); |
708 | 50 | case PrimitiveType::TYPE_DATETIME: |
709 | 50 | return get<PrimitiveType::TYPE_DATETIME>() <=> rhs.get<PrimitiveType::TYPE_DATETIME>(); |
710 | 34.7k | case PrimitiveType::TYPE_BIGINT: |
711 | 34.7k | return get<PrimitiveType::TYPE_BIGINT>() <=> rhs.get<PrimitiveType::TYPE_BIGINT>(); |
712 | 157 | case PrimitiveType::TYPE_BOOLEAN: |
713 | 157 | return get<PrimitiveType::TYPE_BOOLEAN>() <=> rhs.get<PrimitiveType::TYPE_BOOLEAN>(); |
714 | 2.80k | case PrimitiveType::TYPE_TINYINT: |
715 | 2.80k | return get<TYPE_TINYINT>() <=> rhs.get<TYPE_TINYINT>(); |
716 | 127 | case PrimitiveType::TYPE_SMALLINT: |
717 | 127 | return get<TYPE_SMALLINT>() <=> rhs.get<TYPE_SMALLINT>(); |
718 | 1.30M | case PrimitiveType::TYPE_INT: |
719 | 1.30M | return get<TYPE_INT>() <=> rhs.get<TYPE_INT>(); |
720 | 105 | case PrimitiveType::TYPE_LARGEINT: |
721 | 105 | return get<TYPE_LARGEINT>() <=> rhs.get<TYPE_LARGEINT>(); |
722 | 265 | case PrimitiveType::TYPE_IPV6: |
723 | 265 | return get<TYPE_IPV6>() <=> rhs.get<TYPE_IPV6>(); |
724 | 295 | case PrimitiveType::TYPE_IPV4: |
725 | 295 | return get<TYPE_IPV4>() <=> rhs.get<TYPE_IPV4>(); |
726 | 68 | case PrimitiveType::TYPE_FLOAT: |
727 | 68 | return get<TYPE_FLOAT>() < rhs.get<TYPE_FLOAT>() ? std::strong_ordering::less |
728 | 68 | : get<TYPE_FLOAT>() == rhs.get<TYPE_FLOAT>() ? std::strong_ordering::equal |
729 | 52 | : std::strong_ordering::greater; |
730 | 3 | case PrimitiveType::TYPE_TIMEV2: |
731 | 3 | return get<TYPE_TIMEV2>() < rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::less |
732 | 3 | : get<TYPE_TIMEV2>() == rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::equal |
733 | 3 | : std::strong_ordering::greater; |
734 | 218 | case PrimitiveType::TYPE_DOUBLE: |
735 | 218 | return get<TYPE_DOUBLE>() < rhs.get<TYPE_DOUBLE>() ? std::strong_ordering::less |
736 | 218 | : get<TYPE_DOUBLE>() == rhs.get<TYPE_DOUBLE>() ? std::strong_ordering::equal |
737 | 140 | : std::strong_ordering::greater; |
738 | 48.0k | case PrimitiveType::TYPE_STRING: |
739 | 48.0k | return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>(); |
740 | 36 | case PrimitiveType::TYPE_CHAR: |
741 | 36 | return get<TYPE_CHAR>() <=> rhs.get<TYPE_CHAR>(); |
742 | 5.86k | case PrimitiveType::TYPE_VARCHAR: |
743 | 5.86k | return get<TYPE_VARCHAR>() <=> rhs.get<TYPE_VARCHAR>(); |
744 | 0 | case PrimitiveType::TYPE_VARBINARY: |
745 | 0 | return get<TYPE_VARBINARY>() <=> rhs.get<TYPE_VARBINARY>(); |
746 | 360 | case PrimitiveType::TYPE_DECIMAL32: |
747 | 360 | return get<TYPE_DECIMAL32>() <=> rhs.get<TYPE_DECIMAL32>(); |
748 | 2.70k | case PrimitiveType::TYPE_DECIMAL64: |
749 | 2.70k | return get<TYPE_DECIMAL64>() <=> rhs.get<TYPE_DECIMAL64>(); |
750 | 2.71k | case PrimitiveType::TYPE_DECIMALV2: |
751 | 2.71k | return get<TYPE_DECIMALV2>() <=> rhs.get<TYPE_DECIMALV2>(); |
752 | 1.97k | case PrimitiveType::TYPE_DECIMAL128I: |
753 | 1.97k | return get<TYPE_DECIMAL128I>() <=> rhs.get<TYPE_DECIMAL128I>(); |
754 | 936 | case PrimitiveType::TYPE_DECIMAL256: |
755 | 936 | return get<TYPE_DECIMAL256>() <=> rhs.get<TYPE_DECIMAL256>(); |
756 | 0 | default: |
757 | 0 | throw Exception(Status::FatalError("Unsupported type: {}", get_type_name())); |
758 | 1.45M | } |
759 | 1.45M | } |
760 | | |
761 | | #define MATCH_PRIMITIVE_TYPE(primitive_type) \ |
762 | 0 | if (type == primitive_type) { \ |
763 | 0 | const auto& v = get<primitive_type>(); \ |
764 | 0 | return std::string_view(reinterpret_cast<const char*>(&v), sizeof(v)); \ |
765 | 0 | } |
766 | | |
767 | 0 | std::string_view Field::as_string_view() const { |
768 | 0 | if (type == PrimitiveType::TYPE_STRING || type == PrimitiveType::TYPE_VARCHAR || |
769 | 0 | type == PrimitiveType::TYPE_CHAR) { |
770 | 0 | const auto& s = get<TYPE_STRING>(); |
771 | 0 | return {s.data(), s.size()}; |
772 | 0 | } |
773 | 0 | if (type == PrimitiveType::TYPE_VARBINARY) { |
774 | 0 | const auto& svf = get<TYPE_VARBINARY>(); |
775 | 0 | return {svf.data(), svf.size()}; |
776 | 0 | } |
777 | | // MATCH_PRIMITIVE_TYPE(INVALID_TYPE); |
778 | | // MATCH_PRIMITIVE_TYPE(TYPE_NULL); |
779 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_BOOLEAN); |
780 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_TINYINT); |
781 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_SMALLINT); |
782 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_INT); |
783 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_BIGINT); |
784 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_LARGEINT); |
785 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_FLOAT) |
786 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DOUBLE); |
787 | | // MATCH_PRIMITIVE_TYPE(TYPE_VARCHAR); |
788 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DATE); |
789 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DATETIME); |
790 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_TIMESTAMPTZ); |
791 | | // MATCH_PRIMITIVE_TYPE(TYPE_BINARY); |
792 | | // MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL); |
793 | | // MATCH_PRIMITIVE_TYPE(TYPE_CHAR); |
794 | | // MATCH_PRIMITIVE_TYPE(TYPE_STRUCT); |
795 | | // MATCH_PRIMITIVE_TYPE(TYPE_ARRAY); |
796 | | // MATCH_PRIMITIVE_TYPE(TYPE_MAP); |
797 | | // MATCH_PRIMITIVE_TYPE(TYPE_HLL); |
798 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMALV2); |
799 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_TIME); |
800 | | // MATCH_PRIMITIVE_TYPE(TYPE_BITMAP); |
801 | | // MATCH_PRIMITIVE_TYPE(TYPE_STRING); |
802 | | // MATCH_PRIMITIVE_TYPE(TYPE_QUANTILE_STATE); |
803 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DATEV2); |
804 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DATETIMEV2); |
805 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_TIMEV2); |
806 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL32); |
807 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL64); |
808 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL128I); |
809 | | // MATCH_PRIMITIVE_TYPE(TYPE_JSONB); |
810 | | // MATCH_PRIMITIVE_TYPE(TYPE_VARIANT); |
811 | | // MATCH_PRIMITIVE_TYPE(TYPE_LAMBDA_FUNCTION); |
812 | | // MATCH_PRIMITIVE_TYPE(TYPE_AGG_STATE); |
813 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL256); |
814 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_IPV4); |
815 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_IPV6); |
816 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_UINT32); |
817 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_UINT64); |
818 | | // MATCH_PRIMITIVE_TYPE(TYPE_FIXED_LENGTH_OBJECT); |
819 | 0 | throw Exception( |
820 | 0 | Status::FatalError("type not supported for as_string_view, type={}", get_type_name())); |
821 | 0 | } |
822 | | |
823 | | #undef MATCH_PRIMITIVE_TYPE |
824 | | |
825 | | #define DECLARE_FUNCTION(FUNC_NAME) \ |
826 | | template void Field::FUNC_NAME<TYPE_NULL>(typename PrimitiveTypeTraits<TYPE_NULL>::CppType && \ |
827 | | rhs); \ |
828 | | template void Field::FUNC_NAME<TYPE_TINYINT>( \ |
829 | | typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType && rhs); \ |
830 | | template void Field::FUNC_NAME<TYPE_SMALLINT>( \ |
831 | | typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType && rhs); \ |
832 | | template void Field::FUNC_NAME<TYPE_INT>(typename PrimitiveTypeTraits<TYPE_INT>::CppType && \ |
833 | | rhs); \ |
834 | | template void Field::FUNC_NAME<TYPE_BIGINT>( \ |
835 | | typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType && rhs); \ |
836 | | template void Field::FUNC_NAME<TYPE_LARGEINT>( \ |
837 | | typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType && rhs); \ |
838 | | template void Field::FUNC_NAME<TYPE_DATE>(typename PrimitiveTypeTraits<TYPE_DATE>::CppType && \ |
839 | | rhs); \ |
840 | | template void Field::FUNC_NAME<TYPE_DATETIME>( \ |
841 | | typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType && rhs); \ |
842 | | template void Field::FUNC_NAME<TYPE_DATEV2>( \ |
843 | | typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType && rhs); \ |
844 | | template void Field::FUNC_NAME<TYPE_DATETIMEV2>( \ |
845 | | typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType && rhs); \ |
846 | | template void Field::FUNC_NAME<TYPE_DECIMAL32>( \ |
847 | | typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType && rhs); \ |
848 | | template void Field::FUNC_NAME<TYPE_DECIMAL64>( \ |
849 | | typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType && rhs); \ |
850 | | template void Field::FUNC_NAME<TYPE_DECIMALV2>( \ |
851 | | typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType && rhs); \ |
852 | | template void Field::FUNC_NAME<TYPE_DECIMAL128I>( \ |
853 | | typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType && rhs); \ |
854 | | template void Field::FUNC_NAME<TYPE_DECIMAL256>( \ |
855 | | typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType && rhs); \ |
856 | | template void Field::FUNC_NAME<TYPE_CHAR>(typename PrimitiveTypeTraits<TYPE_CHAR>::CppType && \ |
857 | | rhs); \ |
858 | | template void Field::FUNC_NAME<TYPE_VARCHAR>( \ |
859 | | typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType && rhs); \ |
860 | | template void Field::FUNC_NAME<TYPE_STRING>( \ |
861 | | typename PrimitiveTypeTraits<TYPE_STRING>::CppType && rhs); \ |
862 | | template void Field::FUNC_NAME<TYPE_VARBINARY>( \ |
863 | | typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType && rhs); \ |
864 | | template void Field::FUNC_NAME<TYPE_HLL>(typename PrimitiveTypeTraits<TYPE_HLL>::CppType && \ |
865 | | rhs); \ |
866 | | template void Field::FUNC_NAME<TYPE_VARIANT>( \ |
867 | | typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType && rhs); \ |
868 | | template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>( \ |
869 | | typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType && rhs); \ |
870 | | template void Field::FUNC_NAME<TYPE_ARRAY>( \ |
871 | | typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType && rhs); \ |
872 | | template void Field::FUNC_NAME<TYPE_TIME>(typename PrimitiveTypeTraits<TYPE_TIME>::CppType && \ |
873 | | rhs); \ |
874 | | template void Field::FUNC_NAME<TYPE_TIME>( \ |
875 | | const typename PrimitiveTypeTraits<TYPE_TIME>::CppType& rhs); \ |
876 | | template void Field::FUNC_NAME<TYPE_NULL>( \ |
877 | | const typename PrimitiveTypeTraits<TYPE_NULL>::CppType& rhs); \ |
878 | | template void Field::FUNC_NAME<TYPE_TINYINT>( \ |
879 | | const typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType& rhs); \ |
880 | | template void Field::FUNC_NAME<TYPE_SMALLINT>( \ |
881 | | const typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType& rhs); \ |
882 | | template void Field::FUNC_NAME<TYPE_INT>( \ |
883 | | const typename PrimitiveTypeTraits<TYPE_INT>::CppType& rhs); \ |
884 | | template void Field::FUNC_NAME<TYPE_BIGINT>( \ |
885 | | const typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType& rhs); \ |
886 | | template void Field::FUNC_NAME<TYPE_LARGEINT>( \ |
887 | | const typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType& rhs); \ |
888 | | template void Field::FUNC_NAME<TYPE_DATE>( \ |
889 | | const typename PrimitiveTypeTraits<TYPE_DATE>::CppType& rhs); \ |
890 | | template void Field::FUNC_NAME<TYPE_DATETIME>( \ |
891 | | const typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType& rhs); \ |
892 | | template void Field::FUNC_NAME<TYPE_DATEV2>( \ |
893 | | const typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType& rhs); \ |
894 | | template void Field::FUNC_NAME<TYPE_DATETIMEV2>( \ |
895 | | const typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType& rhs); \ |
896 | | template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>( \ |
897 | | const typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType& rhs); \ |
898 | | template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>( \ |
899 | | typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType && rhs); \ |
900 | | template void Field::FUNC_NAME<TYPE_DECIMAL32>( \ |
901 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType& rhs); \ |
902 | | template void Field::FUNC_NAME<TYPE_DECIMAL64>( \ |
903 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType& rhs); \ |
904 | | template void Field::FUNC_NAME<TYPE_DECIMALV2>( \ |
905 | | const typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType& rhs); \ |
906 | | template void Field::FUNC_NAME<TYPE_DECIMAL128I>( \ |
907 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType& rhs); \ |
908 | | template void Field::FUNC_NAME<TYPE_DECIMAL256>( \ |
909 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType& rhs); \ |
910 | | template void Field::FUNC_NAME<TYPE_CHAR>( \ |
911 | | const typename PrimitiveTypeTraits<TYPE_CHAR>::CppType& rhs); \ |
912 | | template void Field::FUNC_NAME<TYPE_VARCHAR>( \ |
913 | | const typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType& rhs); \ |
914 | | template void Field::FUNC_NAME<TYPE_STRING>( \ |
915 | | const typename PrimitiveTypeTraits<TYPE_STRING>::CppType& rhs); \ |
916 | | template void Field::FUNC_NAME<TYPE_VARBINARY>( \ |
917 | | const typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType& rhs); \ |
918 | | template void Field::FUNC_NAME<TYPE_HLL>( \ |
919 | | const typename PrimitiveTypeTraits<TYPE_HLL>::CppType& rhs); \ |
920 | | template void Field::FUNC_NAME<TYPE_VARIANT>( \ |
921 | | const typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType& rhs); \ |
922 | | template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>( \ |
923 | | const typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType& rhs); \ |
924 | | template void Field::FUNC_NAME<TYPE_ARRAY>( \ |
925 | | const typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType& rhs); \ |
926 | | template void Field::FUNC_NAME<TYPE_IPV4>(typename PrimitiveTypeTraits<TYPE_IPV4>::CppType && \ |
927 | | rhs); \ |
928 | | template void Field::FUNC_NAME<TYPE_IPV4>( \ |
929 | | const typename PrimitiveTypeTraits<TYPE_IPV4>::CppType& rhs); \ |
930 | | template void Field::FUNC_NAME<TYPE_IPV6>(typename PrimitiveTypeTraits<TYPE_IPV6>::CppType && \ |
931 | | rhs); \ |
932 | | template void Field::FUNC_NAME<TYPE_IPV6>( \ |
933 | | const typename PrimitiveTypeTraits<TYPE_IPV6>::CppType& rhs); \ |
934 | | template void Field::FUNC_NAME<TYPE_BOOLEAN>( \ |
935 | | typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType && rhs); \ |
936 | | template void Field::FUNC_NAME<TYPE_BOOLEAN>( \ |
937 | | const typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType& rhs); \ |
938 | | template void Field::FUNC_NAME<TYPE_FLOAT>( \ |
939 | | typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType && rhs); \ |
940 | | template void Field::FUNC_NAME<TYPE_FLOAT>( \ |
941 | | const typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType& rhs); \ |
942 | | template void Field::FUNC_NAME<TYPE_DOUBLE>( \ |
943 | | typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType && rhs); \ |
944 | | template void Field::FUNC_NAME<TYPE_DOUBLE>( \ |
945 | | const typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType& rhs); \ |
946 | | template void Field::FUNC_NAME<TYPE_JSONB>( \ |
947 | | typename PrimitiveTypeTraits<TYPE_JSONB>::CppType && rhs); \ |
948 | | template void Field::FUNC_NAME<TYPE_JSONB>( \ |
949 | | const typename PrimitiveTypeTraits<TYPE_JSONB>::CppType& rhs); \ |
950 | | template void Field::FUNC_NAME<TYPE_STRUCT>( \ |
951 | | typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType && rhs); \ |
952 | | template void Field::FUNC_NAME<TYPE_STRUCT>( \ |
953 | | const typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType& rhs); \ |
954 | | template void Field::FUNC_NAME<TYPE_MAP>(typename PrimitiveTypeTraits<TYPE_MAP>::CppType && \ |
955 | | rhs); \ |
956 | | template void Field::FUNC_NAME<TYPE_MAP>( \ |
957 | | const typename PrimitiveTypeTraits<TYPE_MAP>::CppType& rhs); \ |
958 | | template void Field::FUNC_NAME<TYPE_BITMAP>( \ |
959 | | typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType && rhs); \ |
960 | | template void Field::FUNC_NAME<TYPE_BITMAP>( \ |
961 | | const typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType& rhs); \ |
962 | | template void Field::FUNC_NAME<TYPE_TIMEV2>( \ |
963 | | const typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType& rhs); \ |
964 | | template void Field::FUNC_NAME<TYPE_TIMEV2>( \ |
965 | | typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType && rhs); \ |
966 | | template void Field::FUNC_NAME<TYPE_UINT32>( \ |
967 | | const typename PrimitiveTypeTraits<TYPE_UINT32>::CppType& rhs); \ |
968 | | template void Field::FUNC_NAME<TYPE_UINT32>( \ |
969 | | typename PrimitiveTypeTraits<TYPE_UINT32>::CppType && rhs); \ |
970 | | template void Field::FUNC_NAME<TYPE_UINT64>( \ |
971 | | const typename PrimitiveTypeTraits<TYPE_UINT64>::CppType& rhs); \ |
972 | | template void Field::FUNC_NAME<TYPE_UINT64>( \ |
973 | | typename PrimitiveTypeTraits<TYPE_UINT64>::CppType && rhs); |
974 | | DECLARE_FUNCTION(create_concrete) |
975 | | DECLARE_FUNCTION(assign_concrete) |
976 | | #undef DECLARE_FUNCTION |
977 | | |
978 | | #define DECLARE_FUNCTION(TYPE_NAME) \ |
979 | | template typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>(); \ |
980 | | template const typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>() \ |
981 | | const; \ |
982 | | template void Field::destroy<TYPE_NAME>(); |
983 | | DECLARE_FUNCTION(TYPE_NULL) |
984 | | DECLARE_FUNCTION(TYPE_TINYINT) |
985 | | DECLARE_FUNCTION(TYPE_SMALLINT) |
986 | | DECLARE_FUNCTION(TYPE_INT) |
987 | | DECLARE_FUNCTION(TYPE_BIGINT) |
988 | | DECLARE_FUNCTION(TYPE_LARGEINT) |
989 | | DECLARE_FUNCTION(TYPE_DATE) |
990 | | DECLARE_FUNCTION(TYPE_DATETIME) |
991 | | DECLARE_FUNCTION(TYPE_DATEV2) |
992 | | DECLARE_FUNCTION(TYPE_DATETIMEV2) |
993 | | DECLARE_FUNCTION(TYPE_TIMESTAMPTZ) |
994 | | DECLARE_FUNCTION(TYPE_DECIMAL32) |
995 | | DECLARE_FUNCTION(TYPE_DECIMAL64) |
996 | | DECLARE_FUNCTION(TYPE_DECIMALV2) |
997 | | DECLARE_FUNCTION(TYPE_DECIMAL128I) |
998 | | DECLARE_FUNCTION(TYPE_DECIMAL256) |
999 | | DECLARE_FUNCTION(TYPE_CHAR) |
1000 | | DECLARE_FUNCTION(TYPE_VARCHAR) |
1001 | | DECLARE_FUNCTION(TYPE_STRING) |
1002 | | DECLARE_FUNCTION(TYPE_VARBINARY) |
1003 | | DECLARE_FUNCTION(TYPE_HLL) |
1004 | | DECLARE_FUNCTION(TYPE_VARIANT) |
1005 | | DECLARE_FUNCTION(TYPE_QUANTILE_STATE) |
1006 | | DECLARE_FUNCTION(TYPE_ARRAY) |
1007 | | DECLARE_FUNCTION(TYPE_TIME) |
1008 | | DECLARE_FUNCTION(TYPE_IPV4) |
1009 | | DECLARE_FUNCTION(TYPE_IPV6) |
1010 | | DECLARE_FUNCTION(TYPE_BOOLEAN) |
1011 | | DECLARE_FUNCTION(TYPE_FLOAT) |
1012 | | DECLARE_FUNCTION(TYPE_DOUBLE) |
1013 | | DECLARE_FUNCTION(TYPE_JSONB) |
1014 | | DECLARE_FUNCTION(TYPE_STRUCT) |
1015 | | DECLARE_FUNCTION(TYPE_MAP) |
1016 | | DECLARE_FUNCTION(TYPE_BITMAP) |
1017 | | DECLARE_FUNCTION(TYPE_TIMEV2) |
1018 | | DECLARE_FUNCTION(TYPE_UINT32) |
1019 | | DECLARE_FUNCTION(TYPE_UINT64) |
1020 | | #undef DECLARE_FUNCTION |
1021 | | } // namespace doris |