Package org.postgresql.jdbc
Interface ArrayDecoding.ArrayDecoder<A>
- All Known Implementing Classes:
ArrayDecoding.AbstractObjectArrayDecoder
,ArrayDecoding.AbstractObjectStringArrayDecoder
,ArrayDecoding.ArrayAssistantObjectArrayDecoder
,ArrayDecoding.MappedTypeObjectArrayDecoder
,ArrayDecoding.StructTypeArrayDecoder
- Enclosing class:
ArrayDecoding
private static interface ArrayDecoding.ArrayDecoder<A>
-
Method Summary
Modifier and TypeMethodDescriptioncreateArray
(int size) Object[]
createMultiDimensionalArray
(int[] sizes) default Object
parseValue
(int length, ByteBuffer bytes, BaseConnection connection) default Object
parseValue
(String stringVal, BaseConnection connection) void
populateFromBinary
(A array, int index, int count, ByteBuffer bytes, BaseConnection connection) void
populateFromString
(A array, List<String> strings, BaseConnection connection) boolean
-
Method Details
-
createArray
-
createMultiDimensionalArray
-
supportBinary
boolean supportBinary() -
populateFromBinary
void populateFromBinary(A array, int index, int count, ByteBuffer bytes, BaseConnection connection) throws SQLException - Throws:
SQLException
-
parseValue
default Object parseValue(int length, ByteBuffer bytes, BaseConnection connection) throws SQLException - Throws:
SQLException
-
populateFromString
void populateFromString(A array, List<String> strings, BaseConnection connection) throws SQLException - Throws:
SQLException
-
parseValue
- Throws:
SQLException
-