Package com.exasol.sql.expression
Class DoubleLiteral
- java.lang.Object
-
- com.exasol.util.AbstractTree
-
- com.exasol.util.AbstractBottomUpTreeNode
-
- com.exasol.sql.expression.AbstractValueExpression
-
- com.exasol.sql.expression.DoubleLiteral
-
- All Implemented Interfaces:
ValueExpression,TreeNode
public class DoubleLiteral extends AbstractValueExpression
This class represents double 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 visitordoublegetValue()Get the value of theDoubleLiteralstatic DoubleLiteralof(double value)Create a newDoubleLiteralfrom a double.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 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(ValueExpressionVisitor visitor)
Description copied from interface:ValueExpressionAccept a visitor- Parameters:
visitor- visitor to accept
-
-