type 和 JSON config 选择输入与输出行为。以下示例展示 config 内的 JSON,不包含外层 protobuf 消息。区块与记录值仅作示意。
Call Builder 字段
在位置参数模板中使用
${<table>} 替换源数据行。扫描参数为空时,将整行作为唯一参数。bundle 协议键为 function 和 param,block 协议键为 functionId 和 params。
InputsCallConfig
BlockTableCallConfig
BlockBundleCallConfig
Writer Plugin 字段
condition.policy 接受 UpdateIfSmaller 或 UpdateIfLarger。表 Writer 按目标列投影记录。只有不需要持久化或返回输出时,才省略 handler。
block 表 handler 的上下文必须匹配部署。Debug 写表使用 debug: true 请求预览行为,不持久化数据。完成边界见执行语义。
Operator
可选的operator 通过过滤和去重缩小触发行范围。其计划包含以 read 为根的 relations 链。格式详见 BlockX 仓库的 docs/specs/substrait_ast.md,实现归属 Plugin 系统。
来源与相关文档
配置结构位于 BlockX 仓库的internal/plugin/callbuilder/ 和 internal/plugin/event/,名称定义在各自的 types/types.go 中。