Package org.apache.nifi.processor
Interface FlowFileFilter
public interface FlowFileFilter
FlowFileFilter provides a mechanism for selectively choosing which FlowFiles to obtain from a Processor's incoming connections.
Implementations of this interface need not be thread-safe.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Provides a result type to indicate whether or not a FlowFile should be selected -
Method Summary
Modifier and TypeMethodDescriptionIndicates whether or not the given FlowFile should be selected and whether or not the Processor is interested in filtering additional FlowFiles
-
Method Details
-
filter
Indicates whether or not the given FlowFile should be selected and whether or not the Processor is interested in filtering additional FlowFiles- Parameters:
flowFile
- to apply the filter to- Returns:
- true if the given FlowFile should be selected and if Processor is interested in filtering additional FlowFiles
-