Class LongLiteral
- java.lang.Object
-
- com.exasol.sql.expression.literal.AbstractLiteral
-
- com.exasol.sql.expression.literal.LongLiteral
-
- All Implemented Interfaces:
Literal
,ValueExpression
public class LongLiteral extends AbstractLiteral
This class represents long literals.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(LiteralVisitor visitor)
Accept aLiteralVisitor
.long
getValue()
Get the value of theLongLiteral
static LongLiteral
of(long value)
Create a newLongLiteral
from a long.String
toString()
-
Methods inherited from class com.exasol.sql.expression.literal.AbstractLiteral
accept
-
-
-
-
Method Detail
-
of
public static LongLiteral of(long value)
Create a newLongLiteral
from a long.- Parameters:
value
- content- Returns:
- new
LongLiteral
-
getValue
public long getValue()
Get the value of theLongLiteral
- Returns:
- long value
-
accept
public void accept(LiteralVisitor visitor)
Description copied from interface:Literal
Accept aLiteralVisitor
.- Parameters:
visitor
- visitor to accept
-
-