Interface ArrayAssistant
- All Known Implementing Classes:
UUIDArrayAssistant
public interface ArrayAssistant
Implement this interface and register the its instance to ArrayAssistantRegistry, to let Postgres
driver to support more array type.
-
Method Summary
Modifier and TypeMethodDescriptionClass<?> 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.
-
Method Details
-
baseType
-
buildElement
build a array element from its binary bytes.- Parameters:
bytes- input bytespos- position in input arraylen- length of the element- Returns:
- array element from its binary bytes
-
buildElement
-