Interface DbClientService

All Known Implementing Classes:
DbClientServiceBase, DbClientTracing
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DbClientService
Services can modify the data used to execute a statement as well as react on a statement result.

Example of such services: tracing, metrics.

Order of execution of services is based on the order they are registered in a builder, or by their priority when loaded from a Java Service loader

  • Method Details

    • statement

      Statement execution to be intercepted. This method is called before the statement execution starts.
      Parameters:
      context - interceptor context
      Returns:
      updated interceptor context