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 booleancheckTypeAndValue(java.lang.Object expectedValue)Check that the value represented by this bind marker equals the type and value of the given expectedValue.java.lang.StringtoValueString(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.voidvisit(BindMarkerNodeVisitor visitor)Apply this node to the given visitor<T> Tvisit(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:ExpNodeGeneric evaluation visitor- Returns:
-
visit
public void visit(BindMarkerNodeVisitor visitor)
Description copied from class:BindMarkerNodeApply this node to the given visitor- Specified by:
visitin classBindMarkerNode
-
checkTypeAndValue
public boolean checkTypeAndValue(java.lang.Object expectedValue)
Description copied from class:BindMarkerNodeCheck that the value represented by this bind marker equals the type and value of the given expectedValue.- Specified by:
checkTypeAndValuein classBindMarkerNode- Returns:
-
toValueString
public java.lang.String toValueString(java.lang.String defaultValue)
Description copied from class:BindMarkerNodeReturn a string of the value being represented by this bind marker, or the defaultValue if the internal value is null.- Specified by:
toValueStringin classBindMarkerNode- Returns:
-
-