public class GreaterThanOperation extends LeafOperation
field, tuple, val| Constructor and Description |
|---|
GreaterThanOperation(StreamExpression expression,
StreamFactory factory) |
GreaterThanOperation(String field,
double val) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate() |
void |
operate(Tuple tuple) |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpression |
toExpression(StreamFactory factory) |
quotepublic GreaterThanOperation(String field, double val)
public GreaterThanOperation(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic void operate(Tuple tuple)
operate in interface StreamOperationoperate in class LeafOperationpublic boolean evaluate()
public StreamExpression toExpression(StreamFactory factory) throws IOException
IOExceptionpublic Explanation toExplanation(StreamFactory factory) throws IOException
ExpressibletoExplanation in interface ExpressibletoExplanation in class LeafOperationfactory - Stream factory for this, contains information about the function nameIOException - throw on any errorCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.