public class EqualsOperation extends LeafOperation
field, tuple, val
Constructor and Description |
---|
EqualsOperation(StreamExpression expression,
StreamFactory factory) |
EqualsOperation(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 EqualsOperation(String field, double val)
public EqualsOperation(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.