Module io.github.mmm.entity.bean
Class GroupBy<E extends EntityBean>
- java.lang.Object
-
- io.github.mmm.marshall.AbstractMarshallingObject
-
- io.github.mmm.entity.bean.sql.AbstractClause
-
- io.github.mmm.entity.bean.sql.AbstractTypedClause<E,SELF>
-
- io.github.mmm.entity.bean.sql.PropertyClause<E,GroupBy<E>>
-
- io.github.mmm.entity.bean.sql.select.GroupBy<E>
-
- Type Parameters:
E- type of theentity.
- All Implemented Interfaces:
Clause,MainClause<E>,ClauseWithHaving<E>,ClauseWithOrderBy<E>,TypedClause<E>,io.github.mmm.marshall.MarshallableObject,io.github.mmm.marshall.Marshaller<Object>,io.github.mmm.marshall.Marshalling<Object>,io.github.mmm.marshall.MarshallingObject,io.github.mmm.marshall.UnmarshallableObject,io.github.mmm.marshall.Unmarshaller<Object>
public class GroupBy<E extends EntityBean> extends PropertyClause<E,GroupBy<E>> implements ClauseWithHaving<E>, ClauseWithOrderBy<E>
- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME_GROUP_BYName ofGroupByfor marshaling.
-
Constructor Summary
Constructors Constructor Description GroupBy(SelectStatement<E> statement)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectStatement<E>get()protected StringgetMarshallingName()booleanisOmit()-
Methods inherited from class io.github.mmm.entity.bean.sql.PropertyClause
and, and, getProperties
-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractTypedClause
self
-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractClause
readProperty, toString, writeProperties
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.entity.bean.sql.select.ClauseWithHaving
having, having
-
Methods inherited from interface io.github.mmm.entity.bean.sql.select.ClauseWithOrderBy
orderBy, orderBy
-
-
-
-
Field Detail
-
NAME_GROUP_BY
public static final String NAME_GROUP_BY
Name ofGroupByfor marshaling.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GroupBy
public GroupBy(SelectStatement<E> statement)
The constructor.- Parameters:
statement- the owningSelectStatement.
-
-
Method Detail
-
getMarshallingName
protected String getMarshallingName()
- Specified by:
getMarshallingNamein classAbstractClause- Returns:
- the name of the property for this clause.
-
isOmit
public boolean isOmit()
-
get
public SelectStatement<E> get()
- Specified by:
getin interfaceClauseWithHaving<E extends EntityBean>- Specified by:
getin interfaceClauseWithOrderBy<E extends EntityBean>- Specified by:
getin interfaceMainClause<E extends EntityBean>- Returns:
- the actual
Statementcontaining allClauses and representing your entire SQL.
-
-