Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Field.cpp |
19 | | // and modified by Doris |
20 | | |
21 | | #include "core/field.h" |
22 | | |
23 | | #include "common/compare.h" |
24 | | #include "core/accurate_comparison.h" |
25 | | #include "core/data_type/data_type_decimal.h" |
26 | | #include "core/data_type/define_primitive_type.h" |
27 | | #include "core/data_type/primitive_type.h" |
28 | | #include "core/decimal_comparison.h" |
29 | | #include "core/value/bitmap_value.h" |
30 | | #include "core/value/jsonb_value.h" |
31 | | #include "core/value/timestamptz_value.h" |
32 | | #include "core/value/uuid_value.h" |
33 | | #include "core/value/vdatetime_value.h" |
34 | | #include "exprs/function/cast/cast_to_string.h" |
35 | | #include "util/json/path_in_data.h" |
36 | | #include "util/var_int.h" |
37 | | |
38 | | namespace doris { |
39 | | class BufferReadable; |
40 | | class BufferWritable; |
41 | | |
42 | | template <PrimitiveType T> |
43 | | bool dec_equal(typename PrimitiveTypeTraits<T>::CppType x, |
44 | 0 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
45 | 0 | using Comparator = DecimalComparison<T, T, EqualsOp>; |
46 | 0 | return Comparator::compare(x, y, x_scale, y_scale); |
47 | 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 |
48 | | |
49 | | template <PrimitiveType T> |
50 | | bool dec_less(typename PrimitiveTypeTraits<T>::CppType x, |
51 | 3.48k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
52 | 3.48k | using Comparator = DecimalComparison<T, T, LessOp>; |
53 | 3.48k | return Comparator::compare(x, y, x_scale, y_scale); |
54 | 3.48k | } _ZN5doris8dec_lessILNS_13PrimitiveTypeE28EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 51 | 10 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 52 | 10 | using Comparator = DecimalComparison<T, T, LessOp>; | 53 | 10 | return Comparator::compare(x, y, x_scale, y_scale); | 54 | 10 | } |
_ZN5doris8dec_lessILNS_13PrimitiveTypeE29EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 51 | 3 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 52 | 3 | using Comparator = DecimalComparison<T, T, LessOp>; | 53 | 3 | return Comparator::compare(x, y, x_scale, y_scale); | 54 | 3 | } |
Unexecuted instantiation: _ZN5doris8dec_lessILNS_13PrimitiveTypeE20EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj _ZN5doris8dec_lessILNS_13PrimitiveTypeE35EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 51 | 972 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 52 | 972 | using Comparator = DecimalComparison<T, T, LessOp>; | 53 | 972 | return Comparator::compare(x, y, x_scale, y_scale); | 54 | 972 | } |
_ZN5doris8dec_lessILNS_13PrimitiveTypeE30EEEbNS_19PrimitiveTypeTraitsIXT_EE7CppTypeES4_jj Line | Count | Source | 51 | 2.50k | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { | 52 | 2.50k | using Comparator = DecimalComparison<T, T, LessOp>; | 53 | 2.50k | return Comparator::compare(x, y, x_scale, y_scale); | 54 | 2.50k | } |
|
55 | | |
56 | | template <PrimitiveType T> |
57 | | bool dec_less_or_equal(typename PrimitiveTypeTraits<T>::CppType x, |
58 | 0 | typename PrimitiveTypeTraits<T>::CppType y, UInt32 x_scale, UInt32 y_scale) { |
59 | 0 | using Comparator = DecimalComparison<T, T, LessOrEqualsOp>; |
60 | 0 | return Comparator::compare(x, y, x_scale, y_scale); |
61 | 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 |
62 | | |
63 | | #define DECLARE_DECIMAL_COMPARISON(TYPE, PTYPE) \ |
64 | | template <> \ |
65 | 0 | bool decimal_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
66 | 0 | return dec_equal<PTYPE>(x, y, xs, ys); \ |
67 | 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 |
68 | | template <> \ |
69 | 985 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
70 | 985 | return dec_less<PTYPE>(x, y, xs, ys); \ |
71 | 985 | } \ _ZN5doris12decimal_lessINS_7DecimalIiEEEEbT_S3_jj Line | Count | Source | 69 | 10 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 70 | 10 | return dec_less<PTYPE>(x, y, xs, ys); \ | 71 | 10 | } \ |
_ZN5doris12decimal_lessINS_7DecimalIlEEEEbT_S3_jj Line | Count | Source | 69 | 3 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 70 | 3 | return dec_less<PTYPE>(x, y, xs, ys); \ | 71 | 3 | } \ |
Unexecuted instantiation: _ZN5doris12decimal_lessINS_14DecimalV2ValueEEEbT_S2_jj _ZN5doris12decimal_lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbT_S6_jj Line | Count | Source | 69 | 972 | bool decimal_less(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ | 70 | 972 | return dec_less<PTYPE>(x, y, xs, ys); \ | 71 | 972 | } \ |
|
72 | | template <> \ |
73 | 0 | bool decimal_less_or_equal(TYPE x, TYPE y, UInt32 xs, UInt32 ys) { \ |
74 | 0 | return dec_less_or_equal<PTYPE>(x, y, xs, ys); \ |
75 | 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 |
76 | | |
77 | | DECLARE_DECIMAL_COMPARISON(Decimal32, TYPE_DECIMAL32) |
78 | | DECLARE_DECIMAL_COMPARISON(Decimal64, TYPE_DECIMAL64) |
79 | | DECLARE_DECIMAL_COMPARISON(DecimalV2Value, TYPE_DECIMALV2) |
80 | | DECLARE_DECIMAL_COMPARISON(Decimal256, TYPE_DECIMAL256) |
81 | | |
82 | | template <> |
83 | 0 | bool decimal_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
84 | 0 | return dec_equal<TYPE_DECIMAL128I>(x, y, xs, ys); |
85 | 0 | } |
86 | | template <> |
87 | 2.50k | bool decimal_less(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
88 | 2.50k | return dec_less<TYPE_DECIMAL128I>(x, y, xs, ys); |
89 | 2.50k | } |
90 | | template <> |
91 | 0 | bool decimal_less_or_equal(Decimal128V3 x, Decimal128V3 y, UInt32 xs, UInt32 ys) { |
92 | 0 | return dec_less_or_equal<TYPE_DECIMAL128I>(x, y, xs, ys); |
93 | 0 | } |
94 | | |
95 | | template <PrimitiveType Type> |
96 | 84.0M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { |
97 | | // In both Field and PODArray, small types may be stored as wider types, |
98 | | // e.g. char is stored as UInt64. Field can return this extended value |
99 | | // with get<StorageType>(). To avoid uninitialized results from get(), |
100 | | // we must initialize the entire wide stored type, and not just the |
101 | | // nominal type. |
102 | 84.0M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; |
103 | 84.0M | new (&storage) StorageType(std::move(x)); |
104 | 84.0M | type = Type; |
105 | 84.0M | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); |
106 | 84.0M | } _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 68.5k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 68.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 68.5k | new (&storage) StorageType(std::move(x)); | 104 | 68.5k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 68.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 42.2k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 42.2k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 42.2k | new (&storage) StorageType(std::move(x)); | 104 | 42.2k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 42.2k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 24.5k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 24.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 24.5k | new (&storage) StorageType(std::move(x)); | 104 | 24.5k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 24.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 25.4M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 25.4M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 25.4M | new (&storage) StorageType(std::move(x)); | 104 | 25.4M | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 25.4M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 14.5M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 14.5M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 14.5M | new (&storage) StorageType(std::move(x)); | 104 | 14.5M | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 14.5M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 19.2k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 19.2k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 19.2k | new (&storage) StorageType(std::move(x)); | 104 | 19.2k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 19.2k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 10.1k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 10.1k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 10.1k | new (&storage) StorageType(std::move(x)); | 104 | 10.1k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 10.1k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 14.8k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 14.8k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 14.8k | new (&storage) StorageType(std::move(x)); | 104 | 14.8k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 14.8k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 7.96k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 7.96k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 7.96k | new (&storage) StorageType(std::move(x)); | 104 | 7.96k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 7.96k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 52.6k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 52.6k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 52.6k | new (&storage) StorageType(std::move(x)); | 104 | 52.6k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 52.6k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE43EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 97 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 97 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 97 | new (&storage) StorageType(std::move(x)); | 104 | 97 | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 97 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 10.8k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 10.8k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 10.8k | new (&storage) StorageType(std::move(x)); | 104 | 10.8k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 10.8k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 13.5M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 13.5M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 13.5M | new (&storage) StorageType(std::move(x)); | 104 | 13.5M | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 13.5M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 16.7k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 16.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 16.7k | new (&storage) StorageType(std::move(x)); | 104 | 16.7k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 16.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 21.8k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 21.8k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 21.8k | new (&storage) StorageType(std::move(x)); | 104 | 21.8k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 21.8k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 35.5k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 35.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 35.5k | new (&storage) StorageType(std::move(x)); | 104 | 35.5k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 35.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 1.41k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 1.41k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 1.41k | new (&storage) StorageType(std::move(x)); | 104 | 1.41k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 1.41k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 9.25k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 9.25k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 9.25k | new (&storage) StorageType(std::move(x)); | 104 | 9.25k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 9.25k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 1.53M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 1.53M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 1.53M | new (&storage) StorageType(std::move(x)); | 104 | 1.53M | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 1.53M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 63 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 63 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 63 | new (&storage) StorageType(std::move(x)); | 104 | 63 | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 63 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 14 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 14 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 14 | new (&storage) StorageType(std::move(x)); | 104 | 14 | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 14 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 4.19k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 4.19k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 4.19k | new (&storage) StorageType(std::move(x)); | 104 | 4.19k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 4.19k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 12 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 12 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 12 | new (&storage) StorageType(std::move(x)); | 104 | 12 | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 12 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 96.1k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 96.1k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 96.1k | new (&storage) StorageType(std::move(x)); | 104 | 96.1k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 96.1k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 1.51k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 1.51k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 1.51k | new (&storage) StorageType(std::move(x)); | 104 | 1.51k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 1.51k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 33.7k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 33.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 33.7k | new (&storage) StorageType(std::move(x)); | 104 | 33.7k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 33.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 22.8k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 22.8k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 22.8k | new (&storage) StorageType(std::move(x)); | 104 | 22.8k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 22.8k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE44EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 98 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 98 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 98 | new (&storage) StorageType(std::move(x)); | 104 | 98 | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 98 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 28.2M | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 28.2M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 28.2M | new (&storage) StorageType(std::move(x)); | 104 | 28.2M | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 28.2M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 31.5k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 31.5k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 31.5k | new (&storage) StorageType(std::move(x)); | 104 | 31.5k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 31.5k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 27.7k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 27.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 27.7k | new (&storage) StorageType(std::move(x)); | 104 | 27.7k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 27.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 87.9k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 87.9k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 87.9k | new (&storage) StorageType(std::move(x)); | 104 | 87.9k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 87.9k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 7.62k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 7.62k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 7.62k | new (&storage) StorageType(std::move(x)); | 104 | 7.62k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 7.62k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 3.72k | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 3.72k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 3.72k | new (&storage) StorageType(std::move(x)); | 104 | 3.72k | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 3.72k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 17 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 17 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 17 | new (&storage) StorageType(std::move(x)); | 104 | 17 | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 17 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 26 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 26 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 26 | new (&storage) StorageType(std::move(x)); | 104 | 26 | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 26 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 96 | 40 | void Field::create_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 97 | | // In both Field and PODArray, small types may be stored as wider types, | 98 | | // e.g. char is stored as UInt64. Field can return this extended value | 99 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 100 | | // we must initialize the entire wide stored type, and not just the | 101 | | // nominal type. | 102 | 40 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 103 | 40 | new (&storage) StorageType(std::move(x)); | 104 | 40 | type = Type; | 105 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 106 | 40 | } |
|
107 | | |
108 | | template <PrimitiveType Type> |
109 | 228M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { |
110 | | // In both Field and PODArray, small types may be stored as wider types, |
111 | | // e.g. char is stored as UInt64. Field can return this extended value |
112 | | // with get<StorageType>(). To avoid uninitialized results from get(), |
113 | | // we must initialize the entire wide stored type, and not just the |
114 | | // nominal type. |
115 | 228M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; |
116 | 228M | new (&storage) StorageType(x); |
117 | 228M | type = Type; |
118 | 228M | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); |
119 | 228M | } _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 38.7M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 38.7M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 38.7M | new (&storage) StorageType(x); | 117 | 38.7M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 38.7M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.46M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.46M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.46M | new (&storage) StorageType(x); | 117 | 3.46M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.46M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.94M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.94M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.94M | new (&storage) StorageType(x); | 117 | 3.94M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.94M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 25.3M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 25.3M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 25.3M | new (&storage) StorageType(x); | 117 | 25.3M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 25.3M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 5.21M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 5.21M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 5.21M | new (&storage) StorageType(x); | 117 | 5.21M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 5.21M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.14M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.14M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.14M | new (&storage) StorageType(x); | 117 | 3.14M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.14M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.39M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.39M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.39M | new (&storage) StorageType(x); | 117 | 3.39M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.39M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.33M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.33M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.33M | new (&storage) StorageType(x); | 117 | 3.33M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.33M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.38M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.38M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.38M | new (&storage) StorageType(x); | 117 | 3.38M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.38M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 4.07M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 4.07M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 4.07M | new (&storage) StorageType(x); | 117 | 4.07M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 4.07M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE43EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 163 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 163 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 163 | new (&storage) StorageType(x); | 117 | 163 | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 163 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 136 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 136 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 136 | new (&storage) StorageType(x); | 117 | 136 | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 136 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.58M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.58M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.58M | new (&storage) StorageType(x); | 117 | 3.58M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.58M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.60M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.60M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.60M | new (&storage) StorageType(x); | 117 | 3.60M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.60M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 9.00k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 9.00k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 9.00k | new (&storage) StorageType(x); | 117 | 9.00k | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 9.00k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.50M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.50M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.50M | new (&storage) StorageType(x); | 117 | 3.50M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.50M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.69M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.69M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.69M | new (&storage) StorageType(x); | 117 | 3.69M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.69M | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 33.0k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 33.0k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 33.0k | new (&storage) StorageType(x); | 117 | 33.0k | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 33.0k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 368k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 368k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 368k | new (&storage) StorageType(x); | 117 | 368k | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 368k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 21 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 21 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 21 | new (&storage) StorageType(x); | 117 | 21 | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 21 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 404 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 404 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 404 | new (&storage) StorageType(x); | 117 | 404 | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 404 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 22.3k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 22.3k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 22.3k | new (&storage) StorageType(x); | 117 | 22.3k | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 22.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 92.4M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 92.4M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 92.4M | new (&storage) StorageType(x); | 117 | 92.4M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 92.4M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 58.3k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 58.3k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 58.3k | new (&storage) StorageType(x); | 117 | 58.3k | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 58.3k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 38.7k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 38.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 38.7k | new (&storage) StorageType(x); | 117 | 38.7k | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 38.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE44EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 87.7k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 87.7k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 87.7k | new (&storage) StorageType(x); | 117 | 87.7k | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 87.7k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.51M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.51M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.51M | new (&storage) StorageType(x); | 117 | 3.51M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.51M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.49M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.49M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.49M | new (&storage) StorageType(x); | 117 | 3.49M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.49M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.81M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.81M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.81M | new (&storage) StorageType(x); | 117 | 3.81M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.81M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 11 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 11 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 11 | new (&storage) StorageType(x); | 117 | 11 | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 11 | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 3.04M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 3.04M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 3.04M | new (&storage) StorageType(x); | 117 | 3.04M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 3.04M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 13.2M | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 13.2M | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 13.2M | new (&storage) StorageType(x); | 117 | 13.2M | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 13.2M | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 2.42k | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 2.42k | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 2.42k | new (&storage) StorageType(x); | 117 | 2.42k | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 2.42k | } |
_ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 109 | 17 | void Field::create_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 110 | | // In both Field and PODArray, small types may be stored as wider types, | 111 | | // e.g. char is stored as UInt64. Field can return this extended value | 112 | | // with get<StorageType>(). To avoid uninitialized results from get(), | 113 | | // we must initialize the entire wide stored type, and not just the | 114 | | // nominal type. | 115 | 17 | using StorageType = typename PrimitiveTypeTraits<Type>::CppType; | 116 | 17 | new (&storage) StorageType(x); | 117 | 17 | type = Type; | 118 | | DCHECK_NE(type, PrimitiveType::INVALID_TYPE); | 119 | 17 | } |
Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15create_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
120 | | |
121 | 25.7M | void Field::create(Field&& field) { |
122 | 25.7M | switch (field.type) { |
123 | 1.61k | case PrimitiveType::TYPE_NULL: |
124 | 1.61k | create_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>())); |
125 | 1.61k | return; |
126 | 51.4k | case PrimitiveType::TYPE_DATETIMEV2: |
127 | 51.4k | create_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>())); |
128 | 51.4k | return; |
129 | 60 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
130 | 60 | create_concrete<TYPE_TIMESTAMP_NS>(std::move(field.template get<TYPE_TIMESTAMP_NS>())); |
131 | 60 | return; |
132 | 7.05k | case PrimitiveType::TYPE_DATEV2: |
133 | 7.05k | create_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>())); |
134 | 7.05k | return; |
135 | 648 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
136 | 648 | create_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>())); |
137 | 648 | return; |
138 | 13.8k | case PrimitiveType::TYPE_DATETIME: |
139 | 13.8k | create_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>())); |
140 | 13.8k | return; |
141 | 9.24k | case PrimitiveType::TYPE_DATE: |
142 | 9.24k | create_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>())); |
143 | 9.24k | return; |
144 | 3.31k | case PrimitiveType::TYPE_BOOLEAN: |
145 | 3.31k | create_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>())); |
146 | 3.31k | return; |
147 | 32.6k | case PrimitiveType::TYPE_TINYINT: |
148 | 32.6k | create_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>())); |
149 | 32.6k | return; |
150 | 23.6k | case PrimitiveType::TYPE_SMALLINT: |
151 | 23.6k | create_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>())); |
152 | 23.6k | return; |
153 | 24.6M | case PrimitiveType::TYPE_INT: |
154 | 24.6M | create_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>())); |
155 | 24.6M | return; |
156 | 534k | case PrimitiveType::TYPE_BIGINT: |
157 | 534k | create_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>())); |
158 | 534k | return; |
159 | 18.3k | case PrimitiveType::TYPE_LARGEINT: |
160 | 18.3k | create_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>())); |
161 | 18.3k | return; |
162 | 32.8k | case PrimitiveType::TYPE_IPV4: |
163 | 32.8k | create_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>())); |
164 | 32.8k | return; |
165 | 22.0k | case PrimitiveType::TYPE_IPV6: |
166 | 22.0k | create_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>())); |
167 | 22.0k | return; |
168 | 83 | case PrimitiveType::TYPE_UUID: |
169 | 83 | create_concrete<TYPE_UUID>(std::move(field.template get<TYPE_UUID>())); |
170 | 83 | return; |
171 | 29.5k | case PrimitiveType::TYPE_FLOAT: |
172 | 29.5k | create_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>())); |
173 | 29.5k | return; |
174 | 22 | case PrimitiveType::TYPE_TIMEV2: |
175 | 22 | create_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>())); |
176 | 22 | return; |
177 | 25.9k | case PrimitiveType::TYPE_DOUBLE: |
178 | 25.9k | create_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>())); |
179 | 25.9k | return; |
180 | 125k | case PrimitiveType::TYPE_STRING: |
181 | 125k | create_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>())); |
182 | 125k | return; |
183 | 560 | case PrimitiveType::TYPE_CHAR: |
184 | 560 | create_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>())); |
185 | 560 | return; |
186 | 3.63k | case PrimitiveType::TYPE_VARCHAR: |
187 | 3.63k | create_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>())); |
188 | 3.63k | return; |
189 | 17 | case PrimitiveType::TYPE_JSONB: |
190 | 17 | create_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>())); |
191 | 17 | return; |
192 | 56.9k | case PrimitiveType::TYPE_ARRAY: |
193 | 56.9k | create_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>())); |
194 | 56.9k | return; |
195 | 4.24k | case PrimitiveType::TYPE_STRUCT: |
196 | 4.24k | create_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>())); |
197 | 4.24k | return; |
198 | 908 | case PrimitiveType::TYPE_MAP: |
199 | 908 | create_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>())); |
200 | 908 | return; |
201 | 9.74k | case PrimitiveType::TYPE_DECIMAL32: |
202 | 9.74k | create_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>())); |
203 | 9.74k | return; |
204 | 16.7k | case PrimitiveType::TYPE_DECIMAL64: |
205 | 16.7k | create_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>())); |
206 | 16.7k | return; |
207 | 6.37k | case PrimitiveType::TYPE_DECIMALV2: |
208 | 6.37k | create_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>())); |
209 | 6.37k | return; |
210 | 19.2k | case PrimitiveType::TYPE_DECIMAL128I: |
211 | 19.2k | create_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>())); |
212 | 19.2k | return; |
213 | 33.9k | case PrimitiveType::TYPE_DECIMAL256: |
214 | 33.9k | create_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>())); |
215 | 33.9k | return; |
216 | 2.09k | case PrimitiveType::TYPE_VARIANT: |
217 | 2.09k | create_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>())); |
218 | 2.09k | return; |
219 | 5 | case PrimitiveType::TYPE_BITMAP: |
220 | 5 | create_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>())); |
221 | 5 | return; |
222 | 4 | case PrimitiveType::TYPE_HLL: |
223 | 4 | create_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>())); |
224 | 4 | return; |
225 | 2 | case PrimitiveType::TYPE_QUANTILE_STATE: |
226 | 2 | create_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>())); |
227 | 2 | return; |
228 | 25 | case PrimitiveType::TYPE_VARBINARY: |
229 | 25 | create_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>())); |
230 | 25 | return; |
231 | 0 | default: |
232 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
233 | 25.7M | } |
234 | 25.7M | } |
235 | | |
236 | 202M | Field::Field(const Field& rhs) { |
237 | 202M | create(rhs); |
238 | 202M | } |
239 | | |
240 | 541k | Field::Field(Field&& rhs) { |
241 | 541k | create(std::move(rhs)); |
242 | 541k | } |
243 | | |
244 | 38.8k | Field& Field::operator=(const Field& rhs) { |
245 | 38.8k | if (this != &rhs) { |
246 | 38.8k | if (type != rhs.type) { |
247 | 1.43k | destroy(); |
248 | 1.43k | create(rhs); |
249 | 37.4k | } else { |
250 | 37.4k | assign(rhs); /// This assigns string or vector without deallocation of existing buffer. |
251 | 37.4k | } |
252 | 38.8k | } |
253 | 38.8k | return *this; |
254 | 38.8k | } |
255 | | |
256 | 202M | void Field::create(const Field& field) { |
257 | 202M | switch (field.type) { |
258 | 38.7M | case PrimitiveType::TYPE_NULL: |
259 | 38.7M | create_concrete<TYPE_NULL>(field.template get<TYPE_NULL>()); |
260 | 38.7M | return; |
261 | 4.01M | case PrimitiveType::TYPE_DATETIMEV2: |
262 | 4.01M | create_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>()); |
263 | 4.01M | return; |
264 | 77 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
265 | 77 | create_concrete<TYPE_TIMESTAMP_NS>(field.template get<TYPE_TIMESTAMP_NS>()); |
266 | 77 | return; |
267 | 3.38M | case PrimitiveType::TYPE_DATEV2: |
268 | 3.38M | create_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>()); |
269 | 3.38M | return; |
270 | 2 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
271 | 2 | create_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>()); |
272 | 2 | return; |
273 | 3.32M | case PrimitiveType::TYPE_DATETIME: |
274 | 3.32M | create_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>()); |
275 | 3.32M | return; |
276 | 3.38M | case PrimitiveType::TYPE_DATE: |
277 | 3.38M | create_concrete<TYPE_DATE>(field.template get<TYPE_DATE>()); |
278 | 3.38M | return; |
279 | 3.50M | case PrimitiveType::TYPE_BOOLEAN: |
280 | 3.50M | create_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>()); |
281 | 3.50M | return; |
282 | 3.43M | case PrimitiveType::TYPE_TINYINT: |
283 | 3.43M | create_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>()); |
284 | 3.43M | return; |
285 | 3.92M | case PrimitiveType::TYPE_SMALLINT: |
286 | 3.92M | create_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>()); |
287 | 3.92M | return; |
288 | 36.2k | case PrimitiveType::TYPE_INT: |
289 | 36.2k | create_concrete<TYPE_INT>(field.template get<TYPE_INT>()); |
290 | 36.2k | return; |
291 | 5.18M | case PrimitiveType::TYPE_BIGINT: |
292 | 5.18M | create_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>()); |
293 | 5.18M | return; |
294 | 3.13M | case PrimitiveType::TYPE_LARGEINT: |
295 | 3.13M | create_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>()); |
296 | 3.13M | return; |
297 | 25.6k | case PrimitiveType::TYPE_IPV4: |
298 | 25.6k | create_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>()); |
299 | 25.6k | return; |
300 | 16.8k | case PrimitiveType::TYPE_IPV6: |
301 | 16.8k | create_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>()); |
302 | 16.8k | return; |
303 | 134 | case PrimitiveType::TYPE_UUID: |
304 | 134 | create_concrete<TYPE_UUID>(field.template get<TYPE_UUID>()); |
305 | 134 | return; |
306 | 3.46M | case PrimitiveType::TYPE_FLOAT: |
307 | 3.46M | create_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>()); |
308 | 3.46M | return; |
309 | 0 | case PrimitiveType::TYPE_TIMEV2: |
310 | 0 | create_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>()); |
311 | 0 | return; |
312 | 3.78M | case PrimitiveType::TYPE_DOUBLE: |
313 | 3.78M | create_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>()); |
314 | 3.78M | return; |
315 | 35.3k | case PrimitiveType::TYPE_STRING: |
316 | 35.3k | create_concrete<TYPE_STRING>(field.template get<TYPE_STRING>()); |
317 | 35.3k | return; |
318 | 0 | case PrimitiveType::TYPE_CHAR: |
319 | 0 | create_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>()); |
320 | 0 | return; |
321 | 0 | case PrimitiveType::TYPE_VARCHAR: |
322 | 0 | create_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>()); |
323 | 0 | return; |
324 | 7 | case PrimitiveType::TYPE_JSONB: |
325 | 7 | create_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>()); |
326 | 7 | return; |
327 | 92.3M | case PrimitiveType::TYPE_ARRAY: |
328 | 92.3M | create_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>()); |
329 | 92.3M | return; |
330 | 3.04M | case PrimitiveType::TYPE_STRUCT: |
331 | 3.04M | create_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>()); |
332 | 3.04M | return; |
333 | 13.2M | case PrimitiveType::TYPE_MAP: |
334 | 13.2M | create_concrete<TYPE_MAP>(field.template get<TYPE_MAP>()); |
335 | 13.2M | return; |
336 | 3.57M | case PrimitiveType::TYPE_DECIMAL32: |
337 | 3.57M | create_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>()); |
338 | 3.57M | return; |
339 | 3.58M | case PrimitiveType::TYPE_DECIMAL64: |
340 | 3.58M | create_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>()); |
341 | 3.58M | return; |
342 | 430 | case PrimitiveType::TYPE_DECIMALV2: |
343 | 430 | create_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>()); |
344 | 430 | return; |
345 | 3.48M | case PrimitiveType::TYPE_DECIMAL128I: |
346 | 3.48M | create_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>()); |
347 | 3.48M | return; |
348 | 3.66M | case PrimitiveType::TYPE_DECIMAL256: |
349 | 3.66M | create_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>()); |
350 | 3.66M | return; |
351 | 0 | case PrimitiveType::TYPE_VARIANT: |
352 | 0 | create_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>()); |
353 | 0 | return; |
354 | 0 | case PrimitiveType::TYPE_BITMAP: |
355 | 0 | create_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>()); |
356 | 0 | return; |
357 | 0 | case PrimitiveType::TYPE_HLL: |
358 | 0 | create_concrete<TYPE_HLL>(field.template get<TYPE_HLL>()); |
359 | 0 | return; |
360 | 0 | case PrimitiveType::TYPE_QUANTILE_STATE: |
361 | 0 | create_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>()); |
362 | 0 | return; |
363 | 0 | case PrimitiveType::TYPE_UINT32: |
364 | 0 | create_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>()); |
365 | 0 | return; |
366 | 0 | case PrimitiveType::TYPE_UINT64: |
367 | 0 | create_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>()); |
368 | 0 | return; |
369 | 7 | case PrimitiveType::TYPE_VARBINARY: |
370 | 7 | create_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>()); |
371 | 7 | return; |
372 | 0 | default: |
373 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
374 | 202M | } |
375 | 202M | } |
376 | | |
377 | 338M | void Field::destroy() { |
378 | 338M | switch (type) { |
379 | 1.90M | case PrimitiveType::TYPE_STRING: |
380 | 1.90M | destroy<TYPE_STRING>(); |
381 | 1.90M | break; |
382 | 1.41k | case PrimitiveType::TYPE_CHAR: |
383 | 1.41k | destroy<TYPE_CHAR>(); |
384 | 1.41k | break; |
385 | 42.3k | case PrimitiveType::TYPE_VARCHAR: |
386 | 42.3k | destroy<TYPE_VARCHAR>(); |
387 | 42.3k | break; |
388 | 88.0k | case PrimitiveType::TYPE_JSONB: |
389 | 88.0k | destroy<TYPE_JSONB>(); |
390 | 88.0k | break; |
391 | 92.4M | case PrimitiveType::TYPE_ARRAY: |
392 | 92.4M | destroy<TYPE_ARRAY>(); |
393 | 92.4M | break; |
394 | 3.05M | case PrimitiveType::TYPE_STRUCT: |
395 | 3.05M | destroy<TYPE_STRUCT>(); |
396 | 3.05M | break; |
397 | 13.2M | case PrimitiveType::TYPE_MAP: |
398 | 13.2M | destroy<TYPE_MAP>(); |
399 | 13.2M | break; |
400 | 4.19k | case PrimitiveType::TYPE_VARIANT: |
401 | 4.19k | destroy<TYPE_VARIANT>(); |
402 | 4.19k | break; |
403 | 2.44k | case PrimitiveType::TYPE_BITMAP: |
404 | 2.44k | destroy<TYPE_BITMAP>(); |
405 | 2.44k | break; |
406 | 418 | case PrimitiveType::TYPE_HLL: |
407 | 418 | destroy<TYPE_HLL>(); |
408 | 418 | break; |
409 | 22.3k | case PrimitiveType::TYPE_QUANTILE_STATE: |
410 | 22.3k | destroy<TYPE_QUANTILE_STATE>(); |
411 | 22.3k | break; |
412 | 84 | case PrimitiveType::TYPE_VARBINARY: |
413 | 84 | destroy<TYPE_VARBINARY>(); |
414 | 84 | break; |
415 | 227M | default: |
416 | 227M | break; |
417 | 338M | } |
418 | | |
419 | 338M | type = PrimitiveType:: |
420 | 338M | TYPE_NULL; /// for exception safety in subsequent calls to destroy and create, when create fails. |
421 | 338M | } |
422 | | |
423 | 822k | void Field::assign(Field&& field) { |
424 | 822k | switch (field.type) { |
425 | 35.9k | case PrimitiveType::TYPE_NULL: |
426 | 35.9k | assign_concrete<TYPE_NULL>(std::move(field.template get<TYPE_NULL>())); |
427 | 35.9k | return; |
428 | 304 | case PrimitiveType::TYPE_DATETIMEV2: |
429 | 304 | assign_concrete<TYPE_DATETIMEV2>(std::move(field.template get<TYPE_DATETIMEV2>())); |
430 | 304 | return; |
431 | 4 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
432 | 4 | assign_concrete<TYPE_TIMESTAMP_NS>(std::move(field.template get<TYPE_TIMESTAMP_NS>())); |
433 | 4 | return; |
434 | 316 | case PrimitiveType::TYPE_DATETIME: |
435 | 316 | assign_concrete<TYPE_DATETIME>(std::move(field.template get<TYPE_DATETIME>())); |
436 | 316 | return; |
437 | 300 | case PrimitiveType::TYPE_DATE: |
438 | 300 | assign_concrete<TYPE_DATE>(std::move(field.template get<TYPE_DATE>())); |
439 | 300 | return; |
440 | 298 | case PrimitiveType::TYPE_DATEV2: |
441 | 298 | assign_concrete<TYPE_DATEV2>(std::move(field.template get<TYPE_DATEV2>())); |
442 | 298 | return; |
443 | 282 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
444 | 282 | assign_concrete<TYPE_TIMESTAMPTZ>(std::move(field.template get<TYPE_TIMESTAMPTZ>())); |
445 | 282 | return; |
446 | 386 | case PrimitiveType::TYPE_BOOLEAN: |
447 | 386 | assign_concrete<TYPE_BOOLEAN>(std::move(field.template get<TYPE_BOOLEAN>())); |
448 | 386 | return; |
449 | 3.20k | case PrimitiveType::TYPE_TINYINT: |
450 | 3.20k | assign_concrete<TYPE_TINYINT>(std::move(field.template get<TYPE_TINYINT>())); |
451 | 3.20k | return; |
452 | 312 | case PrimitiveType::TYPE_SMALLINT: |
453 | 312 | assign_concrete<TYPE_SMALLINT>(std::move(field.template get<TYPE_SMALLINT>())); |
454 | 312 | return; |
455 | 716k | case PrimitiveType::TYPE_INT: |
456 | 716k | assign_concrete<TYPE_INT>(std::move(field.template get<TYPE_INT>())); |
457 | 716k | return; |
458 | 1.76k | case PrimitiveType::TYPE_BIGINT: |
459 | 1.76k | assign_concrete<TYPE_BIGINT>(std::move(field.template get<TYPE_BIGINT>())); |
460 | 1.76k | return; |
461 | 301 | case PrimitiveType::TYPE_LARGEINT: |
462 | 301 | assign_concrete<TYPE_LARGEINT>(std::move(field.template get<TYPE_LARGEINT>())); |
463 | 301 | return; |
464 | 267 | case PrimitiveType::TYPE_IPV4: |
465 | 267 | assign_concrete<TYPE_IPV4>(std::move(field.template get<TYPE_IPV4>())); |
466 | 267 | return; |
467 | 267 | case PrimitiveType::TYPE_IPV6: |
468 | 267 | assign_concrete<TYPE_IPV6>(std::move(field.template get<TYPE_IPV6>())); |
469 | 267 | return; |
470 | 2 | case PrimitiveType::TYPE_UUID: |
471 | 2 | assign_concrete<TYPE_UUID>(std::move(field.template get<TYPE_UUID>())); |
472 | 2 | return; |
473 | 455 | case PrimitiveType::TYPE_FLOAT: |
474 | 455 | assign_concrete<TYPE_FLOAT>(std::move(field.template get<TYPE_FLOAT>())); |
475 | 455 | return; |
476 | 0 | case PrimitiveType::TYPE_TIMEV2: |
477 | 0 | assign_concrete<TYPE_TIMEV2>(std::move(field.template get<TYPE_TIMEV2>())); |
478 | 0 | return; |
479 | 571 | case PrimitiveType::TYPE_DOUBLE: |
480 | 571 | assign_concrete<TYPE_DOUBLE>(std::move(field.template get<TYPE_DOUBLE>())); |
481 | 571 | return; |
482 | 13.0k | case PrimitiveType::TYPE_STRING: |
483 | 13.0k | assign_concrete<TYPE_STRING>(std::move(field.template get<TYPE_STRING>())); |
484 | 13.0k | return; |
485 | 284 | case PrimitiveType::TYPE_CHAR: |
486 | 284 | assign_concrete<TYPE_CHAR>(std::move(field.template get<TYPE_CHAR>())); |
487 | 284 | return; |
488 | 1.95k | case PrimitiveType::TYPE_VARCHAR: |
489 | 1.95k | assign_concrete<TYPE_VARCHAR>(std::move(field.template get<TYPE_VARCHAR>())); |
490 | 1.95k | return; |
491 | 43.9k | case PrimitiveType::TYPE_JSONB: |
492 | 43.9k | assign_concrete<TYPE_JSONB>(std::move(field.template get<TYPE_JSONB>())); |
493 | 43.9k | return; |
494 | 114 | case PrimitiveType::TYPE_ARRAY: |
495 | 114 | assign_concrete<TYPE_ARRAY>(std::move(field.template get<TYPE_ARRAY>())); |
496 | 114 | return; |
497 | 0 | case PrimitiveType::TYPE_STRUCT: |
498 | 0 | assign_concrete<TYPE_STRUCT>(std::move(field.template get<TYPE_STRUCT>())); |
499 | 0 | return; |
500 | 1 | case PrimitiveType::TYPE_MAP: |
501 | 1 | assign_concrete<TYPE_MAP>(std::move(field.template get<TYPE_MAP>())); |
502 | 1 | return; |
503 | 267 | case PrimitiveType::TYPE_DECIMAL32: |
504 | 267 | assign_concrete<TYPE_DECIMAL32>(std::move(field.template get<TYPE_DECIMAL32>())); |
505 | 267 | return; |
506 | 267 | case PrimitiveType::TYPE_DECIMAL64: |
507 | 267 | assign_concrete<TYPE_DECIMAL64>(std::move(field.template get<TYPE_DECIMAL64>())); |
508 | 267 | return; |
509 | 282 | case PrimitiveType::TYPE_DECIMALV2: |
510 | 282 | assign_concrete<TYPE_DECIMALV2>(std::move(field.template get<TYPE_DECIMALV2>())); |
511 | 282 | return; |
512 | 267 | case PrimitiveType::TYPE_DECIMAL128I: |
513 | 267 | assign_concrete<TYPE_DECIMAL128I>(std::move(field.template get<TYPE_DECIMAL128I>())); |
514 | 267 | return; |
515 | 269 | case PrimitiveType::TYPE_DECIMAL256: |
516 | 269 | assign_concrete<TYPE_DECIMAL256>(std::move(field.template get<TYPE_DECIMAL256>())); |
517 | 269 | return; |
518 | 0 | case PrimitiveType::TYPE_VARIANT: |
519 | 0 | assign_concrete<TYPE_VARIANT>(std::move(field.template get<TYPE_VARIANT>())); |
520 | 0 | return; |
521 | 2 | case PrimitiveType::TYPE_BITMAP: |
522 | 2 | assign_concrete<TYPE_BITMAP>(std::move(field.template get<TYPE_BITMAP>())); |
523 | 2 | return; |
524 | 1 | case PrimitiveType::TYPE_HLL: |
525 | 1 | assign_concrete<TYPE_HLL>(std::move(field.template get<TYPE_HLL>())); |
526 | 1 | return; |
527 | 1 | case PrimitiveType::TYPE_QUANTILE_STATE: |
528 | 1 | assign_concrete<TYPE_QUANTILE_STATE>(std::move(field.template get<TYPE_QUANTILE_STATE>())); |
529 | 1 | return; |
530 | 0 | case PrimitiveType::TYPE_VARBINARY: |
531 | 0 | assign_concrete<TYPE_VARBINARY>(std::move(field.template get<TYPE_VARBINARY>())); |
532 | 0 | return; |
533 | 0 | default: |
534 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
535 | 822k | } |
536 | 822k | } |
537 | | |
538 | 37.4k | void Field::assign(const Field& field) { |
539 | 37.4k | switch (field.type) { |
540 | 359 | case PrimitiveType::TYPE_NULL: |
541 | 359 | assign_concrete<TYPE_NULL>(field.template get<TYPE_NULL>()); |
542 | 359 | return; |
543 | 277 | case PrimitiveType::TYPE_DATETIMEV2: |
544 | 277 | assign_concrete<TYPE_DATETIMEV2>(field.template get<TYPE_DATETIMEV2>()); |
545 | 277 | return; |
546 | 3 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
547 | 3 | assign_concrete<TYPE_TIMESTAMP_NS>(field.template get<TYPE_TIMESTAMP_NS>()); |
548 | 3 | return; |
549 | 298 | case PrimitiveType::TYPE_DATETIME: |
550 | 298 | assign_concrete<TYPE_DATETIME>(field.template get<TYPE_DATETIME>()); |
551 | 298 | return; |
552 | 284 | case PrimitiveType::TYPE_DATE: |
553 | 284 | assign_concrete<TYPE_DATE>(field.template get<TYPE_DATE>()); |
554 | 284 | return; |
555 | 288 | case PrimitiveType::TYPE_DATEV2: |
556 | 288 | assign_concrete<TYPE_DATEV2>(field.template get<TYPE_DATEV2>()); |
557 | 288 | return; |
558 | 277 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
559 | 277 | assign_concrete<TYPE_TIMESTAMPTZ>(field.template get<TYPE_TIMESTAMPTZ>()); |
560 | 277 | return; |
561 | 386 | case PrimitiveType::TYPE_BOOLEAN: |
562 | 386 | assign_concrete<TYPE_BOOLEAN>(field.template get<TYPE_BOOLEAN>()); |
563 | 386 | return; |
564 | 3.16k | case PrimitiveType::TYPE_TINYINT: |
565 | 3.16k | assign_concrete<TYPE_TINYINT>(field.template get<TYPE_TINYINT>()); |
566 | 3.16k | return; |
567 | 298 | case PrimitiveType::TYPE_SMALLINT: |
568 | 298 | assign_concrete<TYPE_SMALLINT>(field.template get<TYPE_SMALLINT>()); |
569 | 298 | return; |
570 | 17.8k | case PrimitiveType::TYPE_INT: |
571 | 17.8k | assign_concrete<TYPE_INT>(field.template get<TYPE_INT>()); |
572 | 17.8k | return; |
573 | 1.74k | case PrimitiveType::TYPE_BIGINT: |
574 | 1.74k | assign_concrete<TYPE_BIGINT>(field.template get<TYPE_BIGINT>()); |
575 | 1.74k | return; |
576 | 277 | case PrimitiveType::TYPE_LARGEINT: |
577 | 277 | assign_concrete<TYPE_LARGEINT>(field.template get<TYPE_LARGEINT>()); |
578 | 277 | return; |
579 | 267 | case PrimitiveType::TYPE_IPV4: |
580 | 267 | assign_concrete<TYPE_IPV4>(field.template get<TYPE_IPV4>()); |
581 | 267 | return; |
582 | 267 | case PrimitiveType::TYPE_IPV6: |
583 | 267 | assign_concrete<TYPE_IPV6>(field.template get<TYPE_IPV6>()); |
584 | 267 | return; |
585 | 2 | case PrimitiveType::TYPE_UUID: |
586 | 2 | assign_concrete<TYPE_UUID>(field.template get<TYPE_UUID>()); |
587 | 2 | return; |
588 | 288 | case PrimitiveType::TYPE_FLOAT: |
589 | 288 | assign_concrete<TYPE_FLOAT>(field.template get<TYPE_FLOAT>()); |
590 | 288 | return; |
591 | 0 | case PrimitiveType::TYPE_TIMEV2: |
592 | 0 | assign_concrete<TYPE_TIMEV2>(field.template get<TYPE_TIMEV2>()); |
593 | 0 | return; |
594 | 393 | case PrimitiveType::TYPE_DOUBLE: |
595 | 393 | assign_concrete<TYPE_DOUBLE>(field.template get<TYPE_DOUBLE>()); |
596 | 393 | return; |
597 | 7.22k | case PrimitiveType::TYPE_STRING: |
598 | 7.22k | assign_concrete<TYPE_STRING>(field.template get<TYPE_STRING>()); |
599 | 7.22k | return; |
600 | 281 | case PrimitiveType::TYPE_CHAR: |
601 | 281 | assign_concrete<TYPE_CHAR>(field.template get<TYPE_CHAR>()); |
602 | 281 | return; |
603 | 1.83k | case PrimitiveType::TYPE_VARCHAR: |
604 | 1.83k | assign_concrete<TYPE_VARCHAR>(field.template get<TYPE_VARCHAR>()); |
605 | 1.83k | return; |
606 | 1 | case PrimitiveType::TYPE_JSONB: |
607 | 1 | assign_concrete<TYPE_JSONB>(field.template get<TYPE_JSONB>()); |
608 | 1 | return; |
609 | 13 | case PrimitiveType::TYPE_ARRAY: |
610 | 13 | assign_concrete<TYPE_ARRAY>(field.template get<TYPE_ARRAY>()); |
611 | 13 | return; |
612 | 0 | case PrimitiveType::TYPE_STRUCT: |
613 | 0 | assign_concrete<TYPE_STRUCT>(field.template get<TYPE_STRUCT>()); |
614 | 0 | return; |
615 | 1 | case PrimitiveType::TYPE_MAP: |
616 | 1 | assign_concrete<TYPE_MAP>(field.template get<TYPE_MAP>()); |
617 | 1 | return; |
618 | 267 | case PrimitiveType::TYPE_DECIMAL32: |
619 | 267 | assign_concrete<TYPE_DECIMAL32>(field.template get<TYPE_DECIMAL32>()); |
620 | 267 | return; |
621 | 267 | case PrimitiveType::TYPE_DECIMAL64: |
622 | 267 | assign_concrete<TYPE_DECIMAL64>(field.template get<TYPE_DECIMAL64>()); |
623 | 267 | return; |
624 | 272 | case PrimitiveType::TYPE_DECIMALV2: |
625 | 272 | assign_concrete<TYPE_DECIMALV2>(field.template get<TYPE_DECIMALV2>()); |
626 | 272 | return; |
627 | 267 | case PrimitiveType::TYPE_DECIMAL128I: |
628 | 267 | assign_concrete<TYPE_DECIMAL128I>(field.template get<TYPE_DECIMAL128I>()); |
629 | 267 | return; |
630 | 269 | case PrimitiveType::TYPE_DECIMAL256: |
631 | 269 | assign_concrete<TYPE_DECIMAL256>(field.template get<TYPE_DECIMAL256>()); |
632 | 269 | return; |
633 | 0 | case PrimitiveType::TYPE_VARIANT: |
634 | 0 | assign_concrete<TYPE_VARIANT>(field.template get<TYPE_VARIANT>()); |
635 | 0 | return; |
636 | 2 | case PrimitiveType::TYPE_BITMAP: |
637 | 2 | assign_concrete<TYPE_BITMAP>(field.template get<TYPE_BITMAP>()); |
638 | 2 | return; |
639 | 1 | case PrimitiveType::TYPE_HLL: |
640 | 1 | assign_concrete<TYPE_HLL>(field.template get<TYPE_HLL>()); |
641 | 1 | return; |
642 | 1 | case PrimitiveType::TYPE_QUANTILE_STATE: |
643 | 1 | assign_concrete<TYPE_QUANTILE_STATE>(field.template get<TYPE_QUANTILE_STATE>()); |
644 | 1 | return; |
645 | 0 | case PrimitiveType::TYPE_UINT32: |
646 | 0 | assign_concrete<TYPE_UINT32>(field.template get<TYPE_UINT32>()); |
647 | 0 | return; |
648 | 0 | case PrimitiveType::TYPE_UINT64: |
649 | 0 | assign_concrete<TYPE_UINT64>(field.template get<TYPE_UINT64>()); |
650 | 0 | return; |
651 | 0 | case PrimitiveType::TYPE_VARBINARY: |
652 | 0 | assign_concrete<TYPE_VARBINARY>(field.template get<TYPE_VARBINARY>()); |
653 | 0 | return; |
654 | 0 | default: |
655 | 0 | throw Exception(Status::FatalError("type not supported, type={}", field.get_type_name())); |
656 | 37.4k | } |
657 | 37.4k | } |
658 | | |
659 | | /// Assuming same types. |
660 | | template <PrimitiveType Type> |
661 | 822k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { |
662 | 822k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); |
663 | 822k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); |
664 | 822k | } _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 35.9k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 35.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 35.9k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 35.9k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 3.20k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 3.20k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 3.20k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 3.20k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 312 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 312 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 312 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 312 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 716k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 716k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 716k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 716k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 1.76k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 1.76k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 1.76k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 1.76k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 301 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 301 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 301 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 301 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 300 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 300 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 300 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 300 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 316 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 316 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 316 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 316 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 298 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 298 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 298 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 298 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 304 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 304 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 304 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 304 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE43EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 4 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 4 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 4 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 4 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 267 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 267 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 267 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 267 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 267 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 267 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 267 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 267 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 282 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 282 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 282 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 282 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 267 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 267 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 267 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 267 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 269 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 269 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 269 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 269 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 284 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 284 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 284 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 284 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 1.95k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 1.95k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 1.95k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 1.95k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 13.0k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 13.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 13.0k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 13.0k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 1 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 114 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 114 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 114 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 114 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 282 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 282 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 282 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 282 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 267 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 267 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 267 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 267 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 267 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 267 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 267 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 267 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE44EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 2 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 2 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 2 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 386 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 386 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 386 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 386 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 455 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 455 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 455 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 455 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 571 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 571 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 571 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 571 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 43.9k | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 43.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 43.9k | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 43.9k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 1 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 1 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 661 | 2 | void Field::assign_concrete(typename PrimitiveTypeTraits<Type>::CppType&& x) { | 662 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 663 | 2 | *ptr = std::forward<typename PrimitiveTypeTraits<Type>::CppType>(x); | 664 | 2 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvONS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
665 | | |
666 | | template <PrimitiveType Type> |
667 | 37.4k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { |
668 | 37.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); |
669 | 37.4k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); |
670 | 37.4k | } _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE1EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 359 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 359 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 359 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 359 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE3EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 3.16k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 3.16k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 3.16k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 3.16k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE4EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 298 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 298 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 298 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 298 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE5EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 17.8k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 17.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 17.8k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 17.8k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE6EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 1.74k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 1.74k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 1.74k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 1.74k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE7EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 277 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 277 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 277 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 277 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE11EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 284 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 284 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 284 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 284 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE12EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 298 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 298 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 298 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 298 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE25EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 288 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 288 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 288 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 288 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE26EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 277 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 277 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 277 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 277 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE43EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 3 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 3 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 3 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 3 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE42EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 277 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 277 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 277 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 277 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE28EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 267 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 267 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 267 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 267 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE29EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 267 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 267 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 267 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 267 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE20EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 272 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 272 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 272 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 272 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE30EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 267 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 267 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 267 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 267 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE35EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 269 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 269 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 269 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 269 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE15EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 281 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 281 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 281 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 281 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE10EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 1.83k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 1.83k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 1.83k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 1.83k | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE23EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 7.22k | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 7.22k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 7.22k | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 7.22k | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE41EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE19EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 1 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE32EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE24EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE17EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 13 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 13 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 13 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 13 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE36EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 267 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 267 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 267 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 267 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE37EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 267 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 267 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 267 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 267 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE44EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 2 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 2 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 2 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE2EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 386 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 386 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 386 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 386 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE8EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 288 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 288 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 288 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 288 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE9EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 393 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 393 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 393 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 393 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE31EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 1 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE16EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE18EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 1 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 1 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 1 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 1 | } |
_ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE22EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Line | Count | Source | 667 | 2 | void Field::assign_concrete(const typename PrimitiveTypeTraits<Type>::CppType& x) { | 668 | 2 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<Type>::CppType*>(&storage); | 669 | 2 | *ptr = std::forward<const typename PrimitiveTypeTraits<Type>::CppType>(x); | 670 | 2 | } |
Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE27EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE38EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE Unexecuted instantiation: _ZN5doris5Field15assign_concreteILNS_13PrimitiveTypeE39EEEvRKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeE |
671 | | |
672 | 0 | std::string Field::get_type_name() const { |
673 | 0 | return type_to_string(type); |
674 | 0 | } |
675 | | |
676 | | template <PrimitiveType T> |
677 | 94.0M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { |
678 | 94.0M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { |
679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", |
680 | 0 | type_to_string(T), get_type_name())); |
681 | 0 | } |
682 | 94.0M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); |
683 | 94.0M | return *ptr; |
684 | 94.0M | } _ZN5doris5Field3getILNS_13PrimitiveTypeE1EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 37.5k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 37.5k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 37.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 37.5k | return *ptr; | 684 | 37.5k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE3EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 35.9k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 35.9k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 35.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 35.9k | return *ptr; | 684 | 35.9k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE4EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 25.5k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 25.5k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 25.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 25.5k | return *ptr; | 684 | 25.5k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE5EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 92.6M | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 92.6M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 92.6M | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 92.6M | return *ptr; | 684 | 92.6M | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE6EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 538k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 538k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 538k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 538k | return *ptr; | 684 | 538k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE7EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 18.7k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 18.7k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 18.7k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 18.7k | return *ptr; | 684 | 18.7k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE11EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 9.59k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 9.59k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 9.59k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 9.59k | return *ptr; | 684 | 9.59k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE12EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 14.2k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 14.2k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 14.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 14.2k | return *ptr; | 684 | 14.2k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE25EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 7.38k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 7.38k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 7.38k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 7.38k | return *ptr; | 684 | 7.38k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE26EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 51.8k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 51.8k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 51.8k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 51.8k | return *ptr; | 684 | 51.8k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE43EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 87 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 87 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 87 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 87 | return *ptr; | 684 | 87 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE42EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 985 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 985 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 985 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 985 | return *ptr; | 684 | 985 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE28EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 10.4k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 10.4k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 10.4k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 10.4k | return *ptr; | 684 | 10.4k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE29EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 20.3k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 20.3k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 20.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 20.3k | return *ptr; | 684 | 20.3k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE20EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 9.35k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 9.35k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 9.35k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 9.35k | return *ptr; | 684 | 9.35k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE30EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 22.9k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 22.9k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 22.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 22.9k | return *ptr; | 684 | 22.9k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE35EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 35.7k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 35.7k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 35.7k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 35.7k | return *ptr; | 684 | 35.7k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE15EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 1.17k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 1.17k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 1.17k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 1.17k | return *ptr; | 684 | 1.17k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE10EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 7.78k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 7.78k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 7.78k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 7.78k | return *ptr; | 684 | 7.78k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE23EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 206k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 206k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 206k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 206k | return *ptr; | 684 | 206k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE41EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 38 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 38 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 38 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 38 | return *ptr; | 684 | 38 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE19EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 6 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 6 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 6 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 6 | return *ptr; | 684 | 6 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE32EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 2.13k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 2.13k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 2.13k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 2.13k | return *ptr; | 684 | 2.13k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE24EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 4 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 4 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 4 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 4 | return *ptr; | 684 | 4 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE17EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 95.2k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 95.2k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 95.2k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 95.2k | return *ptr; | 684 | 95.2k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE36EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 33.1k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 33.1k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 33.1k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 33.1k | return *ptr; | 684 | 33.1k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE37EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 22.3k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 22.3k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 22.3k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 22.3k | return *ptr; | 684 | 22.3k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE44EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 87 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 87 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 87 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 87 | return *ptr; | 684 | 87 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE2EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 3.71k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 3.71k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 3.71k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 3.71k | return *ptr; | 684 | 3.71k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE8EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 30.5k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 30.5k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 30.5k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 30.5k | return *ptr; | 684 | 30.5k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE9EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 27.0k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 27.0k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 27.0k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 27.0k | return *ptr; | 684 | 27.0k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE31EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 65.9k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 65.9k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 65.9k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 65.9k | return *ptr; | 684 | 65.9k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE16EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 7.63k | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 7.63k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 7.63k | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 7.63k | return *ptr; | 684 | 7.63k | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE18EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 923 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 923 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 923 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 923 | return *ptr; | 684 | 923 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE22EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 137 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 137 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 137 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 137 | return *ptr; | 684 | 137 | } |
_ZN5doris5Field3getILNS_13PrimitiveTypeE27EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 677 | 26 | typename PrimitiveTypeTraits<T>::CppType& Field::get() { | 678 | 26 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 679 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 680 | 0 | type_to_string(T), get_type_name())); | 681 | 0 | } | 682 | 26 | auto* MAY_ALIAS ptr = reinterpret_cast<typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 683 | 26 | return *ptr; | 684 | 26 | } |
Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE38EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Unexecuted instantiation: _ZN5doris5Field3getILNS_13PrimitiveTypeE39EEERNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv |
685 | | |
686 | | template <PrimitiveType T> |
687 | 312M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { |
688 | 312M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { |
689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", |
690 | 0 | type_to_string(T), get_type_name())); |
691 | 0 | } |
692 | 312M | const auto* MAY_ALIAS ptr = |
693 | 312M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); |
694 | 312M | return *ptr; |
695 | 312M | } _ZNK5doris5Field3getILNS_13PrimitiveTypeE1EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 38.7M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 38.7M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 38.7M | const auto* MAY_ALIAS ptr = | 693 | 38.7M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 38.7M | return *ptr; | 695 | 38.7M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE3EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.44M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.44M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.44M | const auto* MAY_ALIAS ptr = | 693 | 4.44M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.44M | return *ptr; | 695 | 4.44M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE4EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.92M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.92M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.92M | const auto* MAY_ALIAS ptr = | 693 | 4.92M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.92M | return *ptr; | 695 | 4.92M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE5EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 3.46M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 3.46M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 3.46M | const auto* MAY_ALIAS ptr = | 693 | 3.46M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 3.46M | return *ptr; | 695 | 3.46M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE6EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 20.2M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 20.2M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 20.2M | const auto* MAY_ALIAS ptr = | 693 | 20.2M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 20.2M | return *ptr; | 695 | 20.2M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE7EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.13M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.13M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.13M | const auto* MAY_ALIAS ptr = | 693 | 4.13M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.13M | return *ptr; | 695 | 4.13M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE11EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.38M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.38M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.38M | const auto* MAY_ALIAS ptr = | 693 | 4.38M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.38M | return *ptr; | 695 | 4.38M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE12EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.32M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.32M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.32M | const auto* MAY_ALIAS ptr = | 693 | 4.32M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.32M | return *ptr; | 695 | 4.32M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE25EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.38M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.38M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.38M | const auto* MAY_ALIAS ptr = | 693 | 4.38M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.38M | return *ptr; | 695 | 4.38M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE26EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 5.02M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 5.02M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 5.02M | const auto* MAY_ALIAS ptr = | 693 | 5.02M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 5.02M | return *ptr; | 695 | 5.02M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE43EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 187 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 187 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 187 | const auto* MAY_ALIAS ptr = | 693 | 187 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 187 | return *ptr; | 695 | 187 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE42EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 788 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 788 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 788 | const auto* MAY_ALIAS ptr = | 693 | 788 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 788 | return *ptr; | 695 | 788 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE28EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.58M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.58M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.58M | const auto* MAY_ALIAS ptr = | 693 | 4.58M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.58M | return *ptr; | 695 | 4.58M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE29EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 18.1M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 18.1M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 18.1M | const auto* MAY_ALIAS ptr = | 693 | 18.1M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 18.1M | return *ptr; | 695 | 18.1M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE20EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 16.4k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 16.4k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 16.4k | const auto* MAY_ALIAS ptr = | 693 | 16.4k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 16.4k | return *ptr; | 695 | 16.4k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE30EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.49M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.49M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.49M | const auto* MAY_ALIAS ptr = | 693 | 4.49M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.49M | return *ptr; | 695 | 4.49M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE35EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.66M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.66M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.66M | const auto* MAY_ALIAS ptr = | 693 | 4.66M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.66M | return *ptr; | 695 | 4.66M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE15EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 282 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 282 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 282 | const auto* MAY_ALIAS ptr = | 693 | 282 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 282 | return *ptr; | 695 | 282 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE10EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 1.83k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 1.83k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 1.83k | const auto* MAY_ALIAS ptr = | 693 | 1.83k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 1.83k | return *ptr; | 695 | 1.83k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE23EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 3.52M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 3.52M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 3.52M | const auto* MAY_ALIAS ptr = | 693 | 3.52M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 3.52M | return *ptr; | 695 | 3.52M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE41EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 50 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 50 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 50 | const auto* MAY_ALIAS ptr = | 693 | 50 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 50 | return *ptr; | 695 | 50 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE19EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 8 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 8 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 8 | const auto* MAY_ALIAS ptr = | 693 | 8 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 8 | return *ptr; | 695 | 8 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE32EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 27 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 27 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 27 | const auto* MAY_ALIAS ptr = | 693 | 27 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 27 | return *ptr; | 695 | 27 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE24EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 20.0k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 20.0k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 20.0k | const auto* MAY_ALIAS ptr = | 693 | 20.0k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 20.0k | return *ptr; | 695 | 20.0k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE17EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 119M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 119M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 119M | const auto* MAY_ALIAS ptr = | 693 | 119M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 119M | return *ptr; | 695 | 119M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE36EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 26.9k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 26.9k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 26.9k | const auto* MAY_ALIAS ptr = | 693 | 26.9k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 26.9k | return *ptr; | 695 | 26.9k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE37EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 18.0k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 18.0k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 18.0k | const auto* MAY_ALIAS ptr = | 693 | 18.0k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 18.0k | return *ptr; | 695 | 18.0k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE44EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 87.7k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 87.7k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 87.7k | const auto* MAY_ALIAS ptr = | 693 | 87.7k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 87.7k | return *ptr; | 695 | 87.7k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE2EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 32.7M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 32.7M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 32.7M | const auto* MAY_ALIAS ptr = | 693 | 32.7M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 32.7M | return *ptr; | 695 | 32.7M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE8EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.47M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.47M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.47M | const auto* MAY_ALIAS ptr = | 693 | 4.47M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.47M | return *ptr; | 695 | 4.47M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE9EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.79M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.79M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.79M | const auto* MAY_ALIAS ptr = | 693 | 4.79M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.79M | return *ptr; | 695 | 4.79M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE31EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 22.0k | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 22.0k | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 22.0k | const auto* MAY_ALIAS ptr = | 693 | 22.0k | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 22.0k | return *ptr; | 695 | 22.0k | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE16EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 4.04M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 4.04M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 4.04M | const auto* MAY_ALIAS ptr = | 693 | 4.04M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 4.04M | return *ptr; | 695 | 4.04M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE18EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 17.2M | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 17.2M | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 17.2M | const auto* MAY_ALIAS ptr = | 693 | 17.2M | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 17.2M | return *ptr; | 695 | 17.2M | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE22EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 9 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 9 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 9 | const auto* MAY_ALIAS ptr = | 693 | 9 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 9 | return *ptr; | 695 | 9 | } |
_ZNK5doris5Field3getILNS_13PrimitiveTypeE27EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 18 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 18 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 18 | const auto* MAY_ALIAS ptr = | 693 | 18 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 18 | return *ptr; | 695 | 18 | } |
Unexecuted instantiation: _ZNK5doris5Field3getILNS_13PrimitiveTypeE38EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv _ZNK5doris5Field3getILNS_13PrimitiveTypeE39EEERKNS_19PrimitiveTypeTraitsIXT_EE7CppTypeEv Line | Count | Source | 687 | 40 | const typename PrimitiveTypeTraits<T>::CppType& Field::get() const { | 688 | 40 | if (T != type && !(is_string_type(type) && is_string_type(T)) && type != TYPE_NULL) { | 689 | 0 | throw Exception(Status::FatalError("Field::get type mismatch: requested {}, actual {}", | 690 | 0 | type_to_string(T), get_type_name())); | 691 | 0 | } | 692 | 40 | const auto* MAY_ALIAS ptr = | 693 | 40 | reinterpret_cast<const typename PrimitiveTypeTraits<T>::CppType*>(&storage); | 694 | 40 | return *ptr; | 695 | 40 | } |
|
696 | | |
697 | | template <PrimitiveType T> |
698 | 110M | void Field::destroy() { |
699 | 110M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; |
700 | 110M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) |
701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); |
702 | 110M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); |
703 | 110M | ptr->~TargetType(); |
704 | 110M | } Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE1EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE3EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE4EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE5EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE6EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE7EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE11EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE12EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE25EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE26EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE43EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE42EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE28EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE29EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE20EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE30EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE35EEEvv _ZN5doris5Field7destroyILNS_13PrimitiveTypeE15EEEvv Line | Count | Source | 698 | 1.41k | void Field::destroy() { | 699 | 1.41k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 1.41k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 1.41k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 1.41k | ptr->~TargetType(); | 704 | 1.41k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE10EEEvv Line | Count | Source | 698 | 42.3k | void Field::destroy() { | 699 | 42.3k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 42.3k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 42.3k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 42.3k | ptr->~TargetType(); | 704 | 42.3k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE23EEEvv Line | Count | Source | 698 | 1.90M | void Field::destroy() { | 699 | 1.90M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 1.90M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 1.90M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 1.90M | ptr->~TargetType(); | 704 | 1.90M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE41EEEvv Line | Count | Source | 698 | 84 | void Field::destroy() { | 699 | 84 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 84 | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 84 | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 84 | ptr->~TargetType(); | 704 | 84 | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE19EEEvv Line | Count | Source | 698 | 418 | void Field::destroy() { | 699 | 418 | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 418 | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 418 | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 418 | ptr->~TargetType(); | 704 | 418 | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE32EEEvv Line | Count | Source | 698 | 4.19k | void Field::destroy() { | 699 | 4.19k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 4.19k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 4.19k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 4.19k | ptr->~TargetType(); | 704 | 4.19k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE24EEEvv Line | Count | Source | 698 | 22.3k | void Field::destroy() { | 699 | 22.3k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 22.3k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 22.3k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 22.3k | ptr->~TargetType(); | 704 | 22.3k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE17EEEvv Line | Count | Source | 698 | 92.4M | void Field::destroy() { | 699 | 92.4M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 92.4M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 92.4M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 92.4M | ptr->~TargetType(); | 704 | 92.4M | } |
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE36EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE37EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE44EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE2EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE8EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE9EEEvv _ZN5doris5Field7destroyILNS_13PrimitiveTypeE31EEEvv Line | Count | Source | 698 | 88.0k | void Field::destroy() { | 699 | 88.0k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 88.0k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 88.0k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 88.0k | ptr->~TargetType(); | 704 | 88.0k | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE16EEEvv Line | Count | Source | 698 | 3.05M | void Field::destroy() { | 699 | 3.05M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 3.05M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 3.05M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 3.05M | ptr->~TargetType(); | 704 | 3.05M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE18EEEvv Line | Count | Source | 698 | 13.2M | void Field::destroy() { | 699 | 13.2M | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 13.2M | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 13.2M | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 13.2M | ptr->~TargetType(); | 704 | 13.2M | } |
_ZN5doris5Field7destroyILNS_13PrimitiveTypeE22EEEvv Line | Count | Source | 698 | 2.44k | void Field::destroy() { | 699 | 2.44k | using TargetType = typename PrimitiveTypeTraits<T>::CppType; | 700 | 2.44k | DCHECK(T == type || ((is_string_type(type) && is_string_type(T)))) | 701 | 0 | << "Type mismatch: requested " << type_to_string(T) << ", actual " << get_type_name(); | 702 | 2.44k | auto* MAY_ALIAS ptr = reinterpret_cast<TargetType*>(&storage); | 703 | 2.44k | ptr->~TargetType(); | 704 | 2.44k | } |
Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE27EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE38EEEvv Unexecuted instantiation: _ZN5doris5Field7destroyILNS_13PrimitiveTypeE39EEEvv |
705 | | |
706 | 298k | std::strong_ordering Field::operator<=>(const Field& rhs) const { |
707 | 298k | if (type == PrimitiveType::TYPE_NULL || rhs == PrimitiveType::TYPE_NULL) { |
708 | 208k | return type <=> rhs.type; |
709 | 208k | } |
710 | 90.0k | if (type != rhs.type) { |
711 | | // String-family types (STRING, CHAR, VARCHAR) all store String internally |
712 | | // and are inter-comparable. This arises when comparing RowCursor fields |
713 | | // (which carry the declared column type) against Column::operator[] results |
714 | | // (which always return TYPE_STRING for ColumnString). |
715 | 0 | if (is_string_type(type) && is_string_type(rhs.type)) { |
716 | 0 | return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>(); |
717 | 0 | } |
718 | 0 | throw Exception(Status::FatalError("lhs type not equal with rhs, lhs={}, rhs={}", |
719 | 0 | get_type_name(), rhs.get_type_name())); |
720 | 0 | } |
721 | | |
722 | 90.0k | switch (type) { |
723 | 1.14k | case PrimitiveType::TYPE_BITMAP: |
724 | 1.34k | case PrimitiveType::TYPE_HLL: |
725 | 2.53k | case PrimitiveType::TYPE_QUANTILE_STATE: |
726 | 2.53k | case PrimitiveType::INVALID_TYPE: |
727 | 2.53k | case PrimitiveType::TYPE_JSONB: |
728 | 2.53k | case PrimitiveType::TYPE_NULL: |
729 | 8.69k | case PrimitiveType::TYPE_ARRAY: |
730 | 9.62k | case PrimitiveType::TYPE_MAP: |
731 | 10.3k | case PrimitiveType::TYPE_STRUCT: |
732 | 11.3k | case PrimitiveType::TYPE_VARIANT: |
733 | 11.3k | return std::strong_ordering::equal; //TODO: throw Exception? |
734 | 110 | case PrimitiveType::TYPE_DATETIMEV2: |
735 | 110 | return get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val() <=> |
736 | 110 | rhs.get<PrimitiveType::TYPE_DATETIMEV2>().to_date_int_val(); |
737 | 3 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
738 | 3 | return get<PrimitiveType::TYPE_TIMESTAMP_NS>() <=> |
739 | 3 | rhs.get<PrimitiveType::TYPE_TIMESTAMP_NS>(); |
740 | 59 | case PrimitiveType::TYPE_DATEV2: |
741 | 59 | return get<PrimitiveType::TYPE_DATEV2>().to_date_int_val() <=> |
742 | 59 | rhs.get<PrimitiveType::TYPE_DATEV2>().to_date_int_val(); |
743 | 4 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
744 | 4 | return get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val() <=> |
745 | 4 | rhs.get<PrimitiveType::TYPE_TIMESTAMPTZ>().to_date_int_val(); |
746 | 53 | case PrimitiveType::TYPE_DATE: |
747 | 53 | return get<PrimitiveType::TYPE_DATE>() <=> rhs.get<PrimitiveType::TYPE_DATE>(); |
748 | 53 | case PrimitiveType::TYPE_DATETIME: |
749 | 53 | return get<PrimitiveType::TYPE_DATETIME>() <=> rhs.get<PrimitiveType::TYPE_DATETIME>(); |
750 | 188 | case PrimitiveType::TYPE_BIGINT: |
751 | 188 | return get<PrimitiveType::TYPE_BIGINT>() <=> rhs.get<PrimitiveType::TYPE_BIGINT>(); |
752 | 74 | case PrimitiveType::TYPE_BOOLEAN: |
753 | 74 | return get<PrimitiveType::TYPE_BOOLEAN>() <=> rhs.get<PrimitiveType::TYPE_BOOLEAN>(); |
754 | 97 | case PrimitiveType::TYPE_TINYINT: |
755 | 97 | return get<TYPE_TINYINT>() <=> rhs.get<TYPE_TINYINT>(); |
756 | 98 | case PrimitiveType::TYPE_SMALLINT: |
757 | 98 | return get<TYPE_SMALLINT>() <=> rhs.get<TYPE_SMALLINT>(); |
758 | 1.64k | case PrimitiveType::TYPE_INT: |
759 | 1.64k | return get<TYPE_INT>() <=> rhs.get<TYPE_INT>(); |
760 | 108 | case PrimitiveType::TYPE_LARGEINT: |
761 | 108 | return get<TYPE_LARGEINT>() <=> rhs.get<TYPE_LARGEINT>(); |
762 | 233 | case PrimitiveType::TYPE_IPV6: |
763 | 233 | return get<TYPE_IPV6>() <=> rhs.get<TYPE_IPV6>(); |
764 | 43.7k | case PrimitiveType::TYPE_UUID: |
765 | 43.7k | return get<TYPE_UUID>() <=> rhs.get<TYPE_UUID>(); |
766 | 263 | case PrimitiveType::TYPE_IPV4: |
767 | 263 | return get<TYPE_IPV4>() <=> rhs.get<TYPE_IPV4>(); |
768 | 54 | case PrimitiveType::TYPE_FLOAT: |
769 | 54 | switch (Compare::compare(get<TYPE_FLOAT>(), rhs.get<TYPE_FLOAT>())) { |
770 | 2 | case -1: |
771 | 2 | return std::strong_ordering::less; |
772 | 26 | case 0: |
773 | 26 | return std::strong_ordering::equal; |
774 | 26 | case 1: |
775 | 26 | return std::strong_ordering::greater; |
776 | 0 | default: |
777 | 0 | LOG(FATAL) << "unexpected float compare result"; |
778 | 54 | } |
779 | 2 | case PrimitiveType::TYPE_TIMEV2: |
780 | 2 | return get<TYPE_TIMEV2>() < rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::less |
781 | 2 | : get<TYPE_TIMEV2>() == rhs.get<TYPE_TIMEV2>() ? std::strong_ordering::equal |
782 | 2 | : std::strong_ordering::greater; |
783 | 71 | case PrimitiveType::TYPE_DOUBLE: |
784 | 71 | switch (Compare::compare(get<TYPE_DOUBLE>(), rhs.get<TYPE_DOUBLE>())) { |
785 | 10 | case -1: |
786 | 10 | return std::strong_ordering::less; |
787 | 23 | case 0: |
788 | 23 | return std::strong_ordering::equal; |
789 | 38 | case 1: |
790 | 38 | return std::strong_ordering::greater; |
791 | 0 | default: |
792 | 0 | LOG(FATAL) << "unexpected double compare result"; |
793 | 71 | } |
794 | 24.1k | case PrimitiveType::TYPE_STRING: |
795 | 24.1k | return get<TYPE_STRING>() <=> rhs.get<TYPE_STRING>(); |
796 | 0 | case PrimitiveType::TYPE_CHAR: |
797 | 0 | return get<TYPE_CHAR>() <=> rhs.get<TYPE_CHAR>(); |
798 | 0 | case PrimitiveType::TYPE_VARCHAR: |
799 | 0 | return get<TYPE_VARCHAR>() <=> rhs.get<TYPE_VARCHAR>(); |
800 | 3 | case PrimitiveType::TYPE_VARBINARY: |
801 | 3 | return get<TYPE_VARBINARY>() <=> rhs.get<TYPE_VARBINARY>(); |
802 | 327 | case PrimitiveType::TYPE_DECIMAL32: |
803 | 327 | return get<TYPE_DECIMAL32>() <=> rhs.get<TYPE_DECIMAL32>(); |
804 | 1.84k | case PrimitiveType::TYPE_DECIMAL64: |
805 | 1.84k | return get<TYPE_DECIMAL64>() <=> rhs.get<TYPE_DECIMAL64>(); |
806 | 2.71k | case PrimitiveType::TYPE_DECIMALV2: |
807 | 2.71k | return get<TYPE_DECIMALV2>() <=> rhs.get<TYPE_DECIMALV2>(); |
808 | 1.85k | case PrimitiveType::TYPE_DECIMAL128I: |
809 | 1.85k | return get<TYPE_DECIMAL128I>() <=> rhs.get<TYPE_DECIMAL128I>(); |
810 | 936 | case PrimitiveType::TYPE_DECIMAL256: |
811 | 936 | return get<TYPE_DECIMAL256>() <=> rhs.get<TYPE_DECIMAL256>(); |
812 | 0 | default: |
813 | 0 | throw Exception(Status::FatalError("Unsupported type: {}", get_type_name())); |
814 | 90.0k | } |
815 | 90.0k | } |
816 | | |
817 | | #define MATCH_PRIMITIVE_TYPE(primitive_type) \ |
818 | 506 | if (type == primitive_type) { \ |
819 | 22 | const auto& v = get<primitive_type>(); \ |
820 | 22 | return std::string_view(reinterpret_cast<const char*>(&v), sizeof(v)); \ |
821 | 22 | } |
822 | | |
823 | 131 | std::string_view Field::as_string_view() const { |
824 | 131 | if (type == PrimitiveType::TYPE_STRING || type == PrimitiveType::TYPE_VARCHAR || |
825 | 131 | type == PrimitiveType::TYPE_CHAR) { |
826 | 104 | const auto& s = get<TYPE_STRING>(); |
827 | 104 | return {s.data(), s.size()}; |
828 | 104 | } |
829 | 27 | if (type == PrimitiveType::TYPE_VARBINARY) { |
830 | 5 | const auto& svf = get<TYPE_VARBINARY>(); |
831 | 5 | return {svf.data(), svf.size()}; |
832 | 5 | } |
833 | | // MATCH_PRIMITIVE_TYPE(INVALID_TYPE); |
834 | | // MATCH_PRIMITIVE_TYPE(TYPE_NULL); |
835 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_BOOLEAN); |
836 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_TINYINT); |
837 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_SMALLINT); |
838 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_INT); |
839 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_BIGINT); |
840 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_LARGEINT); |
841 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_FLOAT) |
842 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_DOUBLE); |
843 | | // MATCH_PRIMITIVE_TYPE(TYPE_VARCHAR); |
844 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_DATE); |
845 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_DATETIME); |
846 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_TIMESTAMPTZ); |
847 | | // MATCH_PRIMITIVE_TYPE(TYPE_BINARY); |
848 | | // MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL); |
849 | | // MATCH_PRIMITIVE_TYPE(TYPE_CHAR); |
850 | | // MATCH_PRIMITIVE_TYPE(TYPE_STRUCT); |
851 | | // MATCH_PRIMITIVE_TYPE(TYPE_ARRAY); |
852 | | // MATCH_PRIMITIVE_TYPE(TYPE_MAP); |
853 | | // MATCH_PRIMITIVE_TYPE(TYPE_HLL); |
854 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMALV2); |
855 | | // MATCH_PRIMITIVE_TYPE(TYPE_BITMAP); |
856 | | // MATCH_PRIMITIVE_TYPE(TYPE_STRING); |
857 | | // MATCH_PRIMITIVE_TYPE(TYPE_QUANTILE_STATE); |
858 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_DATEV2); |
859 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_DATETIMEV2); |
860 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_TIMESTAMP_NS); |
861 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_TIMEV2); |
862 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL32); |
863 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL64); |
864 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL128I); |
865 | | // MATCH_PRIMITIVE_TYPE(TYPE_JSONB); |
866 | | // MATCH_PRIMITIVE_TYPE(TYPE_VARIANT); |
867 | | // MATCH_PRIMITIVE_TYPE(TYPE_LAMBDA_FUNCTION); |
868 | | // MATCH_PRIMITIVE_TYPE(TYPE_AGG_STATE); |
869 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_DECIMAL256); |
870 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_IPV4); |
871 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_IPV6); |
872 | 22 | MATCH_PRIMITIVE_TYPE(TYPE_UUID); |
873 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_UINT32); |
874 | 0 | MATCH_PRIMITIVE_TYPE(TYPE_UINT64); |
875 | | // MATCH_PRIMITIVE_TYPE(TYPE_FIXED_LENGTH_OBJECT); |
876 | 0 | throw Exception( |
877 | 0 | Status::FatalError("type not supported for as_string_view, type={}", get_type_name())); |
878 | 0 | } |
879 | | |
880 | | #undef MATCH_PRIMITIVE_TYPE |
881 | | |
882 | | // Important!!! This method is not accurate, for example, decimal to string, it uses scale == 0, because |
883 | | // it do not know the actual scale of the decimal value. It is only used for debug printing, so it is fine. |
884 | 10 | std::string Field::to_debug_string(int scale) const { |
885 | 10 | if (is_null()) { |
886 | 0 | return "NULL"; |
887 | 0 | } |
888 | 10 | switch (type) { |
889 | 0 | case PrimitiveType::TYPE_BOOLEAN: |
890 | 0 | return get<TYPE_BOOLEAN>() ? "true" : "false"; |
891 | 0 | case PrimitiveType::TYPE_TINYINT: |
892 | 0 | return CastToString::from_number(get<TYPE_TINYINT>()); |
893 | 0 | case PrimitiveType::TYPE_SMALLINT: |
894 | 0 | return CastToString::from_number(get<TYPE_SMALLINT>()); |
895 | 0 | case PrimitiveType::TYPE_INT: |
896 | 0 | return CastToString::from_number(get<TYPE_INT>()); |
897 | 0 | case PrimitiveType::TYPE_BIGINT: |
898 | 0 | return CastToString::from_number(get<TYPE_BIGINT>()); |
899 | 0 | case PrimitiveType::TYPE_LARGEINT: |
900 | 0 | return CastToString::from_number(get<TYPE_LARGEINT>()); |
901 | 0 | case PrimitiveType::TYPE_FLOAT: |
902 | 0 | return CastToString::from_number(get<TYPE_FLOAT>()); |
903 | 0 | case PrimitiveType::TYPE_DOUBLE: |
904 | 0 | return CastToString::from_number(get<TYPE_DOUBLE>()); |
905 | 0 | case PrimitiveType::TYPE_STRING: |
906 | 0 | case PrimitiveType::TYPE_CHAR: |
907 | 0 | case PrimitiveType::TYPE_VARCHAR: |
908 | 0 | return get<TYPE_STRING>(); |
909 | 0 | case PrimitiveType::TYPE_VARBINARY: |
910 | 0 | return get<TYPE_VARBINARY>(); |
911 | 0 | case PrimitiveType::TYPE_DATE: |
912 | 0 | return CastToString::from_date_or_datetime(get<TYPE_DATE>()); |
913 | 0 | case PrimitiveType::TYPE_DATETIME: |
914 | 0 | return CastToString::from_date_or_datetime(get<TYPE_DATETIME>()); |
915 | 1 | case PrimitiveType::TYPE_DATEV2: |
916 | 1 | return CastToString::from_datev2(get<TYPE_DATEV2>()); |
917 | 3 | case PrimitiveType::TYPE_DATETIMEV2: |
918 | 3 | return CastToString::from_datetimev2(get<TYPE_DATETIMEV2>(), scale); |
919 | 2 | case PrimitiveType::TYPE_TIMESTAMP_NS: |
920 | 2 | return get<TYPE_TIMESTAMP_NS>().to_string(); |
921 | 0 | case PrimitiveType::TYPE_TIMESTAMPTZ: |
922 | 0 | return CastToString::from_timestamptz(get<TYPE_TIMESTAMPTZ>(), scale); |
923 | 0 | case PrimitiveType::TYPE_DECIMALV2: |
924 | 0 | return get<TYPE_DECIMALV2>().to_string(); |
925 | 1 | case PrimitiveType::TYPE_DECIMAL32: |
926 | 1 | return CastToString::from_decimal(get<TYPE_DECIMAL32>(), scale); |
927 | 1 | case PrimitiveType::TYPE_DECIMAL64: |
928 | 1 | return CastToString::from_decimal(get<TYPE_DECIMAL64>(), scale); |
929 | 1 | case PrimitiveType::TYPE_DECIMAL128I: |
930 | 1 | return CastToString::from_decimal(get<TYPE_DECIMAL128I>(), scale); |
931 | 1 | case PrimitiveType::TYPE_DECIMAL256: |
932 | 1 | return CastToString::from_decimal(get<TYPE_DECIMAL256>(), scale); |
933 | 0 | case PrimitiveType::TYPE_IPV4: |
934 | 0 | return CastToString::from_ip(get<TYPE_IPV4>()); |
935 | 0 | case PrimitiveType::TYPE_IPV6: |
936 | 0 | return CastToString::from_ip(get<TYPE_IPV6>()); |
937 | 0 | case PrimitiveType::TYPE_UUID: |
938 | 0 | return UUIDValue::to_string(get<TYPE_UUID>()); |
939 | 0 | default: |
940 | 0 | throw Exception(Status::FatalError("type not supported for to_debug_string, type={}", |
941 | 0 | get_type_name())); |
942 | 0 | __builtin_unreachable(); |
943 | 10 | } |
944 | 10 | } |
945 | | |
946 | | #define DECLARE_FUNCTION(FUNC_NAME) \ |
947 | | template void Field::FUNC_NAME<TYPE_NULL>(typename PrimitiveTypeTraits<TYPE_NULL>::CppType && \ |
948 | | rhs); \ |
949 | | template void Field::FUNC_NAME<TYPE_TINYINT>( \ |
950 | | typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType && rhs); \ |
951 | | template void Field::FUNC_NAME<TYPE_SMALLINT>( \ |
952 | | typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType && rhs); \ |
953 | | template void Field::FUNC_NAME<TYPE_INT>(typename PrimitiveTypeTraits<TYPE_INT>::CppType && \ |
954 | | rhs); \ |
955 | | template void Field::FUNC_NAME<TYPE_BIGINT>( \ |
956 | | typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType && rhs); \ |
957 | | template void Field::FUNC_NAME<TYPE_LARGEINT>( \ |
958 | | typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType && rhs); \ |
959 | | template void Field::FUNC_NAME<TYPE_DATE>(typename PrimitiveTypeTraits<TYPE_DATE>::CppType && \ |
960 | | rhs); \ |
961 | | template void Field::FUNC_NAME<TYPE_DATETIME>( \ |
962 | | typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType && rhs); \ |
963 | | template void Field::FUNC_NAME<TYPE_DATEV2>( \ |
964 | | typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType && rhs); \ |
965 | | template void Field::FUNC_NAME<TYPE_DATETIMEV2>( \ |
966 | | typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType && rhs); \ |
967 | | template void Field::FUNC_NAME<TYPE_TIMESTAMP_NS>( \ |
968 | | typename PrimitiveTypeTraits<TYPE_TIMESTAMP_NS>::CppType && rhs); \ |
969 | | template void Field::FUNC_NAME<TYPE_DECIMAL32>( \ |
970 | | typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType && rhs); \ |
971 | | template void Field::FUNC_NAME<TYPE_DECIMAL64>( \ |
972 | | typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType && rhs); \ |
973 | | template void Field::FUNC_NAME<TYPE_DECIMALV2>( \ |
974 | | typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType && rhs); \ |
975 | | template void Field::FUNC_NAME<TYPE_DECIMAL128I>( \ |
976 | | typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType && rhs); \ |
977 | | template void Field::FUNC_NAME<TYPE_DECIMAL256>( \ |
978 | | typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType && rhs); \ |
979 | | template void Field::FUNC_NAME<TYPE_CHAR>(typename PrimitiveTypeTraits<TYPE_CHAR>::CppType && \ |
980 | | rhs); \ |
981 | | template void Field::FUNC_NAME<TYPE_VARCHAR>( \ |
982 | | typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType && rhs); \ |
983 | | template void Field::FUNC_NAME<TYPE_STRING>( \ |
984 | | typename PrimitiveTypeTraits<TYPE_STRING>::CppType && rhs); \ |
985 | | template void Field::FUNC_NAME<TYPE_VARBINARY>( \ |
986 | | typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType && rhs); \ |
987 | | template void Field::FUNC_NAME<TYPE_HLL>(typename PrimitiveTypeTraits<TYPE_HLL>::CppType && \ |
988 | | rhs); \ |
989 | | template void Field::FUNC_NAME<TYPE_VARIANT>( \ |
990 | | typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType && rhs); \ |
991 | | template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>( \ |
992 | | typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType && rhs); \ |
993 | | template void Field::FUNC_NAME<TYPE_ARRAY>( \ |
994 | | typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType && rhs); \ |
995 | | template void Field::FUNC_NAME<TYPE_NULL>( \ |
996 | | const typename PrimitiveTypeTraits<TYPE_NULL>::CppType& rhs); \ |
997 | | template void Field::FUNC_NAME<TYPE_TINYINT>( \ |
998 | | const typename PrimitiveTypeTraits<TYPE_TINYINT>::CppType& rhs); \ |
999 | | template void Field::FUNC_NAME<TYPE_SMALLINT>( \ |
1000 | | const typename PrimitiveTypeTraits<TYPE_SMALLINT>::CppType& rhs); \ |
1001 | | template void Field::FUNC_NAME<TYPE_INT>( \ |
1002 | | const typename PrimitiveTypeTraits<TYPE_INT>::CppType& rhs); \ |
1003 | | template void Field::FUNC_NAME<TYPE_BIGINT>( \ |
1004 | | const typename PrimitiveTypeTraits<TYPE_BIGINT>::CppType& rhs); \ |
1005 | | template void Field::FUNC_NAME<TYPE_LARGEINT>( \ |
1006 | | const typename PrimitiveTypeTraits<TYPE_LARGEINT>::CppType& rhs); \ |
1007 | | template void Field::FUNC_NAME<TYPE_DATE>( \ |
1008 | | const typename PrimitiveTypeTraits<TYPE_DATE>::CppType& rhs); \ |
1009 | | template void Field::FUNC_NAME<TYPE_DATETIME>( \ |
1010 | | const typename PrimitiveTypeTraits<TYPE_DATETIME>::CppType& rhs); \ |
1011 | | template void Field::FUNC_NAME<TYPE_DATEV2>( \ |
1012 | | const typename PrimitiveTypeTraits<TYPE_DATEV2>::CppType& rhs); \ |
1013 | | template void Field::FUNC_NAME<TYPE_DATETIMEV2>( \ |
1014 | | const typename PrimitiveTypeTraits<TYPE_DATETIMEV2>::CppType& rhs); \ |
1015 | | template void Field::FUNC_NAME<TYPE_TIMESTAMP_NS>( \ |
1016 | | const typename PrimitiveTypeTraits<TYPE_TIMESTAMP_NS>::CppType& rhs); \ |
1017 | | template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>( \ |
1018 | | const typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType& rhs); \ |
1019 | | template void Field::FUNC_NAME<TYPE_TIMESTAMPTZ>( \ |
1020 | | typename PrimitiveTypeTraits<TYPE_TIMESTAMPTZ>::CppType && rhs); \ |
1021 | | template void Field::FUNC_NAME<TYPE_DECIMAL32>( \ |
1022 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL32>::CppType& rhs); \ |
1023 | | template void Field::FUNC_NAME<TYPE_DECIMAL64>( \ |
1024 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL64>::CppType& rhs); \ |
1025 | | template void Field::FUNC_NAME<TYPE_DECIMALV2>( \ |
1026 | | const typename PrimitiveTypeTraits<TYPE_DECIMALV2>::CppType& rhs); \ |
1027 | | template void Field::FUNC_NAME<TYPE_DECIMAL128I>( \ |
1028 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL128I>::CppType& rhs); \ |
1029 | | template void Field::FUNC_NAME<TYPE_DECIMAL256>( \ |
1030 | | const typename PrimitiveTypeTraits<TYPE_DECIMAL256>::CppType& rhs); \ |
1031 | | template void Field::FUNC_NAME<TYPE_CHAR>( \ |
1032 | | const typename PrimitiveTypeTraits<TYPE_CHAR>::CppType& rhs); \ |
1033 | | template void Field::FUNC_NAME<TYPE_VARCHAR>( \ |
1034 | | const typename PrimitiveTypeTraits<TYPE_VARCHAR>::CppType& rhs); \ |
1035 | | template void Field::FUNC_NAME<TYPE_STRING>( \ |
1036 | | const typename PrimitiveTypeTraits<TYPE_STRING>::CppType& rhs); \ |
1037 | | template void Field::FUNC_NAME<TYPE_VARBINARY>( \ |
1038 | | const typename PrimitiveTypeTraits<TYPE_VARBINARY>::CppType& rhs); \ |
1039 | | template void Field::FUNC_NAME<TYPE_HLL>( \ |
1040 | | const typename PrimitiveTypeTraits<TYPE_HLL>::CppType& rhs); \ |
1041 | | template void Field::FUNC_NAME<TYPE_VARIANT>( \ |
1042 | | const typename PrimitiveTypeTraits<TYPE_VARIANT>::CppType& rhs); \ |
1043 | | template void Field::FUNC_NAME<TYPE_QUANTILE_STATE>( \ |
1044 | | const typename PrimitiveTypeTraits<TYPE_QUANTILE_STATE>::CppType& rhs); \ |
1045 | | template void Field::FUNC_NAME<TYPE_ARRAY>( \ |
1046 | | const typename PrimitiveTypeTraits<TYPE_ARRAY>::CppType& rhs); \ |
1047 | | template void Field::FUNC_NAME<TYPE_IPV4>(typename PrimitiveTypeTraits<TYPE_IPV4>::CppType && \ |
1048 | | rhs); \ |
1049 | | template void Field::FUNC_NAME<TYPE_IPV4>( \ |
1050 | | const typename PrimitiveTypeTraits<TYPE_IPV4>::CppType& rhs); \ |
1051 | | template void Field::FUNC_NAME<TYPE_IPV6>(typename PrimitiveTypeTraits<TYPE_IPV6>::CppType && \ |
1052 | | rhs); \ |
1053 | | template void Field::FUNC_NAME<TYPE_IPV6>( \ |
1054 | | const typename PrimitiveTypeTraits<TYPE_IPV6>::CppType& rhs); \ |
1055 | | template void Field::FUNC_NAME<TYPE_UUID>(typename PrimitiveTypeTraits<TYPE_UUID>::CppType && \ |
1056 | | rhs); \ |
1057 | | template void Field::FUNC_NAME<TYPE_UUID>( \ |
1058 | | const typename PrimitiveTypeTraits<TYPE_UUID>::CppType& rhs); \ |
1059 | | template void Field::FUNC_NAME<TYPE_BOOLEAN>( \ |
1060 | | typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType && rhs); \ |
1061 | | template void Field::FUNC_NAME<TYPE_BOOLEAN>( \ |
1062 | | const typename PrimitiveTypeTraits<TYPE_BOOLEAN>::CppType& rhs); \ |
1063 | | template void Field::FUNC_NAME<TYPE_FLOAT>( \ |
1064 | | typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType && rhs); \ |
1065 | | template void Field::FUNC_NAME<TYPE_FLOAT>( \ |
1066 | | const typename PrimitiveTypeTraits<TYPE_FLOAT>::CppType& rhs); \ |
1067 | | template void Field::FUNC_NAME<TYPE_DOUBLE>( \ |
1068 | | typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType && rhs); \ |
1069 | | template void Field::FUNC_NAME<TYPE_DOUBLE>( \ |
1070 | | const typename PrimitiveTypeTraits<TYPE_DOUBLE>::CppType& rhs); \ |
1071 | | template void Field::FUNC_NAME<TYPE_JSONB>( \ |
1072 | | typename PrimitiveTypeTraits<TYPE_JSONB>::CppType && rhs); \ |
1073 | | template void Field::FUNC_NAME<TYPE_JSONB>( \ |
1074 | | const typename PrimitiveTypeTraits<TYPE_JSONB>::CppType& rhs); \ |
1075 | | template void Field::FUNC_NAME<TYPE_STRUCT>( \ |
1076 | | typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType && rhs); \ |
1077 | | template void Field::FUNC_NAME<TYPE_STRUCT>( \ |
1078 | | const typename PrimitiveTypeTraits<TYPE_STRUCT>::CppType& rhs); \ |
1079 | | template void Field::FUNC_NAME<TYPE_MAP>(typename PrimitiveTypeTraits<TYPE_MAP>::CppType && \ |
1080 | | rhs); \ |
1081 | | template void Field::FUNC_NAME<TYPE_MAP>( \ |
1082 | | const typename PrimitiveTypeTraits<TYPE_MAP>::CppType& rhs); \ |
1083 | | template void Field::FUNC_NAME<TYPE_BITMAP>( \ |
1084 | | typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType && rhs); \ |
1085 | | template void Field::FUNC_NAME<TYPE_BITMAP>( \ |
1086 | | const typename PrimitiveTypeTraits<TYPE_BITMAP>::CppType& rhs); \ |
1087 | | template void Field::FUNC_NAME<TYPE_TIMEV2>( \ |
1088 | | const typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType& rhs); \ |
1089 | | template void Field::FUNC_NAME<TYPE_TIMEV2>( \ |
1090 | | typename PrimitiveTypeTraits<TYPE_TIMEV2>::CppType && rhs); \ |
1091 | | template void Field::FUNC_NAME<TYPE_UINT32>( \ |
1092 | | const typename PrimitiveTypeTraits<TYPE_UINT32>::CppType& rhs); \ |
1093 | | template void Field::FUNC_NAME<TYPE_UINT32>( \ |
1094 | | typename PrimitiveTypeTraits<TYPE_UINT32>::CppType && rhs); \ |
1095 | | template void Field::FUNC_NAME<TYPE_UINT64>( \ |
1096 | | const typename PrimitiveTypeTraits<TYPE_UINT64>::CppType& rhs); \ |
1097 | | template void Field::FUNC_NAME<TYPE_UINT64>( \ |
1098 | | typename PrimitiveTypeTraits<TYPE_UINT64>::CppType && rhs); |
1099 | | DECLARE_FUNCTION(create_concrete) |
1100 | | DECLARE_FUNCTION(assign_concrete) |
1101 | | #undef DECLARE_FUNCTION |
1102 | | |
1103 | | #define DECLARE_FUNCTION(TYPE_NAME) \ |
1104 | | template typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>(); \ |
1105 | | template const typename PrimitiveTypeTraits<TYPE_NAME>::CppType& Field::get<TYPE_NAME>() \ |
1106 | | const; \ |
1107 | | template void Field::destroy<TYPE_NAME>(); |
1108 | | DECLARE_FUNCTION(TYPE_NULL) |
1109 | | DECLARE_FUNCTION(TYPE_TINYINT) |
1110 | | DECLARE_FUNCTION(TYPE_SMALLINT) |
1111 | | DECLARE_FUNCTION(TYPE_INT) |
1112 | | DECLARE_FUNCTION(TYPE_BIGINT) |
1113 | | DECLARE_FUNCTION(TYPE_LARGEINT) |
1114 | | DECLARE_FUNCTION(TYPE_DATE) |
1115 | | DECLARE_FUNCTION(TYPE_DATETIME) |
1116 | | DECLARE_FUNCTION(TYPE_DATEV2) |
1117 | | DECLARE_FUNCTION(TYPE_DATETIMEV2) |
1118 | | DECLARE_FUNCTION(TYPE_TIMESTAMP_NS) |
1119 | | DECLARE_FUNCTION(TYPE_TIMESTAMPTZ) |
1120 | | DECLARE_FUNCTION(TYPE_DECIMAL32) |
1121 | | DECLARE_FUNCTION(TYPE_DECIMAL64) |
1122 | | DECLARE_FUNCTION(TYPE_DECIMALV2) |
1123 | | DECLARE_FUNCTION(TYPE_DECIMAL128I) |
1124 | | DECLARE_FUNCTION(TYPE_DECIMAL256) |
1125 | | DECLARE_FUNCTION(TYPE_CHAR) |
1126 | | DECLARE_FUNCTION(TYPE_VARCHAR) |
1127 | | DECLARE_FUNCTION(TYPE_STRING) |
1128 | | DECLARE_FUNCTION(TYPE_VARBINARY) |
1129 | | DECLARE_FUNCTION(TYPE_HLL) |
1130 | | DECLARE_FUNCTION(TYPE_VARIANT) |
1131 | | DECLARE_FUNCTION(TYPE_QUANTILE_STATE) |
1132 | | DECLARE_FUNCTION(TYPE_ARRAY) |
1133 | | DECLARE_FUNCTION(TYPE_IPV4) |
1134 | | DECLARE_FUNCTION(TYPE_IPV6) |
1135 | | DECLARE_FUNCTION(TYPE_UUID) |
1136 | | DECLARE_FUNCTION(TYPE_BOOLEAN) |
1137 | | DECLARE_FUNCTION(TYPE_FLOAT) |
1138 | | DECLARE_FUNCTION(TYPE_DOUBLE) |
1139 | | DECLARE_FUNCTION(TYPE_JSONB) |
1140 | | DECLARE_FUNCTION(TYPE_STRUCT) |
1141 | | DECLARE_FUNCTION(TYPE_MAP) |
1142 | | DECLARE_FUNCTION(TYPE_BITMAP) |
1143 | | DECLARE_FUNCTION(TYPE_TIMEV2) |
1144 | | DECLARE_FUNCTION(TYPE_UINT32) |
1145 | | DECLARE_FUNCTION(TYPE_UINT64) |
1146 | | #undef DECLARE_FUNCTION |
1147 | | } // namespace doris |