public class NotOperation extends Object implements BooleanOperation
Modifier and Type | Field and Description |
---|---|
protected BooleanOperation |
operand |
Constructor and Description |
---|
NotOperation(BooleanOperation operand) |
NotOperation(StreamExpression expression,
StreamFactory factory) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate() |
void |
operate(Tuple tuple) |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpressionParameter |
toExpression(StreamFactory factory) |
protected BooleanOperation operand
public NotOperation(BooleanOperation operand)
public NotOperation(StreamExpression expression, StreamFactory factory) throws IOException
IOException
public void operate(Tuple tuple)
operate
in interface StreamOperation
public boolean evaluate()
evaluate
in interface BooleanOperation
public StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
toExpression
in interface Expressible
IOException
public Explanation toExplanation(StreamFactory factory) throws IOException
Expressible
toExplanation
in interface Expressible
factory
- Stream factory for this, contains information about the function nameIOException
- throw on any errorCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.