パッケージ org.postgresql

列挙 PGEnvironment

java.lang.Object
java.lang.Enum<PGEnvironment>
org.postgresql.PGEnvironment
すべての実装されたインタフェース:
Serializable, Comparable<PGEnvironment>, java.lang.constant.Constable

public enum PGEnvironment extends Enum<PGEnvironment>
Some environment variables are intended to have same meaning as libpq describes here: https://www.postgresql.org/docs/current/libpq-envars.html
  • 列挙型定数の詳細

    • ORG_POSTGRESQL_PGPASSFILE

      public static final PGEnvironment ORG_POSTGRESQL_PGPASSFILE
      Specified location of password file.
    • PGPASSFILE

      public static final PGEnvironment PGPASSFILE
      Specified location of password file.
    • ORG_POSTGRESQL_PGSERVICEFILE

      public static final PGEnvironment ORG_POSTGRESQL_PGSERVICEFILE
      The connection service resource (file, url) allows connection parameters to be associated with a single service name.
    • PGSERVICEFILE

      public static final PGEnvironment PGSERVICEFILE
      The connection service resource (file, url) allows connection parameters to be associated with a single service name.
    • PGSYSCONFDIR

      public static final PGEnvironment PGSYSCONFDIR
      sets the directory containing the PGSERVICEFILE file and possibly other system-wide configuration files.
  • メソッドの詳細

    • values

      public static PGEnvironment[] values()
      この列挙型の定数を含む配列を宣言されている順序で 返します。
      戻り値:
      この列挙型の定数を含む、宣言されている順序での配列
    • valueOf

      public static PGEnvironment valueOf(String name)
      指定した名前を持つこの型の列挙型定数を返します。 文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に 一致している必要があります。(余分な空白文字を含めることは できません。)
      パラメータ:
      name - 返される列挙型定数の名前。
      戻り値:
      指定した名前の列挙型定数
      例外:
      IllegalArgumentException - この列挙型に、指定した名前の定数がない場合
      NullPointerException - 引数がnullの場合
    • getName

      public String getName()
      Returns the name of the parameter.
      戻り値:
      the name of the parameter
    • getDefaultValue

      public @Nullable String getDefaultValue()
      Returns the default value for this parameter.
      戻り値:
      the default value for this parameter or null
    • getDescription

      public String getDescription()
      Returns the description for this parameter.
      戻り値:
      the description for this parameter