Class BigDecimalBindMarkerNode
- java.lang.Object
-
- com.ibm.fhir.database.utils.query.node.BindMarkerNode
-
- com.ibm.fhir.database.utils.query.node.BigDecimalBindMarkerNode
-
- All Implemented Interfaces:
ExpNode
public class BigDecimalBindMarkerNode extends BindMarkerNode
A bind marker representing a BigDecimal value
-
-
Constructor Summary
Constructors Constructor Description BigDecimalBindMarkerNode(BigDecimal value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkTypeAndValue(Object expectedValue)
Check that the value represented by this bind marker equals the type and value of the given expectedValue.String
toValueString(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
-
-
-
-
Constructor Detail
-
BigDecimalBindMarkerNode
public BigDecimalBindMarkerNode(BigDecimal value)
-
-
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(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 String toValueString(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:
-
-