Class DoubleBindMarkerNode
- java.lang.Object
-
- com.ibm.fhir.database.utils.query.node.BindMarkerNode
-
- com.ibm.fhir.database.utils.query.node.DoubleBindMarkerNode
-
- All Implemented Interfaces:
ExpNode
public class DoubleBindMarkerNode extends BindMarkerNode
A bind marker representing a Double value
-
-
Constructor Summary
Constructors Constructor Description DoubleBindMarkerNode(java.lang.Double value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkTypeAndValue(java.lang.Object expectedValue)
Check that the value represented by this bind marker equals the type and value of the given expectedValue.java.lang.String
toValueString(java.lang.String defaultValue)
Return a string of the value being represented by this bind marker, or the defaultValue if the internal value is null.void
visit(BindMarkerNodeVisitor visitor)
Apply this node to the given visitor<T> T
visit(ExpNodeVisitor<T> visitor)
Generic evaluation visitor-
Methods inherited from class com.ibm.fhir.database.utils.query.node.BindMarkerNode
isOperand, popOperands, precedence, toString
-
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, isOperator, isRightParen
-
-
-
-
Method Detail
-
visit
public <T> T visit(ExpNodeVisitor<T> visitor)
Description copied from interface:ExpNode
Generic evaluation visitor- Returns:
-
visit
public void visit(BindMarkerNodeVisitor visitor)
Description copied from class:BindMarkerNode
Apply this node to the given visitor- Specified by:
visit
in classBindMarkerNode
-
checkTypeAndValue
public boolean checkTypeAndValue(java.lang.Object expectedValue)
Description copied from class:BindMarkerNode
Check that the value represented by this bind marker equals the type and value of the given expectedValue.- Specified by:
checkTypeAndValue
in classBindMarkerNode
- Returns:
-
toValueString
public java.lang.String toValueString(java.lang.String defaultValue)
Description copied from class:BindMarkerNode
Return a string of the value being represented by this bind marker, or the defaultValue if the internal value is null.- Specified by:
toValueString
in classBindMarkerNode
- Returns:
-
-