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
Simple `Filter` implementation that filters out any tuples that have fields with a value of `null`.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
Constructor Details
-
FilterNull
public FilterNull()
-
-
Method Details
-
isKeep
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
-