Package com.exasol.sql.expression
Class IntegerLiteral
- java.lang.Object
-
- com.exasol.util.AbstractTree
-
- com.exasol.util.AbstractBottomUpTreeNode
-
- com.exasol.sql.expression.AbstractValueExpression
-
- com.exasol.sql.expression.IntegerLiteral
-
- All Implemented Interfaces:
ValueExpression,TreeNode
public final class IntegerLiteral extends AbstractValueExpression
This class represents integer 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 visitorintgetValue()Get the value of theIntegerLiteral.static IntegerLiteralof(int value)Create a newIntegerLiteralfrom an integer.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 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(ValueExpressionVisitor visitor)
Description copied from interface:ValueExpressionAccept a visitor- Parameters:
visitor- visitor to accept
-
-