Package org.postgresql.jdbc
Class UUIDArrayAssistant
- java.lang.Object
-
- org.postgresql.jdbc.UUIDArrayAssistant
-
- All Implemented Interfaces:
ArrayAssistant
public class UUIDArrayAssistant extends java.lang.Object implements ArrayAssistant
-
-
Constructor Summary
Constructors Constructor Description UUIDArrayAssistant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
baseType()
get array base type.java.lang.Object
buildElement(byte[] bytes, int pos, int len)
build a array element from its binary bytes.java.lang.Object
buildElement(java.lang.String literal)
build an array element from its literal string.
-
-
-
Method Detail
-
baseType
public java.lang.Class<?> baseType()
Description copied from interface:ArrayAssistant
get array base type.- Specified by:
baseType
in interfaceArrayAssistant
- Returns:
- array base type
-
buildElement
public java.lang.Object buildElement(byte[] bytes, int pos, int len)
Description copied from interface:ArrayAssistant
build a array element from its binary bytes.- Specified by:
buildElement
in interfaceArrayAssistant
- Parameters:
bytes
- input bytespos
- position in input arraylen
- length of the element- Returns:
- array element from its binary bytes
-
buildElement
public java.lang.Object buildElement(java.lang.String literal)
Description copied from interface:ArrayAssistant
build an array element from its literal string.- Specified by:
buildElement
in interfaceArrayAssistant
- Parameters:
literal
- string representation of array element- Returns:
- array element
-
-