org.qi4j.spi.query

## Interface QuerySource

-     public interface QuerySource

  Query Source, used in QueryBuilder SPI.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> long` | `count(Class<T> resultType, Specification<Composite> whereClause, Iterable<OrderBy> orderBySegments, Integer firstResult, Integer maxResults, Map<String,Object> variables)`
    `<T> T` | `find(Class<T> resultType, Specification<Composite> whereClause, Iterable<OrderBy> orderBySegments, Integer firstResult, Integer maxResults, Map<String,Object> variables)`
    `<T> Iterator<T>` | `iterator(Class<T> resultType, Specification<Composite> whereClause, Iterable<OrderBy> orderBySegments, Integer firstResult, Integer maxResults, Map<String,Object> variables)`

- - ### Method Detail

    - #### find

          <T> T find(Class<T> resultType,
                   Specification<Composite> whereClause,
                   Iterable<OrderBy> orderBySegments,
                   Integer firstResult,
                   Integer maxResults,
                   Map<String,Object> variables)

    - #### count

          <T> long count(Class<T> resultType,
                       Specification<Composite> whereClause,
                       Iterable<OrderBy> orderBySegments,
                       Integer firstResult,
                       Integer maxResults,
                       Map<String,Object> variables)

    - #### iterator

          <T> Iterator<T> iterator(Class<T> resultType,
                                 Specification<Composite> whereClause,
                                 Iterable<OrderBy> orderBySegments,
                                 Integer firstResult,
                                 Integer maxResults,
                                 Map<String,Object> variables)