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
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder forDbClientContext.static classDbClientContext.BuilderBase<B extends DbClientContext.BuilderBase<B,T>, T extends DbClientContext> Base builder forDbClientContext. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDbClientContext(DbClientContext.BuilderBase<? extends DbClientContext.BuilderBase<?, ? extends DbClientContext>, ? extends DbClientContext> builder) Create an instance of client context. -
Method Summary
Modifier and TypeMethodDescriptionstatic DbClientContext.Builderbuilder()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.booleanConfigured missing values in named parametersMaphandling.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:DbContextConfigured missing values in named parametersMaphandling.- Specified by:
missingMapParametersAsNullin interfaceDbContext- Returns:
- when set to
true, named parameters value missing in theMapis considered asnull, when set tofalse, any parameter value missing in theMapwill cause an exception.
-
statements
Description copied from interface:DbContextConfigured statements.- Specified by:
statementsin interfaceDbContext- Returns:
- statements
-
dbMapperManager
Description copied from interface:DbContextConfigured DB Mapper manager.- Specified by:
dbMapperManagerin interfaceDbContext- Returns:
- DB mapper manager
-
mapperManager
Description copied from interface:DbContextConfigured mapper manager.- Specified by:
mapperManagerin interfaceDbContext- Returns:
- mapper manager
-
clientServices
Description copied from interface:DbContextConfigured client services (interceptors).- Specified by:
clientServicesin 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
-