java.lang.Object
io.helidon.dbclient.common.DbClientContext
Context of the whole client.
This instance holds configuration and runtimes that are shared by any exec within this client runtime.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Fluent API builder forDbClientContext
.static class
A common base for builders for classes that want to extendDbClientContext
. -
Constructor Summary
ModifierConstructorDescriptionprotected
DbClientContext
(DbClientContext.BuilderBase<?> builder) Create an instance from builder. -
Method Summary
Modifier and TypeMethodDescriptionstatic DbClientContext.Builder
builder()
Create a new builder for context.Configured DB Mapper manager.invokeServices
(DbClientServiceContext dbContext) Invoke all configured client services and return a single that completes once all the client services complete.Configured mapper manager.Configured statements.
-
Constructor Details
-
DbClientContext
Create an instance from builder.- Parameters:
builder
- the builder base your builder must extend
-
-
Method Details
-
builder
Create a new builder for context.- Returns:
- a new builder instance
-
invokeServices
Invoke all configured client services and return a single that completes once all the client services complete.- Parameters:
dbContext
- context for client services- Returns:
- a single with the same or modified client service context
-
statements
Configured statements.- Returns:
- statements
-
dbMapperManager
Configured DB Mapper manager.- Returns:
- DB mapper manager
-
mapperManager
Configured mapper manager.- Returns:
- mapper manager
-