Interface FlowFileRecord
- All Superinterfaces:
Comparable<FlowFile>
,FlowFile
FlowFileRecord
is a sub-interface of FlowFile
and
is used to provide additional information about FlowFiles that provide
valuable information to the framework but should be hidden from components-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.nifi.flowfile.FlowFile
FlowFile.KeyValidator
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface org.apache.nifi.flowfile.FlowFile
getAttribute, getAttributes, getEntryDate, getId, getLastQueueDate, getLineageStartDate, getLineageStartIndex, getQueueDateIndex, getSize, isPenalized
-
Method Details
-
getPenaltyExpirationMillis
long getPenaltyExpirationMillis()- Returns:
- the time (in millis since epoch) at which this FlowFile should no longer be penalized
-
getContentClaim
ContentClaim getContentClaim()- Returns:
- the
ContentClaim
that holds the FlowFile's content
-
getContentClaimOffset
long getContentClaimOffset()- Returns:
- the byte offset into the
ContentClaim
at which the FlowFile's content occurs. This mechanism allows multiple FlowFiles to have the same ContentClaim, which can be significantly more efficient for some implementations ofContentRepository
-