Documentation
¶
Overview ¶
Package expr 提供表达式过滤处理器
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Expression 过滤表达式,返回 true 保留记录,false 过滤记录
// 支持类 Python 语法,可访问记录的所有字段
// 示例: "status == 'active' && score > 60"
// 内置函数: str_contains, str_hasPrefix, str_hasSuffix, str_matches
Expression string `json:"expression"`
}
Config Processor 的配置
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor 根据表达式过滤记录
func (*Processor) ConcurrencyCap ¶
func (p *Processor) ConcurrencyCap() dataflow.ConcurrencyCap
ConcurrencyCap 声明支持并发
Click to show internal directories.
Click to hide internal directories.