Class ComparativeExpNode
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.node.OperatorNode
-
- org.linuxforhealth.fhir.database.utils.query.node.BinaryExpNode
-
- org.linuxforhealth.fhir.database.utils.query.node.ComparativeExpNode
-
- All Implemented Interfaces:
ExpNode
- Direct Known Subclasses:
GreaterEqExpNode
,GreaterExpNode
,LessEqExpNode
,LessExpNode
public abstract class ComparativeExpNode extends BinaryExpNode
Base for all comparative type expressions (<, <=, >, >=)
-
-
Constructor Summary
Constructors Constructor Description ComparativeExpNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
precedence()
Precedence of this expression node.-
Methods inherited from class org.linuxforhealth.fhir.database.utils.query.node.BinaryExpNode
getLeft, getRight, popOperands, setLeft, setRight, toString
-
Methods inherited from class org.linuxforhealth.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 org.linuxforhealth.fhir.database.utils.query.node.ExpNode
isLeftParen, isOperand, isRightParen, visit
-
-
-
-
Method Detail
-
precedence
public int precedence()
Description copied from interface:ExpNode
Precedence of this expression node. Used to parse the expression into the correct tree. We use 0 to represent the highest precedence- Returns:
-
-