public class GroupExpression
extends ProcessExpression
Represents group by expression
| Fields inherited from class | Fields |
|---|---|
class Expression |
EMPTY_ARRAY |
| Constructor and description |
|---|
GroupExpression(Expression classifierExpr)Creates a groupby clause. |
| Type Params | Return Type | Name and description |
|---|---|---|
<R> |
public R |
accept(GinqAstVisitor<R> visitor)Accepts a visitor for this clause. |
|
public Expression |
getClassifierExpr()Returns the grouping classifier. |
|
public HavingExpression |
getHavingExpression()Returns the optional having clause. |
|
public String |
getIntoAlias()Returns the into alias. |
|
public String |
getText()Returns the textual GINQ form of this clause. |
|
public void |
setHavingExpression(HavingExpression havingExpression)Sets the optional having clause. |
|
public void |
setIntoAlias(String intoAlias)Sets the into alias. |
|
public String |
toString()Returns the textual form of this clause. |
| Methods inherited from class | Name |
|---|---|
class ProcessExpression |
getDataSourceExpression, setDataSourceExpression |
class AbstractGinqExpression |
accept, transformExpression, visit |
class Expression |
getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode |
addAnnotation, addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Creates a groupby clause.
classifierExpr - the grouping classifierAccepts a visitor for this clause.
visitor - the visitor to acceptR - the visit result typeReturns the grouping classifier.
Returns the optional having clause.
having clause, or null Returns the into alias.
nullReturns the textual GINQ form of this clause.
Sets the optional having clause.
havingExpression - the clause to set Sets the into alias.
intoAlias - the alias to setReturns the textual form of this clause.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.