Package net.sf.jsqlparser.expression
Class ExtractExpression
java.lang.Object
net.sf.jsqlparser.parser.ASTNodeAccessImpl
net.sf.jsqlparser.expression.ExtractExpression
- All Implemented Interfaces:
Serializable
,Expression
,Model
,ASTNodeAccess
Extract value from date/time expression. The name stores the part - name to get from the
following date/time expression.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ExpressionVisitor expressionVisitor) <E extends Expression>
EgetExpression
(Class<E> type) getName()
void
setExpression
(Expression expression) void
toString()
withExpression
(Expression expression) 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
-
name
-
expression
-
-
Constructor Details
-
ExtractExpression
public ExtractExpression()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceExpression
-
getName
-
setName
-
getExpression
-
setExpression
-
toString
-
withName
-
withExpression
-
getExpression
-