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 TypeMethodDescriptionSupply the executor instance to use for supported queries.booleansupports(ProjectionQuery<?> query) Determine whether this provider can handle the supplied query.
-
Method Details
-
supports
Determine whether this provider can handle the supplied query.- Parameters:
query- the projection query- Returns:
trueif this provider can handle the query
-
getExecutor
ProjectionExecutor getExecutor()Supply the executor instance to use for supported queries.- Returns:
- the projection executor
-