Package org.apache.storm.trident.testing
Class TrueFilter
java.lang.Object
org.apache.storm.trident.operation.BaseOperation
org.apache.storm.trident.operation.BaseFilter
org.apache.storm.trident.testing.TrueFilter
- All Implemented Interfaces:
Serializable,EachOperation,Filter,Operation
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisKeep(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
-
TrueFilter
public TrueFilter()
-
-
Method Details
-
isKeep
Description copied from interface:FilterDetermines 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
-