NIFI-6953: Add missing documentation for input.flowfile.uuid attribute of ExecuteSQL processors

This commit is contained in:
Matthew Burgess 2019-12-16 14:03:56 -05:00 committed by Matt Gilman
parent 599fb98415
commit 8b3f6fa61c
2 changed files with 5 additions and 1 deletions

View File

@ -98,7 +98,9 @@ import static org.apache.nifi.util.db.AvroUtil.CodecType;
@WritesAttribute(attribute = "fragment.index", description = "If 'Max Rows Per Flow File' is set then the position of this FlowFile in the list of "
+ "outgoing FlowFiles that were all derived from the same result set FlowFile. This can be "
+ "used in conjunction with the fragment.identifier attribute to know which FlowFiles originated from the same query result set and in what order "
+ "FlowFiles were produced")
+ "FlowFiles were produced"),
@WritesAttribute(attribute = "input.flowfile.uuid", description = "If the processor has an incoming connection, outgoing FlowFiles will have this attribute "
+ "set to the value of the input FlowFile's UUID. If there is no incoming connection, the attribute will not be added.")
})
public class ExecuteSQL extends AbstractExecuteSQL {

View File

@ -92,6 +92,8 @@ import static org.apache.nifi.processors.standard.util.JdbcProperties.USE_AVRO_L
+ "outgoing FlowFiles that were all derived from the same result set FlowFile. This can be "
+ "used in conjunction with the fragment.identifier attribute to know which FlowFiles originated from the same query result set and in what order "
+ "FlowFiles were produced"),
@WritesAttribute(attribute = "input.flowfile.uuid", description = "If the processor has an incoming connection, outgoing FlowFiles will have this attribute "
+ "set to the value of the input FlowFile's UUID. If there is no incoming connection, the attribute will not be added."),
@WritesAttribute(attribute = "mime.type", description = "Sets the mime.type attribute to the MIME Type specified by the Record Writer."),
@WritesAttribute(attribute = "record.count", description = "The number of records output by the Record Writer.")
})