Package org.apache.nifi.provenance
Enum Class ProvenanceEventType
- All Implemented Interfaces:
Serializable
,Comparable<ProvenanceEventType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates a provenance event for adding additional information such as a new linkage to a new URI or UUIDATTRIBUTES_MODIFIED is used to indicate that a FlowFile's attributes were modified in some way.CLONE is used to indicate that a FlowFile is an exact duplicate of its parent FlowFile.CONTENT_MODIFIED is used to indicate that a FlowFile's content was modified in some way.A CREATE event is used when a FlowFile is generated from data that was not received from a remote system or external processIndicates that the contents of a FlowFile were downloaded by a user or external entity.Indicates a provenance event for the conclusion of an object's life for some reason other than object expirationIndicates a provenance event for the conclusion of an object's life due to the fact that the object could not be processed in a timely mannerIndicates that the contents of a FlowFile were overwritten using the contents of some external resource.FORK is used to indicate that one or more FlowFile was derived from a parent FlowFile.JOIN is used to indicate that a single FlowFile is derived from joining together multiple parent FlowFiles.Indicates a provenance event for receiving data from an external process.Indicates a provenance event for sending remote invocation request to an external process.Indicates a provenance event for replaying a FlowFile.ROUTE is used to show that a FlowFile was routed to a specifiedRelationship
and should provide information about why the FlowFile was routed to this relationship.Indicates a provenance event for sending data to an external processIndicates that the type of the provenance event is unknown because the user who is attempting to access the event is not authorize to know the type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProvenanceEventType
Returns the enum constant of this class with the specified name.static ProvenanceEventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE
A CREATE event is used when a FlowFile is generated from data that was not received from a remote system or external process -
RECEIVE
Indicates a provenance event for receiving data from an external process. This Event Type is expected to be the first event for a FlowFile. As such, a Processor that receives data from an external source and uses that data to replace the content of an existing FlowFile should use theFETCH
event type, rather than the RECEIVE event type. -
FETCH
Indicates that the contents of a FlowFile were overwritten using the contents of some external resource. This is similar to theRECEIVE
event but varies in that RECEIVE events are intended to be used as the event that introduces the FlowFile into the system, whereas FETCH is used to indicate that the contents of an existing FlowFile were overwritten. -
SEND
Indicates a provenance event for sending data to an external process -
REMOTE_INVOCATION
Indicates a provenance event for sending remote invocation request to an external process. This event type is used to represent other operations than transferring data (RECEIVE, FETCH or SEND), for example, deleting object from an external process or storage. -
DOWNLOAD
Indicates that the contents of a FlowFile were downloaded by a user or external entity. -
DROP
Indicates a provenance event for the conclusion of an object's life for some reason other than object expiration -
EXPIRE
Indicates a provenance event for the conclusion of an object's life due to the fact that the object could not be processed in a timely manner -
FORK
FORK is used to indicate that one or more FlowFile was derived from a parent FlowFile. -
JOIN
JOIN is used to indicate that a single FlowFile is derived from joining together multiple parent FlowFiles. -
CLONE
CLONE is used to indicate that a FlowFile is an exact duplicate of its parent FlowFile. -
CONTENT_MODIFIED
CONTENT_MODIFIED is used to indicate that a FlowFile's content was modified in some way. When using this Event Type, it is advisable to provide details about how the content is modified. -
ATTRIBUTES_MODIFIED
ATTRIBUTES_MODIFIED is used to indicate that a FlowFile's attributes were modified in some way. This event is not needed when another event is reported at the same time, as the other event will already contain all FlowFile attributes. -
ROUTE
ROUTE is used to show that a FlowFile was routed to a specifiedRelationship
and should provide information about why the FlowFile was routed to this relationship. -
ADDINFO
Indicates a provenance event for adding additional information such as a new linkage to a new URI or UUID -
REPLAY
Indicates a provenance event for replaying a FlowFile. The UUID of the event will indicate the UUID of the original FlowFile that is being replayed. The event will contain exactly one Parent UUID that is also the UUID of the FlowFile that is being replayed and exactly one Child UUID that is the UUID of the a newly created FlowFile that will be re-queued for processing. -
UNKNOWN
Indicates that the type of the provenance event is unknown because the user who is attempting to access the event is not authorize to know the type.
-
-
Constructor Details
-
ProvenanceEventType
private ProvenanceEventType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-