Class GenericQuery.GenericBuilder

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

public static final class GenericQuery.GenericBuilder extends Query.Builder<Object> implements QueryBuilderTools
A class for incrementally build a GenericQuery.

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.