Package com.appiancorp.common.query
Interface QueryBuilder.Sorting<T>
- Type Parameters:
T
- Type of value
- All Superinterfaces:
QueryBuilder<T>
- All Known Subinterfaces:
QueryBuilder.Aggregating<T>
,QueryBuilder.Filtering<T>
,QueryBuilder.FilteringCriteria<T>
,QueryBuilder.Grouping<T>
,QueryBuilder.Paging<T>
,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 Sorting.
-
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 TypeMethodDescriptionsortBy
(ReadOnlySortInfo... sortInfos) Defines the query's sorting informationDefines the query's sorting informationsortBy
(com.google.common.collect.ImmutableList<ReadOnlySortInfo> sortInfos) Defines the query's sorting informationDefines the query's sorting informationMethods inherited from interface com.appiancorp.common.query.QueryBuilder
build
-
Method Details
-
sortBy
Defines the query's sorting information- Parameters:
sortInfos
- the array ofSortInfo
which the query is going to use to determine the order of the result data.- Returns:
- the
QueryBuilder<T>
which can produce aQuery<T>
instance.
-
sortBy
Defines the query's sorting information- Parameters:
sortInfos
- the list ofSortInfo
which the query is going to use to determine the order of the result data.- Returns:
- the
QueryBuilder<T>
which can produce aQuery<T>
instance.
-
sortBy
Defines the query's sorting information- Parameters:
sortInfos
- the array ofReadOnlySortInfo
which the query is going to use to determine the order of the result data.- Returns:
- the
QueryBuilder<T>
which can produce aQuery<T>
instance.
-
sortBy
Defines the query's sorting information- Parameters:
sortInfos
- the list ofReadOnlySortInfo
which the query is going to use to determine the order of the result data.- Returns:
- the
QueryBuilder<T>
which can produce aQuery<T>
instance.
-