代码改变世界

PDI的step:(1:abort)

  很大很老实  阅读(340)  评论(0编辑  收藏  举报

本系列介绍PDI的step。

这里介绍第一个:Abort。

name:Abort;

类型:Flow。

id:Abort。

描述:终止一个转换。

所属类:org.pentaho.di.trans.steps.abortMeta.

这个step,允许你在发现有输入的时候,终止转换。这主要用在错误处理等场景。

配置信息:

OptionDescription
Step name Name of the step.

Note: This name has to be unique in a single transformation.

Abort threshold The threshold of number of rows after which to abort the transformations. E.g. If threshold is 0, the abort step will abort after seeing the first row. If threshold is 5, the abort step will abort after seeing the sixth row.
Abort message The message to put in the log upon aborting. If not filled in a default message will be used.
Always log Always log the rows processed by the Abort step. This allows the rows to be logged although the log level of the transformation would normally not do it. This way you can always see in the log which rows caused the transformation to abort.
编辑推荐:
· 从二进制到误差:逐行拆解C语言浮点运算中的4008175468544之谜
· .NET制作智能桌面机器人:结合BotSharp智能体框架开发语音交互
· 软件产品开发中常见的10个问题及处理方法
· .NET 原生驾驭 AI 新基建实战系列:向量数据库的应用与畅想
· 从问题排查到源码分析:ActiveMQ消费端频繁日志刷屏的秘密
阅读排行:
· C# 13 中的新增功能实操
· Ollama本地部署大模型总结
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(4)
· langchain0.3教程:从0到1打造一个智能聊天机器人
· 2025成都.NET开发者Connect圆满结束
点击右上角即可分享
微信分享提示