public interface FlowFile extends Comparable<FlowFile>
A flow file is a logical notion of an item in a flow with its associated attributes and identity which can be used as a reference for its actual content.
All FlowFile implementations must be Immutable - Thread safe.Modifier and Type | Interface and Description |
---|---|
static class |
FlowFile.KeyValidator |
Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String key)
Obtains the attribute value for the given key
|
Map<String,String> |
getAttributes() |
long |
getEntryDate() |
long |
getId() |
Long |
getLastQueueDate() |
Set<String> |
getLineageIdentifiers()
If a FlowFile is derived from multiple "parent" FlowFiles, all of the
parents' Lineage Identifiers will be in the set.
|
long |
getLineageStartDate() |
long |
getSize() |
boolean |
isPenalized() |
compareTo
long getId()
long getEntryDate()
long getLineageStartDate()
getEntryDate()
of FlowFile X.Long getLastQueueDate()
null
if the FlowFile has never been enqueued.
This value will always be populated before it is passed to a
FlowFilePrioritizer
Set<String> getLineageIdentifiers()
If a FlowFile is derived from multiple "parent" FlowFiles, all of the parents' Lineage Identifiers will be in the set.
boolean isPenalized()
String getAttribute(String key)
key
- of the attributelong getSize()
Copyright © 2015 Apache NiFi Project. All rights reserved.