Class ExistsExpNode
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.node.OperatorNode
-
- org.linuxforhealth.fhir.database.utils.query.node.UnaryExpNode
-
- org.linuxforhealth.fhir.database.utils.query.node.ExistsExpNode
-
- All Implemented Interfaces:
ExpNode
public class ExistsExpNode extends UnaryExpNode
Represents an EXISTS (
-
-
Constructor Summary
Constructors Constructor Description ExistsExpNode(ExpNode sub)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOperand()
Is this expression node an operandint
precedence()
Precedence of this expression node.<T> T
visit(ExpNodeVisitor<T> visitor)
Generic evaluation visitor-
Methods inherited from class org.linuxforhealth.fhir.database.utils.query.node.UnaryExpNode
getExpr, popOperands, setExpr, 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, isRightParen
-
-
-
-
Constructor Detail
-
ExistsExpNode
public ExistsExpNode(ExpNode sub)
Public constructor- Parameters:
sub
-
-
-
Method Detail
-
visit
public <T> T visit(ExpNodeVisitor<T> visitor)
Description copied from interface:ExpNode
Generic evaluation visitor- Returns:
-
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:
-
isOperand
public boolean isOperand()
Description copied from interface:ExpNode
Is this expression node an operand- Returns:
-
-