Class Query.Builder<T>

java.lang.Object
com.appiancorp.common.query.Query.Builder<T>
All Implemented Interfaces:
QueryBuilder<T>, QueryBuilder.Aggregating<T>, QueryBuilder.Filtering<T>, QueryBuilder.FilteringCriteria<T>, QueryBuilder.Grouping<T>, QueryBuilder.Paging<T>, QueryBuilder.Selecting<T>, QueryBuilder.Sorting<T>
Direct Known Subclasses:
GenericQuery.GenericBuilder, TypedValueQuery.TypedValueBuilder
Enclosing class:
Query<T>

A class for incrementally build a Query.

The objective of this builder is to help the developer to construct a Query in a more organic way to ease development and avoid invalid configurations.

Each method returns the same Builder instance, but it is bound by interface which the method returns. This way is simulating a flow and the available valid configurations after the current configuration.