Package net.bitnine.agensgraph.jdbc
Class AgArray
java.lang.Object
org.postgresql.jdbc.PgArray
net.bitnine.agensgraph.jdbc.AgArray
- All Implemented Interfaces:
Array
public class AgArray
extends org.postgresql.jdbc.PgArray
Array is used collect one column of query result data.
-
Field Summary
Fields inherited from class org.postgresql.jdbc.PgArray
connection, fieldBytes, fieldString -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfree()getArrayImpl(long index, int count, Map<String, Class<?>> map) getResultSetImpl(long index, int count, Map<String, Class<?>> map) Methods inherited from class org.postgresql.jdbc.PgArray
escapeArrayElement, getArray, getArray, getArray, getArray, getArrayImpl, getBaseType, getResultSet, getResultSet, getResultSet, getResultSet, getResultSetImpl, isBinary, toBytes, toString
-
Constructor Details
-
AgArray
public AgArray(org.postgresql.core.BaseConnection connection, int oid, String fieldString) throws SQLException Create a new Array.- Parameters:
connection- a database connectionoid- the oid of the array datatypefieldString- the array data in string form- Throws:
SQLException- if something wrong happens
-
AgArray
public AgArray(org.postgresql.core.BaseConnection connection, int oid, byte[] fieldBytes) throws SQLException Create a new Array.- Parameters:
connection- a database connectionoid- the oid of the array datatypefieldBytes- the array data in byte form- Throws:
SQLException- if something wrong happens
-
-
Method Details
-
getArrayImpl
- Overrides:
getArrayImplin classorg.postgresql.jdbc.PgArray- Throws:
SQLException
-
getBaseTypeName
- Specified by:
getBaseTypeNamein interfaceArray- Overrides:
getBaseTypeNamein classorg.postgresql.jdbc.PgArray- Throws:
SQLException
-
getResultSetImpl
public ResultSet getResultSetImpl(long index, int count, Map<String, Class<?>> map) throws SQLException- Overrides:
getResultSetImplin classorg.postgresql.jdbc.PgArray- Throws:
SQLException
-
free
- Specified by:
freein interfaceArray- Overrides:
freein classorg.postgresql.jdbc.PgArray- Throws:
SQLException
-