Uses of Interface
io.helidon.dbclient.DbClientServiceContext
Package
Description
Helidon Database Client API.
JDBC client for Helidon.
Tracing support for Helidon Database Client.
-
Uses of DbClientServiceContext in io.helidon.dbclient
Modifier and TypeClassDescriptionclass
Interceptor context to get (and possibly manipulate) database operations.Modifier and TypeMethodDescriptionprotected abstract DbClientServiceContext
DbClientServiceBase.apply
(DbClientServiceContext context) This method is only invoked if the predicate for this service was passed.Set a new context to be used by other interceptors and when executing the statement.static DbClientServiceContext
DbClientServiceContext.create
(DbExecuteContext execContext, DbStatementType stmtType, CompletionStage<Void> stmtFuture, CompletionStage<Long> queryFuture, DbStatementParameters stmtParams) Create a new client service context.DbClientServiceContext.parameters
(List<Object> parameters) Set new indexed parameters to be used.DbClientServiceContext.parameters
(Map<String, Object> parameters) Set new named parameters to be used.DbClientService.statement
(DbClientServiceContext context) Statement execution to be intercepted.final DbClientServiceContext
DbClientServiceBase.statement
(DbClientServiceContext context) Set a new statement to be used.Set a new statement with indexed parameters to be used.Set a new statement with named parameters to be used.DbClientServiceContext.statementName
(String name) Set a new statement name to be used.Modifier and TypeMethodDescriptionprotected Predicate
<DbClientServiceContext> DbClientServiceBase.BuilderBase.predicate()
Predicate used to build a client service.Modifier and TypeMethodDescriptionprotected abstract DbClientServiceContext
DbClientServiceBase.apply
(DbClientServiceContext context) This method is only invoked if the predicate for this service was passed.DbClientService.statement
(DbClientServiceContext context) Statement execution to be intercepted.final DbClientServiceContext
DbClientServiceBase.statement
(DbClientServiceContext context) Modifier and TypeMethodDescriptionprotected <T> T
DbStatementBase.doExecute
(BiFunction<CompletableFuture<Long>, DbClientServiceContext, T> function) Execute the statement with interception.DbClientServiceBase.BuilderBase.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.jdbc
Modifier and TypeMethodDescriptionprotected PreparedStatement
JdbcStatement.prepareStatement
(DbClientServiceContext serviceContext) Create thePreparedStatement
. -
Uses of DbClientServiceContext in io.helidon.dbclient.tracing
Modifier and TypeMethodDescriptionprotected DbClientServiceContext
DbClientTracing.apply
(DbClientServiceContext serviceContext) Modifier and TypeMethodDescriptionprotected DbClientServiceContext
DbClientTracing.apply
(DbClientServiceContext serviceContext)