Class BigDecimalLiteral
- java.lang.Object
-
- com.exasol.sql.expression.literal.AbstractLiteral
-
- com.exasol.sql.expression.literal.BigDecimalLiteral
-
- All Implemented Interfaces:
Literal,ValueExpression
public class BigDecimalLiteral extends AbstractLiteral
This class represents BigDecimal literals.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(LiteralVisitor visitor)Accept aLiteralVisitor.BigDecimalgetValue()Get the value of theBigDecimalLiteral.static BigDecimalLiteralof(BigDecimal literal)Create a newBigDecimalLiteralfrom a BigDecimal.StringtoString()-
Methods inherited from class com.exasol.sql.expression.literal.AbstractLiteral
accept
-
-
-
-
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(LiteralVisitor visitor)
Description copied from interface:LiteralAccept aLiteralVisitor.- Parameters:
visitor- visitor to accept
-
-