ScanAttribute 2025.10.2.19¶
捆绑包¶
org.apache.nifi | nifi-standard-nar
描述¶
扫描 FlowFiles 的指定属性,检查其值是否存在于指定的术语字典中
输入要求¶
REQUIRED
支持敏感的动态属性¶
false
属性¶
属性 |
描述 |
|---|---|
属性模式 |
正则表达式,用于指定属性的名称,其值将与字典中的术语进行匹配 |
字典文件 |
A new-line-delimited text file that includes the terms that should trigger a match. Empty lines are ignored. The contents of the text file are loaded into memory when the processor is scheduled and reloaded when the contents are modified. |
字典筛选器模式 |
将应用于字典文件中每一行的正则表达式。如果正则表达式与该行不匹配,则该行将不包含在要搜索的术语列表中。如果已指定匹配组,则将仅使用术语中与该匹配组匹配的部分,而不是使用整个术语。如果未指定,则将使用字典中的所有术语,每个术语将包含文件中整行的文本 |
匹配条件 |
If set to All Must Match, then FlowFiles will be routed to 'matched' only if all specified attributes 'values are found in the dictionary. If set to At Least 1 Must Match, FlowFiles will be routed to' matched' if any attribute specified is found in the dictionary |
关系¶
名称 |
描述 |
|---|---|
matched |
在字典中找到的 FlowFiles 属性将会路由到此关系 |
unmatched |
在字典中未找到的 FlowFiles 属性将会路由到此关系 |