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 voidaccept(LiteralVisitor visitor)Accept aLiteralVisitor.doublegetValue()Get the value of theDoubleLiteralstatic DoubleLiteralof(double value)Create a newDoubleLiteralfrom a double.StringtoString()-
Methods inherited from class com.exasol.sql.expression.literal.AbstractLiteral
accept
-
-
-
-
Method Detail
-
of
public static DoubleLiteral of(double value)
Create a newDoubleLiteralfrom 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:LiteralAccept aLiteralVisitor.- Parameters:
visitor- visitor to accept
-
-