Interface QueryBuilder<T>

Type Parameters:
T - Type of value
All Known Subinterfaces:
QueryBuilder.Aggregating<T>, QueryBuilder.Filtering<T>, QueryBuilder.FilteringCriteria<T>, QueryBuilder.Grouping<T>, QueryBuilder.Paging<T>, QueryBuilder.Selecting<T>, QueryBuilder.Sorting<T>
All Known Implementing Classes:
GenericQuery.GenericBuilder, Query.Builder, TypedValueQuery.TypedValueBuilder

public interface QueryBuilder<T>

Interface 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 the interface which the method returns. This way is simulating a flow and the available valid configurations after the current configuration.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    This interface is available as a preview of functionality that will be added to the supported public API in a future release.
    static interface 
    This interface is available as a preview of functionality that will be added to the supported public API in a future release.
    static interface 
    This interface is available as a preview of functionality that will be added to the supported public API in a future release.
    static interface 
    This interface is available as a preview of functionality that will be added to the supported public API in a future release.
    static interface 
    This interface is available as a preview of functionality that will be added to the supported public API in a future release.
    static interface 
    This interface is available as a preview of functionality that will be added to the supported public API in a future release.
    static interface 
    This interface is available as a preview of functionality that will be added to the supported public API in a future release.
  • Method Summary

    Modifier and Type
    Method
    Description
    Produces a Query<T> instance at any point in time its called.
  • Method Details

    • build

      Query<T> build()
      Produces a Query<T> instance at any point in time its called.
      Returns:
      a Query<T> instance.