Class DbClientBase
java.lang.Object
io.helidon.dbclient.DbClientBase
- All Implemented Interfaces:
DbClient, AutoCloseable
- Direct Known Subclasses:
MongoDbClient
-
Nested Class Summary
Nested classes/interfaces inherited from interface DbClient
DbClient.BuilderModifier and TypeInterfaceDescriptionstatic final classHelidon database handler builder. -
Field Summary
Fields inherited from interface DbClient
MAPPING_QUALIFIERModifier and TypeFieldDescriptionstatic final StringQualifier used for mapping usingMappers.map(Object, Class, Class, String...). -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDbClientBase(DbClientContext context) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the DbClient and releases any associated resources.context()Get theDbClientContext.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DbClient
dbType, execute, transaction, unwrap
-
Constructor Details
-
DbClientBase
Create a new instance.- Parameters:
context- context
-
-
Method Details
-
context
-
close
public void close()Description copied from interface:DbClientCloses the DbClient and releases any associated resources.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceDbClient
-