Class DbClientContext.BuilderBase<T extends DbClientContext.BuilderBase<T>>

java.lang.Object
io.helidon.dbclient.common.DbClientContext.BuilderBase<T>
Type Parameters:
T - type of the builder extending this builder, to keep fluent API
Direct Known Subclasses:
DbClientContext.Builder
Enclosing class:
DbClientContext

public static class DbClientContext.BuilderBase<T extends DbClientContext.BuilderBase<T>> extends Object
A common base for builders for classes that want to extend DbClientContext.
  • Constructor Details

    • BuilderBase

      protected BuilderBase()
      No-op constructor.
  • Method Details

    • dbMapperManager

      public T dbMapperManager(DbMapperManager dbMapperManager)
      Configure the DB mapper manager to use.
      Parameters:
      dbMapperManager - DB mapper manager
      Returns:
      updated builder instance
    • mapperManager

      public T mapperManager(MapperManager mapperManager)
      Configure the mapper manager to use.
      Parameters:
      mapperManager - mapper manager
      Returns:
      updated builder instance
    • clientServices

      public T clientServices(List<DbClientService> clientServices)
      Configure the client services to use.
      Parameters:
      clientServices - client service list
      Returns:
      updated builder instance
    • statements

      public T statements(DbStatements statements)
      Configure the db statements to use.
      Parameters:
      statements - statements
      Returns:
      updated builder instance