Package com.exasol.sql.expression
Class BigDecimalLiteral
- java.lang.Object
-
- com.exasol.util.AbstractTree
-
- com.exasol.util.AbstractBottomUpTreeNode
-
- com.exasol.sql.expression.AbstractValueExpression
-
- com.exasol.sql.expression.BigDecimalLiteral
-
- All Implemented Interfaces:
ValueExpression,TreeNode
public class BigDecimalLiteral extends AbstractValueExpression
This class represents BigDecimal literals.
-
-
Field Summary
-
Fields inherited from class com.exasol.util.AbstractTree
children, parent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ValueExpressionVisitor visitor)Accept a visitorBigDecimalgetValue()Get the value of theBigDecimalLiteral.static BigDecimalLiteralof(BigDecimal literal)Create a newBigDecimalLiteralfrom a BigDecimal.StringtoString()-
Methods inherited from class com.exasol.util.AbstractBottomUpTreeNode
addChild, getRoot, setParent
-
Methods inherited from class com.exasol.util.AbstractTree
getChild, getChildren, getParent, isChild, isFirstSibling, isRoot, isSibling
-
-
-
-
Method Detail
-
of
public static BigDecimalLiteral of(BigDecimal literal)
Create a newBigDecimalLiteralfrom a BigDecimal.- Parameters:
literal- content- Returns:
- new
StringLiteral
-
getValue
public BigDecimal getValue()
Get the value of theBigDecimalLiteral.- Returns:
- BigDecimal value
-
accept
public void accept(ValueExpressionVisitor visitor)
Description copied from interface:ValueExpressionAccept a visitor- Parameters:
visitor- visitor to accept
-
-