本系列介绍PDI的step。
这里介绍第一个:Abort。
name:Abort;
类型:Flow。
id:Abort。
描述:终止一个转换。
所属类:org.pentaho.di.trans.steps.abortMeta.
这个step,允许你在发现有输入的时候,终止转换。这主要用在错误处理等场景。
配置信息:
Option | Description |
---|---|
Step name | Name of the step.
|
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. |