Skip to main content

LookupAttribute

描述:

从检索服务中查找属性值

标签:

lookup, cache, enrich, join, attributes, Attribute Expression Language, 检索

参数:

如下列表中,必填参数则标识为加粗. 其他未加粗参数,则表示为可选参数。表中同时提到参数默认值设置.

名字默认值允许值列表描述
检索服务控制器服务API:
StringLookupService
实现:
SimpleCsvFileLookupService
PropertiesFileLookupService
SimpleKeyValueLookupService
XMLFileLookupService
DistributedMapCacheLookupService
CouchbaseKeyValueLookupService
查询检索属性时使用的服务
包含空值包含
- 包含
- 不包含
包含属性值是空值的属性

动态参数:

名字描述
The name of the attribute to add to the FlowFileThe name of the key or property to retrieve from the lookup service添加属性到数据流中,属性名为动态指定,属性值为以动态属性名相同于在检索服务中查询到的值
支持表达式语言 (支持流属性和变量)

连线:

名字描述
failure查询失败时发送数据流的连线
unmatched查询匹配不成功时发送数据流的连线
matched查询匹配成功时发送数据流的连线

读取属性:

未提供。

写入属性:

未提供。

状态管理:

该组件不保存状态。

限制:

该组件没有限制

输入流要求:

组件必须提供输入流。

系统资源考量:

未提供。