org.apache.storm.trident.operation.builtin

## Class FilterNull

- java.lang.Object
- - org.apache.storm.trident.operation.BaseOperation
  - - org.apache.storm.trident.operation.BaseFilter
    - - org.apache.storm.trident.operation.builtin.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:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FilterNull()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isKeep(TridentTuple tuple)` Determines if a tuple should be filtered out of a stream.

    - ### Methods inherited from class org.apache.storm.trident.operation.BaseOperation

      `cleanup, prepare`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.storm.trident.operation.Operation

      `cleanup, prepare`

- - ### Constructor Detail

    - #### FilterNull

          public FilterNull()

  - ### Method Detail

    - #### 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

Copyright © 2021 The Apache Software Foundation. All rights reserved.