Uses of Interface
org.apache.nifi.provenance.ProvenanceEventBuilder
Packages that use ProvenanceEventBuilder
-
Uses of ProvenanceEventBuilder in org.apache.nifi.provenance
Methods in org.apache.nifi.provenance that return ProvenanceEventBuilderModifier and TypeMethodDescriptionProvenanceEventBuilder.addChildFlowFile(String childId) Adds the given FlowFile identifier as a child for Events of typeProvenanceEventType.FORKandProvenanceEventType.CLONEProvenanceEventBuilder.addChildFlowFile(FlowFile child) Adds the given FlowFile as a child for Events of typeProvenanceEventType.FORK,ProvenanceEventType.JOIN, andProvenanceEventType.CLONEThis is valid only forProvenanceEventType.FORK,ProvenanceEventType.JOIN, andProvenanceEventType.CLONEevents and will be ignored for any other event types.ProvenanceEventBuilder.addParentFlowFile(FlowFile parent) Adds the given FlowFile as a parent for Events of type,ProvenanceEventType.FORK,ProvenanceEventType.JOIN, andProvenanceEventType.CLONEThis is valid only forProvenanceEventType.FORK,ProvenanceEventType.JOIN, andProvenanceEventType.CLONEevents and will be ignored for any other event types.ProvenanceEventBuilder.copy()ProvenanceEventRepository.eventBuilder()Returns aProvenanceEventBuilderthat is capable of buildingProvenanceEventRecordsProvenanceEventBuilder.fromEvent(ProvenanceEventRecord event) Populates the values of the Event being built from the values in the given eventProvenanceEventBuilder.fromFlowFile(FlowFile flowFile) Populates the builder with as much information as it can from the given FlowFileProvenanceEventBuilder.removeChildFlowFile(FlowFile child) Removes the given FlowFile as a child for Events of typeProvenanceEventType.FORK,ProvenanceEventType.JOIN, andProvenanceEventType.CLONEThis is valid only forProvenanceEventType.FORK,ProvenanceEventType.JOIN, andProvenanceEventType.CLONEevents and will be ignored for any other event types.ProvenanceEventBuilder.removeParentFlowFile(FlowFile parent) Removes the given FlowFile as a parent for Events of type,ProvenanceEventType.FORK,ProvenanceEventType.JOIN, andProvenanceEventType.CLONEThis is valid only forProvenanceEventType.FORK,ProvenanceEventType.JOIN, andProvenanceEventType.CLONEevents and will be ignored for any other event types.ProvenanceEventBuilder.setAlternateIdentifierUri(String alternateIdentifierUri) Associates the given identifier with the FlowFile for which this Event is created.ProvenanceEventBuilder.setAttributes(Map<String, String> previousAttributes, Map<String, String> updatedAttributes) Sets the attributes that existed on the FlowFile before this event occurred and any attributes that were added or updated as a result of this event.ProvenanceEventBuilder.setComponentId(String componentId) Sets the unique identifier of the NiFi Component (such as aProcessor) that is generating the EventProvenanceEventBuilder.setComponentType(String componentType) Sets the type of the Component that is generating the Event.ProvenanceEventBuilder.setCurrentContentClaim(String container, String section, String identifier, Long offset, long size) Sets the Content Claim that the FlowFile is associated with as a result of this eventProvenanceEventBuilder.setDetails(String details) Sets the details for this event.ProvenanceEventBuilder.setEventDuration(long millis) Sets the amount of time that was required in order to perform the function referred to by this eventProvenanceEventBuilder.setEventTime(long eventTime) Sets the time at which the Provenance Event took placeProvenanceEventBuilder.setEventType(ProvenanceEventType eventType) Sets the type ofProvenanceEventRecordProvenanceEventBuilder.setFlowFileEntryDate(long entryDate) Sets the date and time at which the FlowFile entered the flowProvenanceEventBuilder.setFlowFileUUID(String uuid) Sets the UUID to associate with the FlowFileProvenanceEventBuilder.setLineageStartDate(long startDate) Sets the time at which the FlowFile's lineage beganProvenanceEventBuilder.setPreviousContentClaim(String container, String section, String identifier, Long offset, long size) Sets the Content Claim that the FlowFile was previously associated with before this event occurred.ProvenanceEventBuilder.setRelationship(Relationship relationship) Sets the to which the FlowFile was routed forProvenanceEventType.ROUTEevents.ProvenanceEventBuilder.setSourceQueueIdentifier(String identifier) Sets the identifier of the FlowFile Queue from which the FlowFile was pulledProvenanceEventBuilder.setSourceSystemFlowFileIdentifier(String sourceSystemFlowFileIdentifier) Sets the identifier that is used by the remote system to refer to the FlowFile for which this Event is being created.ProvenanceEventBuilder.setTransitUri(String transitUri) Sets the Transit URI that is used for the Event.