パッケージ org.postgresql.jdbc2

インタフェース ArrayAssistant

既知の実装クラスのリスト:
UUIDArrayAssistant

public interface ArrayAssistant
Implement this interface and register the its instance to ArrayAssistantRegistry, to let Postgres driver to support more array type.
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    get array base type.
    buildElement(byte[] bytes, int pos, int len)
    build a array element from its binary bytes.
    build an array element from its literal string.
  • メソッドの詳細

    • baseType

      Class<?> baseType()
      get array base type.
      戻り値:
      array base type
    • buildElement

      Object buildElement(byte[] bytes, int pos, int len)
      build a array element from its binary bytes.
      パラメータ:
      bytes - input bytes
      pos - position in input array
      len - length of the element
      戻り値:
      array element from its binary bytes
    • buildElement

      Object buildElement(String literal)
      build an array element from its literal string.
      パラメータ:
      literal - string representation of array element
      戻り値:
      array element