milvus/internal/parser/planparserv2/logical_expr_visitor.go
Jiquan Long 98ceb162aa
Support antlr as plan parser (#16696)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>

Co-authored-by: xaxys <tpnnghd@163.com>

Co-authored-by: xaxys <tpnnghd@163.com>
2022-05-06 17:43:51 +08:00

18 lines
756 B
Go

package planparserv2
import "github.com/milvus-io/milvus/internal/proto/planpb"
type LogicalExprVisitor interface {
VisitExpr(expr *planpb.Expr) interface{}
VisitTermExpr(expr *planpb.TermExpr) interface{}
VisitUnaryExpr(expr *planpb.UnaryExpr) interface{}
VisitBinaryExpr(expr *planpb.BinaryExpr) interface{}
VisitCompareExpr(expr *planpb.CompareExpr) interface{}
VisitUnaryRangeExpr(expr *planpb.UnaryRangeExpr) interface{}
VisitBinaryRangeExpr(expr *planpb.BinaryRangeExpr) interface{}
VisitBinaryArithOpEvalRangeExpr(expr *planpb.BinaryArithOpEvalRangeExpr) interface{}
VisitBinaryArithExpr(expr *planpb.BinaryArithExpr) interface{}
VisitValueExpr(expr *planpb.ValueExpr) interface{}
VisitColumnExpr(expr *planpb.ColumnExpr) interface{}
}