Interface ProjectionExecutorProvider

All Known Implementing Classes:
JpaProjectionExecutorProvider, QuerydslProjectionExecutorProvider

public interface ProjectionExecutorProvider
Allows registration of ProjectionExecutor implementations. Implementations can decide if they support a given ProjectionQuery and supply an executor to handle it.
  • Method Summary

    Modifier and Type
    Method
    Description
    Supply the executor instance to use for supported queries.
    boolean
    Determine whether this provider can handle the supplied query.
  • Method Details

    • supports

      boolean supports(ProjectionQuery<?> query)
      Determine whether this provider can handle the supplied query.
      Parameters:
      query - the projection query
      Returns:
      true if this provider can handle the query
    • getExecutor

      ProjectionExecutor getExecutor()
      Supply the executor instance to use for supported queries.
      Returns:
      the projection executor