java.lang.Object
io.helidon.dbclient.DbClientBase
- All Implemented Interfaces:
DbClient
,AutoCloseable
- Direct Known Subclasses:
MongoDbClient
Base
DbClient
implementation.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.dbclient.DbClient
DbClient.Builder
-
Field Summary
Fields inherited from interface io.helidon.dbclient.DbClient
MAPPING_QUALIFIER
-
Constructor Summary
ModifierConstructorDescriptionprotected
DbClientBase
(DbClientContext context) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes the DbClient and releases any associated resources.context()
Get theDbClientContext
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.dbclient.DbClient
dbType, execute, transaction, unwrap
-
Constructor Details
-
DbClientBase
Create a new instance.- Parameters:
context
- context
-
-
Method Details
-
context
Get theDbClientContext
.- Returns:
- DbClientContext
-
close
public void close()Description copied from interface:DbClient
Closes the DbClient and releases any associated resources.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceDbClient
-