public class FlowFileFilters extends Object
| Constructor and Description |
|---|
FlowFileFilters() |
| Modifier and Type | Method and Description |
|---|---|
static FlowFileFilter |
newSizeBasedFilter(double maxSize,
DataUnit unit,
int maxCount)
Returns a new
FlowFileFilter that will pull FlowFiles until the
maximum file size has been reached, or the maximum FlowFile Count was
been reached (this is important because FlowFiles may be 0 bytes!). |
public static FlowFileFilter newSizeBasedFilter(double maxSize, DataUnit unit, int maxCount)
FlowFileFilter that will pull FlowFiles until the
maximum file size has been reached, or the maximum FlowFile Count was
been reached (this is important because FlowFiles may be 0 bytes!). If
the first FlowFile exceeds the max size, the FlowFile will be selected
and no other FlowFile will be.maxSize - the maximum size of the group of FlowFilesunit - the unit of the maxSize argumentmaxCount - the maximum number of FlowFiles to pullCopyright © 2016 Apache NiFi Project. All rights reserved.