Package net.sf.jsqlparser.expression
Class IntervalExpression
java.lang.Object
net.sf.jsqlparser.parser.ASTNodeAccessImpl
net.sf.jsqlparser.expression.IntervalExpression
- All Implemented Interfaces:
Serializable
,Expression
,Model
,ASTNodeAccess
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Expression
private final boolean
private String
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ExpressionVisitor expressionVisitor) <E extends Expression>
EgetExpression
(Class<E> type) boolean
void
setExpression
(Expression expression) void
setIntervalType
(String intervalType) void
setParameter
(String parameter) toString()
withExpression
(Expression expression) withIntervalType
(String intervalType) withParameter
(String parameter) Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, setASTNode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.sf.jsqlparser.parser.ASTNodeAccess
getASTNode, setASTNode
-
Field Details
-
parameter
-
intervalType
-
intervalKeyword
private final boolean intervalKeyword -
expression
-
-
Constructor Details
-
IntervalExpression
public IntervalExpression() -
IntervalExpression
public IntervalExpression(boolean intervalKeyword)
-
-
Method Details
-
isUsingIntervalKeyword
public boolean isUsingIntervalKeyword() -
getParameter
-
setParameter
-
getIntervalType
-
setIntervalType
-
getExpression
-
setExpression
-
toString
-
accept
- Specified by:
accept
in interfaceExpression
-
withParameter
-
withIntervalType
-
withExpression
-
getExpression
-