Uses of Interface
io.helidon.dbclient.DbClientServiceContext
-
Packages that use DbClientServiceContext Package Description io.helidon.dbclient Reactive Database API for Helidon.io.helidon.dbclient.common Helper classes to use in various implementations.io.helidon.dbclient.mongodb Helidon DB integration for reactive mongoDB.io.helidon.dbclient.tracing Tracing support for Helidon DB. -
-
Uses of DbClientServiceContext in io.helidon.dbclient
Methods in io.helidon.dbclient that return DbClientServiceContext Modifier and Type Method Description DbClientServiceContext
DbClientServiceContext. context(Context context)
Set a new context to be used by other interceptors and when executing the statement.static DbClientServiceContext
DbClientServiceContext. create(String dbType)
Create a new interceptor context for a database provider.DbClientServiceContext
DbClientServiceContext. parameters(List<Object> indexedParameters)
Set new indexed parameters to be used.DbClientServiceContext
DbClientServiceContext. parameters(Map<String,Object> namedParameters)
Set new named parameters to be used.DbClientServiceContext
DbClientServiceContext. resultFuture(CompletionStage<Long> queryFuture)
Set a new future to mark completion of the result (e.g.DbClientServiceContext
DbClientServiceContext. statement(String statement, List<Object> indexedParams)
Set a new statement with indexed parameters to be used.DbClientServiceContext
DbClientServiceContext. statement(String statement, Map<String,Object> namedParams)
Set a new statement with named parameters to be used.DbClientServiceContext
DbClientServiceContext. statementFuture(CompletionStage<Void> statementFuture)
Set a new future to mark completion of the statement.DbClientServiceContext
DbClientServiceContext. statementName(String newName)
Set a new statement name to be used.DbClientServiceContext
DbClientServiceContext. statementType(DbStatementType type)
Set the type of the statement.Methods in io.helidon.dbclient that return types with arguments of type DbClientServiceContext Modifier and Type Method Description Single<DbClientServiceContext>
DbClientService. statement(DbClientServiceContext context)
Statement execution to be intercepted.Methods in io.helidon.dbclient with parameters of type DbClientServiceContext Modifier and Type Method Description Single<DbClientServiceContext>
DbClientService. statement(DbClientServiceContext context)
Statement execution to be intercepted. -
Uses of DbClientServiceContext in io.helidon.dbclient.common
Methods in io.helidon.dbclient.common that return types with arguments of type DbClientServiceContext Modifier and Type Method Description protected abstract Single<DbClientServiceContext>
DbClientServiceBase. apply(DbClientServiceContext context)
This method is only invoked if the predicate for this service was passed.Single<DbClientServiceContext>
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.Single<DbClientServiceContext>
DbClientServiceBase. statement(DbClientServiceContext context)
Methods in io.helidon.dbclient.common with parameters of type DbClientServiceContext Modifier and Type Method Description protected abstract Single<DbClientServiceContext>
DbClientServiceBase. apply(DbClientServiceContext context)
This method is only invoked if the predicate for this service was passed.Single<DbClientServiceContext>
DbClientContext. invokeServices(DbClientServiceContext dbContext)
Invoke all configured client services and return a single that completes once all the client services complete.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.Method parameters in io.helidon.dbclient.common with type arguments of type DbClientServiceContext Modifier and Type Method Description protected abstract R
AbstractStatement. doExecute(Single<DbClientServiceContext> dbContext, CompletableFuture<Void> statementFuture, CompletableFuture<Long> queryFuture)
Execute the statement against the database.B
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
Method parameters in io.helidon.dbclient.mongodb with type arguments of type DbClientServiceContext Modifier and Type Method Description protected Single<Long>
MongoDbStatementDml. doExecute(Single<DbClientServiceContext> dbContext, CompletableFuture<Void> statementFuture, CompletableFuture<Long> queryFuture)
-
Uses of DbClientServiceContext in io.helidon.dbclient.tracing
Methods in io.helidon.dbclient.tracing that return types with arguments of type DbClientServiceContext Modifier and Type Method Description protected Single<DbClientServiceContext>
DbClientTracing. apply(DbClientServiceContext serviceContext)
Methods in io.helidon.dbclient.tracing with parameters of type DbClientServiceContext Modifier and Type Method Description protected Single<DbClientServiceContext>
DbClientTracing. apply(DbClientServiceContext serviceContext)
-