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