ApplyInterceptor extension

Extension to wrap a QueryExecutor with a QueryInterceptor.

on

Methods

interceptWith(QueryInterceptor interceptor) QueryExecutor

Available on QueryExecutor, provided by the ApplyInterceptor extension

Returns a QueryExecutor that will use this executor internally, but with calls intercepted by the given interceptor.