Class TrueFilter

All Implemented Interfaces:
Serializable, EachOperation, Filter, Operation

public class TrueFilter extends BaseFilter
See Also:
  • Constructor Details

    • TrueFilter

      public TrueFilter()
  • 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