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 FlowFile | The name of the key or property to retrieve from the lookup service | 添加属性到数据流中,属性名为动态指定,属性值为以动态属性名相同于在检索服务中查询到的值 支持表达式语言 (支持流属性和变量) |
连线:
名字 | 描述 |
---|---|
failure | 查询失败时发送数据流的连线 |
unmatched | 查询匹配不成功时发送数据流的连线 |
matched | 查询匹配成功时发送数据流的连线 |
读取属性:
未提供。
写入属性:
未提供。
状态管理:
该组件不保存状态。
限制:
该组件没有限制
输入流要求:
组件必须提供输入流。
系统资源考量:
未提供。