Class IntegerLiteral
- java.lang.Object
-
- com.exasol.sql.expression.literal.AbstractLiteral
-
- com.exasol.sql.expression.literal.IntegerLiteral
-
- All Implemented Interfaces:
Literal,ValueExpression
public final class IntegerLiteral extends AbstractLiteral
This class represents integer literals.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(LiteralVisitor visitor)Accept aLiteralVisitor.intgetValue()Get the value of theIntegerLiteral.static IntegerLiteralof(int value)Create a newIntegerLiteralfrom an integer.StringtoString()-
Methods inherited from class com.exasol.sql.expression.literal.AbstractLiteral
accept
-
-
-
-
Method Detail
-
of
public static IntegerLiteral of(int value)
Create a newIntegerLiteralfrom an integer.- Parameters:
value- content- Returns:
- new
IntegerLiteral
-
getValue
public int getValue()
Get the value of theIntegerLiteral.- Returns:
- integer value
-
accept
public void accept(LiteralVisitor visitor)
Description copied from interface:LiteralAccept aLiteralVisitor.- Parameters:
visitor- visitor to accept
-
-