Example usage for Java org.springframework.data.solr.core.query GroupOptions fields, constructors, methods, implement or subclass
The text is from its open source code.
GroupOptions | addGroupByField(Field field) Adds a group request for a Field . |
GroupOptions | addGroupByField(String fieldName) Adds a group request for a Field using its name. |
GroupOptions | addGroupByFunction(Function function) Adds a group request for a Function result. |
GroupOptions | addGroupByQuery(Query query) Adds a group request for a Query result. |
GroupOptions | addSort(@Nullable Sort sort) Adds Sort to instruct how to sort elements within a single group. |
int | getCachePercent() |
List | getGroupByFields() List of Field s to perform grouping by. |
List | getGroupByFunctions() List of Function s to perform grouping by. |
List | getGroupByQueries() List of Query s to perform grouping by. |
Integer | getLimit() |
Integer | getOffset() |
Sort | getSort() |
boolean | isGroupFacets() |
boolean | isGroupMain() |
boolean | isTotalCount() |
boolean | isTruncateFacets() |
GroupOptions | setLimit(Integer limit) Sets the number of rows to return for each group. |
GroupOptions | setOffset(@Nullable Integer offset) Sets the initial offset of each group. |
GroupOptions | setTotalCount(boolean groupCount) Defines whether the group count should be included in the response. |