Class FloatLiteral
- java.lang.Object
-
- com.exasol.sql.expression.literal.AbstractLiteral
-
- com.exasol.sql.expression.literal.FloatLiteral
-
- All Implemented Interfaces:
Literal,ValueExpression
public class FloatLiteral extends AbstractLiteral
This class represents float literals.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(LiteralVisitor visitor)Accept aLiteralVisitor.floatgetValue()Get the value of theFloatLiteralstatic FloatLiteralof(float value)Create a newFloatLiteralfrom a float.StringtoString()-
Methods inherited from class com.exasol.sql.expression.literal.AbstractLiteral
accept
-
-
-
-
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(LiteralVisitor visitor)
Description copied from interface:LiteralAccept aLiteralVisitor.- Parameters:
visitor- visitor to accept
-
-