public class LessThanOperation extends LeafOperation
field, tuple, val
Constructor and Description |
---|
LessThanOperation(StreamExpression expression,
StreamFactory factory) |
LessThanOperation(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) |
quote
public LessThanOperation(String field, double val)
public LessThanOperation(StreamExpression expression, StreamFactory factory) throws IOException
IOException
public void operate(Tuple tuple)
operate
in interface StreamOperation
operate
in class LeafOperation
public boolean evaluate()
public StreamExpression toExpression(StreamFactory factory) throws IOException
IOException
public Explanation toExplanation(StreamFactory factory) throws IOException
Expressible
toExplanation
in interface Expressible
toExplanation
in class LeafOperation
factory
- Stream factory for this, contains information about the function nameIOException
- throw on any errorCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.