Class Equals
- java.lang.Object
-
- org.apache.storm.trident.operation.BaseOperation
-
- org.apache.storm.trident.operation.BaseFilter
-
- org.apache.storm.trident.operation.builtin.Equals
-
- All Implemented Interfaces:
Serializable
,EachOperation
,Filter
,Operation
public class Equals extends BaseFilter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Equals()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
-
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
-
-