be/src/storage/segment/encoding_info.h
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 | | |
18 | | #pragma once |
19 | | |
20 | | #include <stddef.h> |
21 | | |
22 | | #include <functional> |
23 | | #include <memory> |
24 | | |
25 | | #include "common/config.h" |
26 | | #include "common/status.h" |
27 | | #include "storage/cache/page_cache.h" |
28 | | #include "storage/segment/options.h" |
29 | | #include "util/slice.h" |
30 | | |
31 | | namespace doris { |
32 | | |
33 | | class TypeInfo; |
34 | | enum class FieldType; |
35 | | |
36 | | namespace segment_v2 { |
37 | | |
38 | | class PageBuilder; |
39 | | class PageDecoder; |
40 | | struct PageBuilderOptions; |
41 | | struct PageDecoderOptions; |
42 | | enum EncodingTypePB : int; |
43 | | |
44 | | // For better performance, some encodings (like BitShuffle) need to be decoded before being added to the PageCache. |
45 | | class DataPagePreDecoder { |
46 | | public: |
47 | | virtual Status decode(std::unique_ptr<DataPage>* page, Slice* page_slice, size_t size_of_tail, |
48 | | bool _use_cache, segment_v2::PageTypePB page_type, |
49 | | const std::string& file_path, size_t size_of_prefix = 0) = 0; |
50 | 437 | virtual ~DataPagePreDecoder() = default; |
51 | | }; |
52 | | |
53 | | class EncodingInfo { |
54 | | public: |
55 | | // Get EncodingInfo for TypeInfo and EncodingTypePB |
56 | | static Status get(FieldType type, EncodingTypePB encoding_type, |
57 | | EncodingPreference encoding_preference, const EncodingInfo** encoding); |
58 | | |
59 | | // optimize_value_search: whether the encoding scheme should optimize for ordered data |
60 | | // and support fast value seek operation |
61 | | static EncodingTypePB get_default_encoding(FieldType type, |
62 | | EncodingPreference encoding_preference, |
63 | | bool optimize_value_seek); |
64 | | |
65 | 34.1k | Status create_page_builder(const PageBuilderOptions& opts, PageBuilder** builder) const { |
66 | 34.1k | return _create_builder_func(opts, builder); |
67 | 34.1k | } |
68 | | Status create_page_builder(const PageBuilderOptions& opts, |
69 | | std::unique_ptr<PageBuilder>& builder) const; |
70 | | Status create_page_decoder(const Slice& data, const PageDecoderOptions& opts, |
71 | 16.0k | PageDecoder** decoder) const { |
72 | 16.0k | return _create_decoder_func(data, opts, decoder); |
73 | 16.0k | } |
74 | | Status create_page_decoder(const Slice& data, const PageDecoderOptions& opts, |
75 | | std::unique_ptr<PageDecoder>& decoder) const; |
76 | 0 | FieldType type() const { return _type; } |
77 | 95.0k | EncodingTypePB encoding() const { return _encoding; } |
78 | | |
79 | 18.8k | DataPagePreDecoder* get_data_page_pre_decoder() const { return _data_page_pre_decoder.get(); } |
80 | | |
81 | | private: |
82 | | friend class EncodingInfoResolver; |
83 | | |
84 | | template <typename TypeEncodingTraits> |
85 | | explicit EncodingInfo(TypeEncodingTraits traits); |
86 | | |
87 | | using CreateBuilderFunc = std::function<Status(const PageBuilderOptions&, PageBuilder**)>; |
88 | | CreateBuilderFunc _create_builder_func; |
89 | | |
90 | | using CreateDecoderFunc = |
91 | | std::function<Status(const Slice&, const PageDecoderOptions& opts, PageDecoder**)>; |
92 | | CreateDecoderFunc _create_decoder_func; |
93 | | |
94 | | FieldType _type; |
95 | | EncodingTypePB _encoding; |
96 | | std::unique_ptr<DataPagePreDecoder> _data_page_pre_decoder; |
97 | | }; |
98 | | |
99 | | struct EncodingMapHash { |
100 | 35.9k | size_t operator()(const FieldType& type) const { return int(type); } |
101 | 61.8k | size_t operator()(const std::pair<FieldType, EncodingTypePB>& pair) const { |
102 | 61.8k | return (int(pair.first) << 6) ^ pair.second; |
103 | 61.8k | } |
104 | | }; |
105 | | |
106 | | class EncodingInfoResolver { |
107 | | public: |
108 | | EncodingInfoResolver(); |
109 | | ~EncodingInfoResolver(); |
110 | | |
111 | | EncodingTypePB get_default_encoding(FieldType type, EncodingPreference encoding_preference, |
112 | | bool optimize_value_seek) const; |
113 | | |
114 | | Status get(FieldType data_type, EncodingTypePB encoding_type, |
115 | | EncodingPreference encoding_preference, const EncodingInfo** out); |
116 | | |
117 | | private: |
118 | | // Not thread-safe |
119 | | template <FieldType type, EncodingTypePB encoding_type, bool optimize_value_seek = false> |
120 | | void _add_map(); |
121 | | |
122 | | std::unordered_map<FieldType, EncodingTypePB, EncodingMapHash> _default_encoding_type_map; |
123 | | |
124 | | // default encoding for each type which optimizes value seek |
125 | | std::unordered_map<FieldType, EncodingTypePB, EncodingMapHash> _value_seek_encoding_map; |
126 | | |
127 | | std::unordered_map<std::pair<FieldType, EncodingTypePB>, EncodingInfo*, EncodingMapHash> |
128 | | _encoding_map; |
129 | | }; |
130 | | |
131 | | template <FieldType type, EncodingTypePB encoding, typename CppType, typename Enabled = void> |
132 | | struct TypeEncodingTraits {}; |
133 | | |
134 | | template <FieldType field_type, EncodingTypePB encoding_type> |
135 | | struct EncodingTraits : TypeEncodingTraits<field_type, encoding_type, |
136 | | typename CppTypeTraits<field_type>::CppType> { |
137 | | using CppType = typename CppTypeTraits<field_type>::CppType; |
138 | | static const FieldType type = field_type; |
139 | | static const EncodingTypePB encoding = encoding_type; |
140 | | }; |
141 | | |
142 | | template <FieldType type, EncodingTypePB encoding_type, bool optimize_value_seek> |
143 | 979 | void EncodingInfoResolver::_add_map() { |
144 | 979 | EncodingTraits<type, encoding_type> traits; |
145 | 979 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); |
146 | 979 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { |
147 | 341 | _default_encoding_type_map[type] = encoding_type; |
148 | 341 | } |
149 | 979 | if (optimize_value_seek && |
150 | 979 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { |
151 | 253 | _value_seek_encoding_map[type] = encoding_type; |
152 | 253 | } |
153 | 979 | auto key = std::make_pair(type, encoding_type); |
154 | 979 | auto it = _encoding_map.find(key); |
155 | 979 | if (it != _encoding_map.end()) { |
156 | 88 | return; |
157 | 88 | } |
158 | 891 | _encoding_map.emplace(key, encoding.release()); |
159 | 891 | } _ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE1ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE1ELNS0_14EncodingTypePBE7ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE1ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE3ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE3ELNS0_14EncodingTypePBE7ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE3ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE5ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE5ELNS0_14EncodingTypePBE7ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE5ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE7ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE7ELNS0_14EncodingTypePBE7ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE7ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE8ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE6ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE9ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE9ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE9ELNS0_14EncodingTypePBE7ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE10ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE10ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE11ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE11ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE13ELNS0_14EncodingTypePBE5ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE13ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE13ELNS0_14EncodingTypePBE8ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE13ELNS0_14EncodingTypePBE3ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE17ELNS0_14EncodingTypePBE5ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE17ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE17ELNS0_14EncodingTypePBE8ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE17ELNS0_14EncodingTypePBE3ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE26ELNS0_14EncodingTypePBE5ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE26ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE26ELNS0_14EncodingTypePBE8ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE26ELNS0_14EncodingTypePBE3ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE34ELNS0_14EncodingTypePBE5ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE34ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE34ELNS0_14EncodingTypePBE8ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE34ELNS0_14EncodingTypePBE3ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE35ELNS0_14EncodingTypePBE5ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE35ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE35ELNS0_14EncodingTypePBE8ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE35ELNS0_14EncodingTypePBE3ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE24ELNS0_14EncodingTypePBE4ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE24ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE24ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE24ELNS0_14EncodingTypePBE2ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 11 | return; | 157 | 11 | } | 158 | 0 | _encoding_map.emplace(key, encoding.release()); | 159 | 0 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE14ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE14ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE14ELNS0_14EncodingTypePBE7ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE28ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE28ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE28ELNS0_14EncodingTypePBE7ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE29ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE29ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE29ELNS0_14EncodingTypePBE7ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE15ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE15ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE15ELNS0_14EncodingTypePBE7ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE40ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE40ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE40ELNS0_14EncodingTypePBE7ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE16ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE16ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE16ELNS0_14EncodingTypePBE6ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 11 | return; | 157 | 11 | } | 158 | 0 | _encoding_map.emplace(key, encoding.release()); | 159 | 0 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE31ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE31ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE31ELNS0_14EncodingTypePBE6ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 11 | return; | 157 | 11 | } | 158 | 0 | _encoding_map.emplace(key, encoding.release()); | 159 | 0 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE32ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE32ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE32ELNS0_14EncodingTypePBE6ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 11 | return; | 157 | 11 | } | 158 | 0 | _encoding_map.emplace(key, encoding.release()); | 159 | 0 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE33ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE33ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE33ELNS0_14EncodingTypePBE6ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 11 | return; | 157 | 11 | } | 158 | 0 | _encoding_map.emplace(key, encoding.release()); | 159 | 0 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE37ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE37ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE37ELNS0_14EncodingTypePBE6ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 11 | return; | 157 | 11 | } | 158 | 0 | _encoding_map.emplace(key, encoding.release()); | 159 | 0 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE38ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE38ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE38ELNS0_14EncodingTypePBE6ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 11 | return; | 157 | 11 | } | 158 | 0 | _encoding_map.emplace(key, encoding.release()); | 159 | 0 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE39ELNS0_14EncodingTypePBE6ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE39ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE39ELNS0_14EncodingTypePBE6ELb1EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 11 | _value_seek_encoding_map[type] = encoding_type; | 152 | 11 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 11 | return; | 157 | 11 | } | 158 | 0 | _encoding_map.emplace(key, encoding.release()); | 159 | 0 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE23ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE23ELNS0_14EncodingTypePBE8ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE25ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE25ELNS0_14EncodingTypePBE8ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE27ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE27ELNS0_14EncodingTypePBE8ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE36ELNS0_14EncodingTypePBE2ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 11 | _default_encoding_type_map[type] = encoding_type; | 148 | 11 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
_ZN5doris10segment_v220EncodingInfoResolver8_add_mapILNS_9FieldTypeE36ELNS0_14EncodingTypePBE8ELb0EEEvv Line | Count | Source | 143 | 11 | void EncodingInfoResolver::_add_map() { | 144 | 11 | EncodingTraits<type, encoding_type> traits; | 145 | 11 | std::unique_ptr<EncodingInfo> encoding(new EncodingInfo(traits)); | 146 | 11 | if (_default_encoding_type_map.find(type) == std::end(_default_encoding_type_map)) { | 147 | 0 | _default_encoding_type_map[type] = encoding_type; | 148 | 0 | } | 149 | 11 | if (optimize_value_seek && | 150 | 11 | _value_seek_encoding_map.find(type) == _value_seek_encoding_map.end()) { | 151 | 0 | _value_seek_encoding_map[type] = encoding_type; | 152 | 0 | } | 153 | 11 | auto key = std::make_pair(type, encoding_type); | 154 | 11 | auto it = _encoding_map.find(key); | 155 | 11 | if (it != _encoding_map.end()) { | 156 | 0 | return; | 157 | 0 | } | 158 | 11 | _encoding_map.emplace(key, encoding.release()); | 159 | 11 | } |
|
160 | | |
161 | | } // namespace segment_v2 |
162 | | } // namespace doris |