Package com.github.eikecochu.sqlbuilder
Interface BeforeGroupBy<T extends BeforeGroupBy<T>>
-
- Type Parameters:
T- the generic type returned by some fluent methods of this interface
- All Superinterfaces:
QueryPart,QueryPartLinked<T>,QueryPartSQL<T>
public interface BeforeGroupBy<T extends BeforeGroupBy<T>> extends QueryPart, QueryPartSQL<T>, QueryPartLinked<T>
Implemented by keywords that precede the GROUP BY statement.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default GroupBygroupBy()Continue query with GROUP BYdefault GroupBygroupBy(GroupBy groupBy)Accept an existing GROUP BY statement as predecessordefault GroupBygroupBy(java.lang.String... columns)Continue query with GROUP BYdefault GroupBygroupBySQL(java.lang.String sql)Use plain SQL to form this GROUP BY statement-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartLinked
ext, parent, parent
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartSQL
sql
-
-
-
-
Method Detail
-
groupBy
default GroupBy groupBy()
Continue query with GROUP BY- Returns:
- The new GROUP BY statement
-
groupBy
default GroupBy groupBy(java.lang.String... columns)
Continue query with GROUP BY- Parameters:
columns- The column names to group by- Returns:
- The new GROUP BY statement
-
groupBy
default GroupBy groupBy(GroupBy groupBy)
Accept an existing GROUP BY statement as predecessor- Parameters:
groupBy- The existing GROUP BY statement- Returns:
- Returns the passed GROUP BY statement
-
groupBySQL
default GroupBy groupBySQL(java.lang.String sql)
Use plain SQL to form this GROUP BY statement- Parameters:
sql- The sql string- Returns:
- The new GROUP BY statement
-
-