Class FilterNull

All Implemented Interfaces:
Serializable, EachOperation, Filter, Operation

public class FilterNull extends BaseFilter
Simple `Filter` implementation that filters out any tuples that have fields with a value of `null`.
See Also:
  • Constructor Details

    • FilterNull

      public FilterNull()
  • Method Details

    • isKeep

      public boolean isKeep(TridentTuple tuple)
      Description copied from interface: Filter
      Determines if a tuple should be filtered out of a stream.
      Parameters:
      tuple - the tuple being evaluated
      Returns:
      `false` to drop the tuple, `true` to keep the tuple