java.lang.Object
io.helidon.dbclient.DbClientContext
- All Implemented Interfaces:
DbContext
Helidon database client context.
This instance holds configuration and runtimes that are shared by any execution
within this client runtime.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder forDbClientContext
.static class
DbClientContext.BuilderBase<B extends DbClientContext.BuilderBase<B,
T>, T extends DbClientContext> Base builder forDbClientContext
. -
Constructor Summary
ModifierConstructorDescriptionprotected
DbClientContext
(DbClientContext.BuilderBase<? extends DbClientContext.BuilderBase<?, ? extends DbClientContext>, ? extends DbClientContext> builder) Create an instance of client context. -
Method Summary
Modifier and TypeMethodDescriptionstatic DbClientContext.Builder
builder()
Create Helidon database client context builder.Configured client services (interceptors).Configured DB Mapper manager.dbType()
Type of this database provider (such as jdbc:mysql, mongoDB etc.).Configured mapper manager.boolean
Configured missing values in named parametersMap
handling.Configured statements.
-
Constructor Details
-
DbClientContext
protected DbClientContext(DbClientContext.BuilderBase<? extends DbClientContext.BuilderBase<?, ? extends DbClientContext>, ? extends DbClientContext> builder) Create an instance of client context.- Parameters:
builder
- Builder forDbClientContext
-
-
Method Details
-
missingMapParametersAsNull
public boolean missingMapParametersAsNull()Description copied from interface:DbContext
Configured missing values in named parametersMap
handling.- Specified by:
missingMapParametersAsNull
in interfaceDbContext
- Returns:
- when set to
true
, named parameters value missing in theMap
is considered asnull
, when set tofalse
, any parameter value missing in theMap
will cause an exception.
-
statements
Description copied from interface:DbContext
Configured statements.- Specified by:
statements
in interfaceDbContext
- Returns:
- statements
-
dbMapperManager
Description copied from interface:DbContext
Configured DB Mapper manager.- Specified by:
dbMapperManager
in interfaceDbContext
- Returns:
- DB mapper manager
-
mapperManager
Description copied from interface:DbContext
Configured mapper manager.- Specified by:
mapperManager
in interfaceDbContext
- Returns:
- mapper manager
-
clientServices
Description copied from interface:DbContext
Configured client services (interceptors).- Specified by:
clientServices
in interfaceDbContext
- Returns:
- client services
-
dbType
Type of this database provider (such as jdbc:mysql, mongoDB etc.). -
builder
Create Helidon database client context builder.- Returns:
- database client context builder
-