return this;\r
}\r
\r
+ /**\r
+ * Group by primitive boolean field\r
+ *\r
+ * @param field\r
+ * a primitive boolean field\r
+ * @return the query\r
+ */\r
+ public QueryWhere<T> groupBy(boolean field) {\r
+ query.getFrom().getAliasDefinition().checkMultipleBooleans();\r
+ return groupByPrimitive(field);\r
+ }\r
+\r
+ /**\r
+ * Group by primitive byte field\r
+ *\r
+ * @param field\r
+ * a primitive byte field\r
+ * @return the query\r
+ */\r
+ public QueryWhere<T> groupBy(byte field) {\r
+ return groupByPrimitive(field);\r
+ }\r
+\r
+ /**\r
+ * Group by primitive short field\r
+ *\r
+ * @param field\r
+ * a primitive short field\r
+ * @return the query\r
+ */\r
+ public QueryWhere<T> groupBy(short field) {\r
+ return groupByPrimitive(field);\r
+ }\r
+\r
+ public QueryWhere<T> groupBy(int field) {\r
+ return groupByPrimitive(field);\r
+ }\r
+\r
+ /**\r
+ * Group by primitive long field\r
+ *\r
+ * @param field\r
+ * a primitive long field\r
+ * @return the query\r
+ */\r
+ public QueryWhere<T> groupBy(long field) {\r
+ return groupByPrimitive(field);\r
+ }\r
+\r
+ /**\r
+ * Group by primitive float field\r
+ *\r
+ * @param field\r
+ * a primitive float field\r
+ * @return the query\r
+ */\r
+ public QueryWhere<T> groupBy(float field) {\r
+ return groupByPrimitive(field);\r
+ }\r
+\r
+ /**\r
+ * Group by primitive double field\r
+ *\r
+ * @param field\r
+ * a primitive double field\r
+ * @return the query\r
+ */\r
+ public QueryWhere<T> groupBy(double field) {\r
+ return groupByPrimitive(field);\r
+ }\r
+\r
+ private QueryWhere<T> groupByPrimitive(Object field) {\r
+ query.groupByPrimitive(field);\r
+ return this;\r
+ }\r
+\r
+ public QueryWhere<T> groupBy(Object field) {\r
+ query.getFrom().getAliasDefinition().checkMultipleEnums(field);\r
+ query.groupBy(field);\r
+ return this;\r
+ }\r
+\r
+ /**\r
+ * Group by a number of Object columns.\r
+ *\r
+ * @param expressions\r
+ * the group by expressions\r
+ * @return the query\r
+ */\r
+\r
+ public QueryWhere<T> groupBy(Object... expressions) {\r
+ query.groupBy(expressions);\r
+ return this;\r
+ }\r
+\r
public int delete() {\r
return query.delete();\r
}\r