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 void
accept(LiteralVisitor visitor)
Accept aLiteralVisitor
.BigDecimal
getValue()
Get the value of theBigDecimalLiteral
.static BigDecimalLiteral
of(BigDecimal literal)
Create a newBigDecimalLiteral
from a BigDecimal.String
toString()
-
Methods inherited from class com.exasol.sql.expression.literal.AbstractLiteral
accept
-
-
-
-
Method Detail
-
of
public static BigDecimalLiteral of(BigDecimal literal)
Create a newBigDecimalLiteral
from 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:Literal
Accept aLiteralVisitor
.- Parameters:
visitor
- visitor to accept
-
-