Class DoubleLiteral
- java.lang.Object
-
- com.exasol.sql.expression.literal.AbstractLiteral
-
- com.exasol.sql.expression.literal.DoubleLiteral
-
- All Implemented Interfaces:
Literal
,ValueExpression
public class DoubleLiteral extends AbstractLiteral
This class represents double literals.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(LiteralVisitor visitor)
Accept aLiteralVisitor
.double
getValue()
Get the value of theDoubleLiteral
static DoubleLiteral
of(double value)
Create a newDoubleLiteral
from a double.String
toString()
-
Methods inherited from class com.exasol.sql.expression.literal.AbstractLiteral
accept
-
-
-
-
Method Detail
-
of
public static DoubleLiteral of(double value)
Create a newDoubleLiteral
from a double.- Parameters:
value
- content- Returns:
- new
DoubleLiteral
-
getValue
public double getValue()
Get the value of theDoubleLiteral
- Returns:
- double value
-
accept
public void accept(LiteralVisitor visitor)
Description copied from interface:Literal
Accept aLiteralVisitor
.- Parameters:
visitor
- visitor to accept
-
-