Type Parameters:
T - Entity-Type to query
All Known Implementing Classes:
CountQueryExecutor, ExistsQueryExecutor, ListQueryExecutor, PageableQueryExecutor, SingleOptionalQueryExecutor, SingleQueryExecutor

public interface QueryExecutor<T>
Queries the actual entities from the original entities.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(Class<T> clazz, EntityProvider<T,?> entities, Object[] values)
    Executes the created query over entities.
  • Method Details

    • execute

      Object execute(Class<T> clazz, EntityProvider<T,?> entities, Object[] values)
      Executes the created query over entities.

      The result is always a working copy of the entities.

      Parameters:
      clazz - of the entities
      entities - where the query is executed on
      values - for the query. These are values that might be compared to entities.
      Returns:
      entities/entity on which the conditions match.