Interface PgConnection

All Superinterfaces:
HostAware
All Known Implementing Classes:
PgConnectionImpl

public interface PgConnection extends HostAware
A wrapper of standard DataSource interface with awareness of real host.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a standard DataSource object to access the database.

    Methods inherited from interface io.github.mfvanek.pg.connection.HostAware

    getHost
  • Method Details

    • getDataSource

      @Nonnull DataSource getDataSource()
      Gets a standard DataSource object to access the database.
      Returns:
      DataSource