UpdateBoxFileMetadataInstance 2025.10.2.19¶
捆绑包¶
org.apache.nifi | nifi-box-nar
描述¶
Updates metadata template values for a Box file using the record in the given flowFile. This record represents the desired end state of the template after the update. The processor will calculate the necessary changes (add/replace/remove) to transform the current metadata to the desired state. The input record should be a flat key-value object.
输入要求¶
REQUIRED
支持敏感的动态属性¶
false
属性¶
属性 |
描述 |
|---|---|
Box Client Service |
用于获取 Box API 连接的控制器服务。 |
文件 ID |
要更新元数据的文件的 ID。 |
记录读取器 |
用于解析传入数据的记录读取器 |
模板键 |
要更新的元数据模板的键。 |
关系¶
名称 |
描述 |
|---|---|
failure |
如果元数据更新过程中发生错误,FlowFile 将路由到此关系。 |
file not found |
如未找到指定的 Box 文件,FlowFiles 将路由到此关系。 |
success |
成功更新元数据后,FlowFile 将路由到此关系。 |
template not found |
如未找到指定元数据模板,FlowFiles 将路由到此关系。 |
写入属性¶
名称 |
描述 |
|---|---|
box.id |
其元数据已更新的文件的 ID |
box.template.name |
用于元数据更新的模板名称 |
box.template.scope |
用于元数据更新的模板范围 |
error.code |
Box 返回的错误代码 |
error.message |
Box 返回的错误消息 |