| Package | Description |
|---|---|
| org.apache.nifi.provenance |
| Modifier and Type | Method and Description |
|---|---|
ProvenanceEventBuilder |
ProvenanceEventBuilder.addChildFlowFile(FlowFile child)
Adds the given FlowFile as a child for Events of type
ProvenanceEventType#SPAWN,
ProvenanceEventType.FORK, ProvenanceEventType.JOIN, and
ProvenanceEventType.CLONE
This is valid only for ProvenanceEventType#SPAWN,
ProvenanceEventType.FORK, ProvenanceEventType.JOIN, and
ProvenanceEventType.CLONE events and will be ignored for any
other event types. |
ProvenanceEventBuilder |
ProvenanceEventBuilder.addParentFlowFile(FlowFile parent)
Adds the given FlowFile as a parent for Events of type
ProvenanceEventType#SPAWN,
ProvenanceEventType.FORK, ProvenanceEventType.JOIN, and
ProvenanceEventType.CLONE
This is valid only for ProvenanceEventType#SPAWN,
ProvenanceEventType.FORK, ProvenanceEventType.JOIN, and
ProvenanceEventType.CLONE events and will be ignored for any
other event types. |
ProvenanceEventBuilder |
ProvenanceEventRepository.eventBuilder()
Returns a
ProvenanceEventBuilder that is capable of building
ProvenanceEventRecords |
ProvenanceEventBuilder |
ProvenanceEventBuilder.fromEvent(ProvenanceEventRecord event)
Populates the values of the Event being built from the values in the
given event
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.fromFlowFile(FlowFile flowFile)
Populates the builder with as much information as it can from the given
FlowFile
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.removeChildFlowFile(FlowFile child)
Removes the given FlowFile as a child for Events of type
ProvenanceEventType#SPAWN,
ProvenanceEventType.FORK, ProvenanceEventType.JOIN, and
ProvenanceEventType.CLONE
This is valid only for ProvenanceEventType#SPAWN,
ProvenanceEventType.FORK, ProvenanceEventType.JOIN, and
ProvenanceEventType.CLONE events and will be ignored for any
other event types. |
ProvenanceEventBuilder |
ProvenanceEventBuilder.removeParentFlowFile(FlowFile parent)
Removes the given FlowFile as a parent for Events of type
ProvenanceEventType#SPAWN,
ProvenanceEventType.FORK, ProvenanceEventType.JOIN, and
ProvenanceEventType.CLONE
This is valid only for ProvenanceEventType#SPAWN,
ProvenanceEventType.FORK, ProvenanceEventType.JOIN, and
ProvenanceEventType.CLONE events and will be ignored for any
other event types. |
ProvenanceEventBuilder |
ProvenanceEventBuilder.setAlternateIdentifierUri(String alternateIdentifierUri)
Associates the given identifier with the FlowFile for which this Event is
created.
|
ProvenanceEventBuilder |
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 |
ProvenanceEventBuilder.setComponentId(String componentId)
Sets the unique identifier of the NiFi Component (such as a
Processor) that is generating the Event |
ProvenanceEventBuilder |
ProvenanceEventBuilder.setComponentType(String componentType)
Sets the type of the Component that is generating the Event.
|
ProvenanceEventBuilder |
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 event
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.setDetails(String details)
Sets the details for this event.
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.setEventDuration(long millis)
Sets the amount of time that was required in order to perform the
function referred to by this event
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.setEventTime(long eventTime)
Sets the time at which the Provenance Event took place
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.setEventType(ProvenanceEventType eventType)
Sets the type of
ProvenanceEventRecord |
ProvenanceEventBuilder |
ProvenanceEventBuilder.setFlowFileEntryDate(long entryDate)
Sets the date and time at which the FlowFile entered the flow
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.setFlowFileUUID(String uuid)
Sets the UUID to associate with the FlowFile
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.setLineageIdentifiers(Set<String> lineageIdentifiers)
Sets the Lineage Identifiers.
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.setLineageStartDate(long startDate)
Sets the time at which the FlowFile's lineage began
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.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 |
ProvenanceEventBuilder.setRelationship(Relationship relationship)
Sets the to which the FlowFile was routed for
ProvenanceEventType.ROUTE events. |
ProvenanceEventBuilder |
ProvenanceEventBuilder.setSourceQueueIdentifier(String identifier)
Sets the identifier of the FlowFile Queue from which the FlowFile was
pulled
|
ProvenanceEventBuilder |
ProvenanceEventBuilder.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 |
ProvenanceEventBuilder.setTransitUri(String transitUri)
Sets the Transit URI that is used for the Event.
|
Copyright © 2016 Apache NiFi Project. All rights reserved.