Class BinaryExpNode
- java.lang.Object
-
- com.ibm.fhir.database.utils.query.node.OperatorNode
-
- com.ibm.fhir.database.utils.query.node.BinaryExpNode
-
- All Implemented Interfaces:
ExpNode
- Direct Known Subclasses:
AdditiveExpNode
,AndExpNode
,BetweenExpNode
,ComparativeExpNode
,EqualityExpNode
,EscapeExpNode
,LikeExpNode
,MultiplicativeExpNode
,OrExpNode
public abstract class BinaryExpNode extends OperatorNode
A binary expression for addition, multiplication, comparison etc
-
-
Constructor Summary
Constructors Constructor Description BinaryExpNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpNode
getLeft()
ExpNode
getRight()
void
popOperands(java.util.Stack<ExpNode> stack)
Read the operands from the stackvoid
setLeft(ExpNode left)
void
setRight(ExpNode right)
java.lang.String
toString()
-
Methods inherited from class com.ibm.fhir.database.utils.query.node.OperatorNode
isOperator
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.ibm.fhir.database.utils.query.node.ExpNode
isLeftParen, isOperand, isRightParen, precedence, visit
-
-
-
-
Method Detail
-
getLeft
public ExpNode getLeft()
- Returns:
- the left
-
setLeft
public void setLeft(ExpNode left)
- Parameters:
left
- the left to set
-
getRight
public ExpNode getRight()
- Returns:
- the right
-
setRight
public void setRight(ExpNode right)
- Parameters:
right
- the right to set
-
popOperands
public void popOperands(java.util.Stack<ExpNode> stack)
Description copied from interface:ExpNode
Read the operands from the stack
-
toString
public java.lang.String toString()
- Overrides:
toString
in classOperatorNode
-
-