Module io.helidon.dbclient
Package io.helidon.dbclient
Class DbClientContext.BuilderBase<B extends DbClientContext.BuilderBase<B,T>,T extends DbClientContext>
java.lang.Object
io.helidon.dbclient.DbClientContext.BuilderBase<B,T>
- Type Parameters:
B
- type of the builderT
- type of the built instance
- Direct Known Subclasses:
DbClientContext.Builder
- Enclosing class:
DbClientContext
public abstract static class DbClientContext.BuilderBase<B extends DbClientContext.BuilderBase<B,T>,T extends DbClientContext>
extends Object
implements Builder<B,T>
Base builder for
DbClientContext
.-
Constructor Summary
-
Method Summary
Modifier 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
(MapperManager mapperManager) Configure the mapper manager to use.missingMapParametersAsNull
(boolean missingMapParametersAsNull) Missing values in named parametersMap
are considered as null values.statements
(DbStatements statements) Configure the db statements to use.
-
Constructor Details
-
BuilderBase
protected BuilderBase()Creates an instance of base builder forDbClientContext
.
-
-
Method Details
-
dbMapperManager
Configure the DB mapper manager to use.- Parameters:
dbMapperManager
- DB mapper manager- Returns:
- updated builder instance
-
mapperManager
Configure the mapper manager to use.- Parameters:
mapperManager
- mapper manager- Returns:
- updated builder instance
-
clientServices
Configure the client services to use.- Parameters:
clientServices
- client service list- Returns:
- updated builder instance
-
missingMapParametersAsNull
Missing values in named parametersMap
are considered as null values. When set totrue
, named parameters value missing in theMap
is considered asnull
. When set tofalse
, any parameter value missing in theMap
will cause an exception.- Parameters:
missingMapParametersAsNull
- whether missing values in named parametersMap
are considered as null values- Returns:
- updated builder instance
-
statements
Configure the db statements to use.- Parameters:
statements
- statements- Returns:
- updated builder instance
-
dbType
Configure the type of this database provider.- Parameters:
dbType
- database provider type- Returns:
- updated builder instance
-