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 void
accept(LiteralVisitor visitor)
Accept aLiteralVisitor
.float
getValue()
Get the value of theFloatLiteral
static FloatLiteral
of(float value)
Create a newFloatLiteral
from a float.String
toString()
-
Methods inherited from class com.exasol.sql.expression.literal.AbstractLiteral
accept
-
-
-
-
Method Detail
-
of
public static FloatLiteral of(float value)
Create a newFloatLiteral
from 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:Literal
Accept aLiteralVisitor
.- Parameters:
visitor
- visitor to accept
-
-