ExprVisitor.h 1.3 KB
Newer Older
F
FluorineDog 已提交
1 2 3 4 5 6 7 8 9 10 11
// Copyright (C) 2019-2020 Zilliz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software distributed under the License
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
// or implied. See the License for the specific language governing permissions and limitations under the License

12 13 14 15 16 17 18
#pragma once
// Generated File
// DO NOT EDIT
#include "query/Expr.h"
namespace milvus::query {
class ExprVisitor {
 public:
19
    virtual ~ExprVisitor() = default;
20 21 22

 public:
    virtual void
F
FluorineDog 已提交
23
    visit(LogicalUnaryExpr&) = 0;
24 25

    virtual void
F
FluorineDog 已提交
26
    visit(LogicalBinaryExpr&) = 0;
27 28 29 30 31

    virtual void
    visit(TermExpr&) = 0;

    virtual void
32 33
    visit(UnaryRangeExpr&) = 0;

34 35 36
    virtual void
    visit(BinaryArithOpEvalRangeExpr&) = 0;

37 38
    virtual void
    visit(BinaryRangeExpr&) = 0;
39 40 41

    virtual void
    visit(CompareExpr&) = 0;
42 43 44

    virtual void
    visit(ExistsExpr&) = 0;
J
Jiquan Long 已提交
45 46 47

    virtual void
    visit(AlwaysTrueExpr&) = 0;
48 49 50

    virtual void
    visit(JsonContainsExpr&) = 0;
51 52
};
}  // namespace milvus::query