パッケージ 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.
-
メソッドの概要
修飾子とタイプメソッド説明Class<?>
baseType()
get array base type.buildElement
(byte[] bytes, int pos, int len) build a array element from its binary bytes.buildElement
(String literal) build an array element from its literal string.
-
メソッドの詳細
-
baseType
Class<?> baseType()get array base type.- 戻り値:
- array base type
-
buildElement
build a array element from its binary bytes.- パラメータ:
bytes
- input bytespos
- position in input arraylen
- length of the element- 戻り値:
- array element from its binary bytes
-
buildElement
build an array element from its literal string.- パラメータ:
literal
- string representation of array element- 戻り値:
- array element
-