Class DbClientContext.Builder
java.lang.Object
io.helidon.dbclient.DbClientContext.BuilderBase<DbClientContext.Builder, DbClientContext>
io.helidon.dbclient.DbClientContext.Builder
- All Implemented Interfaces:
Builder<DbClientContext.Builder, DbClientContext>, Supplier<DbClientContext>
- Enclosing class:
DbClientContext
public static final class DbClientContext.Builder
extends DbClientContext.BuilderBase<DbClientContext.Builder, DbClientContext>
Builder for
DbClientContext.-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class DbClientContext.BuilderBase
clientServices, dbMapperManager, dbType, mapperManager, missingMapParametersAsNull, statementsModifier and TypeMethodDescriptionclientServices(List<DbClientService> clientServices) Configure the client services to use.dbMapperManager(DbMapperManager dbMapperManager) Configure the DB mapper manager to use.Configure the type of this database provider.mapperManager(Mappers mapperManager) Configure the mapper manager to use.missingMapParametersAsNull(boolean missingMapParametersAsNull) Missing values in named parametersMapare considered as null values.statements(DbStatements statements) Configure the db statements to use.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault DbClientContextget()default DbClientContext.Builderidentity()Instance of this builder as the correct type.default DbClientContext.Builderupdate(Consumer<DbClientContext.Builder> consumer) Update the builder in a fluent API way.
-
Constructor Details
-
Builder
Deprecated, for removal: This API element is subject to removal in a future version.useDbClientContext.builder()insteadCreates a new builder.
-
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Returns:
- instance of the built type
-
DbClientContext.builder()instead