Coverage Report

Created: 2026-08-01 15:21

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
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 <gen_cpp/AgentService_types.h>
21
#include <stddef.h>
22
23
#include <functional>
24
#include <memory>
25
26
#include "common/config.h"
27
#include "common/status.h"
28
#include "storage/cache/page_cache.h"
29
#include "storage/segment/options.h"
30
#include "storage/types.h" // CppTypeTraits, used by the EncodingTraits base below
31
#include "util/slice.h"
32
33
namespace doris {
34
35
enum class FieldType;
36
class TabletColumn;
37
38
namespace segment_v2 {
39
40
class PageBuilder;
41
class PageDecoder;
42
struct PageBuilderOptions;
43
struct PageDecoderOptions;
44
enum EncodingTypePB : int;
45
46
// For better performance, some encodings (like BitShuffle) need to be decoded before being added to the PageCache.
47
class DataPagePreDecoder {
48
public:
49
    virtual Status decode(std::unique_ptr<DataPage>* page, Slice* page_slice, size_t size_of_tail,
50
                          bool _use_cache, segment_v2::PageTypePB page_type,
51
                          const std::string& file_path, size_t size_of_prefix = 0) = 0;
52
736
    virtual ~DataPagePreDecoder() = default;
53
};
54
55
class EncodingInfo {
56
public:
57
    // Look up the EncodingInfo for an already-resolved (type, encoding) pair.
58
    // Read paths use this directly; write paths first resolve a default via the
59
    // get_*_default_encoding helpers below.
60
    static Status get(FieldType type, EncodingTypePB encoding_type, const EncodingInfo** encoding);
61
62
    // Default encoding for IndexedColumn writers (PK index, variant ext meta key writer)
63
    // that need fast value-seek via BinaryPrefixPage.
64
    static EncodingTypePB get_index_column_encoding(FieldType type);
65
66
    // Resolve the default encoding for one column when populating a fresh ColumnMetaPB.
67
    // All write paths (top-level segment writer, aux child writers for null bitmap /
68
    // array length / map length, struct subcolumns, variant subcolumns) should route the
69
    // encoding decision through this helper. Centralizing it here means future
70
    // per-storage-format or per-column encoding policy lives in one place.
71
    static EncodingTypePB resolve_default_encoding(TabletStorageFormatPB storage_format,
72
                                                   const TabletColumn& column);
73
74
1.92M
    Status create_page_builder(const PageBuilderOptions& opts, PageBuilder** builder) const {
75
1.92M
        return _create_builder_func(opts, builder);
76
1.92M
    }
77
    Status create_page_builder(const PageBuilderOptions& opts,
78
                               std::unique_ptr<PageBuilder>& builder) const;
79
    Status create_page_decoder(const Slice& data, const PageDecoderOptions& opts,
80
6.13M
                               PageDecoder** decoder) const {
81
6.13M
        return _create_decoder_func(data, opts, decoder);
82
6.13M
    }
83
    Status create_page_decoder(const Slice& data, const PageDecoderOptions& opts,
84
                               std::unique_ptr<PageDecoder>& decoder) const;
85
406k
    FieldType type() const { return _type; }
86
38.6M
    EncodingTypePB encoding() const { return _encoding; }
87
88
2.21M
    DataPagePreDecoder* get_data_page_pre_decoder() const { return _data_page_pre_decoder.get(); }
89
90
private:
91
    friend class EncodingInfoResolver;
92
    friend class EncodingInfoTest;
93
    friend class ColumnReaderCacheTest;
94
95
    // Per-storage-format defaults are an internal lookup table. Production write paths
96
    // go through resolve_default_encoding(); other callers (e.g., zone map index) hardcode
97
    // the encoding they want. Tests use the friend declarations above to read these tables.
98
    static EncodingTypePB get_v2_default_encoding(FieldType type);
99
    static EncodingTypePB get_v3_default_encoding(FieldType type);
100
101
    template <typename TypeEncodingTraits>
102
    explicit EncodingInfo(TypeEncodingTraits traits);
103
104
    using CreateBuilderFunc = std::function<Status(const PageBuilderOptions&, PageBuilder**)>;
105
    CreateBuilderFunc _create_builder_func;
106
107
    using CreateDecoderFunc =
108
            std::function<Status(const Slice&, const PageDecoderOptions& opts, PageDecoder**)>;
109
    CreateDecoderFunc _create_decoder_func;
110
111
    FieldType _type;
112
    EncodingTypePB _encoding;
113
    std::unique_ptr<DataPagePreDecoder> _data_page_pre_decoder;
114
};
115
116
struct EncodingMapHash {
117
1.19M
    size_t operator()(const FieldType& type) const { return int(type); }
118
7.54M
    size_t operator()(const std::pair<FieldType, EncodingTypePB>& pair) const {
119
7.54M
        return (int(pair.first) << 6) ^ pair.second;
120
7.54M
    }
121
};
122
123
class EncodingInfoResolver {
124
public:
125
    EncodingInfoResolver();
126
    ~EncodingInfoResolver();
127
128
    EncodingTypePB get_v2_default_encoding(FieldType type) const;
129
    EncodingTypePB get_v3_default_encoding(FieldType type) const;
130
    EncodingTypePB get_index_column_encoding(FieldType type) const;
131
132
    Status get(FieldType data_type, EncodingTypePB encoding_type, const EncodingInfo** out);
133
134
private:
135
    // Registration helpers used by the constructor. Not thread-safe.
136
    //
137
    // _register_supported_encoding: declare that this (type, encoding) is a supported combination,
138
    //                               inserting one EncodingInfo* into _encoding_map. CHECK-fails on
139
    //                               duplicate registration of the same key.
140
    // _set_v2_default:              mark this (type, encoding) as the default for the V2 (V1/V2)
141
    //                               write path. Only writes _v2_default_map; the caller must have
142
    //                               already _register_supported_encoding'd the same key, otherwise
143
    //                               EncodingInfo::get will return InternalError when first asked
144
    //                               about this combination.
145
    // _set_v3_default:              same, for the V3 write path.
146
    // _set_index_column_encoding:   same, for IndexedColumn value-seek writers (PK index).
147
    template <FieldType type, EncodingTypePB encoding>
148
    void _register_supported_encoding();
149
    template <FieldType type, EncodingTypePB encoding>
150
    void _set_v2_default();
151
    template <FieldType type, EncodingTypePB encoding>
152
    void _set_v3_default();
153
    template <FieldType type, EncodingTypePB encoding>
154
    void _set_index_column_encoding();
155
156
    static EncodingTypePB _lookup(
157
1.18M
            const std::unordered_map<FieldType, EncodingTypePB, EncodingMapHash>& m, FieldType t) {
158
1.18M
        auto it = m.find(t);
159
1.18M
        return it != m.end() ? it->second : UNKNOWN_ENCODING;
160
1.18M
    }
161
162
    std::unordered_map<FieldType, EncodingTypePB, EncodingMapHash> _v2_default_map;
163
    std::unordered_map<FieldType, EncodingTypePB, EncodingMapHash> _v3_default_map;
164
    std::unordered_map<FieldType, EncodingTypePB, EncodingMapHash> _index_column_encoding_map;
165
166
    std::unordered_map<std::pair<FieldType, EncodingTypePB>, EncodingInfo*, EncodingMapHash>
167
            _encoding_map;
168
};
169
170
template <FieldType type, EncodingTypePB encoding, typename CppType, typename Enabled = void>
171
struct TypeEncodingTraits {};
172
173
template <FieldType field_type, EncodingTypePB encoding_type>
174
struct EncodingTraits : TypeEncodingTraits<field_type, encoding_type,
175
                                           typename CppTypeTraits<field_type>::CppType> {
176
    using CppType = typename CppTypeTraits<field_type>::CppType;
177
    static const FieldType type = field_type;
178
    static const EncodingTypePB encoding = encoding_type;
179
};
180
181
template <FieldType type, EncodingTypePB encoding>
182
1.89k
void EncodingInfoResolver::_register_supported_encoding() {
183
1.89k
    auto key = std::make_pair(type, encoding);
184
1.89k
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
1.89k
    EncodingTraits<type, encoding> traits;
188
1.89k
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
1.89k
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE1ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE1ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE1ELNS0_14EncodingTypePBE7EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE3ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE3ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE3ELNS0_14EncodingTypePBE7EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE5ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE5ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE5ELNS0_14EncodingTypePBE7EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE7ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE7ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE7ELNS0_14EncodingTypePBE7EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE9ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE9ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE9ELNS0_14EncodingTypePBE7EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE8ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE6ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE10ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE10ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE11ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE11ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE13ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE13ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE13ELNS0_14EncodingTypePBE8EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE13ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE13ELNS0_14EncodingTypePBE3EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE17ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE17ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE17ELNS0_14EncodingTypePBE8EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE17ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE17ELNS0_14EncodingTypePBE3EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE26ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE26ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE26ELNS0_14EncodingTypePBE8EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE26ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE26ELNS0_14EncodingTypePBE3EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE34ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE34ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE34ELNS0_14EncodingTypePBE8EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE34ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE34ELNS0_14EncodingTypePBE3EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE35ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE35ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE35ELNS0_14EncodingTypePBE8EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE35ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE35ELNS0_14EncodingTypePBE3EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE24ELNS0_14EncodingTypePBE4EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE24ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE24ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE14ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE14ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE14ELNS0_14EncodingTypePBE7EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE28ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE28ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE28ELNS0_14EncodingTypePBE7EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE29ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE29ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE29ELNS0_14EncodingTypePBE7EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE15ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE15ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE15ELNS0_14EncodingTypePBE7EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE40ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE40ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE40ELNS0_14EncodingTypePBE7EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE16ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE16ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE31ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE31ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE32ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE32ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE33ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE33ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE37ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE37ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE38ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE38ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE39ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE39ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE23ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE23ELNS0_14EncodingTypePBE8EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE23ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE25ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE25ELNS0_14EncodingTypePBE8EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE25ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE27ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE27ELNS0_14EncodingTypePBE8EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE27ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE36ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE36ELNS0_14EncodingTypePBE8EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
_ZN5doris10segment_v220EncodingInfoResolver28_register_supported_encodingILNS_9FieldTypeE36ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
182
21
void EncodingInfoResolver::_register_supported_encoding() {
183
21
    auto key = std::make_pair(type, encoding);
184
21
    CHECK(_encoding_map.find(key) == _encoding_map.end())
185
0
            << "duplicate _register_supported_encoding for (type=" << int(type)
186
0
            << ", encoding=" << encoding << ")";
187
21
    EncodingTraits<type, encoding> traits;
188
21
    _encoding_map.emplace(key, new EncodingInfo(traits));
189
21
}
190
191
// The _set_*_default helpers only write to the corresponding default map. The caller must
192
// _register_supported_encoding the same (type, encoding) separately; if not, EncodingInfo::get
193
// will return InternalError when that combination is first looked up.
194
195
template <FieldType type, EncodingTypePB encoding>
196
651
void EncodingInfoResolver::_set_v2_default() {
197
651
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
651
    _v2_default_map[type] = encoding;
200
651
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE1ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE3ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE5ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE7ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE9ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE8ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE6ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE10ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE11ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE13ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE17ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE26ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE34ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE35ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE24ELNS0_14EncodingTypePBE4EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE14ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE28ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE29ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE15ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE40ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE16ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE31ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE32ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE33ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE37ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE38ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE39ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE23ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE25ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE27ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v2_defaultILNS_9FieldTypeE36ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
196
21
void EncodingInfoResolver::_set_v2_default() {
197
21
    DCHECK(_v2_default_map.find(type) == _v2_default_map.end())
198
0
            << "duplicate v2 default for type " << int(type);
199
21
    _v2_default_map[type] = encoding;
200
21
}
201
202
template <FieldType type, EncodingTypePB encoding>
203
651
void EncodingInfoResolver::_set_v3_default() {
204
651
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
651
    _v3_default_map[type] = encoding;
207
651
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE1ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE3ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE5ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE7ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE9ELNS0_14EncodingTypePBE2EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE8ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE6ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE10ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE11ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE13ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE17ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE26ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE34ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE35ELNS0_14EncodingTypePBE5EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE24ELNS0_14EncodingTypePBE4EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE14ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE28ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE29ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE15ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE40ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE16ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE31ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE32ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE33ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE37ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE38ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE39ELNS0_14EncodingTypePBE6EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE23ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE25ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE27ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
_ZN5doris10segment_v220EncodingInfoResolver15_set_v3_defaultILNS_9FieldTypeE36ELNS0_14EncodingTypePBE9EEEvv
Line
Count
Source
203
21
void EncodingInfoResolver::_set_v3_default() {
204
21
    DCHECK(_v3_default_map.find(type) == _v3_default_map.end())
205
0
            << "duplicate v3 default for type " << int(type);
206
21
    _v3_default_map[type] = encoding;
207
21
}
208
209
template <FieldType type, EncodingTypePB encoding>
210
21
void EncodingInfoResolver::_set_index_column_encoding() {
211
21
    DCHECK(_index_column_encoding_map.find(type) == _index_column_encoding_map.end())
212
0
            << "duplicate index_column_encoding for type " << int(type);
213
21
    _index_column_encoding_map[type] = encoding;
214
21
}
215
216
} // namespace segment_v2
217
} // namespace doris