Package com.appiancorp.common.query
Interface QueryBuilder.Grouping<T>
- Type Parameters:
T
- Type of value
- All Superinterfaces:
QueryBuilder<T>
,QueryBuilder.Aggregating<T>
,QueryBuilder.Paging<T>
,QueryBuilder.Sorting<T>
- All Known Subinterfaces:
QueryBuilder.Selecting<T>
- All Known Implementing Classes:
GenericQuery.GenericBuilder
,Query.Builder
,TypedValueQuery.TypedValueBuilder
- Enclosing interface:
- QueryBuilder<T>
This interface is available as a preview of functionality that will be added to the supported public API in a future release. While it is in the preview phase, it is subject to change or removal without deprecation or notice. Although notice of change is not guaranteed, we will try to let developers know of major changes through announcements in release notes.
Restricts path after Grouping.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.appiancorp.common.query.QueryBuilder
QueryBuilder.Aggregating<T>, QueryBuilder.Filtering<T>, QueryBuilder.FilteringCriteria<T>, QueryBuilder.Grouping<T>, QueryBuilder.Paging<T>, QueryBuilder.Selecting<T>, QueryBuilder.Sorting<T>
-
Method Summary
Modifier and TypeMethodDescriptionObtains the set of operations allowed afterQueryBuilder.Grouping<T>
groupBy
(ColumnAlias... alias) Obtains the set of operations allowed afterQueryBuilder.Grouping<T>
Obtains the set of operations allowed afterQueryBuilder.Grouping<T>
Methods inherited from interface com.appiancorp.common.query.QueryBuilder
build
Methods inherited from interface com.appiancorp.common.query.QueryBuilder.Aggregating
aggregate, aggregate, project
Methods inherited from interface com.appiancorp.common.query.QueryBuilder.Paging
page, page
Methods inherited from interface com.appiancorp.common.query.QueryBuilder.Sorting
sortBy, sortBy, sortBy, sortBy
-
Method Details
-
groupBy
Obtains the set of operations allowed afterQueryBuilder.Grouping<T>
- Parameters:
c
- the array ofColumn
which the query is going to group by.- Returns:
- the
QueryBuilder.Aggregating<T>
interface with the set of operations allowed afterQueryBuilder.Grouping<T>
-
groupBy
Obtains the set of operations allowed afterQueryBuilder.Grouping<T>
- Parameters:
alias
- the array ofColumnAlias
which the query is going to group by.- Returns:
- the
QueryBuilder.Aggregating<T>
interface with the set of operations allowed afterQueryBuilder.Grouping<T>
-
groupBy
Obtains the set of operations allowed afterQueryBuilder.Grouping<T>
- Parameters:
c
- the array of column names which the query is going to group by.- Returns:
- the
QueryBuilder.Aggregating<T>
interface with the set of operations allowed afterQueryBuilder.Grouping<T>
-