Package com.exasol.sql.expression
Class FloatLiteral
- java.lang.Object
-
- com.exasol.util.AbstractTree
-
- com.exasol.util.AbstractBottomUpTreeNode
-
- com.exasol.sql.expression.AbstractValueExpression
-
- com.exasol.sql.expression.FloatLiteral
-
- All Implemented Interfaces:
ValueExpression,TreeNode
public class FloatLiteral extends AbstractValueExpression
This class represents float 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 visitorfloatgetValue()Get the value of theFloatLiteralstatic FloatLiteralof(float value)Create a newFloatLiteralfrom a float.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 FloatLiteral of(float value)
Create a newFloatLiteralfrom a float.- Parameters:
value- content- Returns:
- new
FloatLiteral
-
getValue
public float getValue()
Get the value of theFloatLiteral- Returns:
- float value
-
accept
public void accept(ValueExpressionVisitor visitor)
Description copied from interface:ValueExpressionAccept a visitor- Parameters:
visitor- visitor to accept
-
-