public class FilterNull extends BaseFilter
Simple Filter
implementation that filters out any tuples that have fields with a value of null
.
Constructor and Description |
---|
FilterNull() |
Modifier and Type | Method and Description |
---|---|
boolean |
isKeep(TridentTuple tuple)
Determines if a tuple should be filtered out of a stream.
|
cleanup, prepare
public boolean isKeep(TridentTuple tuple)
Filter
Determines if a tuple should be filtered out of a stream.
tuple
- the tuple being evaluatedfalse
to drop the tuple, true
to keep the tupleCopyright © 2020 The Apache Software Foundation. All rights reserved.