- java.lang.Object
- 
- io.helidon.dbclient.mongodb.MongoDbClient
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface io.helidon.dbclient.DbClientDbClient.Builder
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdbType()Type of this database provider (such as jdbc:mysql, mongoDB etc.).<U,T extends Subscribable<U>>
 Texecute(Function<DbExecute,T> executor)Execute database statement.<U,T extends Subscribable<U>>
 TinTransaction(Function<DbTransaction,T> executor)Execute database statements in transaction.<C> Single<C>unwrap(Class<C> cls)Unwrap database client internals.
 
- 
- 
- 
Method Detail- 
inTransactionpublic <U,T extends Subscribable<U>> T inTransaction(Function<DbTransaction,T> executor) Description copied from interface:DbClientExecute database statements in transaction.- Specified by:
- inTransactionin interface- DbClient
- Type Parameters:
- U- the type provided by the result type
- T- statement execution result type, MUST be either a- Multior a- Single, as returned by all APIs of DbClient.
- Parameters:
- executor- database statement executor, see- DbExecute
- Returns:
- statement execution result
 
 - 
executepublic <U,T extends Subscribable<U>> T execute(Function<DbExecute,T> executor) Description copied from interface:DbClientExecute database statement.- Specified by:
- executein interface- DbClient
- Type Parameters:
- U- the type provided by the result type
- T- statement execution result type, MUST be either a- Multior a- Single, as returned by all APIs of DbClient
- Parameters:
- executor- database statement executor, see- DbExecute
- Returns:
- statement execution result
 
 - 
dbTypepublic String dbType() Description copied from interface:DbClientType of this database provider (such as jdbc:mysql, mongoDB etc.).
 
- 
 
-