Uses of Interface
io.helidon.dbclient.DbClientServiceContext
Package
Description
Reactive Database API for Helidon.
Helper classes to use in various implementations.
Helidon DB integration for reactive mongoDB.
Tracing support for Helidon DB.
-
Uses of DbClientServiceContext in io.helidon.dbclient
Modifier and TypeMethodDescriptionSet a new context to be used by other interceptors and when executing the statement.static DbClientServiceContext
Create a new interceptor context for a database provider.DbClientServiceContext.parameters
(List<Object> indexedParameters) Set new indexed parameters to be used.DbClientServiceContext.parameters
(Map<String, Object> namedParameters) Set new named parameters to be used.DbClientServiceContext.resultFuture
(CompletionStage<Long> queryFuture) Set a new future to mark completion of the result (e.g.Set a new statement with indexed parameters to be used.Set a new statement with named parameters to be used.DbClientServiceContext.statementFuture
(CompletionStage<Void> statementFuture) Set a new future to mark completion of the statement.DbClientServiceContext.statementName
(String newName) Set a new statement name to be used.DbClientServiceContext.statementType
(DbStatementType type) Set the type of the statement.Modifier and TypeMethodDescriptionDbClientService.statement
(DbClientServiceContext context) Statement execution to be intercepted.Modifier and TypeMethodDescriptionDbClientService.statement
(DbClientServiceContext context) Statement execution to be intercepted. -
Uses of DbClientServiceContext in io.helidon.dbclient.common
Modifier and TypeMethodDescriptionprotected abstract Single<DbClientServiceContext>
DbClientServiceBase.apply
(DbClientServiceContext context) This method is only invoked if the predicate for this service was passed.DbClientContext.invokeServices
(DbClientServiceContext dbContext) Invoke all configured client services and return a single that completes once all the client services complete.protected Predicate<DbClientServiceContext>
DbClientServiceBase.DbClientServiceBuilderBase.predicate()
Predicate used to build a client service.final Single<DbClientServiceContext>
DbClientServiceBase.statement
(DbClientServiceContext context) Modifier and TypeMethodDescriptionprotected abstract Single<DbClientServiceContext>
DbClientServiceBase.apply
(DbClientServiceContext context) This method is only invoked if the predicate for this service was passed.DbClientContext.invokeServices
(DbClientServiceContext dbContext) Invoke all configured client services and return a single that completes once all the client services complete.final Single<DbClientServiceContext>
DbClientServiceBase.statement
(DbClientServiceContext context) protected void
AbstractStatement.update
(DbClientServiceContext dbContext) Update the client service context with the statement name, statement and statement parameters.Modifier and TypeMethodDescriptionprotected abstract R
AbstractStatement.doExecute
(Single<DbClientServiceContext> dbContext, CompletableFuture<Void> statementFuture, CompletableFuture<Long> queryFuture) Execute the statement against the database.DbClientServiceBase.DbClientServiceBuilderBase.statementPredicate
(Predicate<DbClientServiceContext> predicate) Configure a predicate whose result will be used to decide whether to trigger this service or not. -
Uses of DbClientServiceContext in io.helidon.dbclient.mongodb
Modifier and TypeMethodDescriptionMongoDbStatementDml.doExecute
(Single<DbClientServiceContext> dbContext, CompletableFuture<Void> statementFuture, CompletableFuture<Long> queryFuture) -
Uses of DbClientServiceContext in io.helidon.dbclient.tracing
Modifier and TypeMethodDescriptionprotected Single<DbClientServiceContext>
DbClientTracing.apply
(DbClientServiceContext serviceContext) Modifier and TypeMethodDescriptionprotected Single<DbClientServiceContext>
DbClientTracing.apply
(DbClientServiceContext serviceContext)