パッケージ org.postgresql.jdbc

列挙 PreferQueryMode

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

public enum PreferQueryMode extends Enum<PreferQueryMode>

Specifies which mode is used to execute queries to database: simple means ('Q' execute, no parse, no bind, text mode only), extended means always use bind/execute messages, extendedForPrepared means extended for prepared statements only.

Note: this is for debugging purposes only.

関連項目:
  • 列挙型定数の詳細

  • メソッドの詳細

    • values

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

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

      public static PreferQueryMode of(String mode)
    • value

      public String value()