Package org.postgresql.jdbc
Class ArrayDecoding.AbstractObjectArrayDecoder<A>
java.lang.Object
org.postgresql.jdbc.ArrayDecoding.AbstractObjectStringArrayDecoder<A>
org.postgresql.jdbc.ArrayDecoding.AbstractObjectArrayDecoder<A>
- All Implemented Interfaces:
ArrayDecoding.ArrayDecoder<A>
- Direct Known Subclasses:
ArrayDecoding.ArrayAssistantObjectArrayDecoder
,ArrayDecoding.MappedTypeObjectArrayDecoder
- Enclosing class:
ArrayDecoding
private abstract static class ArrayDecoding.AbstractObjectArrayDecoder<A>
extends ArrayDecoding.AbstractObjectStringArrayDecoder<A>
-
Field Summary
Fields inherited from class org.postgresql.jdbc.ArrayDecoding.AbstractObjectStringArrayDecoder
baseClazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract Object
parseValue
(int length, ByteBuffer bytes, BaseConnection connection) void
populateFromBinary
(A arr, int index, int count, ByteBuffer bytes, BaseConnection connection) boolean
Methods inherited from class org.postgresql.jdbc.ArrayDecoding.AbstractObjectStringArrayDecoder
createArray, createMultiDimensionalArray, parseValue, populateFromString
-
Constructor Details
-
AbstractObjectArrayDecoder
AbstractObjectArrayDecoder(Class<?> baseClazz)
-
-
Method Details
-
supportBinary
public boolean supportBinary()- Specified by:
supportBinary
in interfaceArrayDecoding.ArrayDecoder<A>
- Overrides:
supportBinary
in classArrayDecoding.AbstractObjectStringArrayDecoder<A>
-
populateFromBinary
public void populateFromBinary(A arr, int index, int count, ByteBuffer bytes, BaseConnection connection) throws SQLException - Specified by:
populateFromBinary
in interfaceArrayDecoding.ArrayDecoder<A>
- Overrides:
populateFromBinary
in classArrayDecoding.AbstractObjectStringArrayDecoder<A>
- Throws:
SQLException
-
parseValue
abstract Object parseValue(int length, ByteBuffer bytes, BaseConnection connection) throws SQLException - Throws:
SQLException
-