Coverage Report

Created: 2026-03-11 17:42

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/root/doris/be/src/exprs/vinfo_func.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 <string>
21
22
#include "common/object_pool.h"
23
#include "common/status.h"
24
#include "core/data_type/data_type.h"
25
#include "exprs/vexpr.h"
26
27
namespace doris {
28
class TExprNode;
29
30
class Block;
31
class VExprContext;
32
33
class VInfoFunc : public VExpr {
34
    ENABLE_FACTORY_CREATOR(VInfoFunc);
35
36
public:
37
    VInfoFunc(const TExprNode& node);
38
0
    ~VInfoFunc() override = default;
39
40
0
    const std::string& expr_name() const override { return _expr_name; }
41
    Status execute_column(VExprContext* context, const Block* block, Selector* selector,
42
                          size_t count, ColumnPtr& result_column) const override;
43
44
private:
45
    const std::string _expr_name = "vinfofunc expr";
46
    ColumnPtr _column_ptr;
47
};
48
49
} // namespace doris