java.lang.Object
com.cryptoalgo.oursql.model.db.impl.postgresql.Utils
All Implemented Interfaces:
DBMSUtils

public class Utils extends Object implements DBMSUtils
Utils specific to the PostgreSQL DBMS.
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • scheme

      @NotNull public @NotNull String scheme()
      Specified by:
      scheme in interface DBMSUtils
      Returns:
      Connection scheme
    • defaultPort

      @NotNull public @NotNull Integer defaultPort()
      Specified by:
      defaultPort in interface DBMSUtils
      Returns:
      Default connection port
    • name

      @NotNull public @NotNull String name()
      Specified by:
      name in interface DBMSUtils
      Returns:
      Human-readable name for this DBMS
    • iconRes

      @Nullable public @Nullable String iconRes()
      Specified by:
      iconRes in interface DBMSUtils
      Returns:
      Database icon name, relative to img/db
    • defaultDB

      @Nullable public @Nullable String defaultDB()
      Specified by:
      defaultDB in interface DBMSUtils
      Returns:
      Default database