public class AndOperation extends Object implements BooleanOperation
| Modifier and Type | Field and Description |
|---|---|
protected BooleanOperation |
leftOperand |
protected BooleanOperation |
rightOperand |
| Constructor and Description |
|---|
AndOperation(BooleanOperation leftOperand,
BooleanOperation rightOperand) |
AndOperation(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 leftOperand
protected BooleanOperation rightOperand
public AndOperation(BooleanOperation leftOperand, BooleanOperation rightOperand)
public AndOperation(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic void operate(Tuple tuple)
operate in interface StreamOperationpublic boolean evaluate()
evaluate in interface BooleanOperationpublic StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
toExpression in interface ExpressibleIOExceptionpublic Explanation toExplanation(StreamFactory factory) throws IOException
ExpressibletoExplanation in interface Expressiblefactory - Stream factory for this, contains information about the function nameIOException - throw on any errorCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.