code: public ProxyDataSourceBuilder beforeQuery(final SingleQueryExecution callback) {
          QueryExecutionListener listener = new NoOpQueryExecutionListener() {
              @Override
              public void beforeQuery(ExecutionInfo execInfo, List<QueryInfo> queryInfoList) {
                  callback.execute(execInfo, queryInfoList);
              }
          };
          this.queryExecutionListeners.add(listener);
          return this;
      }
docs: Add {@link QueryExecutionListener} that performs given lambda on {@link QueryExecutionListener#beforeQuery(ExecutionInfo, List)}.
  
  @param callback a lambda function executed on {@link QueryExecutionListener#beforeQuery(ExecutionInfo, List)}
  @return builder
  @since 1.4.3