Coverage Report

Created: 2026-03-16 05:10

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
be/src/format/table/lakesoul_jni_reader.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
// DEPRECATED: LakeSoul catalog support has been deprecated and will be removed in a future version.
19
// This file is kept for backward compatibility but should not be used in new code.
20
21
#pragma once
22
23
#include <string>
24
#include <unordered_map>
25
#include <vector>
26
27
#include "common/status.h"
28
#include "exec/connector/jni_connector.h"
29
#include "format/jni_reader.h"
30
#include "storage/olap_scan_common.h"
31
32
namespace doris {
33
#include "common/compile_check_begin.h"
34
class RuntimeProfile;
35
class RuntimeState;
36
class SlotDescriptor;
37
38
class Block;
39
} // namespace doris
40
41
namespace doris {
42
class LakeSoulJniReader : public JniReader {
43
    ENABLE_FACTORY_CREATOR(LakeSoulJniReader);
44
45
public:
46
    LakeSoulJniReader(const TLakeSoulFileDesc& lakesoul_params,
47
                      const std::vector<SlotDescriptor*>& file_slot_descs, RuntimeState* state,
48
                      RuntimeProfile* profile);
49
50
0
    ~LakeSoulJniReader() override = default;
51
52
    Status init_reader();
53
54
private:
55
    const TLakeSoulFileDesc& _lakesoul_params;
56
};
57
#include "common/compile_check_end.h"
58
} // namespace doris