Class GinqExpression
java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.AnnotatedNode
org.codehaus.groovy.ast.expr.Expression
org.apache.groovy.ginq.dsl.expression.AbstractGinqExpression
org.apache.groovy.ginq.dsl.expression.GinqExpression
- All Implemented Interfaces:
GroovydocHolder<AnnotatedNode>
,NodeMetaDataHandler
Represents GINQ expression, which has the following structure:
ginq |__ from |__ [innerjoin/leftjoin/rightjoin/fulljoin/crossjoin]* | |__ on |__ [where] |__ [groupby] | |__ [having] |__ [orderby] |__ [limit] |__ select(Note: [ ] means optional)
- Since:
- 4.0.0
-
Field Summary
Fields inherited from class org.codehaus.groovy.ast.expr.Expression
EMPTY_ARRAY
Fields inherited from interface groovy.lang.groovydoc.GroovydocHolder
DOC_COMMENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<R> R
accept
(GinqAstVisitor<R> visitor) void
addJoinExpression
(JoinExpression joinExpression) getText()
void
setFromExpression
(FromExpression fromExpression) void
setGroupExpression
(GroupExpression groupExpression) void
setLimitExpression
(LimitExpression limitExpression) void
setOrderExpression
(OrderExpression orderExpression) void
setSelectExpression
(SelectExpression selectExpression) void
setWhereExpression
(WhereExpression whereExpression) toString()
void
visit
(GroovyCodeVisitor visitor) Methods inherited from class org.apache.groovy.ginq.dsl.expression.AbstractGinqExpression
transformExpression
Methods inherited from class org.codehaus.groovy.ast.expr.Expression
getType, setType, transformExpressions, transformExpressions
Methods inherited from class org.codehaus.groovy.ast.AnnotatedNode
addAnnotation, addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
Methods inherited from class org.codehaus.groovy.ast.ASTNode
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.codehaus.groovy.ast.NodeMetaDataHandler
copyNodeMetaData, getMetaDataMap, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setMetaDataMap, setNodeMetaData
-
Constructor Details
-
GinqExpression
public GinqExpression()
-
-
Method Details
-
visit
- Overrides:
visit
in classAbstractGinqExpression
-
accept
- Specified by:
accept
in classAbstractGinqExpression
-
getFromExpression
-
setFromExpression
-
getJoinExpressionList
-
addJoinExpression
-
setWhereExpression
-
getWhereExpression
-
getGroupExpression
-
setGroupExpression
-
getOrderExpression
-
setOrderExpression
-
getLimitExpression
-
setLimitExpression
-
getSelectExpression
-
setSelectExpression
-
getText
-
toString
-