See ArrayEncoding for description of the binary format of arrays.
| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | |
| private abstract static class | |
| private static class | |
| private static interface | |
| private static class | |
| pack-priv static class | ArrayDecoding.
Array list implementation specific for storing PG array elements. |
| Modifier and Type | Field and Description |
|---|---|
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final Map | OID_TO_DECODER
Maps from base type oid to |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. | |
| private static final ArrayDecoding. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static ArrayDecoding. | Returns: APgArrayList representing the parsed fieldString.The array value to parse. fieldString, char The delimiter character appropriate for the data type. delim)Parses the string representation of an array into a |
| private static <A extends @NonNull Object> ArrayDecoding. | |
| public static Object | Returns: The parsed array.1 based index of where to start on outermost array. index, int The number of items to return from outermost array (beginning at
index). count, byte[] The binary representation of the array. bytes, BaseConnection The connection the bytes were retrieved from. connection)Reads binary representation of array into object model. |
| public static Object | Returns: The parsed array.1 based index of where to start on outermost array. index, int The number of items to return from outermost array (beginning at
index). count, int The oid of the base type of the array. oid, ArrayDecoding.The list,#buildArrayList(String, char) processed string
representation of an array.The connection the bytes were retrieved from. connection)Reads |
| private static <A extends @NonNull Object> void | storeStringValues(A[] array, ArrayDecoding.
|
| private static <A extends @NonNull Object> void | storeValues(A[] array, ArrayDecoding.
|
| BIG_DECIMAL_STRING_DECODER | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| BOOLEAN_OBJ_ARRAY | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| BYTE_ARRAY_ARRAY | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| DATE_DECODER | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| DOUBLE_OBJ_ARRAY | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| FLOAT_OBJ_ARRAY | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| INT4_UNSIGNED_OBJ_ARRAY | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| INTEGER_OBJ_ARRAY | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| LONG_OBJ_ARRAY | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| OID_TO_DECODER | back to summary |
|---|---|
| private static final Map<Integer, ArrayDecoding. Maps from base type oid to
| |
| SHORT_OBJ_ARRAY | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| STRING_ARRAY | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| STRING_ONLY_DECODER | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| TIME_DECODER | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| TIMESTAMP_DECODER | back to summary |
|---|---|
| private static final ArrayDecoding. | |
| ArrayDecoding | back to summary |
|---|---|
| pack-priv ArrayDecoding() | |
| buildArrayList | back to summary |
|---|---|
| pack-priv static ArrayDecoding. Parses the string representation of an array into a
| |
| getDecoder | back to summary |
|---|---|
private static <A extends @NonNull Object> ArrayDecoding.
| |
| readBinaryArray | back to summary |
|---|---|
| public static Object readBinaryArray(int index, int count, byte[] bytes, BaseConnection connection) throws SQLException Reads binary representation of array into object model.
| |
| readStringArray | back to summary |
|---|---|
| public static Object readStringArray(int index, int count, int oid, ArrayDecoding. Reads
| |
| storeStringValues | back to summary |
|---|---|
private static <A extends @NonNull Object> void storeStringValues(A[] array, ArrayDecoding.
| |
| storeValues | back to summary |
|---|---|
private static <A extends @NonNull Object> void storeValues(A[] array, ArrayDecoding.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract Object | |
| public void | populateFromBinary(A arr, @NonNegative int index, @NonNegative int count, ByteBuffer bytes, BaseConnection connection)
Overrides org.
|
| public boolean |
| AbstractObjectArrayDecoder | back to summary |
|---|---|
| pack-priv AbstractObjectArrayDecoder(Class<?> baseClazz) | |
| parseValue | back to summary |
|---|---|
| pack-priv abstract Object parseValue(int length, ByteBuffer bytes, BaseConnection connection) throws SQLException | |
| populateFromBinary | back to summary |
|---|---|
| public void populateFromBinary(A arr, @NonNegative int index, @NonNegative int count, ByteBuffer bytes, BaseConnection connection) throws SQLException Overrides org.
| |
| supportBinary | back to summary |
|---|---|
| public boolean supportBinary() Overrides org. Implements org.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public A | |
| public Object[] | |
| pack-priv abstract Object | |
| public void | |
| public void | populateFromString(A arr, List<@Nullable String> strings, BaseConnection connection)
Implements org.
|
| public boolean |
| baseClazz | back to summary |
|---|---|
| pack-priv final Class<?> baseClazz | |
| AbstractObjectStringArrayDecoder | back to summary |
|---|---|
| pack-priv AbstractObjectStringArrayDecoder(Class<?> baseClazz) | |
| createArray | back to summary |
|---|---|
public A createArray(int size)
| |
| createMultiDimensionalArray | back to summary |
|---|---|
public Object[] createMultiDimensionalArray(int[] sizes)
| |
| parseValue | back to summary |
|---|---|
| pack-priv abstract Object parseValue(String stringVal, BaseConnection connection) throws SQLException | |
| populateFromBinary | back to summary |
|---|---|
public void populateFromBinary(A arr, int index, int count, ByteBuffer bytes, BaseConnection connection) throws SQLException
| |
| populateFromString | back to summary |
|---|---|
| public void populateFromString(A arr, List<@Nullable String> strings, BaseConnection connection) throws SQLException Implements org.
| |
| supportBinary | back to summary |
|---|---|
| public boolean supportBinary() Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ArrayAssistant |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Object | parseValue(int length, ByteBuffer bytes, BaseConnection connection)
Implements abstract org.
|
| pack-priv Object | parseValue(String stringVal, BaseConnection connection)
Implements abstract org.
|
| arrayAssistant | back to summary |
|---|---|
| private final ArrayAssistant arrayAssistant | |
| ArrayAssistantObjectArrayDecoder | back to summary |
|---|---|
pack-priv ArrayAssistantObjectArrayDecoder(ArrayAssistant arrayAssistant)
| |
| parseValue | back to summary |
|---|---|
| pack-priv Object parseValue(int length, ByteBuffer bytes, BaseConnection connection) throws SQLException Implements abstract org.
| |
| parseValue | back to summary |
|---|---|
| pack-priv Object parseValue(String stringVal, BaseConnection connection) throws SQLException Implements abstract org.
| |
| Modifier and Type | Method and Description |
|---|---|
| public A | |
| public Object[] | |
| public void | populateFromBinary(A array, @NonNegative int index, @NonNegative int count, ByteBuffer bytes, BaseConnection connection)
|
| public void | |
| public boolean |
| createArray | back to summary |
|---|---|
| public A createArray(@NonNegative int size) | |
| createMultiDimensionalArray | back to summary |
|---|---|
| public Object[] createMultiDimensionalArray(@NonNegative int[] sizes) | |
| populateFromBinary | back to summary |
|---|---|
| public void populateFromBinary(A array, @NonNegative int index, @NonNegative int count, ByteBuffer bytes, BaseConnection connection) throws SQLException | |
| populateFromString | back to summary |
|---|---|
| public void populateFromString(A array, List<@Nullable String> strings, BaseConnection connection) throws SQLException | |
| supportBinary | back to summary |
|---|---|
| public boolean supportBinary() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv Object | parseValue(int length, ByteBuffer bytes, BaseConnection connection)
Implements abstract org.
|
| pack-priv Object | parseValue(String stringVal, BaseConnection connection)
Implements abstract org.
|
| typeName | back to summary |
|---|---|
| private final String typeName | |
| MappedTypeObjectArrayDecoder | back to summary |
|---|---|
| pack-priv MappedTypeObjectArrayDecoder(String baseTypeName) | |
| parseValue | back to summary |
|---|---|
| pack-priv Object parseValue(int length, ByteBuffer bytes, BaseConnection connection) throws SQLException Implements abstract org.
| |
| parseValue | back to summary |
|---|---|
| pack-priv Object parseValue(String stringVal, BaseConnection connection) throws SQLException Implements abstract org.
| |
PgArrayList#dimensionsCount is 1, the contents will be
String. For all larger dimensionsCount, the values will be
PgArrayList instances.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | dimensionsCount
How many dimensions. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| dimensionsCount | back to summary |
|---|---|
| pack-priv int dimensionsCount How many dimensions. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| PgArrayList | back to summary |
|---|---|
| pack-priv PgArrayList() | |